Commit graph

  • 1274e3d142
    Update release notes [skip ci] Bram Matthys 2023-03-22 09:48:43 +01:00
  • 23254a8b2b
    Fix for c-ares library bump (forgot to run ./autogen.sh) Bram Matthys 2023-03-22 09:45:30 +01:00
  • f24b708562
    Update curl-ca-bundle to version of 10-jan-2023 from https://curl.se/ca/cacert.pem Bram Matthys 2023-03-22 09:44:12 +01:00
  • 62f79c3375
    Update shipped c-ares library to 1.19.0 (28-jan-2023) Bram Matthys 2023-03-22 09:41:24 +01:00
  • 6b9cb96787
    Update shipped Jansson library to 2.14 (9-sep-2021) Bram Matthys 2023-03-22 09:39:42 +01:00
  • ed2113e97c
    Update PCRE2 to 10.42 (12-dec-2022) Bram Matthys 2023-03-22 09:38:01 +01:00
  • 3d8905dd1c
    Fix "unknown connection(s)" in LUSERS being rather high. This was a counting bug in src/socket.c. The socket itself was actually freed though, so it's purely counting that was wrong. Bram Matthys 2023-03-22 09:31:26 +01:00
  • 6f0757a2d0
    Update release notes [skip ci] Bram Matthys 2023-03-22 09:13:50 +01:00
  • 852169429d
    Update release notes [skip ci] Bram Matthys 2023-03-22 09:03:41 +01:00
  • 4b4562516c
    Another attempt at UTF8-aware spamfilter. Bram Matthys 2023-03-22 08:56:08 +01:00
  • 768a08f83b
    Fixes for remote REHASH of a server: fix both missing and duplicate lines. Duplicate line reported by Lord255 in https://bugs.unrealircd.org/view.php?id=6082 Missing line(s) may have been mentioned by someone but never reported on the bug tracker. Bram Matthys 2023-03-20 11:45:41 +01:00
  • 8a48cfb664
    Fix not sending CAP DEL on module unload. Reported by westor in https://bugs.unrealircd.org/view.php?id=6104 The code was there but the order of which the checks were done was wrong, so first it was checking which CAP's were unloaded and after that it was unloading the CAP, instead of the other way around. Bram Matthys 2023-03-20 10:53:41 +01:00
  • a7c9ecb4e7
    Add deny link::reason (optional) and display it in oper warnings and to the other side of the link. Bram Matthys 2023-03-20 09:17:52 +01:00
  • a1e7e9f882
    Move deny link { } handling to server module. Bram Matthys 2023-03-20 09:09:03 +01:00
  • 56478f04aa
    When an IRCOp uses user mode +H (hide oper) then only hide swhois entries that have the tag "oper", IOTW: the ones that are added through the oper { } block, and not the ones added through different means like a vhost { } block. Really minor thingy but suggested by JanisB in https://bugs.unrealircd.org/view.php?id=4233 and actually possible nowadays when swhois items are tagged. Bram Matthys 2023-03-19 12:27:56 +01:00
  • 5a95a19d2d
    Update release notes [skip ci] Bram Matthys 2023-03-19 12:06:55 +01:00
  • 37b2f951fd
    Update release notes [skip ci] Bram Matthys 2023-03-19 12:03:37 +01:00
  • fae628cbdf
    Fix "Missing snomask logging configuration" REHASH issue if you do actually have 1 snomask configured (a single one). Although this is rather rare and unusual, it should be possible. Previously we required at least 2 snomasks and the counter did not properly reset during rehashes. Not sure why we required 2 and not 1, and the counter reset was a bug. Reported by westor in https://bugs.unrealircd.org/view.php?id=5994 Bram Matthys 2023-03-19 11:51:28 +01:00
  • 5c108e0ec3
    Don't fetch GeoIP.dat upon blacklist-module geoip_classic; Reported in https://bugs.unrealircd.org/view.php?id=6100 Bram Matthys 2023-03-19 11:25:37 +01:00
  • 15c8da2be8
    Send ERR_INPUTTOOLONG (417) on oversized message-tags, as per https://ircv3.net/specs/extensions/message-tags Reported by progval in https://bugs.unrealircd.org/view.php?id=5949 Bram Matthys 2023-03-19 10:12:38 +01:00
  • 951b913800
    Update crule.c, re-porting it from ircu, to hopefully fix some bug(s). Reported by 9pfs in https://bugs.unrealircd.org/view.php?id=6248 Bram Matthys 2023-03-19 08:36:59 +01:00
  • 99c3f8688e
    When we blocked remote requests for CREDITS/INFO/LICENSE 10 years ago due to flood attacks, back then we changed the argument silently to point to our own server, eg 'INFO some.remote.server' ended up being 'INFO' (local server) when requested by non-IRCOps. Now, we simply return "Permission denied" in such cases, which is more clear and explicit. Reported by progval in https://bugs.unrealircd.org/view.php?id=6004 Bram Matthys 2023-03-18 14:11:48 +01:00
  • eccf108866
    Forgot second part of the patch in previous commit. Bram Matthys 2023-03-18 14:01:37 +01:00
  • 3bccc63125
    Fix +S stripping too much on incorrect color codes. Reported by semioriginal in https://bugs.unrealircd.org/view.php?id=5908 with the patch also by semioriginal. Bram Matthys 2023-03-18 13:58:59 +01:00
  • 5cdcb95cdf
    Fix log message nick.BAD_NICK_REMOTE showing wrong server. Reported by Valware in https://bugs.unrealircd.org/view.php?id=6060 Bram Matthys 2023-03-18 13:41:16 +01:00
  • 3329cbcf18
    Fix @if module-loaded() for modules that are about to be unloaded during REHASH. Reported by westor in https://bugs.unrealircd.org/view.php?id=6122 Bram Matthys 2023-03-18 13:35:43 +01:00
  • 80d9b00de2
    Possible fix for changes yesterday in moddata websocket_mdata_unserialize, freeing of old websocket data (probably never called, but hey..) Bram Matthys 2023-03-18 07:39:09 +01:00
  • 6cb7a12baa
    Minor rls notes updates [skip ci] Bram Matthys 2023-03-17 19:10:09 +01:00
  • 8ed633a452
    Update release notes [skip ci] Bram Matthys 2023-03-17 19:05:39 +01:00
  • 0428819c03
    Add security group "websocket-users" and add security-group options security-group::websocket and security-group::exclude-websocket, all similar to how security-group::webirc works but for websocket. Suggested by PeGaSuS in https://bugs.unrealircd.org/view.php?id=5598 and Nini in https://bugs.unrealircd.org/view.php?id=6222 Bram Matthys 2023-03-17 18:57:59 +01:00
  • 3c64392a86
    Sync websocket status over the network (needed for next commits) Bram Matthys 2023-03-17 18:52:59 +01:00
  • 7c98f10259
    Update release notes [skip ci] Bram Matthys 2023-03-17 18:14:59 +01:00
  • cdb36e7e30
    WHOWAS: Show IP address and account to IRCOps. Thanks to Noisytoot for https://github.com/unrealircd/unrealircd/pull/227 who suggested displaying account and provided a partial patch, and armyn in https://bugs.unrealircd.org/view.php?id=6153 suggesting IP. Bram Matthys 2023-03-17 18:02:32 +01:00
  • fcdb059883
    Fix whitespace and add some comments, before I go edit this file Bram Matthys 2023-03-17 17:36:57 +01:00
  • cc97589e47
    Update release notes a bit [skip ci] Bram Matthys 2023-03-17 14:27:16 +01:00
  • 96a6cf03a1
    Probably helps if i add the .c file Bram Matthys 2023-03-17 14:20:58 +01:00
  • 45757da12e
    Add CAP standard-replies, and send ACCOUNT_REQUIRED_TO_CONNECT when a user is soft-banned, from authprompt anyway. Bram Matthys 2023-03-17 14:20:02 +01:00
  • db23e7ba74
    Update a module description (copy-paste error) [skip ci] Bram Matthys 2023-03-17 14:06:42 +01:00
  • 4a9dcc6511
    Fix mode +d (post delayed +D) not showing invisible users partially. Or, "invisible_user_in_channel() function doesn't return 1 when channel has +d" Reported by westor in https://bugs.unrealircd.org/view.php?id=6118 Bram Matthys 2023-03-17 12:12:20 +01:00
  • 2a98802d09
    Fix compile warning due to latest additions. Bram Matthys 2023-03-17 11:06:12 +01:00
  • 395a9dfc41
    Update release notes [skip ci] Bram Matthys 2023-03-17 10:54:16 +01:00
  • 9a08e39bca
    Fix modulemanager not working on FreeBSD (./unrealircd module install ...) and other systems where 'make' was not GNU Make. It now uses the same detection mechanism as in ./Config, which should be known to work. Bram Matthys 2023-03-17 10:44:10 +01:00
  • 5e57228dfb
    In the FLOOD_BLOCKED log message, add the target of the flood. Suggested by ComputerTech in https://bugs.unrealircd.org/view.php?id=6148 Bram Matthys 2023-03-17 09:56:56 +01:00
  • 16d6c0efd6
    Fix crash if unrealircd.org/json-log is used and a module calls config_warn() during MOD_INIT, while an IRCOp is listening. Or any log call, really. This causes the code path: config_warn() -> do_unreal_log_opers() -[..]-> sendto_one() -[..]-> client_accepts_tag() for a client tag handler that is no longer loaded. Bram Matthys 2023-03-15 13:42:17 +01:00
  • 96fe6d0fda
    Fix Windows compile problem with current git Bram Matthys 2023-03-14 18:32:48 +01:00
  • e767dc5e0e
    Silence warning on clang 15+ (such as in upcoming Ubuntu 23.04) with regard to RunHook() and direct hook calls. Bram Matthys 2023-03-13 13:55:18 +01:00
  • 10b481f2c7
    ./Config: don't use 'more doc/Config.header' but use 'cat', it's short enough. Bram Matthys 2023-03-13 09:09:42 +01:00
  • c43753cd4b
    Support NO_COLOR environment variable, as per https://no-color.org Bram Matthys 2023-03-11 17:57:19 +01:00
  • 2609022502 Merge branch 'unrealircd-unreal60_dev' into piss60 angryce 2023-02-15 10:08:22 -05:00
  • 6fbdf923cc Merge branch 'unreal60_dev' of github.com:unrealircd/unrealircd into unrealircd-unreal60_dev angryce 2023-02-15 10:04:10 -05:00
  • e4571a5bf7
    Make the documentation of ulines { } in example.conf more explicit about ulines for services needing to be added on every UnrealIRCd server in a network. [skip ci] Bram Matthys 2023-02-08 18:07:28 +01:00
  • b80d89dbb2
    Update main docs link in example.*conf. Reported by DeviL. [skip ci] Bram Matthys 2023-02-08 17:55:21 +01:00
  • c935c97963
    Mention ulines { } verification in release notes [skip ci] Bram Matthys 2023-02-08 17:52:43 +01:00
  • 2f5fa09187
    Mention the last couple of changes in the release notes already. [skip ci] Bram Matthys 2023-02-08 10:51:57 +01:00
  • 977c4b433a
    Make it so services can CHGHOST/CHGIDENT in the SASL / registration phase. This so users can come online directly with the correct vhost set, and not first with a standard (usually cloaked) host while auto-(re-)joining followed by a CHGHOST later. Bram Matthys 2023-02-08 10:39:36 +01:00
  • 47c8a9c1b8
    Use find_server_by_uid() in SREPLY so it can deliver during pre-auth/unregistered stage Bram Matthys 2023-02-08 10:11:54 +01:00
  • c6c8bba311
    Add find_server_by_uid() which hunts a server for the SID-portion of A UID. Not sure if this is the best name, maybe I come up with a better one later. Bram Matthys 2023-02-08 10:10:27 +01:00
  • 61970d12b2
    Load 'sreply' module by default, fix a compile issue casused by myself and some minor subjective style changes. Bram Matthys 2023-02-08 09:57:20 +01:00
  • 2cf6e9ef19
    Add S2S command SREPLY for handling IRCv3 standard replies (#236) Valerie Pond 2023-02-08 08:43:41 +00:00
  • 14035d4dc0
    Make qlines for channels work (#247) Valerie Pond 2023-02-08 08:21:19 +00:00
  • dd830261db
    Reject a link for anope or atheme if there is no ulines { } for it. This is checked for both local and remote services linking in. Bram Matthys 2023-02-08 08:57:43 +01:00
  • b370b89545
    Bump version to 6.0.7-git Bram Matthys 2023-02-08 08:08:11 +01:00
  • 63ad18391f
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2023-02-03 07:38:48 +01:00
  • cde37246ba
    Mention the magic ./unrealircd upgrade command, like last time :p [skip ci] Bram Matthys 2023-02-03 07:01:19 +01:00
  • 01fd2da627
    ** UnrealIRCd 6.0.6 ** Bram Matthys 2023-02-03 06:56:16 +01:00
  • aaec953497
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2023-01-19 06:01:22 +01:00
  • 2417ed0a46
    And my last rls note update of the day [skip ci] Bram Matthys 2023-01-18 19:18:16 +01:00
  • b98fa77bbd
    Update release notes a bit more [skip ci] Bram Matthys 2023-01-18 19:14:55 +01:00
  • ba49a130bb
    Update release notes a bit. [skip ci] Bram Matthys 2023-01-18 18:55:18 +01:00
  • 3666d1d728
    JSON-RPC: Add some more sanity checking on the 'id' (Mainly because the id might be used in RRPC) Bram Matthys 2023-01-16 11:10:47 +01:00
  • b1139769e1
    Do some basic filtering on the request by default. This ensures that strings are of maximum 510 characters in length and do not contain \n or \r. Solves a lot of theoretical problems in many modules that .add things or do other non-list/non-get actions. Bram Matthys 2023-01-16 10:59:41 +01:00
  • bdb5541def
    minor code cleanup (do things the libjansson way..) Bram Matthys 2023-01-16 10:38:37 +01:00
  • 9e887ea728
    Add LoadPersistentLongLong() / SavePersistentLongLong() Bram Matthys 2023-01-15 14:40:04 +01:00
  • 1d1766a895
    Send buildid in server version in EAUTH/SINFO and in server.* JSON-RPC. This reveals the full git version. Bram Matthys 2023-01-15 10:13:16 +01:00
  • 497a19e7e2
    Accept more connections in each listener run. Bram Matthys 2023-01-14 20:49:12 +01:00
  • 462ce7fcfa
    JSON-RPC: add stats.get call which can be used in "Network Overview" in UnrealIRCd Admin panel and for other statistical purposes. This can be expanded when needed. Bram Matthys 2023-01-14 18:48:18 +01:00
  • 2fcddd1655
    JSON-RPC: Send 401 error response on invalid auth (instead of lingering the connection). Bram Matthys 2023-01-14 17:17:40 +01:00
  • 194a0b42f7
    JSON-RPC: don't log the RPC calls if they are just for listing/getting, since these are rather noisy and generally not very interesting to log. Of course, DO log them if they are like add/delete/etc. Bram Matthys 2023-01-14 16:38:32 +01:00
  • 58db5b0845
    Fix crash in JSON-RPC. Reported by multiple people past few days, including Lord255, armyn and others. The issue was not there when running with ASan, which is why it was non-reproducible for so long. Valgrind picked it up correctly. Bram Matthys 2023-01-14 10:34:59 +01:00
  • 53150c0e68
    Fix double-wrapping of JSON reply for remote RPC (RRPC) calls such as server.module_list and server.rehash for remote servers. Reported by Valware. Bram Matthys 2023-01-14 09:10:08 +01:00
  • 405b59eb07
    JSON-RPC: server.list/server.add: new property server->features->rpc_modules This is an array with name/version elements, eg server.list or.get look like: { "name": "testlink.test.net", "server": { "features": { "rpc_modules": [ { "name": "rpc", "version": "1.0.2" }, { "name": "user", "version": "1.0.5" }, etc. etc. Bram Matthys 2023-01-13 19:40:05 +01:00
  • a1800f01e9
    JSON-RPC / RRPC: Announce all RPC modules and their versions over the wire via moddata. Needed for rrpc_supported() at a later point, so one can require certain versions etc :p Bram Matthys 2023-01-13 18:19:55 +01:00
  • b9fcdcdb19
    Make server.rehash for remote servers use two possible code paths: * If the remote server (and all servers in-between) support RRPC then forward the RPC request as RRPC and let remote handle the response. The response will be the verbose rehash response. * If not supported, then simply return boolean true as a response, and use oldskool :source_server REHASH dest_server over the wire Bram Matthys 2023-01-13 18:09:12 +01:00
  • c7f9dadb68
    Add JSON_RPC_ERROR_REMOTE_SERVER_NO_RPC error which indicates that the remote server does not have the JSON-RPC module(s) loaded. Bram Matthys 2023-01-13 17:42:53 +01:00
  • a3ed1eabd9
    Make client->flags 64 bit on all platforms. We just reached the 32th bit so it is not a problem yet, but better bump it now since I will forget otherwise :D Bram Matthys 2023-01-13 16:55:26 +01:00
  • b8cbe63915
    Support server.rehash for remote servers with full detailed response. (Required RPC modules to be loaded on the remote server, tho) Bram Matthys 2023-01-13 16:51:22 +01:00
  • e2ef83bd6e
    Fix crash on REHASH Bram Matthys 2023-01-13 15:57:45 +01:00
  • cbdde31c1d
    Move client->local->rpc to client->rpc Bram Matthys 2023-01-13 15:49:41 +01:00
  • 16e4990f83
    Fix memory leaks created in commit from 15 minutes ago Bram Matthys 2023-01-13 15:44:56 +01:00
  • bed40ccdab
    JSON-RPC: RPC-over-net: track requests and handle timeouts and SQUITs. Inform the RPC client that the request timed out / server is gone. The timeout is fixed at 15 seconds, which is fine, I think. Bram Matthys 2023-01-13 15:27:42 +01:00
  • 6a4ae9d9ec
    Support RPC calls to remote servers, where the RPC request/response is sent over the IRC network. This makes it possible to fetch information from remote servers that is not known locally, and also it makes it possible to do more things, or do it easier. Bram Matthys 2023-01-13 12:34:28 +01:00
  • 07d2b6745b
    JSON-RPC: add server.module_list - only works for locally connected server atm Bram Matthys 2023-01-13 09:46:02 +01:00
  • 00e278c802
    Add $tkl->set_in_config property, which is true for config-based TKL entries. So, ones that cannot be deleted. [skip ci] Bram Matthys 2023-01-13 09:14:20 +01:00
  • 6bde7475df
    JSON-RPC: add new $server->server->ulined property for u-lines (services) [skip ci] Bram Matthys 2023-01-13 09:05:29 +01:00
  • a024a17e87
    Add strtoken_noskip() and use it from the PROTOCTL EAUTH= code so we can deal with empty fields that get sent f.e. by anope, like EAUTH=services.test.net,,,Anope-2.0.11 Bram Matthys 2023-01-13 08:55:10 +01:00
  • 73e1dbca05
    JSON-RPC: Add missing client.server.features for &me Bram Matthys 2023-01-11 17:42:02 +01:00
  • aa2d3c026e
    JSON-RPC: add server.disconnect Bram Matthys 2023-01-11 17:08:34 +01:00
  • d6833ae298
    JSON-RPC: add server.connect API call (directly connected server only at the moment) This also cleans up the linking procedure (now) at 3 places, to use find_link() and check_deny_link() everywhere. Bram Matthys 2023-01-11 16:54:22 +01:00
  • 0578346b12
    Make server.rehash work for remote servers too, just no real status atm. Bram Matthys 2023-01-11 16:24:50 +01:00
  • a5bdf317fb
    JSON-RPC: begin with a server.* API, also fill client->local->rpc for RPC clients with the RPC user and such. Bram Matthys 2023-01-11 15:42:57 +01:00