Commit graph

  • 55eaa7bbea
    Add set::blacklist::recheck-time 'never' to disable rechecking and document this and blacklist::recheck. Bram Matthys 2023-09-09 11:20:32 +0200
  • ddf6dea22d
    Add blacklist::recheck to skip a dnsbl from rechecks. Bram Matthys 2023-09-09 11:09:01 +0200
  • 35e5d99e32
    './unrealircd module upgrade' only showed output for one module upgrade, even when multiple modules were upgraded. Bram Matthys 2023-09-09 10:38:46 +0200
  • 942b8a604d
    Config file: when not using quotes, don't silently drop slashes in names/values. Bram Matthys 2023-09-09 09:41:47 +0200
  • 7ab80543e5
    Forgot to mention set::blacklist::recheck-time in release notes. [skip ci] Bram Matthys 2023-09-08 18:22:53 +0200
  • 660a501617
    ** UnrealIRCd 6.1.2-rc1 ** Bram Matthys 2023-09-08 17:46:18 +0200
  • d909e86aef
    Update curl-ca-bundle to Tue Aug 22 03:12:04 2023 GMT [skip ci] Bram Matthys 2023-09-08 17:37:28 +0200
  • bcc07b1591
    Integrate third/blacklistrecheck functionality (set::blacklist::recheck-time) https://www.unrealircd.org/docs/Set_block#set::blacklist::recheck-time Bram Matthys 2023-09-06 16:31:55 +0200
  • 6a286d77cf
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2023-09-01 10:30:32 +0200
  • 89b2d91084
    In HOOKTYPE_PRE_CHANMSG the mtags is now a MessageTag **, so a pointer-to-a-pointer rather than a pointer, to allow stripping message tags by modules. Needed for a module from Valware. Bram Matthys 2023-08-19 17:26:14 +0200
  • d63a8cf2d5
    Show who actually tried to use a banned nick. Reported by Amiga600 in https://bugs.unrealircd.org/view.php?id=6300 Inspired by patch from Valware in https://github.com/unrealircd/unrealircd/pull/255 Bram Matthys 2023-08-19 12:17:00 +0200
  • f756b7bea6
    Remember answer to "generate certificate" question in ./Config (#256) netjester 2023-08-19 11:06:09 +0100
  • b57ed0d8c5
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2023-08-15 13:49:47 +0200
  • 2665cec73b
    Fix crash when ~security-group:securitygroup is used in conf (so old style in eg ban user::mask). Reported by BlackBishop in https://bugs.unrealircd.org/view.php?id=6319 Bram Matthys 2023-07-26 12:44:31 +0200
  • 6d14bcfe0a
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2023-07-25 17:44:56 +0200
  • 50753b4678
    Make central spamfilters require an 'id', and ignore for non-central. At least for now... Bram Matthys 2023-07-21 12:24:45 +0200
  • 89e5309326
    Add set::central-spamfilter::feed and update the page at https://www.unrealircd.org/docs/Central_Spamfilter Bram Matthys 2023-07-21 12:02:23 +0200
  • cd19198e3b
    Spamfilter fixes: prevent actions that are currently config-only from being added by other servers and being able to spread to areas of which the code is currently not ready for ('set', 'report', 'stop'). Bram Matthys 2023-07-20 14:50:40 +0200
  • e54382fe95
    Use (*errors)++ consistently. Bram Matthys 2023-07-17 09:01:43 +0200
  • 62503aacae
    Update release notes a bit [skip ci] Bram Matthys 2023-07-16 19:56:19 +0200
  • 937236126f
    Add new spamfilter type 'raw' which matches against a raw command/protocol line. Bram Matthys 2023-07-16 19:47:43 +0200
  • f062d3f178
    Fix memory leak if using sni blocks Bram Matthys 2023-07-16 18:52:32 +0200
  • 8135a6fdfe
    Possibly fix Windows build. Bram Matthys 2023-07-16 18:29:47 +0200
  • 4a25ce5cf2
    Remove antimixedutf8 changes from release notes [skip ci] Bram Matthys 2023-07-16 17:46:40 +0200
  • 3e2f668f10
    Revert antimixedutf8 changes from earlier, back to 6.1.1(.1) version again. Bram Matthys 2023-07-16 17:27:47 +0200
  • 45fdf8721c
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2023-07-16 14:24:41 +0200
  • 519af59705
    Update release notes [skip ci] Bram Matthys 2023-07-16 12:32:02 +0200
  • 11bd657e8a
    Fix set unknown-users { } not working Repoerted by BlackBishop in https://bugs.unrealircd.org/view.php?id=6292 Bram Matthys 2023-07-16 12:22:16 +0200
  • b272b6700a
    Add security-group::rule support, see https://www.unrealircd.org/docs/Crule Bram Matthys 2023-07-16 12:06:34 +0200
  • 59c6c99ba3
    spamfilter::rule: add destination('#xyz') support (supports wildcards) Bram Matthys 2023-07-16 11:29:53 +0200
  • 13bb09aa4b
    crule: add inchannel('#xyz'), and inchannel('@#needopshere') works too Bram Matthys 2023-07-16 11:21:35 +0200
  • b1d0a05638
    Make 'channel' work in security groups. Bram Matthys 2023-07-16 11:05:07 +0200
  • 9b11366a8e
    crule: code cleanups / conform a bit more to unrealircd style Bram Matthys 2023-07-16 10:50:57 +0200
  • b325f88795
    crule/spamfilter: pass text in crule context, not used yet, but could be useful in some future crule function. [skip ci] Bram Matthys 2023-07-16 10:46:01 +0200
  • 2beefcd2ee
    crule: remove CR_DEBUG, bump some limits and remove collapse() call Bram Matthys 2023-07-16 10:38:01 +0200
  • 08cb0fc05d
    Move crule to a module, so we can hot-patch if needed in the future. This is a mandatory module to load, and included in modules.default.conf. Bram Matthys 2023-07-16 10:30:57 +0200
  • 36fc839022
    Support single quotes in spamfilter::rule, for like xyz('bla/bla') Bram Matthys 2023-07-16 09:29:18 +0200
  • d5e8e8f324
    Add some more spamfilter::rule functions Bram Matthys 2023-07-16 09:20:54 +0200
  • c6ae5b05c1
    Update release notes a bit [skip ci] Bram Matthys 2023-07-16 09:07:57 +0200
  • cdc60e7d61
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2023-07-15 23:41:11 +0200
  • cdc14569a9
    Warn on plaintext oper::password in conf and even go as far as generating the password hashes and suggesting using those. Bram Matthys 2023-07-15 18:48:27 +0200
  • 78c3766038
    Showing this "Configuration test passed OK" makes no sense after "Configuration loaded", i think it was meant for ./unrealircd configtest only. Bram Matthys 2023-07-15 18:45:28 +0200
  • 202665ec87
    For watch away notification, a user who is away could change their nick, and that nick could be on someones watch list. In such a case we should not only send RPL_LOGON but also a RPL_GONEAWAY. Bram Matthys 2023-07-15 16:47:55 +0200
  • 934b0b1ea1
    WATCH away notification: fix RPL_GONEAWAY and RPL_REAWAY not being sent due to wrong event name being used. Noticed this bug in U6 (and this bug does not exist in U5) after being pointed at watch away notification again. Bram Matthys 2023-07-15 16:41:21 +0200
  • 039dc566ec
    Lower argon2 parameters so the algorithm runs at a more reasonable speed. Bram Matthys 2023-07-15 09:05:59 +0200
  • b3995f48ff
    Mention password hashing in the example.conf itself. Suggested by rafaelgrether in https://bugs.unrealircd.org/view.php?id=6303 Bram Matthys 2023-07-15 08:58:57 +0200
  • 5688825ebd
    Default to argon2 library shipped with UnrealIRCd, the reason for this is that system argon2 is often much slower (2x slower on Ubuntu and Debian, for instance), which is not good. You can still use the system library with the configure option: --with-system-argon2 Bram Matthys 2023-07-15 08:49:11 +0200
  • 7b1193af98
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2023-07-14 18:00:56 +0200
  • ab71636390
    Fix downloads_in_progress() always returning 0 if using cURL Bram Matthys 2023-07-14 17:01:59 +0200
  • a153a2cce3
    Change definition of parse_ban_action_config(), was too easy to leak memory. Bram Matthys 2023-07-14 08:07:23 +0200
  • 33f4453ece
    Update modules.default.conf angryce 2023-07-12 20:16:11 +0200
  • affceecd84
    Update modules.default.conf angryce 2023-07-12 20:10:41 +0200
  • fa3b470afb
    Merge pull request #54 from craftxbox/piss60 angryce 2023-07-12 20:07:14 +0200
  • 8be1b915bd
    Update modules.default.conf angryce 2023-07-12 20:03:06 +0200
  • f07d624b9c
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2023-07-12 19:53:24 +0200
  • c2419e0f40
    Implement spamreport::rate-limit Bram Matthys 2023-07-11 20:18:07 +0200
  • e9716d3ce6
    Fix compile problem on Windows [skip ci] Bram Matthys 2023-07-11 16:26:06 +0200
  • 9625a1221b
    Make Cmode_t an unsigned long long to have more chanmodes on 32 bit archs. Reported by BlackBishop in https://bugs.unrealircd.org/view.php?id=6301 [skip ci] Bram Matthys 2023-07-11 15:25:21 +0200
  • 767f5647cd
    Add some explicit cast to fix warning on 32 bit archs. Bram Matthys 2023-07-11 15:18:51 +0200
  • 22f8eb8729
    Central spamfilter: fix memory leak (freeing ce/cfptr) [skip ci] Bram Matthys 2023-07-11 15:14:09 +0200
  • 2440714d13
    Fix tkldb crash, had to do with stealing references. Bram Matthys 2023-07-11 14:46:19 +0200
  • 4c3d2a6d6d
    Fix write bug in tkldb and add spamfilter::action stop. The spamfilter::action stop ill prevent processing other spamfilters. This would normally be a bit unusual, and potentially dangerous when you do exclude things this way, but can be useful in some circumstances. Bram Matthys 2023-07-11 14:16:12 +0200
  • 32701e6f99
    Central spamfilter: don't stop processing on 1 bad spamfilter block. Bram Matthys 2023-07-11 13:34:28 +0200
  • 018efd8366
    Fix crash in spamfilter { } block handling due to unitialized variable Bram Matthys 2023-07-11 12:15:01 +0200
  • f333aa0c09
    New option set::spamfilter::show-message-content-on-hit: you can now configure to hide the message content in spamfilter hit messages. Generally it is very useful to see if a spamfilter hit is correct or not, so the default is 'always', but it also has privacy implications so there is now this option to disable it. Bram Matthys 2023-07-11 11:50:28 +0200
  • 4df6ed7f9a
    Get rid of duplicate "spamfilter hit" code. Bram Matthys 2023-07-11 11:40:06 +0200
  • f277880fb3
    Add set::central-spamfilter::limit-ban-action and ::limit-ban-time to limit actions to limit-ban-action as the highest, and limit ban times to limit-ban-time the highest, see https://www.unrealircd.org/docs/Central_Spamfilter Bram Matthys 2023-07-11 10:16:49 +0200
  • 95902979dc
    Central spamfilter: now every 1hr and a default set::central-spamfilter::except policy is added. This may be tweaked later. Bram Matthys 2023-07-10 20:16:59 +0200
  • fa73b6217a
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2023-07-10 19:56:40 +0200
  • 15b9255b0e
    Add spamfilter::except as an alternative for spamfilter::rule and upd rls notes Bram Matthys 2023-07-10 12:12:25 +0200
  • c18c79e88b
    Add spamfilter hits and hits for exempted users. * This means we always run spamfilters, even if users are exempts * This way we can gather hits for exempted users on individual spamfilter entries, and possibly detect false positives (which relies on the assumption that those users are innocent) * The hit counters are shown in in RPL_STATSSPAMF and also exposed via the JSON-RCP API. * This commit also adds set::central-spamfilter::except but more on that later since i still want to set a default for that in a future commit. * This also changes take_action() to take flags and adds the option TAKE_ACTION_SIMULATE_USER_ACTION which i intended to use but didn't in the end... not sure if i should keep it :D Bram Matthys 2023-07-10 11:28:20 +0200
  • 0c622c0a73
    Minor code cleanup and remove weird check for cep->name after a CheckNull() [skip ci] Bram Matthys 2023-07-10 09:59:37 +0200
  • 3fecb779a5
    Fix double free in url_unreal.c if HTTPS write failed early. Not sure if that could possibly get triggered, actually, as it would mean the (async) SSL_connect() would have to succeed instantly and then the SSL_write() would have to fail, but better safe than sorry. Bram Matthys 2023-07-10 09:48:58 +0200
  • 01893dbc55
    Be nice to people using hybrid-like config syntax...... for now..... ;D Bram Matthys 2023-07-09 21:18:41 +0200
  • 1073c6289f
    And some more crule reformatting/cleanups, could not resist Bram Matthys 2023-07-09 17:00:43 +0200
  • c67488573a
    Some other reformating [skip ci] Bram Matthys 2023-07-09 16:52:34 +0200
  • 349e7a2e51
    src/crule.c: re-indent this monster (whitespace changes only, except 1 line) Bram Matthys 2023-07-09 16:50:15 +0200
  • d25fdeb950
    Some more BanAction fixes/improvements: * stats S one thingy (multi-actions) * STATS spamfilter (multi-actions) * warn w/user target ('u') if using multi-actions * moving some code Bram Matthys 2023-07-09 16:27:40 +0200
  • e26ff1e9cf
    Add antimixedutf8::action warn handling, and fix generic handling in git version. Bram Matthys 2023-07-09 16:20:42 +0200
  • 51a97602ee
    Fix antirandom::action warn handling in current git. Reported by Han`. Bram Matthys 2023-07-09 16:12:19 +0200
  • fb74a981d8
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2023-07-09 15:27:02 +0200
  • 9e2232ef72
    For DroneBL spam submissions use "Content-Type: text/xml". This also bumps the request size limit a bit. Bram Matthys 2023-07-09 14:03:35 +0200
  • 0618495962
    No comment :D :D Bram Matthys 2023-07-09 13:40:37 +0200
  • a68fa03ab5
    Fix some small memory leaks on REHASH and fix compile warning w/gcc. Bram Matthys 2023-07-09 13:36:22 +0200
  • 3250c7c0b4
    Add some temporary safety mechanism if too many HTTP(S) requests in progress. Will allow tweaking in config later. This is separate from rate-limit btw, which also still needs to be done. Bram Matthys 2023-07-09 13:20:26 +0200
  • 93ea44680f
    Oh yeah... typo reported by BlackBishop... :D [skip ci] Bram Matthys 2023-07-09 13:08:40 +0200
  • dec9aa0341
    Reporting spam to DroneBL now works, see https://www.unrealircd.org/docs/Spamreport_block This uses the RPC2 API. Tested with staging. Bram Matthys 2023-07-09 12:53:28 +0200
  • 2b14ee3de5
    Prepare for future spamfilter::match -> spamfilter::match-string [skip ci] Bram Matthys 2023-07-08 20:14:08 +0200
  • 5d65e4a400
    Rename place_host_ban() to take_action() since it is not only about banning... Bram Matthys 2023-07-08 19:54:40 +0200
  • 8f4a19978a
    Deal properly with multi actions in spamfilter (untested) Bram Matthys 2023-07-08 19:48:15 +0200
  • 64f57ae243
    Add spamfilter::action report (work in progress) Bram Matthys 2023-07-08 19:23:58 +0200
  • bee2853ded
    Add spamreport::type dronebl, actually reports to unrealircd.org atm for testing Bram Matthys 2023-07-08 18:13:14 +0200
  • 84786cc005
    Add flags argument to buildvarstring_nvp, and add BUILDVARSTRING_URLENCODE [skip ci] Bram Matthys 2023-07-08 18:11:58 +0200
  • 28df14ad43
    Add duplicate_nvplist_append() [skip ci] Bram Matthys 2023-07-08 18:10:34 +0200
  • 5f71adeb4d
    Add urlencode() Bram Matthys 2023-07-08 18:10:16 +0200
  • 8b158d214c
    Fix for change earlier today to buildvarstring/buildvarstring_nvp, it would stop writing the string after the first variable, not good. [skip ci] Bram Matthys 2023-07-08 17:44:31 +0200
  • 38771b6761
    Spamreport: implement POST requests Bram Matthys 2023-07-08 16:46:21 +0200
  • 7741065518
    Probably helps if i add src/modules/spamreport.c as well Bram Matthys 2023-07-08 15:36:10 +0200
  • def77c4d52
    Initial work on spamreport { } block. Not really useful yet. Bram Matthys 2023-07-08 15:34:27 +0200
  • 01dd042089
    Add support for spamfilter::id (currently not used or displayed anywhere) For config-file only atm. Bram Matthys 2023-07-08 12:34:09 +0200