Commit graph

  • 1f81344691 removed password 'test' Rafael Grether 2023-12-23 17:37:31 -03:00
  • 17999838b2
    Merge pull request #57 from Juesto/patch-3 angryce 2023-12-23 07:11:03 +01:00
  • 48d3673a02
    Only do slow spamfilter detection for regexes, not for 'simple' */? Bram Matthys 2023-12-22 15:42:43 +01:00
  • c5ed4ef9bb
    Don't call spamfilter for TAGMSG. If you are filtering that, look at 'T'. Bram Matthys 2023-12-22 15:35:01 +01:00
  • 5918d70943
    Bump version to 6.1.5-git Bram Matthys 2023-12-22 15:32:26 +01:00
  • 70a59b8b1e
    central-api: add format check for api-key so people don't use a request-key there. Reported by DeviL. Bram Matthys 2023-12-18 09:36:28 +01:00
  • 9b01605c24 moved piss modules to own config file Juest Zungo 2023-10-21 12:07:48 -03:00
  • 7487ebf89a Merge remote-tracking branch 'upstream/unreal60_dev' into piss60 alice 2023-12-17 09:01:07 +00:00
  • 49e84436b4
    Fix +I ~operclass requiring an operclass block name of >3 characters. Reported by BlackBishop in https://bugs.unrealircd.org/view.php?id=6372 Bram Matthys 2023-12-17 09:42:56 +01:00
  • 5b5a5bca03
    Wait longer for a REHASH when running with ASan Bram Matthys 2023-12-17 09:41:58 +01:00
  • cf656fccec Merge remote-tracking branch 'upstream/unreal60_dev' into piss60 alice 2023-12-16 16:21:50 +00:00
  • 96be13d68d
    ** UnrealIRCd 6.1.4 ** Bram Matthys 2023-12-16 09:50:36 +01:00
  • 68c2114977
    Make sure we never use this variable again ;) [skip ci] Bram Matthys 2023-12-15 12:34:25 +01:00
  • b0e87dcafa
    Fix crash issue in websocket server (CVE-2023-50784) Bram Matthys 2023-12-15 12:33:23 +01:00
  • fa84174d22
    Fix the fix for frame assembly in webserver. Bram Matthys 2023-12-12 18:05:23 +01:00
  • be1467d1a1
    ** UnrealIRCd 6.1.3 ** Bram Matthys 2023-12-09 09:02:12 +01:00
  • 7b8c9e8d72
    Fix memory leak due to change from yesterday (duh..) Caused by 4178cb3f81 [skip ci] Bram Matthys 2023-12-08 07:42:49 +01:00
  • 4178cb3f81
    Fix frame reassembly in webserver_handle_request_header() Bram Matthys 2023-12-06 18:14:43 +01:00
  • 49614fc891
    Thanks to Koragg for reporting previous issue :D 54ad2d1586 [skip ci] Bram Matthys 2023-12-05 18:31:19 +01:00
  • 54ad2d1586
    Fix crash with 'crule', because it was being checked against Services bots Bram Matthys 2023-12-05 18:22:25 +01:00
  • 3428551e54
    ** UnrealIRCd 6.1.3-rc1 ** Bram Matthys 2023-12-01 09:03:13 +01:00
  • 99fcf9adf6
    Add unrealircd_version in CBL request, mostly for the future. [skip ci] Bram Matthys 2023-12-01 08:03:43 +01:00
  • 0cbe6ad090
    Makefile.windows: add src/api-apicallback.c to fix build [skip ci] Bram Matthys 2023-12-01 08:02:31 +01:00
  • 96b18946ca
    Include oper name on /SPAMREPORT (for central spamreport) Bram Matthys 2023-12-01 07:58:01 +01:00
  • 9685d1e052
    Fix module manager: if 1 upgrade failed, the remaining were not upgraded. Bram Matthys 2023-11-29 09:08:55 +01:00
  • 3894f35b04
    Update RELEASE-NOTES.md to fix reference to 6.1.2 (#264) PeGaSuS 2023-11-29 08:35:25 +01:00
  • c9adae83fc
    Doxygen updates, mostly for https://www.unrealircd.org/docs/Dev:URL_API Or actually: https://www.unrealircd.org/api/6/structOutgoingWebRequest.html Bram Matthys 2023-11-27 18:20:44 +01:00
  • 15b2578620
    Some minor release notes updates [skip ci] Bram Matthys 2023-11-27 18:03:42 +01:00
  • 53f0f0cb94
    Fix unitialized variable access caused by earlier commit of today Bram Matthys 2023-11-27 17:59:03 +01:00
  • cd1b79d3f7
    Fetch Central Spamfilter rules with the API Key via alternate URL. Bram Matthys 2023-11-27 14:33:00 +01:00
  • 3803759bf2
    Release notes: mention central-api/-blocklist/-spamreport. [skip ci] Bram Matthys 2023-11-27 13:48:58 +01:00
  • 628eb4b52e
    Update release notes a bit [skip ci] Bram Matthys 2023-11-27 12:55:41 +01:00
  • 5f767a8fe8
    Proxy block: rework and add support for X-Forwarded-For, Cloudflare, etc. Bram Matthys 2023-11-27 12:07:54 +01:00
  • f8bd45541d
    Disable some recent debugcode even with DEBUGMODE on ;D (And yeah this will eventually be removed altogether) Bram Matthys 2023-11-27 10:55:56 +01:00
  • 026d5522a8
    Remove WSU() items forwarded & secure, since these are in webserver nowadays. Bram Matthys 2023-11-27 10:04:28 +01:00
  • 02ac1fc0b3
    Add an option to check websocket Origin header via listen { websocket { allow-origin { *.example.net; } } } Bram Matthys 2023-11-26 20:08:17 +01:00
  • 98c264aabf
    Fix some more warnings, rather minor. [skip ci] Bram Matthys 2023-11-26 18:47:54 +01:00
  • 0a7f1adc8b
    Add value check for blacklist config, well, fix it i mean. And fix some compiler warning (remove a useless check). [skip ci] Bram Matthys 2023-11-26 16:36:11 +01:00
  • 94bf58add9
    Fix crash reporter to use SNI. Bram Matthys 2023-11-26 15:51:35 +01:00
  • 07cc8eaeaf
    central-*.c: remove old module manager stuff and bump version. [skip ci] Bram Matthys 2023-11-25 17:28:08 +01:00
  • 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 +01:00
  • 4da58dde41
    Update central spamreport, https://www.unrealircd.org/docs/Central_spamreport Bram Matthys 2023-11-25 11:36:21 +01:00
  • d08160baca
    Add option set::central-blocklist::blocklist-enabled yes/no (default yes). Bram Matthys 2023-11-25 10:26:56 +01:00
  • bdfc3c97dd
    Add RegisterApiCallbackResolverHost() and make blacklist module non-PERM. Bram Matthys 2023-11-25 09:38:20 +01:00
  • 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 +01:00
  • 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 +01:00
  • 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 +01:00
  • 9d3af7f22a
    Fix Windows compile problem [skip ci] Bram Matthys 2023-11-24 14:26:26 +01:00
  • 44203caea3
    Fix modulemanager issue due to changes from an hour ago. Bram Matthys 2023-11-24 14:12:53 +01:00
  • 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 +01:00
  • 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 +01:00
  • 1282d2f2be
    URL API: Response callback is now two structs so we can easily extend. Bram Matthys 2023-11-24 12:28:18 +01:00
  • eed9d22e3b
    URL API: work towards callback w/struct -- actually this is an interim step Bram Matthys 2023-11-24 12:04:28 +01:00
  • 3548b7e2af
    New URL API (not really a unrealircd module api tho) - work in progress. Bram Matthys 2023-11-24 11:27:39 +01:00
  • 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 +01:00
  • 8d34987ad1
    Bump UNREAL_VERSION_TIME [skip ci] Bram Matthys 2023-11-24 09:26:07 +01:00
  • be586531bc
    Make get_central_api_key() an efunction rather than doing things by hooks. Bram Matthys 2023-11-24 09:23:33 +01:00
  • d73c8b30d2
    Fix compile problem with central-blocklist on FreeBSD. Bram Matthys 2023-11-24 09:13:13 +01:00
  • 6aae3e7a5d
    Update modules and Makefiles so central-api & central-blocklist compile. Bram Matthys 2023-11-24 07:31:22 +01:00
  • ebd39f4144
    First import these as-is from third/ to track history properly (not compilable) [skip ci] Bram Matthys 2023-11-24 07:26:54 +01:00
  • 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 +01:00
  • 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 +01:00
  • 83dd4bfbf5
    Update release notes for 6.1.3-git [skip ci] Bram Matthys 2023-11-22 08:54:13 +01:00
  • 36d12d2d82
    Bump version to 6.1.3-git Bram Matthys 2023-11-22 08:38:27 +01:00
  • 7b9aacd609
    Fix accidental truncation in SREPLY (#257) Valerie Liu 2023-11-20 15:30:08 +00:00
  • 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 +00:00
  • fb6711c671
    Improve MONITOR/WATCH extensibility. k4be 2023-11-19 14:01:16 +01:00
  • 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 +01:00
  • 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 +01:00
  • 2627d09044
    Get rid of compiler check (core vs modules) and clean the modversion check too Bram Matthys 2023-11-12 20:04:56 +01:00
  • 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 +01:00
  • d2ccba80c5
    Moddata fixes: LoadPersistent*()/SavePersistent*() and removing mdata. Bram Matthys 2023-11-10 10:01:05 +01:00
  • 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 +01:00
  • a81b1bf4f3 Merge remote-tracking branch 'upstream/unreal60_dev' into piss60 alice 2023-11-04 18:58:43 +00:00
  • 8e1efc54a8
    Update hooks to define GET_CENTRAL_API_KEY to avoid conflicting with pissnet-specific hooks. alice 2023-11-04 18:56:06 +00:00
  • ec4e1d95d8
    Don't ask to generate TLS certificate if one already exists. Bram Matthys 2023-11-04 09:38:00 +01:00
  • 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 +01:00
  • 7468018a7d
    Make $client.details follow the ident rules in the handshake too. Bram Matthys 2023-10-29 07:02:23 +01:00
  • 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 +02:00
  • 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 +02:00
  • 7649520f63
    Fix HOOKTYPE_IS_HANDSHAKE_FINISHED not called at two places where register_user() is called. Bram Matthys 2023-10-23 19:02:03 +02:00
  • 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 +02:00
  • 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 +02:00
  • 2e9811ba47
    Send central-blocklist hits globally Bram Matthys 2023-10-21 16:01:00 +02:00
  • 3c8c2711be Merge remote-tracking branch 'upstream/unreal60_dev' into piss60 alice 2023-10-13 07:43:25 +01:00
  • 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 +01:00
  • 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 +02:00
  • ac5ba1cfba
    Fix some markup in release notes [skip ci] Bram Matthys 2023-10-13 07:48:33 +02:00
  • 1347ffad1d
    ** UnrealIRCd 6.1.2.3 ** Bram Matthys 2023-10-13 07:45:13 +02:00
  • bc4a316723 Merge remote-tracking branch 'upstream/unreal60_dev' into piss60 alice 2023-10-12 22:02:38 +01:00
  • 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 +02:00
  • a906131689
    url_unreal: Fix build (#262) Val Lorentz 2023-10-12 07:12:56 +02:00
  • 948f4c5ff7
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2023-10-12 06:59:47 +02:00
  • 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 +02:00
  • 9a6a06b63f
    Split resolver channel into two: client & dnsbl Bram Matthys 2023-10-11 18:08:26 +02:00
  • 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 +02:00
  • 0487b07f09
    Pissify Windows installer (#56) Juest Zungo 2023-10-07 20:01:37 -03:00
  • 1f6c4bed2a
    oof missed Juest Zungo 2023-10-07 19:59:59 -03:00
  • 77353974de
    Merge branch 'piss60' into patch-1 Juest Zungo 2023-10-07 19:58:43 -03:00
  • dff148f5f0 Merge remote-tracking branch 'upstream/unreal60_dev' into piss60 alice 2023-10-07 18:45:36 +01:00