Commit graph

  • 94bf58add9
    Fix crash reporter to use SNI. Bram Matthys 2023-11-26 15:51:35 +0100
  • 07cc8eaeaf
    central-*.c: remove old module manager stuff and bump version. [skip ci] Bram Matthys 2023-11-25 17:28:08 +0100
  • f1a5f5ab97
    Remove accidental 'else' that caused modulemgr to freeze / make install to hang. ... when using url_unreal instead of url_curl. Bram Matthys 2023-11-25 12:30:08 +0100
  • 4da58dde41
    Update central spamreport, https://www.unrealircd.org/docs/Central_spamreport Bram Matthys 2023-11-25 11:36:21 +0100
  • d08160baca
    Add option set::central-blocklist::blocklist-enabled yes/no (default yes). Bram Matthys 2023-11-25 10:26:56 +0100
  • bdfc3c97dd
    Add RegisterApiCallbackResolverHost() and make blacklist module non-PERM. Bram Matthys 2023-11-25 09:38:20 +0100
  • 55d1398fca
    Move dns.h include to unrealircd.h and remove it elsewhere. Because I need c-ares prototypes in modules.h, for next commit. [skip ci] Bram Matthys 2023-11-25 09:05:29 +0100
  • 6ce1958e1c
    Add URL API and use it at one place from central-blocklist. Docs at: https://www.unrealircd.org/docs/Dev:URL_API Bram Matthys 2023-11-25 08:30:21 +0100
  • 7d024f8086
    URL API: add request->connect_timeout & request->transfer_timeout ... in case you want to do fine-tuning. Bram Matthys 2023-11-24 14:34:54 +0100
  • 9d3af7f22a
    Fix Windows compile problem [skip ci] Bram Matthys 2023-11-24 14:26:26 +0100
  • 44203caea3
    Fix modulemanager issue due to changes from an hour ago. Bram Matthys 2023-11-24 14:12:53 +0100
  • 36323f4294
    Replace modulemanager HTTPS code with the generic URL code. We now have a synchronous_http_request() which can be used for that (NOTE: that function is NOT for use in unrealircd modules) Bram Matthys 2023-11-24 13:20:18 +0100
  • 2ae33225d0
    In url_curl.c we properly did remove(tmpfile) but in url_unreal.c we did not. Also add a flag to say not to remove the tmpfile -- not working yet. [skip ci] Bram Matthys 2023-11-24 13:17:21 +0100
  • 1282d2f2be
    URL API: Response callback is now two structs so we can easily extend. Bram Matthys 2023-11-24 12:28:18 +0100
  • eed9d22e3b
    URL API: work towards callback w/struct -- actually this is an interim step Bram Matthys 2023-11-24 12:04:28 +0100
  • 3548b7e2af
    New URL API (not really a unrealircd module api tho) - work in progress. Bram Matthys 2023-11-24 11:27:39 +0100
  • c9abf0709a
    Provide a good error when trying to load third/centralblocklist and the like. Since people should use the core modules from now on. Bram Matthys 2023-11-24 09:41:53 +0100
  • 8d34987ad1
    Bump UNREAL_VERSION_TIME [skip ci] Bram Matthys 2023-11-24 09:26:07 +0100
  • be586531bc
    Make get_central_api_key() an efunction rather than doing things by hooks. Bram Matthys 2023-11-24 09:23:33 +0100
  • d73c8b30d2
    Fix compile problem with central-blocklist on FreeBSD. Bram Matthys 2023-11-24 09:13:13 +0100
  • 6aae3e7a5d
    Update modules and Makefiles so central-api & central-blocklist compile. Bram Matthys 2023-11-24 07:31:22 +0100
  • ebd39f4144
    First import these as-is from third/ to track history properly (not compilable) [skip ci] Bram Matthys 2023-11-24 07:26:54 +0100
  • fe8e8e1274
    Via JSON-RPC one could place a gzline on ident@host, which is invalid. The effect it had was actually *@host, so ident@* became *@* -grin-. Bram Matthys 2023-11-24 07:14:23 +0100
  • d85ed7a51f
    For set::hide-ban-reason add a new option auto and make it the default. This will hide the *LINE reason to other users if the *LINE contains the IP of the user. This to protect the privacy of the user for cases such as a KLINE due to a blacklist with a DroneBL URL. Other possible settings are no (never hide, the previous default) and yes to always hide the *LINE reason. In all cases the user affected by the server ban can still see the reason and IRCOps too. Bram Matthys 2023-11-22 14:46:52 +0100
  • 83dd4bfbf5
    Update release notes for 6.1.3-git [skip ci] Bram Matthys 2023-11-22 08:54:13 +0100
  • 36d12d2d82
    Bump version to 6.1.3-git Bram Matthys 2023-11-22 08:38:27 +0100
  • 7b9aacd609
    Fix accidental truncation in SREPLY (#257) Valerie Liu 2023-11-20 15:30:08 +0000
  • 8c0243182c
    Fix server notice about setting -Z, it was sent from the SID instead of server name (#263) Valerie Liu 2023-11-20 15:28:23 +0000
  • fb6711c671
    Improve MONITOR/WATCH extensibility. k4be 2023-11-19 14:01:16 +0100
  • 5b6617406e
    Actually completely fix #6365, replaces previous temporary fix. Nevermind, the solution to that problem was easy, can just compare with the 'ircd' binary and in that way, leverage the Makefile system decisions :D https://bugs.unrealircd.org/view.php?id=6365 Bram Matthys 2023-11-13 09:49:04 +0100
  • 8e450bb7fc
    Fix not recompiling third party modules when running git version 'git pull' This is a quick fix for https://bugs.unrealircd.org/view.php?id=6365 The quick fix which causes 3rd party modules to be compiled always in 'make' and again in 'make install' (the latter is unintended). Can look for something better later, I want to work on other stuff now ;D Bram Matthys 2023-11-13 09:41:25 +0100
  • 2627d09044
    Get rid of compiler check (core vs modules) and clean the modversion check too Bram Matthys 2023-11-12 20:04:56 +0100
  • e84e2b30d2
    Forward SPAMREPORT command to the server that the target user is on. That is, if a nick is specified. For an IP address obviously we won't. Bram Matthys 2023-11-12 17:29:35 +0100
  • d2ccba80c5
    Moddata fixes: LoadPersistent*()/SavePersistent*() and removing mdata. Bram Matthys 2023-11-10 10:01:05 +0100
  • ffbf34fb15
    Fix ModData bug when unloading a module for good: iterate unknown_list. When a module was unloaded (for good) that used MODDATATYPE_CLIENT or MODDATATYPE_LOCAL_CLIENT we walked the client_list/lclient_list and freed the moddata entry for all these clients, but we did not walk the unknown_list, so connections in process. That's bad, because sometimes such moddata is allocated in HOOKTYPE_HANDSHAKE or in other routines pre-connect and since we skipped freeing them while the module was still loaded, it means we leak memory since it is also not freed on user exit. Bram Matthys 2023-11-10 08:05:09 +0100
  • a81b1bf4f3 Merge remote-tracking branch 'upstream/unreal60_dev' into piss60 alice 2023-11-04 18:58:43 +0000
  • 8e1efc54a8
    Update hooks to define GET_CENTRAL_API_KEY to avoid conflicting with pissnet-specific hooks. alice 2023-11-04 18:56:06 +0000
  • ec4e1d95d8
    Don't ask to generate TLS certificate if one already exists. Bram Matthys 2023-11-04 09:38:00 +0100
  • 0e7ef37a5e
    Detect getsockopt TCP_INFO on FreeBSD and get rid of unnecessary other check On FreeBSD one of the fields is slightly different, that's all it seems. Bram Matthys 2023-11-01 16:59:44 +0100
  • 7468018a7d
    Make $client.details follow the ident rules in the handshake too. Bram Matthys 2023-10-29 07:02:23 +0100
  • 75a55de785
    Make deny channel { } support escaped sequences like channel "#xyz\*"; This so you can match a literal * or ? via \* and \? Bram Matthys 2023-10-25 19:45:04 +0200
  • f2f11a4637
    Reserve more file descriptors. Eg when 10.000 are available, reserve 250. Since 10k+ fd's available is the common situation, this means we then have 250 fd's reserved for non-clients, such as HTTPS callbacks and other things. Bram Matthys 2023-10-25 11:57:41 +0200
  • 7649520f63
    Fix HOOKTYPE_IS_HANDSHAKE_FINISHED not called at two places where register_user() is called. Bram Matthys 2023-10-23 19:02:03 +0200
  • 099e99504f
    Make autoconf check for getsockopt TCP_INFO and define HAVE_TCP_INFO At the moment only for third/centralblocklist Bram Matthys 2023-10-23 10:33:47 +0200
  • 5b7e375213
    Limit operclass name to a-zA-Z0-9_- and use the same validation in ~operclass extban. This fixes the issue where +e/+I ~operclass:name gets cut off if the name contains any digits. Bram Matthys 2023-10-23 09:48:40 +0200
  • 2e9811ba47
    Send central-blocklist hits globally Bram Matthys 2023-10-21 16:01:00 +0200
  • 3c8c2711be Merge remote-tracking branch 'upstream/unreal60_dev' into piss60 alice 2023-10-13 07:43:25 +0100
  • 9f8771e28f
    Fix charsys to use a 32-bit type to contain unicode codepoint, fixes issue on non-wchar_t-32-bit systems (#55) alice 2023-10-13 07:42:08 +0100
  • a01e77c664
    Fix a compile problem on 32-bit archs. (well not really fix, but move it behind a DEBUGMODE ifdef) Bram Matthys 2023-10-13 08:14:19 +0200
  • ac5ba1cfba
    Fix some markup in release notes [skip ci] Bram Matthys 2023-10-13 07:48:33 +0200
  • 1347ffad1d
    ** UnrealIRCd 6.1.2.3 ** Bram Matthys 2023-10-13 07:45:13 +0200
  • bc4a316723 Merge remote-tracking branch 'upstream/unreal60_dev' into piss60 alice 2023-10-12 22:02:38 +0100
  • b085da458a
    Fix ::exclude-security-group not working. Reported by BlackBishop in https://bugs.unrealircd.org/view.php?id=6350 Bram Matthys 2023-10-12 18:46:18 +0200
  • a906131689
    url_unreal: Fix build (#262) Val Lorentz 2023-10-12 07:12:56 +0200
  • 948f4c5ff7
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2023-10-12 06:59:47 +0200
  • a04295c588
    Add set::dns and increase DNS timeout for DNSBL (3000ms first, then on retry 6000ms). This is quite a bit higher than client DNS lookups (1500ms first, on retry 3000ms) and is because some DNSBL are reported to be quite a bit slower than ordinary DNS. (Maybe just some, but.. the higher timeout does not hurt anyone anyway) Bram Matthys 2023-10-11 18:56:12 +0200
  • 9a6a06b63f
    Split resolver channel into two: client & dnsbl Bram Matthys 2023-10-11 18:08:26 +0200
  • b2030b1a6f
    Fix UTF8 not working in spamfilter { } blocks, only after the first REHASH. With error messages about it possibly but also possibly not (silently failing). Bram Matthys 2023-10-08 18:32:26 +0200
  • 0487b07f09
    Pissify Windows installer (#56) Juest Zungo 2023-10-07 20:01:37 -0300
  • 1f6c4bed2a
    oof missed Juest Zungo 2023-10-07 19:59:59 -0300
  • 77353974de
    Merge branch 'piss60' into patch-1 Juest Zungo 2023-10-07 19:58:43 -0300
  • dff148f5f0 Merge remote-tracking branch 'upstream/unreal60_dev' into piss60 alice 2023-10-07 18:45:36 +0100
  • c135b71fa3
    Fix possible REHASH crash in some circumstances (also in 6.1.*) Bram Matthys 2023-10-07 17:23:02 +0200
  • 6900b4b1c6 Merge remote-tracking branch 'upstream/unreal60_dev' into piss60 alice 2023-10-07 01:02:03 +0100
  • 552d72cbaa
    ** UnrealIRCd 6.1.2.2 ** Bram Matthys 2023-10-06 09:37:51 +0200
  • 59c11d8b23
    Add support for "REHASH -centralspamfilter" (alias "REHASH -cs") to force an immediate fetch+load of central spamfilter rules, so you don't have to wait an hour (or whatever is configured). Bram Matthys 2023-10-06 08:42:17 +0200
  • 25d1bdfbf5
    Make central spamfilters show in STATS spamfilter as "-centralspamfilter-" rather than "-config-". Suggested by Lord255. [skip ci] Bram Matthys 2023-10-06 08:24:20 +0200
  • 1741da6d2a
    Fix another instance of "STATS spamfilter" accidentally containing spaces When using multi-targets like spamfilter { action { report; block; } } it would output in stats like "report, block". Now changed to "report,block" Bram Matthys 2023-10-06 07:44:24 +0200
  • 45002eeb6f
    Fix STATS output for config-based spamfilters with reasons with spaces. Bram Matthys 2023-10-06 07:36:26 +0200
  • 25d5a2ac64
    Fix possible crash on SETNAME with spamfilter 'u'. [skip ci] Bram Matthys 2023-10-06 07:12:15 +0200
  • 3d9233baab
    Fix tkldb storing (and restoring) central spamfilters. These should not be in tkldb, just like config-based spamfilters are not. Bram Matthys 2023-10-06 07:08:22 +0200
  • 43240e4557
    Don't allow central spamfilter without 'reason' Bram Matthys 2023-10-06 07:00:44 +0200
  • 8398c8cd8d
    Don't crash when reading spamfilters from tkldb that don't compile (anymore). For example, because of a different version of PCRE2, or because of the switch from non-UTF8 to UTF8 (or vice versa) which disallows certain byte sequences. Bram Matthys 2023-10-05 17:37:06 +0200
  • 1d34753f18
    Fix minor compiler warning on conflicting types for Auth_Hash (PR #261) alice 2023-10-05 06:43:17 +0100
  • 56cad74062
    Pissify Windows installer Juest Zungo 2023-10-04 22:44:32 -0300
  • e9ad6bf01b Merge remote-tracking branch 'alice/fix-warning-auth-hash' into piss60 alice 2023-10-05 02:21:44 +0100
  • 25ba78d4dc Guard FAKELAG_CONFIGURABLE as set in pissircd. alice 2023-10-05 02:20:20 +0100
  • 42e75149b7 Fix minor warning on conflicting types for Auth_Hash warning (AuthenticationType vs int) alice 2023-10-05 01:05:07 +0100
  • f8abce2d50 Merge remote-tracking branch 'upstream/unreal60_dev' into piss60 alice 2023-10-05 00:41:53 +0100
  • ba6b240582
    Fix charsys to use a 32-bit type to contain unicode codepoint, fixes issue on non-wchar_t-32-bit systems alice 2023-10-05 00:38:48 +0100
  • 931eea475c
    ** UnrealIRCd 6.1.2.1 ** Bram Matthys 2023-10-04 10:22:43 +0200
  • 088d2595d5
    Fix crash on REHASH with crule (such as spamfilter::rule). This happens when !, || or && are used, though the exact requirements for the crash may also require a function with arguments. Bram Matthys 2023-10-04 10:14:09 +0200
  • a780968dee
    ** UnrealIRCd 6.1.2 ** Bram Matthys 2023-10-04 07:11:36 +0200
  • 1705baeb2f
    Add Windows .gitignore files (#260) Juest Zungo 2023-10-04 02:11:12 -0300
  • b5687eb047
    Update help.conf (#259) PeGaSuS 2023-10-04 07:10:17 +0200
  • 87295deb67
    Remove client->local->next_nick_allowed which is unused nowadays. It was moved to the generic anti-flood framework which is FloodCounter flood[MAXFLOODOPTIONS]; Bram Matthys 2023-10-02 14:26:01 +0200
  • f2216fc6c1
    Call fd_unnotify() on SetDeadSocket(), since we don't care anymore. Bram Matthys 2023-10-02 14:25:24 +0200
  • a54cb86577 Changes HOOKTYPE_PRE_REMOTE_TO_LOCAL_KILL to fit inside Hooks Raphael Bertoche 2023-10-01 04:36:47 -0300
  • 9ed73c8eb0 Merge remote-tracking branch 'upstream/unreal60_dev' into piss60 alice 2023-10-01 01:43:19 +0100
  • 9955e32781
    Add small caveat for limited score bumping (running mixed net) [skip ci] Bram Matthys 2023-09-23 12:02:31 +0200
  • 31fa1340c7
    Almost forgot version bump in setup.h [skip ci] Bram Matthys 2023-09-23 11:46:53 +0200
  • 64a8608a0f
    ** UnrealIRCd 6.1.2-rc2 ** Bram Matthys 2023-09-23 11:19:41 +0200
  • 52d36943b5
    Update release notes [skip ci] Bram Matthys 2023-09-23 10:52:29 +0200
  • 311f7397f5
    Fix NULL pointer crash due to reputation code changes from yesterday Bram Matthys 2023-09-18 09:16:17 +0200
  • 53c3ae6403
    Update account extban in help.conf (#254) PeGaSuS 2023-09-17 12:14:32 +0200
  • b234e13358
    Don't bump reputation scores anymore for users who are in no channels or when they are only in channel(s) with very low member counts. Bram Matthys 2023-09-17 11:41:31 +0200
  • 4e070b8034
    Use client:set:reputation oper privilege for latest change [skip ci] Bram Matthys 2023-09-17 09:58:21 +0200
  • f3538f07d9
    Support setting of reputation via /REPUTATION <nick|ip> <value> Useful for testing and.. well.. perhaps other things. Bram Matthys 2023-09-17 09:55:59 +0200
  • 97630b4717
    Allow setting reputation in https://www.unrealircd.org/docs/Actions via action { set REPUTATION--; } and similar. Bram Matthys 2023-09-17 09:39:55 +0200
  • d862196d04
    Update example.conf with Windows commands for mkpasswd/gencloak/spkifp These work since UnrealIRCd 6.0.2. Bram Matthys 2023-09-13 19:49:59 +0200