Commit graph

  • 6ef1a6a708
    Update set::antirandom example in modules.optional.conf. Use the new options in the new ::except block, fix broken English and trim down the text a bit. This also lowers the threshold from 7 to 6. It was already 5 in the example block on the wiki, now the wiki and this are the same again. Bram Matthys 2022-05-30 12:56:22 +0200
  • b4f6c83821
    Fix multiline log messages not working, they showed up as single lines with their content added together. Bram Matthys 2022-05-30 08:59:44 +0200
  • 2f22d2d1a7
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-05-29 20:56:44 +0200
  • c8ef9b2740
    Fix set::restrict-commands::except not working. Reported by Rain. Bram Matthys 2022-05-29 15:13:12 +0200
  • cb9ffd9e17
    Update example.fr.conf (#216) musk 2022-05-29 14:27:29 +0200
  • dc5a7326cd
    Update example.es.conf (#215) musk 2022-05-29 08:23:34 +0200
  • b183a3ea7a
    Add -Wno-format-overflow as unfortunately this option is too dumb. Eg it warns on sprintf() usage even if there is a strlen() check right above it. Bram Matthys 2022-05-28 18:12:24 +0200
  • 965bfa441b
    Crash reporter: use fclose() and not pclose() since this particular file descriptor was opened by fopen() and not popen(). Fixes compile warning on Ubuntu 22.04 / GCC 11. [skip ci] Bram Matthys 2022-05-28 17:59:11 +0200
  • 2f31a8800b
    Add missing blacklist { } blocks to example.fr.conf copy-paste from the English one, pending translation by... someone. [skip ci] Bram Matthys 2022-05-28 08:05:55 +0200
  • 0495953f55
    Update example.tr.conf with 6.0.4 example.conf. Note that set::conthrottle::except needs a new translation, and CHANNEL HISTORY needs translation too. [skip ci] Bram Matthys 2022-05-28 08:00:54 +0200
  • 54a2645f21
    Update example.fr.conf with 6.0.4 example.conf. Note that various parts are now in English, pending translation to French. [skip ci] Bram Matthys 2022-05-28 07:58:47 +0200
  • a18316a737
    Update example.es.conf with 6.0.4 example.conf. Note that set::conthrottle::except needs a new translation, and CHANNEL HISTORY needs translation too. Bram Matthys 2022-05-28 07:54:43 +0200
  • 25e7142716
    Re-indent this monster (example.es.conf) [skip ci] Bram Matthys 2022-05-28 07:47:43 +0200
  • bd7b90354d
    Remove .asc file after ./unrealircd upgrade (#212) ZarTek @ CREOLE 2022-05-27 16:35:10 +0200
  • 9c8cd52057
    Add the oper auto-login example to release notes [skip ci] Bram Matthys 2022-05-26 21:15:56 +0200
  • d47fdbede4
    Add oper::auto-login. When set to yes, opers are automatically logged in if the oper block permits, the user does not have to send "OPER xyz". Bram Matthys 2022-05-26 20:57:03 +0200
  • c183c06d06
    Move HOOKTYPE_LOCAL_CONNECT slightly further down. [skip ci] Bram Matthys 2022-05-26 20:56:36 +0200
  • 96897289e0
    Allow oper block without password, now that you can use security-group and other selectors in 'mask'. This allows for things like: Bram Matthys 2022-05-26 19:41:26 +0200
  • a4902e121c
    Fix crash when using 'account' in 'except ban'. Bram Matthys 2022-05-26 17:31:45 +0200
  • 960c3cc1c1
    And a similar fix for multi account, eg security-group xyz { account { a; b; c; } } Bram Matthys 2022-05-26 17:21:30 +0200
  • fba0249ec3
    Fix for when using security-group xyz { security-group { a; b; c; } } Bram Matthys 2022-05-26 17:11:47 +0200
  • c9f8c42281
    Fix CIDR not working in match { ip ....; } Bram Matthys 2022-05-26 17:03:17 +0200
  • 6802156c02
    Document channel history in example.conf as persistent history is likely something people would want to enable, and perhaps the limits tweaked too. Suggested by ZarTek-Creole in https://github.com/unrealircd/unrealircd/pull/211 Bram Matthys 2022-05-26 08:25:34 +0200
  • 82063a48ec
    Use single quotes in set::webredir::url example. Suggested by ZarTek-Creole in https://github.com/unrealircd/unrealircd/pull/208 Bram Matthys 2022-05-26 07:36:11 +0200
  • fe11f77be6
    Fix +H not working in set::modes-on-join. Reported by ZarTek-Creole in https://bugs.unrealircd.org/view.php?id=6114 Bram Matthys 2022-05-26 07:14:12 +0200
  • 1548137e31
    Document SVSO being back again :) Bram Matthys 2022-05-25 20:29:09 +0200
  • a7b3f61e13
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-05-25 19:13:18 +0200
  • d1311a124b
    Make ./Config import settings from 6.0.3 Bram Matthys 2022-05-25 18:27:10 +0200
  • 3936059768
    ** UnrealIRCd 6.0.4-rc1 ** Bram Matthys 2022-05-25 17:14:32 +0200
  • c86e5a3c2d
    Fix memory leak on REHASH when using parameter modes in set::modes-on-join Bram Matthys 2022-05-25 16:52:41 +0200
  • 4deeec015b
    Fix small memory leak in extban API (when unloading module) Bram Matthys 2022-05-25 16:46:34 +0200
  • ce6be5df61
    Reputation was synced correctly on IP basis (and thus the databases) across servers if they differed, however the individual IP of users was not updated until next add_scores() run. So, there would be an up to 5 minute delay during which scores for individual users were possibly too low, with all the effects that it could possibly have nowadays such as restrict-commands, more stringent flood limits, etc. Bram Matthys 2022-05-25 16:28:45 +0200
  • 9ed38c437a
    Fix crash on Windows when using the "Rehash" GUI option. Reported by CaoS in https://bugs.unrealircd.org/view.php?id=6087 [skip ci] Bram Matthys 2022-05-25 16:00:22 +0200
  • b28d8aecd7
    Add "ip" to mask item and security-group for easy matching on IP. So you can just use mask { ip { 127.*; 192.168.*; } } without having to worry about hostnames like 127.example.net. (Of course you could also have used CIDR notation) Bram Matthys 2022-05-25 08:34:22 +0200
  • 7ff4a3e897
    Add the promised support of security group functionality in except ban { } Bram Matthys 2022-05-25 07:49:11 +0200
  • d8ff86e739
    Fix for compiling on Windows [skip ci] Bram Matthys 2022-05-23 18:48:10 +0200
  • 3ee199fb6f
    Makefile.windows: add securitygroup.obj [skip ci] Bram Matthys 2022-05-23 17:42:26 +0200
  • b6843488a9
    Update release notes [skip ci] Bram Matthys 2022-05-23 14:27:05 +0200
  • b4ac25fba6
    Update release notes with all the work that has been done. [skip ci] Bram Matthys 2022-05-23 14:25:40 +0200
  • e8fbe461f0
    Document JSON logging changes of today [skip ci] Bram Matthys 2022-05-23 12:56:06 +0200
  • 35b2579dcb
    Fix compiler warning Bram Matthys 2022-05-23 12:55:48 +0200
  • 60eba7c501
    Add to JSON logging output, for users: "channels" Bram Matthys 2022-05-23 12:09:57 +0200
  • 66e97580c1
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-05-23 12:44:16 +0200
  • 7280ffdc57
    Add to JSON logging output, for users: "idle_since". Suggested by westor in https://bugs.unrealircd.org/view.php?id=6083 Bram Matthys 2022-05-23 11:53:32 +0200
  • af8418fb3e
    Add to JSON logging output, for users: "vhost" and "cloakedhost" Suggested by westor in https://bugs.unrealircd.org/view.php?id=6083 Bram Matthys 2022-05-23 11:25:52 +0200
  • c04ad96357
    Add to JSON logging output: "geoip" with subitem "country_code". Suggested by westor in https://bugs.unrealircd.org/view.php?id=6083 Bram Matthys 2022-05-23 11:19:40 +0200
  • 0f7555e4c5
    Add to JSON logging output: "tls" with subitems "cipher" and "certfp". Suggested by westor in https://bugs.unrealircd.org/view.php?id=6083 Bram Matthys 2022-05-23 11:07:08 +0200
  • 16264e944f
    Add HOOKTYPE_JSON_EXPAND_CLIENT etc. so modules can add more fields when clients etc. are expanded in the logging routines. Bram Matthys 2022-05-23 11:02:05 +0200
  • 7740d64042
    Limit individual JSON strings to 512 bytes and call StripControlCodes() on each string. Note that the entire JSON dump may still be much larger, this is just about each individual string item within an object. Bram Matthys 2022-05-23 10:12:18 +0200
  • 3fbdb7fd4b
    Move StripControlCodes() from message.c to misc.c. Because I need in the core (again) due to early calls / calls during rehashes / etc... Bram Matthys 2022-05-23 10:10:47 +0200
  • 8c1a858d2e
    Fix crash on empty set::default-ipv6-clone-mask in config file. set { default-ipv6-clone-mask; } Bram Matthys 2022-05-23 08:36:25 +0200
  • 111ab9fada
    Show [shunned] in connect oper notice (#206) westor 2022-05-22 23:18:49 -0700
  • 047cfe196f
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-05-17 14:46:05 +0200
  • 9075e2fa70
    Move all the security group and mask code to src/securitygroup.c Bram Matthys 2022-05-16 13:49:17 +0200
  • 5d9a201df8
    Don't show security-groups of ulines like NickServ (since it is irrelevant anyway). Reported by Lord255. Bram Matthys 2022-05-16 11:21:58 +0200
  • 5443dff327
    Clarify in release notes that the country value is a country code Reported by westor [skip ci] Bram Matthys 2022-05-16 10:46:54 +0200
  • c09d2e40a3
    Update release notes a bit: better markdown, improve TLD example, mention the 5 modules that now have an ::except which is also a mask item. [skip ci] Bram Matthys 2022-05-16 10:36:05 +0200
  • 2108bb48fa
    Run labeled-response through the quick path. Bram Matthys 2022-05-16 09:53:23 +0200
  • 519d027a62
    Fix geoip_base_unserialize() check being the wrong way around. Could have caused a memory leak but likely did not happen at all in practice. Bram Matthys 2022-05-15 19:34:46 +0200
  • c037486263
    Add blacklist::except for exempting users from individual blacklists, this is a https://www.unrealircd.org/docs/Mask_item so very flexible. Bram Matthys 2022-05-15 15:13:19 +0200
  • 8802fcaec8
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-05-15 10:25:30 +0200
  • fc79cbb3f0
    Fix memory leak in new security group code from past 48hrs Bram Matthys 2022-05-15 07:50:40 +0200
  • 0b45e34e62
    Simplifly RPL_HOSTHIDDEN notification. Bram Matthys 2022-05-15 07:40:36 +0200
  • b52c6406de
    ExtbanAdd(): remove remaining NULL checks for 'module'. It is never NULL. Bram Matthys 2022-05-15 06:52:44 +0200
  • a1c8292a1d
    Fix incorrect sizeof() in commit from yesterday. Bram Matthys 2022-05-15 06:49:58 +0200
  • c25582bff2
    Mention that this is work in progress [skip ci] Bram Matthys 2022-05-14 19:11:53 +0200
  • 9e0340d4c1
    Change restrict-commands to use ::except which is a https://www.unrealircd.org/docs/Mask_item so has more functionality. Bram Matthys 2022-05-14 18:29:00 +0200
  • f738ae8610
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-05-14 16:31:19 +0200
  • 517d93bea8
    Fix crash / support NULL secgroup in user_allowed_by_security_group() Bram Matthys 2022-05-14 16:29:38 +0200
  • 5f3931b08d
    Update modules.optional.conf so it actually loads. Also fix ::mask style II. Bram Matthys 2022-05-14 15:39:45 +0200
  • 3241338cf3
    Add set::connthrottle::except, which is a mask item. Automatically convert the old options ::sasl-bypass, ::webirc-bypass and ::minimum-reputation-score, so nobody needs to update their config. Bram Matthys 2022-05-14 15:31:12 +0200
  • 915b603a6a
    Add set::antirandom::except, which is a mask item. Automatically convert the old style ::except-hosts and ::except-webirc so nobody needs to update their config. Bram Matthys 2022-05-14 15:17:29 +0200
  • f0ddbdaa44
    Add set::antimixedutf8::except, which is a mask item too. Bram Matthys 2022-05-14 15:05:38 +0200
  • 1626fda1ef
    Fix extbans on IRC not working due to latest changes. Bram Matthys 2022-05-14 09:21:11 +0200
  • caabfe14e1
    Document and give examples in release notes for new mask and security-group functionality. Bram Matthys 2022-05-14 09:03:34 +0200
  • 4de3d512b8
    Integrate security-group functionality in allow channel::mask and deny channel::mask. Bram Matthys 2022-05-14 08:36:19 +0200
  • e09470b0bd
    Integrate security-group functionality in link::incoming::mask. Bram Matthys 2022-05-14 08:28:26 +0200
  • 67fdd63bc3
    Integrate security-group functionality in vhost::mask. Bram Matthys 2022-05-14 08:19:05 +0200
  • 8dff79ece2
    Fix small memory leak on REHASH when tld block is used, ::mask was not freed. (this leak was already there, it is unrelated to the activity of last 24hrs) Bram Matthys 2022-05-14 08:13:12 +0200
  • ec4df2da7d
    Integrate security-group functionality in tld::mask. Bram Matthys 2022-05-14 08:10:20 +0200
  • 759908ba3a
    Integrate security-group functionality in oper::mask. Bram Matthys 2022-05-14 08:03:12 +0200
  • 510b4b5505
    Integrate security-group functionality in allow::mask. (Also call it allow::match in the future, but accept allow::mask still) Bram Matthys 2022-05-14 07:51:51 +0200
  • 10bddc1232
    Extended server bans are now more clearly exposed in security-group { }. The extban module API is used behind the scenes. To the server admin the functionality appears in a more natural way: account { <list>; }; country { <list>; }; realname { <list>; }; certfp { <list>; }; In the same way, they appear as exclude-xxx options too: exclude-account { <list>; }; exclude-country { <list>; }; exclude-realname { <list>; }; exclude-certfp { <list>; }; Bram Matthys 2022-05-13 18:55:39 +0200
  • 378f1f0044
    Split up security-group code for later code re-use. Bram Matthys 2022-05-13 14:37:16 +0200
  • efa7fea88e
    Rename security-group::include-mask to ::mask. Both will work though for a long long time. Change done to make it consistent with the rest. Bram Matthys 2022-05-13 14:10:14 +0200
  • a544001eeb
    Add security-group::security-group, this as a shorthand for security-group { mask ~security-group:xyz; } Bram Matthys 2022-05-13 14:07:05 +0200
  • 6751b066ab
    Prevent infinite loop (crash due to out of stack) when processing a security group that references another (or itself), eg: security-group abc { include-mask ~security-group:abc; } We now give up after a recursion depth of >8 and log a warning. Bram Matthys 2022-05-13 13:36:36 +0200
  • de61fc4b50
    Add connect-time to security-group, so you can match on how long a client has been connected to IRC. See https://www.unrealircd.org/docs/Security-group_block Bram Matthys 2022-05-13 13:16:40 +0200
  • 085490d780
    Show in WHOIS in which security-group a user is in (to IRCOps only) Bram Matthys 2022-05-13 13:11:55 +0200
  • f1a18ce37e
    Communicate "creationtime" of users. Right now this info is only known locally, as the only timestamp regarding users that is communicated across the network is about the "last nick change" ("has this nick since..."). Bram Matthys 2022-05-13 12:25:58 +0200
  • 788c230bdc
    Support exclusion criteria in security groups. Suggested by Jobe in https://bugs.unrealircd.org/view.php?id=6096 Bram Matthys 2022-05-13 11:33:57 +0200
  • 4a03943996
    Fix antirandom log message when user is denied (only showed nick). Reported by PeGaSuS in https://bugs.unrealircd.org/view.php?id=6093 Bram Matthys 2022-05-13 08:09:46 +0200
  • 06c6eb164e
    Only validate for local users sending the tag Bram Matthys 2022-05-13 07:56:30 +0200
  • 61f7dd746e
    Add IRCv3 +draft/channel-context (#205) Valerie Pond 2022-05-13 06:39:41 +0100
  • cd48fec826
    The /LICENSE command confusingly said that the UnrealIRCd license is GPLv1 or later. This updates the include/license.h file, which is used for the /LICENSE command, to say "GPLv2 or later". Bram Matthys 2022-05-11 09:21:32 +0200
  • 28be8a0bee
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-05-11 08:18:34 +0200
  • b154591a58
    Some source files indicated the license was "GPLv2", which was meant to be (and is now clarified to be) "GPLv2 or later". Reported by libsys in https://bugs.unrealircd.org/view.php?id=6099 Bram Matthys 2022-05-11 06:38:33 +0200
  • 537f5d050e
    Update HELPOP SVSO documentation, due to previous commit. Bram Matthys 2022-05-07 19:03:25 +0200
  • 50e5d91c79
    Add SVSO command which services can use to make someone IRCOp. This existed in UnrealIRCd 3.2.x but was later removed when switching to the new operclass system. Requested by Valware in https://bugs.unrealircd.org/view.php?id=6041 Bram Matthys 2022-05-07 18:48:19 +0200
  • 84f3efc105
    Fix issue with modes-on-join and +f: 3t#b1 would be converted to 3t#b, thus the 'unset time' would be stripped. This was because the timedban module was seen as 'unavailable' when checking the +f syntax so early in the booting process. We now assume timedban is available during config testing, if it later turns out it is not available the 'unset time' is still stripped when setting the mode on JOIN. Bram Matthys 2022-05-07 08:13:30 +0200