Commit graph

  • 52297e24b6
    Don't send "local" channel modes to remote servers. They were already ignored in MODE by remote UnrealIRCd servers, but this makes it so local modes (+Z and +d at the moment) are not sent across the wire. Bram Matthys 2021-06-19 17:05:40 +02:00
  • fcc7a2cf06
    Channel mode +d is local, so should be tagged as such. Bram Matthys 2021-06-19 17:02:45 +02:00
  • dd1f572acb
    The code for -d (so after -D+d) never took QUITs into account. Fun. Bram Matthys 2021-06-19 16:59:54 +02:00
  • 06633047a2
    Remove "HCN" from 005. Nobody uses this anyway. Bram Matthys 2021-06-19 14:13:56 +02:00
  • a541b8f4ad
    Add support for OpenSSL 3.0.0 (based on -beta1) Now compiles fine without any warnings. Bram Matthys 2021-06-19 13:10:15 +02:00
  • e28895c8a9
    Show 'security-groups: known-users' etc in connect notice to opers. Bram Matthys 2021-06-19 12:49:09 +02:00
  • 6cc50d16d0
    Fix security group code seeing remote users as always on TLS. Likely not that important until now, but fix needed for next... Bram Matthys 2021-06-19 12:47:52 +02:00
  • 991f9f347e
    Allow wildcards in ~a extban, also special code for ~a:0 and ~a:* ~a:0: match all unauthenticated users ~a:*: match all authenticated users ~a:SomeUser: match only SomeUser, also allow wildcards here, even though that is usually a very bad idea :D Bram Matthys 2021-06-19 11:13:30 +02:00
  • fb4b21982d
    Start writing early release notes for 5.2.1, in particular the new allow and mask options that should give people food for thought. [skip ci] Bram Matthys 2021-06-19 10:39:07 +02:00
  • 905850a825
    Bump version to 5.2.1-git and indicate this is bleeding edge Bram Matthys 2021-06-19 10:21:46 +02:00
  • b72ea1d945
    Change allow block to use allow::mask instead of allow::ip / allow::hostname Bram Matthys 2021-06-19 10:15:09 +02:00
  • deead90ac3
    Allow extended server ban syntax in ::mask entries. Eg mask ~a:Syzop; Bram Matthys 2021-06-19 09:01:14 +02:00
  • f71f6c8fe3
    Another update to positive and negative mask rules, the rules are now: - If you have only negating entries, like '!abc' and '!def', then we assume an implicit * rule first, since that is clearly what the user wants. - If you have a mix, like '*.com', '!irc1*', '!irc2*', then the implicit * is dropped and we assume you only want to match *.com, with the exception of irc1*.com and irc2*.com. - If you only have normal entries without ! then things are as they always are. Bram Matthys 2021-06-19 08:35:20 +02:00
  • f7d115e87c
    More fixes and enhancements for deny link::mask ( 5d6738b3e8 ) Bram Matthys 2021-06-19 08:00:04 +02:00
  • 360d3f507f
    Move try_connections() from core to server module Bram Matthys 2021-06-18 17:21:08 +02:00
  • 497c3059ea
    Fix to support existing deny link::mask syntax as well. Bram Matthys 2021-06-18 16:03:24 +02:00
  • 5d6738b3e8
    Allowing multiple masks in "deny link" blocks. (#140) Ramiro Bou 2021-06-18 10:13:50 -03:00
  • f0d00ff109
    modules.optional.conf: elaborate a bit more on antimixedutf8 score. And set the default there to 8 instead of 10, which should be OK. Bram Matthys 2021-06-16 13:33:01 +02:00
  • 89755ccec6
    ** UnrealIRCd 5.2.0.1 ** Bram Matthys 2021-06-16 08:25:07 +02:00
  • fb8c7a5a75
    Fix weird behavior for users in pre-connect stage, eg showing up in WHOIS. Reported by armyn and Valware. Bram Matthys 2021-06-15 20:17:11 +02:00
  • 8a655b8bb4
    Fix spamfilter not working with type 'c'. If you had a spamfilter on type 'c' but not on 'p' then it would not trigger. Reported by armyn in https://bugs.unrealircd.org/view.php?id=5913 This probably went unnoticed because most people add spamfilters on 'pc' (or even 'pcnN'). Bram Matthys 2021-06-15 20:01:58 +02:00
  • ce807c4e21
    Fix Windows build Bram Matthys 2021-06-14 10:22:46 +02:00
  • f7933a8d72
    Set version to 5.2.0 Bram Matthys 2021-06-14 10:18:07 +02:00
  • de4c09eae4
    ** UnrealIRCd 5.2.0 ** Bram Matthys 2021-06-14 09:52:26 +02:00
  • c60b5f48c2
    Update release notes Bram Matthys 2021-06-14 09:17:33 +02:00
  • 210bb2201e
    Update release notes [skip ci] Bram Matthys 2021-06-14 09:08:44 +02:00
  • f8934a44c8
    Update release notes [skip ci] Bram Matthys 2021-06-14 08:06:29 +02:00
  • 572b349cbd
    set::restrict-commands: new option exempt-tls which allows SSL/TLS users to bypass a restriction. Bram Matthys 2021-06-14 08:00:48 +02:00
  • 389a971f96
    Fix rapid autoconnect protection to work with >120 servers (:D) Bram Matthys 2021-06-07 17:05:00 +02:00
  • 36097fbdce
    Fix SQUIT being sent back to where it came from. Reported by Ariadne Conill in https://bugs.unrealircd.org/view.php?id=5906 Bram Matthys 2021-06-07 10:18:43 +02:00
  • 5237ebaabc
    Fix crash in 5.2.0-rc1: don't call flood_limit_exceeded_log() if a remote server causes the target flood protection limit to be hit for a target user or a channel. Bram Matthys 2021-06-07 07:44:28 +02:00
  • a22ac547c2
    Some markup stuff [skip ci] Bram Matthys 2021-06-06 17:37:51 +02:00
  • cc490ca924
    When using old set::anti-flood settings it is now a (big) warning instead of an error. Also the warning will differ depending on whether you use the defaults that were in example.conf for a long time, or some custom settings. Bram Matthys 2021-06-06 17:32:46 +02:00
  • 3335eb3305
    Fix a doc URL and a (now) confusing syntax example [skip ci] Bram Matthys 2021-06-06 17:07:39 +02:00
  • 46550cf180
    Update example conf with new anti-flood block. Replace it with a reference to the documentation instead of trying to include some or all of the defaults since 1) the block is huge nowadays with all the settings, and 2) this way we can tweak the defaults over time in newer versions rather than having people change their configuration file. Bram Matthys 2021-06-06 09:01:31 +02:00
  • 3188b7be2d
    Small code cleanup for two efuncs, so the names match. Bram Matthys 2021-06-06 08:33:20 +02:00
  • 20c20b3053
    Try to explain to people that symmetric encryption works with keys (:D) Bram Matthys 2021-06-05 19:02:09 +02:00
  • 173af8c88c
    ** UnrealIRCd 5.2.0-rc1 ** Bram Matthys 2021-06-04 11:05:02 +02:00
  • 020421a01c
    Mention websocket type negotiation (Sec-WebSocket-Protocol) in release notes. [skip ci] Bram Matthys 2021-06-04 10:39:18 +02:00
  • f6c2b93c72
    Show how many sockets/clients the server can handle in 'STATS S'. Suggested by westor in https://bugs.unrealircd.org/view.php?id=5838 Bram Matthys 2021-06-04 10:09:28 +02:00
  • 67deb7ec8c
    UnrealIRCd script: restart is now identical to stop+start (:D) Bram Matthys 2021-06-04 09:16:44 +02:00
  • 25db0c73e4
    Compiler too dumb to detect this properly... Bram Matthys 2021-06-04 09:11:15 +02:00
  • 6771c98d76
    Move check for secret block to beginning of unrealdb_open() so we don't end up with a 0 byte file due to an easy-to-avoid error later on. Bram Matthys 2021-06-04 09:09:06 +02:00
  • 148ea98307
    Load chathistory module by default Bram Matthys 2021-06-04 08:46:09 +02:00
  • a7f2406557
    Add security-group "webirc" by default. This matches users who connect through approved webirc gateways, the ones in https://www.unrealircd.org/docs/WebIRC_block Bram Matthys 2021-06-02 19:31:35 +02:00
  • e126d924a5
    Somehow DEBUGMODE was turned on by last commit, now off again by default. Bram Matthys 2021-06-02 19:31:05 +02:00
  • 40bc3ef8cc
    Bump version to 5.2.0-git. This is still work in progress. Bram Matthys 2021-06-02 15:27:14 +02:00
  • d9b80d889f
    Update curlinstall script for ./configure from cURL 7.77.0 and above. Bram Matthys 2021-06-02 14:35:37 +02:00
  • d360ae7845
    Add some markup in release notes [skip ci] Bram Matthys 2021-05-30 19:37:51 +02:00
  • 517298007d
    If no log { } block is present, we used to only log errors to ircd.log. From now on we simply enable ALL logging to ircd.log, so also connects, kills, and so on. Bram Matthys 2021-05-30 19:32:48 +02:00
  • 3eb0bc24ea
    Add log::flags "flood" to log flood messages Bram Matthys 2021-05-30 19:30:36 +02:00
  • f8a732747b
    Get rid of mempool LOG_DBG which is never used Bram Matthys 2021-05-30 19:27:35 +02:00
  • 6358a2e5ff
    Remove this check due to clang complaining. Whatever. Bram Matthys 2021-05-30 19:11:50 +02:00
  • 5acef88ceb
    All violatons of target-flood, nick-flood, join-flood, away-flood, invite-flood, knock-flood, max-concurrent-conversations are now reported to opers with the snomask 'f' (flood). Bram Matthys 2021-05-30 19:09:46 +02:00
  • cb604d6df0
    Update release notes [skip ci] Bram Matthys 2021-05-30 18:49:18 +02:00
  • 6f92233919
    The set:anti-flood block has been redone so you can have different limits for "unknown-users" and "known-users". As a reminder, by default, "known-users" are users who are identified to services OR are on an IP that has been connected for over 2 hours in the past X days. See https://www.unrealircd.org/docs/FAQ#new-anti-flood-block for more information on the layout of the new block. Bram Matthys 2021-05-30 18:40:03 +02:00
  • 3076ed5a98
    Make pretty_time_val() output like "2m30s" instead of "2 minutes 30 seconds". I think people will understand both and it is currently rather long. And a bit confusing too with all the spaces, easy to overlook something eg in /STATS S where it is being used. Bram Matthys 2021-05-30 14:50:27 +02:00
  • 79ded54df1
    Make join-flood use the new framework too, well... partially anyway. Bram Matthys 2021-05-28 18:08:07 +02:00
  • 36b9faa7cd
    Code cleanup: move flood control to generic system Bram Matthys 2021-05-28 17:59:39 +02:00
  • 3e1f092afc
    Rename FLD_* to CHFDL_* in chanmodes/floodprot.c, so it does not clash with future stuff. Bram Matthys 2021-05-28 15:48:12 +02:00
  • 191990b881
    Code cleanup: at some places "ClientUser" was used instead of "User". Bram Matthys 2021-05-28 15:25:59 +02:00
  • d9c0397e25
    Code cleanup: this zeroing isn't useful as we already memset. Bram Matthys 2021-05-28 15:25:10 +02:00
  • da519ae04a
    Get rid of duplicate checks for anti-flood. Sorry this is too much effort and i think admins should be smart enough to figure this out themselves. Bram Matthys 2021-05-28 14:50:29 +02:00
  • e1e718f982
    Update release notes [skip ci] Bram Matthys 2021-05-28 10:38:32 +02:00
  • 78ca5ecc3e
    Add "draft/bot" message tag to messages from +B clients. As mentioned in https://ircv3.net/specs/extensions/bot-mode Bram Matthys 2021-05-28 10:36:38 +02:00
  • 0bd813733f
    Fix file header [skip ci] Bram Matthys 2021-05-28 10:07:26 +02:00
  • 845a582d76
    Add support for +draft/reply and load the module by default. See https://ircv3.net/specs/client-tags/reply for the draft. Bram Matthys 2021-05-28 09:14:40 +02:00
  • 4db7866676
    Update release notes [skip ci] Bram Matthys 2021-05-26 11:27:27 +02:00
  • d3ee89ffa5
    Fix help.conf Bram Matthys 2021-05-26 07:51:43 +02:00
  • a85a38e69d
    Add the ability to SPAMFILTER message-tags. The new target type is called 'T' and we match against "name=value" of each message tag (or just "name" if it is without value). Bram Matthys 2021-05-25 20:25:31 +02:00
  • 264ed614fc
    Implement Sec-WebSocket-Accept from https://github.com/ircv3/ircv3-specifications/pull/342 Bram Matthys 2021-05-24 18:33:55 +02:00
  • 872aa93635
    Move some string helpers to src/misc.c skip_whitespace() and read_until() Bram Matthys 2021-05-24 18:32:57 +02:00
  • cd9ac916de
    Allow setting set::history::channel::playback-on-join::lines to zero in case you want to disable this feature. Bram Matthys 2021-05-24 09:48:57 +02:00
  • 3ded34b405
    Windows: run db tests [skip ci] Bram Matthys 2021-05-24 09:22:17 +02:00
  • 2375c35f2b
    Fix crashreporter to show big warning if you have 3rd party modules loaded. The code to raise this warning was already present but it was not being shown in many cases (when it actually should). Bram Matthys 2021-05-24 08:38:07 +02:00
  • 842e06d7d3
    Possibly fix small memory leak. Bram Matthys 2021-05-23 13:59:57 +02:00
  • 92b9fa07a1
    Make history backend non-PERM so it can be upgraded on the fly. Tested: * Rehashing and sending messages before after (multiple times) * Terminating * Unloading by commenting out Bram Matthys 2021-05-23 13:55:40 +02:00
  • 88d7829e5b
    Allow lower set::restrict-commands::xyz::connect-delay values. Suggested by Le_Coyote in https://bugs.unrealircd.org/view.php?id=5873 Bram Matthys 2021-05-23 09:46:33 +02:00
  • 137cc7f20b
    Update some URLs Suggested by westor in https://github.com/unrealircd/unrealircd/pull/136 Bram Matthys 2021-05-23 09:41:57 +02:00
  • 9c0710a9a4
    Adjust +H setting if a channel goes -r and had a high setting that was only allowed for registered channels (+r). Bram Matthys 2021-05-23 09:21:17 +02:00
  • 7ccbb6ebf1
    Update release notes [skip ci] Bram Matthys 2021-05-22 19:29:23 +02:00
  • b6626b2b60
    Update module coders section in release notes [skip ci] Bram Matthys 2021-05-22 19:06:49 +02:00
  • 3ad6878865
    Set new maximums for channel mode +H. If the channel is +r then the maximum is now 5000 lines / 31 days. For unregistered it is 200 lines / 31 days. Previous setting was 200 lines / 7 days for both. Bram Matthys 2021-05-22 17:40:38 +02:00
  • 7a22ec8b6b
    Announce CHATHISTORY=xx in 005 Bram Matthys 2021-05-22 15:32:29 +02:00
  • d6b64de162
    Silence compiler warning by reordering stuff. Bram Matthys 2021-05-22 15:14:29 +02:00
  • 8431cd43b2
    Fix read-after-free Bram Matthys 2021-05-22 14:59:54 +02:00
  • c0b86c757c
    Change chanmode +H parameter to show hours and days when needed and possible if it rounds off nicely, eg +H 100:7d. Note that the existing syntax is still accepted, eg +H 20:1440 and +H 20:1440m are both converted to 20:1d. Bram Matthys 2021-05-22 14:41:57 +02:00
  • c6873292b9
    Implement CHATHISTORY TARGETS... Except that it still needs to order the result by timestamp, which it does not do at the moment. Bram Matthys 2021-05-22 13:36:16 +02:00
  • 937cc94940
    Add CAP draft/chathistory and don't send history-on-join if this CAP is enabled by a client. Bram Matthys 2021-05-22 12:16:52 +02:00
  • abeb222eed
    Implement CHATHISTORY BETWEEN Bram Matthys 2021-05-22 11:43:19 +02:00
  • 188dc7792d
    Fix crash on remote CHATHISTORY cmd (by servers/services). Bram Matthys 2021-05-21 07:20:26 +02:00
  • 3543bff286
    Update list of donators Bram Matthys 2021-05-19 19:24:18 +02:00
  • cda145b62a
    Add initial version of CHATHISTORY command from https://ircv3.net/specs/extensions/chathistory Bram Matthys 2021-05-19 14:30:42 +02:00
  • ad84a5227a
    Remove version check for curl and libssl. Nowadays they have ABI guarantees so it should all be OK. (And nowadays they probably are true too :D) Bram Matthys 2021-05-18 20:35:33 +02:00
  • 7f0cae0473
    Remove warning in release notes on file corruption, now that things are more tested. [skip ci] Bram Matthys 2021-05-17 16:46:31 +02:00
  • 9a7f2b0ea2
    Update for DB tests, now finished in test framework. Bram Matthys 2021-05-17 16:35:03 +02:00
  • c916d1d9ef
    Allow secret::password-file to only exist on-boot, so after booting the file is allowed to no longer exist. This so you can do things like only connecting an USB stick during UnrealIRCd boot and then pull it out once booted. Bram Matthys 2021-05-17 15:18:28 +02:00
  • 013184533d
    Add DB writing/reading tests to BuildBot so it is tested on every commit. Bram Matthys 2021-05-17 12:45:35 +02:00
  • be81152da7
    Move hash generation outside cfg() and do it early just to be safe. Bram Matthys 2021-05-17 12:38:43 +02:00
  • 8c71cd1a65
    * Make channeldb write the db on terminate * Fix channel history issues with writing on terminate * Change tkldb and reputation to only write the db on terminate and not on every REHASH anymore Bram Matthys 2021-05-17 11:47:28 +02:00