Commit graph

  • dc5fd50a54
    Fix potential issues if msgbypass extban module is not loaded. [skip ci] Bram Matthys 2019-09-06 20:54:06 +02:00
  • a3e911a174
    Make issecure (+Z/-Z) use the same msgids network-wide. Bram Matthys 2019-09-06 15:18:45 +02:00
  • cf873d826a
    Add MessageTag *mtags argument to various (channel related) hooks, in case they need access to those. For more information, see: https://bugs.unrealircd.org/view.php?id=5343 Bram Matthys 2019-09-06 14:30:16 +02:00
  • 4a6f56e967
    Fix list modes not being restored properly from channeldb. Bram Matthys 2019-09-06 13:06:53 +02:00
  • 758dc74315
    Fix memory leak in new ban exception code. Bram Matthys 2019-09-06 09:15:27 +02:00
  • 9b1fa66434
    Duh, I meant, NOREMOVETMP. [skip ci] Bram Matthys 2019-09-06 09:13:19 +02:00
  • 46486310dc
    Obey #define REMOVETMP (for testing) Bram Matthys 2019-09-06 09:02:17 +02:00
  • 73d320f553
    Use enum for BAN_ACT_* and silence a (stupid) clang warning. Bram Matthys 2019-09-05 20:54:31 +02:00
  • 868895c70a
    Add except ban type 'all'. For a full list of options, see https://www.unrealircd.org/docs/Except_ban_block#UnrealIRCd_5 Also, fix shun (s) not being available as an exempt option (bug). Bram Matthys 2019-09-04 19:33:42 +02:00
  • 750479aa2c
    Add more /ELINE options to bypass the following types: unknown data flood, antirandom, antimixedutf8 and ban version. Just type /ELINE to see the options / syntax. (TODO: more testing) Bram Matthys 2019-09-04 18:43:06 +02:00
  • 72664fc3df
    Deal with hostile servers in msgid code Bram Matthys 2019-09-02 20:45:58 +02:00
  • 0724c0ce13
    stfu compiler, you are wrong Bram Matthys 2019-09-02 20:16:20 +02:00
  • 7ff78b4cf6
    Make config test for except ban::type. Also use 'connect-flood' rather than throttling, since that's the term we use everywhere in our documentation and for config options. Bram Matthys 2019-09-02 20:11:09 +02:00
  • a006a9aea9
    Recode tkl type table. '/STATS except' works now (lists ELINEs and except ban in config). If you want to play with exceptions, type /ELINE for information. For the configuration file it is important to know that 'except tkl' is now called 'except ban'. Also if you do not specify an except ban::type we now default to exempt from all regular server ban types (but not qline, spamfilters, blacklist or throttling) Bram Matthys 2019-09-02 19:23:03 +02:00
  • 58618bf2b6
    Add support for ban exceptions, via /ELINE and via the config file. Still need to fix some FIXME/TODO items and things haven't been fully tested yet, so server sync issues or crashes are still possible. Release notes will be updated another day as well.. Bram Matthys 2019-09-01 20:45:47 +02:00
  • 76b1655f9b
    Add TKL exception type handling (phase 2 of X) Bram Matthys 2019-09-01 10:52:35 +02:00
  • cdcac52d81
    It helps if I git add src/api-efunctions.c... Bram Matthys 2019-09-01 09:40:44 +02:00
  • 3fcd25b542
    Split off efunctions to src/api-efunctions.c, use enums and a different style of initializing the efunctions table which is less error-prone. Bram Matthys 2019-09-01 09:34:07 +02:00
  • 2483376796
    Fix crash on adding QLINE (reported by The_Myth) and 'STATS bannick' should really show QLINEs as well. Up to now it only showed (local) config banned nicks. Fixes https://bugs.unrealircd.org/view.php?id=5387 Bram Matthys 2019-09-01 08:31:03 +02:00
  • 8a6c84876e
    Rewrite/cleanup huge portion of TKL handling (16 files updated, but src/modules/tkl.c is the main one). Also move DB writing/reading functions to src/misc.c so they can be removed out of channeldb and tkldb. Bram Matthys 2019-08-31 15:24:52 +02:00
  • 0116c4f0d6
    Partial TKL recode - (pre) phase 1 Bram Matthys 2019-08-28 20:11:24 +02:00
  • e6c321c7dc
    Some cleanups / comments added, but no real code changes. Bram Matthys 2019-08-28 18:08:38 +02:00
  • c1babb7411
    Fix reading unitialized memory due to one of the commits from yesterday (in the crash reporter) Bram Matthys 2019-08-28 07:12:05 +02:00
  • 19a0d205e6
    Enable core dumps if using ASan (applies to alpha/beta and dev builds) Bram Matthys 2019-08-27 16:27:56 +02:00
  • d477e4930e
    Crash reporter: include libc for better debugging. Bram Matthys 2019-08-27 16:05:32 +02:00
  • 308ac85bba
    UnrealIRCd crash reporter: require TLSv1.2 or later Bram Matthys 2019-08-27 14:22:53 +02:00
  • 083953ca00
    Release notes: Developers: mention ModuleHeader changes. [skip ci] Bram Matthys 2019-08-27 14:15:02 +02:00
  • 17c6b5976d
    Update output of MODULE command (MODULE -all) to include the author, slightly change the output and use RPL_TXT rather than NOTICE. Bram Matthys 2019-08-27 14:12:00 +02:00
  • fc69c5300e
    Windows buildbot fixes [skip ci] Bram Matthys 2019-08-27 12:47:30 +02:00
  • fa29e22ea2
    Windows build: attempt build tests [skip ci] Bram Matthys 2019-08-27 08:46:54 +02:00
  • 10faaf91ba
    Bump module header version to "unrealircd-5", add author field and remove old dependency field (never used, was always NULL, broken since 3.2.x) I'll add some constraints later on things like names and versions. IOTW: more changes to follow, don't mass update your own mods yet. Bram Matthys 2019-08-26 20:29:47 +02:00
  • 526e5e09a4
    Fix for commit from an hour ago. One was unable to remove the +nt modes by f.e. setting set::modes-on-join to "+"; Bram Matthys 2019-08-26 19:35:40 +02:00
  • a72e4f39f2
    Fix both duplicate channel messages (reported by The_Myth) and set::broadcast-channel-messages not having any effect (reported by FwdInTime). Yes, both fixes from earlier were incomplete. Bram Matthys 2019-08-26 19:21:14 +02:00
  • 890e4c9acd
    Set set::modes-on-join to +nt by default and also put it in the example.conf. Leaving it empty by default is strange and contrasts with our "secure by default" principle. Bram Matthys 2019-08-26 18:22:12 +02:00
  • d331f22dbc
    Windows buildbot updates Bram Matthys 2019-08-25 19:00:26 +02:00
  • 8d2ac9c50e
    Fix set::broadcast-channel-messages configuration item not working. Reported by FwdInTime in https://bugs.unrealircd.org/view.php?id=5367 Bram Matthys 2019-08-25 18:52:39 +02:00
  • e0b941739c
    Fix problem with PRIVMSG echoing back in S2S. Reported by The_Myth. Bram Matthys 2019-08-25 18:49:10 +02:00
  • 4e1768d9ed
    Windows: Blah Bram Matthys 2019-08-25 18:41:30 +02:00
  • 0e529f75f8
    Windows: attempt build tests [skip ci] Bram Matthys 2019-08-25 18:02:38 +02:00
  • ebaac5a6b8
    Get rid of various never used config options and also port the U4 fix for Windows where it says "Too many connections" way too quickly. (Sorry for mixing both in 1 commit..) Bram Matthys 2019-08-25 17:48:32 +02:00
  • 38b55fb3c5
    Not ready for release yet, but bump git version to alpha2 already now that the Windows build is working (5.0.0-alpha1 had no Windows build). Bram Matthys 2019-08-25 14:38:02 +02:00
  • 6ead10f42d
    Windows: build with /WX (equivalent to -Werror) and turn on /analyze again. Not sure how long I can bear that last one though as now compilation takes about 15 minutes rather than a few. Bram Matthys 2019-08-25 13:34:41 +02:00
  • 8484511296
    Make Windows build compile without warnings with /W3 Disable these warnings, though: C4267: downgrade of size_t to int and such. pointless... C4101: unreferenced local variable C4018: signed/unsigned mismatch C4244: implicit conversions with "possible loss of data". there are 75+ of them and they are likely all harmless and/or intentional (usually plain obvious too) C4996: fixme! warnings about deprecated functions, currently only for GetVersion.. Bram Matthys 2019-08-25 13:00:31 +02:00
  • 6f884a6f60
    Windows build: cannot pass by reference directly. Solves: warning C4133: 'function': incompatible types - from 'long *' to 'const time_t *const ' Bram Matthys 2019-08-25 10:36:17 +02:00
  • c7a057cab1
    Fix for previous commit (windows makefile etc..). Bram Matthys 2019-08-25 10:22:54 +02:00
  • 33dc939a6d
    Windows build: remove more warnings. Update Makefile.windows. Bram Matthys 2019-08-25 10:04:57 +02:00
  • dea31523e3
    Add some (redundant) information regarding the last ./Config question. [skip ci] Bram Matthys 2019-08-24 20:02:47 +02:00
  • d357ef8957
    More config.h cleanups. Lower kill chase time limit from 90 to 30 which seems more reasonable to me. Bram Matthys 2019-08-24 19:57:40 +02:00
  • 153e38be10
    Get rid of "max sendq" ./Config question, which actually was only setting the default class::sendq that pretty much everyone overrides in class (isn't this even required? ;D). Rename to DEFAULT_SENDQ since we have DEFAULT_RECVQ too. Bram Matthys 2019-08-24 19:50:39 +02:00
  • d19b4e70ad
    Remove old and broken option SHOW_INVISIBLE_LUSERS Bram Matthys 2019-08-24 19:45:26 +02:00
  • d06715d9ee
    REMOTEINC_SPECIALCACHE is no longer optional Bram Matthys 2019-08-24 19:41:14 +02:00
  • 9e02ca2b3c
    More FORMAT_STRING() checking, get rid of old (non-)USE_VARARGS stuff. Fix some more bugs (type differences) when compiling in DEBUGMODE. Bram Matthys 2019-08-24 19:37:25 +02:00
  • a3b5f29626
    Mass change of time_t in printf-like functions to %lld with an explicit cast to (long long). On *NIX we could get away with lazily assuming time_t is of the same length as long (and use %ld), even though the specification says nothing about it. Unfortunately on Windows things are not that simple: 'time_t' is 'long long' (64 bits) and both 'int' and 'long' are 32 bits, even when compiling in 64 bit mode. Bram Matthys 2019-08-24 18:33:52 +02:00
  • 85b3b91b19
    Windows build: Add format string verification during build. (Will be used to hunt and fix those time_t integer type mismatches) Bram Matthys 2019-08-24 17:10:44 +02:00
  • 1f99b282b0
    Similarly, get rid of DISABLE_STACKED_EXTBANS ./Config question since that define no longer exists... Bram Matthys 2019-08-23 20:39:27 +02:00
  • 444c4f4381
    Get rid of some old/rarely used ./Config shit Bram Matthys 2019-08-23 20:37:27 +02:00
  • a6eac922ea
    Remove unused function create_snomask() Bram Matthys 2019-08-23 20:28:48 +02:00
  • ccf80d16f2
    SnomaskAdd(): remove 3rd argument (unset_on_deoper), as all snomasks are IRCOp-only now, they will always be removed on deoper. Bram Matthys 2019-08-23 20:23:54 +02:00
  • e889a07849
    Updates to ircvsnprintf(): add %lld and remove special handling of %lu. And some re-indenting when we're at it... Bram Matthys 2019-08-23 08:41:47 +02:00
  • 9a562dea24
    Windows: Move the uninstaller to bin\uninstaller Windows: Use generic docs URL for documentation Bram Matthys 2019-08-22 20:15:46 +02:00
  • d6faa00ae8
    Use generic includes Bram Matthys 2019-08-22 19:15:16 +02:00
  • 02a4bbc348
    Get rid of this stupid 'TS' type, just use 'time_t'. Bram Matthys 2019-08-22 18:39:28 +02:00
  • e65f96a9e0
    Windows build: 'clean' should really cleanup.. [skip ci] Bram Matthys 2019-08-22 18:07:36 +02:00
  • 8c70769bef
    Windows: Use W7 API (or later) so we have inet_pton/inet_ntop. Bram Matthys 2019-08-22 18:01:59 +02:00
  • 8007a83020
    Get rid of include/inet.h and use system headers properly. Bram Matthys 2019-08-22 17:48:39 +02:00
  • a1920d7733
    Windows installer: require Windows 7 or newer (bye XP/Vista) [skip ci] Bram Matthys 2019-08-22 17:34:10 +02:00
  • 1c52557c92
    Update makecert.bat for Windows with new paths [skip ci] Bram Matthys 2019-08-22 17:10:09 +02:00
  • 02d3364373
    More Windows fixes... Bram Matthys 2019-08-22 16:43:05 +02:00
  • d8f080de67
    Drop support for systems without snprintf() and vsnprintf() Those are in POSIX.1-2001. Even Windows has them nowadays... "Our" implementation doesn't even work properly under Win64. Bram Matthys 2019-08-22 16:41:39 +02:00
  • f5168b6323
    Buildbot: U5: curl-ssl -> curl (always SSL/TLS after all...) Bram Matthys 2019-08-22 15:39:48 +02:00
  • b8c6e2e88b
    Updates for BuildBot on Windows: 32 to 64 bit transition, visual studio 2019 and some directory name updates as we now put all the shit in c:\dev\unrealircd-5-libs, or c:\projects\unrealircd-5-libs in case of buildbot.. Bram Matthys 2019-08-22 15:32:03 +02:00
  • 87b8d27648
    Windows: move *.exe and libraries to bin\ directory, move LICENSE.txt and Donation.txt to doc\ Bram Matthys 2019-08-22 15:08:16 +02:00
  • bcceea9065
    Windows: build fixes and it is now a 64 bit application. See https://bugs.unrealircd.org/view.php?id=5320 Expect several more major fixes/changes to follow... Bram Matthys 2019-08-22 14:42:16 +02:00
  • b87b4dd61a
    Windows: Fix path in makecert.bat Bram Matthys 2019-08-22 14:37:49 +02:00
  • 5e0ed6d626
    UnrealIRCd 5.0.0-alpha1 Bram Matthys 2019-08-20 19:39:04 +02:00
  • 71935d6d48
    Use +f in +f examples (duh) [skip ci] Bram Matthys 2019-08-19 16:41:11 +02:00
  • 142289c2de
    Let's just call it a database rather than persistent storage file. Also, fix a small memory leak if the database was corrupted. Bram Matthys 2019-08-19 16:38:57 +02:00
  • 86f7d8c5cc
    Document new 'r' (repeat) flood type and 'd' (drop) action in release notes. [skip ci] Bram Matthys 2019-08-19 16:28:12 +02:00
  • 5a8d231c6d
    Floodprot changes (floodprot.c): 1) Clean up check_for_chan_flood() 2) Make the new repeat action kick by default (instead of forcing 'b' if no action is specified) 3) Also make repeat work with timed bans Bram Matthys 2019-08-19 16:12:51 +02:00
  • dd5d93ae77
    Mostly cleanups / unimportant stuff. Bram Matthys 2019-08-19 15:27:03 +02:00
  • 7cda4eab53
    Fix memory leaks in the new tkldb and channeldb modules. Bram Matthys 2019-08-19 15:26:15 +02:00
  • cbea57fefe
    Fix read after free in module API code when unloading channel mode, client capability, history backend or message tag for good. Bram Matthys 2019-08-19 15:25:12 +02:00
  • 6f87314bbf
    Funny mistake :D Bram Matthys 2019-08-19 10:10:47 +02:00
  • e72845bddf
    link::options::tls was not working (an alias for link::options::ssl) Bram Matthys 2019-08-18 19:25:42 +02:00
  • fc0c06621b
    AppArmor: use a more generic rule for data/ now that we have all these databases, and who knows what else the user has (think: 3rd party modules). Bram Matthys 2019-08-18 18:42:33 +02:00
  • d8e121fbc5
    Another test commit for buildbot. Bram Matthys 2019-08-18 16:51:34 +02:00
  • fac5036d5f
    Test commit Bram Matthys 2019-08-18 16:40:38 +02:00
  • c27e7fa0dd
    Some small README updates. Bram Matthys 2019-08-18 11:19:18 +02:00
  • b312a88b0a
    Update test framework location Bram Matthys 2019-08-18 11:18:52 +02:00
  • fdabc7e5ad
    Fix memory leak on server sync. Bram Matthys 2019-08-18 09:40:31 +02:00
  • 33fcc5b550
    Enough updates on labeled-response and echo-message for today. Note that the labeled-response implementation currently requires 'batch' and will always start a BATCH if there is any response. Later on we can implement a simple queue so we don't have to start a batch for 1-line responses (which works, but looks a bit silly if you look at raw server traffic). That may be after alpha1, though, as there are more (important) things to work on right now. Bram Matthys 2019-08-18 09:24:43 +02:00
  • 4ccb290dac
    Fix two TODO's. Bram Matthys 2019-08-18 08:27:43 +02:00
  • bdcee3fcfa
    Send BATCH even if client is lacking message-tags CAP. Bram Matthys 2019-08-18 08:27:07 +02:00
  • 1a305b0b45
    Remove this old code in hunt_server() or we end up sending message tags twice. (This code was there before sendto_one() got it's extra MessageTag * parameter) Bram Matthys 2019-08-18 08:06:08 +02:00
  • d9694a4644
    Fix for history module if 'batch' is negotiated but 'server-time' is not. Previously this would result in receiving an empty BATCH (with no history content, that is), which is confusing. Bram Matthys 2019-08-18 07:25:26 +02:00
  • 448ee87ed4
    More and more and more [skip ci] Bram Matthys 2019-08-17 15:45:37 +02:00
  • 5bc91a02f9
    Some minor text changes in release notes. [skip ci] Bram Matthys 2019-08-17 15:44:49 +02:00
  • 52aed93707
    Add preliminary release notes for UnrealIRCd 5 Bram Matthys 2019-08-17 15:41:03 +02:00
  • e1822997b8
    Make 'webredir' module work if 'websocket' module is loaded, which is quite likely even. Bram Matthys 2019-08-17 13:00:33 +02:00
  • 15254470a7
    Do some minimal checks on the provided set::webredir::url [skip ci] Bram Matthys 2019-08-17 13:00:09 +02:00