Commit Graph

  • 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
  • d1877ae100
    Add conditional config defines: UNREALIRCD_VERSION UNREALIRCD_VERSION_GENERATION UNREALIRCD_VERSION_MAJOR UNREALIRCD_VERSION_MINOR UNREALIRCD_VERSION_SUFFIX Bram Matthys 2023-07-07 21:05:38 +0200
  • a7ab8f7710
    Update early release notes a bit (still work in progress) [skip ci] Bram Matthys 2023-07-07 20:28:46 +0200
  • 1006292681
    Initial work on central spamfilter with auto refreshing URL / rules Bram Matthys 2023-07-07 18:37:02 +0200
  • c6e83be412
    Release notes: fix "turn off" to be set { spamfilter { utf8 no; } } Reported by BlackBishop [skip ci] Bram Matthys 2023-07-07 16:47:29 +0200
  • caf4708597
    Update early release notes a bit [skip ci] Bram Matthys 2023-07-07 16:46:56 +0200
  • 662acb2442
    Bump UNREAL_VERSION_TIME [skip ci] Bram Matthys 2023-07-07 11:34:16 +0200
  • c8c2657904
    Fix build problem with current git due to HOOKTYPE_PLACE_HOST_BAN mismatch Bram Matthys 2023-07-07 10:58:06 +0200
  • d998846c64
    Support setting tags via spamfilter { } blocks Bram Matthys 2023-07-06 18:25:43 +0200
  • cafb180955
    Change default of set::spamfilter::stop-on-first-match to 'no' (Apparently an undocumented feature, by the way) Bram Matthys 2023-07-06 18:24:32 +0200
  • c04c185c0b
    Hmm, why is '=' special in the conf? It isn't! Bram Matthys 2023-07-06 18:24:00 +0200
  • 6bbcdfd1b3
    Add spamfilter::rule (preconditions), add context to crule parser, and add the first functions: online_time() and reputation(). Bram Matthys 2023-07-06 15:43:12 +0200
  • 1e572e25b9
    Add comparisson operator support to crule (< > ==) Should probably add >= and <= as well :D Bram Matthys 2023-07-06 14:31:36 +0200
  • 656ea105da
    First go at multi actions... Bram Matthys 2023-07-06 11:48:38 +0200
  • 0af88581d3
    Add support for restricting config file blocks. Bram Matthys 2023-07-06 08:47:02 +0200
  • 5b04177ad7
    Update early release notes a bit [skip ci] Bram Matthys 2023-07-06 07:59:16 +0200
  • 41fcdb3264
    Set set::spamfilter::utf8 to 'yes' by default. Bram Matthys 2023-07-06 07:57:49 +0200
  • f636e114a8
    Update antimixedutf8 with a complete list of UTF8 blocks, counter more spam. Bram Matthys 2023-07-05 17:21:17 +0200
  • 4aea854189
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2023-07-03 12:46:54 +0200
  • ecad4e32ec
    Fix rejected_deletes setting in history_delete() Bram Matthys 2023-07-02 10:11:01 +0200
  • f932c21751
    Bump MODDATA_MAX_LOCAL_CLIENT from 12 to 24. Bram Matthys 2023-06-30 20:34:10 +0200
  • 8d50efd29e
    Fix documentation confusing regarding rpc-user::match vs ::mask. Only match was working earlier, and for now both are accepted, like everywhere else. Reported by BlackBishop. Bram Matthys 2023-06-30 15:17:20 +0200
  • c0f4b17aee
    Add new hook type for remote-to-local kills craftxbox 2023-06-29 23:55:36 +0000
  • 45616d87ab Merge branch 'unrealircd-unreal60_dev' into piss60 angryce 2023-06-29 05:48:26 +0200
  • d09ab8601f Merge branch 'unreal60_dev' of github.com:unrealircd/unrealircd into unrealircd-unreal60_dev angryce 2023-06-29 05:47:50 +0200
  • 3c82dd61e2
    Remove UnrealIRCd 5 from supported versions Bram Matthys 2023-06-27 20:00:14 +0200
  • 0cc800e736
    Fix crash on invalid badword { } block in config file (one without type) Bram Matthys 2023-06-27 18:31:25 +0200
  • 89f9659158
    Fix doc\conf\aliases\* being twice in unrealinst.iss [skip ci] Bram Matthys 2023-06-25 16:43:57 +0200
  • a8695dfe0b
    Whoops, removed an important backslash, fix compile error :D Bram Matthys 2023-06-17 18:26:42 +0200
  • d5ceb664bc
    Add 'history_delete' method to HistoryBackend (#253) Val Lorentz 2023-06-17 18:10:10 +0200
  • 280a1ddb1d
    Update this file too :D [skip ci] Bram Matthys 2023-06-17 18:09:38 +0200
  • 407bd84c11
    Bump version to 6.1.2-git Bram Matthys 2023-06-17 18:08:51 +0200
  • 7bce73a697
    Some changes to HOOKTYPE_RECONFIGURE_WEB_LISTENER hack from earlier, that was added late in 6.1.1 development to fix a crash with removing websocket listeners. Now replaced with a generic HOOKTYPE_CONFIG_LISTENER that is not only called for removed listeners, but for all listeners. Bram Matthys 2023-06-17 18:04:12 +0200