Commit graph

  • a12ca25f50
    Mention donation and shop in the release notes [skip ci] Bram Matthys 2024-10-11 09:24:45 +02:00
  • 33276fb2ee
    ** UnrealIRCd 6.1.8 ** Bram Matthys 2024-10-11 07:22:51 +02:00
  • f7d2683569
    Removed an extra { on the listen block syntax example (#303) TehPeGaSuS 2024-09-28 19:33:22 +02:00
  • e2400c0270
    And some more rewording in release notes [skip ci] Bram Matthys 2024-09-27 10:23:15 +02:00
  • 0a4f9af647
    Add vhost block link in relnotes [skip ci] Bram Matthys 2024-09-27 10:21:13 +02:00
  • 665dd8584a
    ** UnrealIRCd 6.1.8-rc1 ** Bram Matthys 2024-09-27 10:14:28 +02:00
  • c86b474ed8
    Fix crash on crule "||"; in config file. Reported by Valware in https://bugs.unrealircd.org/view.php?id=6438 Bram Matthys 2024-09-25 13:04:30 +02:00
  • eae680c773
    Update release notes a bit ... and make set::max-inherit-extended-bans::ban-exception default to 0 because that functionality is not implemented The +e's are already checked when using +b ~inherit though.. Bram Matthys 2024-09-25 10:14:46 +02:00
  • 2c77bc3723
    Ok now make it 100% the same as pure IRC. There was still 1 char missing :D Bram Matthys 2024-09-25 09:54:04 +02:00
  • efbcf1f3b6
    Actually test and fix the websocket cutoff bug from 7a43448674 Bram Matthys 2024-09-25 09:45:28 +02:00
  • 918347af9e
    Fix config test for security-group (in case of missing parameter for public or priority) Bram Matthys 2024-09-25 09:21:44 +02:00
  • fff76c4b29
    Make authprompt work with recently new "sasl-from-a-module" hooks (#302) Valerie Liu 2024-09-25 08:15:31 +01:00
  • 7a43448674
    Add unrl_utf8_make_valid() special option 2 to fix previous commit. Without this, the IRC message could be far beyond >510 characters (excluding message tags). Bram Matthys 2024-09-24 18:31:25 +02:00
  • 713414e716
    Websockets with type 'text': don't truncate lines to 510 chars when there are message tags (#301) Valerie Liu 2024-09-25 00:30:02 +08:00
  • 5860172780
    Free previous GeoIP result upon IP change. Otherwise if the new geoip lookup fails the old result stays there which is confusing. Bram Matthys 2024-09-23 19:10:33 +02:00
  • 7765f226be
    Detect operclass::parent loops. Bram Matthys 2024-09-23 17:21:13 +02:00
  • 7d37795353
    Don't list security groups by default, add 'public <yes|no>' Bram Matthys 2024-09-23 13:08:57 +02:00
  • e238eb7a4f
    Update release notes a bit [skip ci] Bram Matthys 2024-09-23 12:34:28 +02:00
  • afbb0c283b
    Accept multiple masks in ban ip { } and ban nick { } such as: Bram Matthys 2024-09-23 12:29:35 +02:00
  • 403b055756
    Fix duplicate_security_group() not inheriting 'ip' entries. Bram Matthys 2024-09-20 19:20:30 +02:00
  • 5ffcefe50a
    Update release notes on features added today. [skip ci] Bram Matthys 2024-09-20 18:10:24 +02:00
  • 7dc3c230a7
    Now that we support $variables, add set::oper-vhost so you can set a default vhost for opers, such as: set { oper-vhost $operclass.admin.example.net; } Bram Matthys 2024-09-20 17:54:39 +02:00
  • 9a2d54cd01
    Support $variables in oper::vhost (for variables see previous commit) Bram Matthys 2024-09-20 17:26:16 +02:00
  • 4557036cd6
    Move unreal_expand_string() to an efunc so all code can access it and use it not only from vhost { } block code but also for like blacklist::reason. Bram Matthys 2024-09-20 17:04:13 +02:00
  • 60c0ab8da2
    Make vhost::vhost support $variables. Currently supported are: $nick, $username, $realname, $ip, $account, $operlogin, $operclass, $country_code (xx for unknown), $asn (0 for unknown). Bram Matthys 2024-09-20 16:43:46 +02:00
  • e9ffe5b5e7
    Add vhost::auto-login: checks on-connect if user meets ::mask criteria and if so, it sets the vhost on the user. Except when the user already has a vhost (eg from anope during SASL). If vhost::auto-login is 'yes' then you don't need ::login and ::password. Bram Matthys 2024-09-20 15:41:38 +02:00
  • 55c04d9887
    vhost: move struct as well, reorder and document. Bram Matthys 2024-09-20 14:51:36 +02:00
  • fe751fdc9d
    Move all vhost { } block handling to vhost module. * Convert to use module-based config handling * Split part of VHOST command into do_vhost() for later * Use AppendListItem instead of AddListItem so they are in config-order. This is not really important atm but will matter later if we go auto. * No other code changes at this point Bram Matthys 2024-09-20 14:43:57 +02:00
  • 51c055d4f0
    Mention log.send in release notes [skip ci] Bram Matthys 2024-09-20 13:26:03 +02:00
  • a5caf8d625
    Update release notes a bit [skip ci] Bram Matthys 2024-09-20 13:20:37 +02:00
  • eda78a6d73 Merge remote-tracking branch 'upstream/unreal60_dev' into piss60 alice 2024-09-19 00:02:33 +01:00
  • 8e8384628b
    Fix decode_authenticate_plain() reading OOB. This is a helper function for modules, it is not actually used by UnrealIRCd itself. Bram Matthys 2024-09-18 15:49:53 +02:00
  • 71798963e0
    rpc/log: Add ability to send log messages via RPC log.send (#299) Valerie Liu 2024-09-17 23:40:03 +08:00
  • 7396e6bd77
    Fix crash when a server sends an invalid REHASH command. (This can only be sent by linked trusted servers) Bram Matthys 2024-09-16 16:42:53 +02:00
  • 72c4b718f6
    Move remove_dcc_references() to dccallow module. Bram Matthys 2024-09-15 17:58:48 +02:00
  • c39d763e00
    Move 416 lines from src/misc.c to src/modules/quit.c: exit_client() etc. This so if there is ever an issue, we can hot-patch it. This affects exit_client(), exit_client_fmt(), exit_client_ex(), banned_client(), and various (internal) help functions. Bram Matthys 2024-09-15 17:43:27 +02:00
  • a41ab32d16
    maxperip: use siphash_raw(client->rawip.... Bram Matthys 2024-09-14 20:32:21 +02:00
  • 2ef39497c7
    Similar to previous commit, move maxperip stuff from core to module. This was in src/hash.c, src/list.c and src/modules/stats.c. Now all in src/modules/nick.c... or should this go into a new module? Bram Matthys 2024-09-14 20:11:56 +02:00
  • 710afe7cc7
    Move throttling code from src/hash.c to src/modules/connect-flood.c Better to have this all in one place. Though, must admit, the config checking is still in src/conf.c and a bit of a hassle to move. Bram Matthys 2024-09-14 19:53:18 +02:00
  • fdfe5ba482
    Remove raw_client_ip() since we now have client->rawip. Bram Matthys 2024-09-14 19:19:21 +02:00
  • ca7e4ab966
    Prevent +b ~inherit:#chan in #chan. This didn't cause any problem but doesn't make any sense either, so just reject it. Reported by alice. Bram Matthys 2024-09-14 19:07:15 +02:00
  • 4504adf149
    Remove confusing comment in is_banned... "Strange things could happen if this is called outside standard ban checking" that was 15yrs ago when we had global vars like 'ban_ip' and such. 7dee0cdcf1 (diff-403251a2e50ed7323ab9c39abb604fd77db527cbb85c2c8ce360249e8ece4907R491-R497) Bram Matthys 2024-09-11 18:44:53 +02:00
  • e0459943a3
    Show port number in DEBUG_TLS_FATAL_ERROR (#298) Valerie Liu 2024-09-10 22:40:33 +08:00
  • 255dfe6bf7
    Fix redefinition of struct RPCClient within struct.h, which occurs if you have an old compiler. (#296) alice 2024-09-10 15:31:33 +01:00
  • b6cdca5525
    Fix b->ban_type not being set properly at all places (BanContext). This probably didn't cause any issues earlier, or maybe it did with some 3rd party mods, but is relevant now that we have ~inherit. Bram Matthys 2024-09-09 16:43:41 +02:00
  • 10ec67d163
    Fix +I ~inherit:#chan (invite exceptions) Bram Matthys 2024-09-09 16:27:23 +02:00
  • 1a2d93778e
    Add small note on +e/+I not working yet for ~inherit. TODO item. [skip ci] Bram Matthys 2024-09-09 16:07:21 +02:00
  • 554281d6eb
    Update curl-ca-bundle.crt to Tue Jul 2 03:12:04 2024 GMT https://curl.se/docs/caextract.html [skip ci] Bram Matthys 2024-09-09 11:51:08 +02:00
  • a9874bc51f
    Update shipped c-ares to 1.33.1 (Aug 23, 2024) Bram Matthys 2024-09-09 11:46:39 +02:00
  • bd5c5ca59e
    In some situations users would hang during the handshake due to forever waiting DNS lookups. This had to do with c-ares query cache causing a different (unexpected) code path in UnrealIRCd. And, somewhat related, c-ares also didn't obey our DNS timeout, as that value is a "hint" nowadays, so now we set the "max timeout" value. Bram Matthys 2024-09-08 19:38:10 +02:00
  • 879e365ed5
    extbans/partmsg.c: Actually check if there's a matching ban before removing the part message (#295) Valerie Liu 2024-09-09 00:52:01 +08:00
  • 7d62fe9548
    Update HELPOP EXTBANS on ~inherit. [skip ci] Bram Matthys 2024-09-08 17:49:01 +02:00
  • 8fa8476831
    Typoooos in the release notes [skip ci] Bram Matthys 2024-09-08 17:39:42 +02:00
  • 70a98d3af2
    Update release notes a bit [skip ci] Bram Matthys 2024-09-08 17:36:48 +02:00
  • 3c1ef65a00
    Add set::max-inherit-extended-bans to configure limits for ~inherit extban: Bram Matthys 2024-09-08 17:15:26 +02:00
  • decaeec484
    HELPOP EXTBANS sorting and some whitespace changes [skip ci] Bram Matthys 2024-09-08 16:39:41 +02:00
  • 4c46be691b
    Update help.conf: Add ~asn to extbans help output (#293) Valerie Liu 2024-09-08 22:38:36 +08:00
  • ae8b039831
    Fix $nick log string in debug message re spamfilter tag (#294) Valerie Liu 2024-09-08 22:37:26 +08:00
  • c4c72ecaca
    Fix spamfilter.get unable to retrieve config-based spamfilters. Reported in https://bugs.unrealircd.org/view.php?id=6467 by adator. Bram Matthys 2024-09-08 10:15:24 +02:00
  • ee1d6818b4
    Add +b/+e/+I ~inherit:#channel to inherit channel bans from another channel Bram Matthys 2024-09-07 20:52:01 +02:00
  • e17e11dd73
    Make "MD" S2S command support BIGLINES. We don't need it now but maybe in the future we will, or some third party module. And then it would be nice if all servers on the IRC network support it, of course. Bram Matthys 2024-09-05 20:06:58 +02:00
  • 99bc061a74
    Fix require authentication { } not allowing SASL users in. It was behaving like a ban user { } block. Bram Matthys 2024-08-30 19:59:56 +02:00
  • bfb41612c8
    Sync release notes with upcoming 6.1.7.2 dot release. Bram Matthys 2024-08-24 08:16:04 +02:00
  • 21476d6896
    Fix ./unrealircd hot-patch in case of zero byte patch file. Such a file is served if the UnrealIRCd version is unaffected. It printed "This UnrealIRCd version does not require that patch" but then instead of stopping it continued.. which wasn't all that bad before GPG/PGP but now it causes failures and scary warnings. Bram Matthys 2024-08-20 13:44:13 +02:00
  • 5092fa985d
    Central Blocklist: fix issue with clients being killed if too slow. We already allow users in after 10 seconds if CBL is too slow, and that part worked correctly. However 5 seconds later, when the URL API 15 second timeout hits, it would try to allow the user in AGAIN. This caused the user to be introduced twice, causing remote servers to kill the user, and also screwing up user counts. Bram Matthys 2024-08-20 13:17:03 +02:00
  • 035f487684
    Add GPG/PGP signature verification for ./unrealircd hot-patch/cold-patch. Similar to what we already do in './unrealircd upgrade' (in fact, code stolen from that extras/unrealircd-upgrade-script.in file) Bram Matthys 2024-08-10 15:55:08 +02:00
  • 624d1d189c
    Remove curlinstall script. As https remote includes work without cURL, most people don't need cURL support anymore anyway. For those who do, they can install curl as a system library. Bram Matthys 2024-08-10 14:54:03 +02:00
  • a31394dd52
    Shut up a warning related to unchecked set_client_ip() Bram Matthys 2024-07-22 08:07:40 +02:00
  • 4f3e524602
    Add function set_client_ip() and call HOOKTYPE_IP_CHANGE there if needed. This to replace the scattered IP setting. It is very important to always use set_client_ip() from this point. Everywhere! Bram Matthys 2024-07-20 11:54:16 +02:00
  • 191e6ac162
    Bump version to 6.1.8-git Bram Matthys 2024-07-20 11:53:30 +02:00
  • 0030e7849c
    Mention anope 2.1.x (dev) and different protocol module name. Reported by DeviL. [skip ci] Bram Matthys 2024-07-20 08:43:10 +02:00
  • a686254540
    ** UnrealIRCd 6.1.7.1 ** Bram Matthys 2024-07-18 10:20:57 +02:00
  • 0496c35fc6
    Fix io.BUG_FD_SETSELECT_OUT_OF_RANGE [BUG] trying to modify fd -2 in fd table Bram Matthys 2024-07-18 10:04:56 +02:00
  • b39b953b8e
    Add debugging code to trace source of io.BUG_FD_SETSELECT_OUT_OF_RANGE (fd=-2). Bram Matthys 2024-07-18 08:09:53 +02:00
  • 9232db12ae
    Remove an annoying BLACKLIST_RESOLVER_CALLBACK message in DEBUGMODE [skip ci] Bram Matthys 2024-07-18 07:59:52 +02:00
  • 5ad5c4cfe2
    JSON-RPC whowas.get: add geoip object with country_code, asn and asname. (only if the information is available, of course) Bram Matthys 2024-07-17 17:13:28 +02:00
  • 5c810d0c63
    In WHOWAS also show country and ASN information to IRCOps Bram Matthys 2024-07-17 17:03:49 +02:00
  • 3ffc54484b
    Add a mention on how to upgrade to the next RC on the ./unrealircd upgrade command (#291) TehPeGaSuS 2024-07-17 14:22:39 +02:00
  • 7fb7c7968a
    Relnotes: it is require authentication { } and not ban authentication { } Reported by PeGaSuS [skip ci] Bram Matthys 2024-07-16 18:34:58 +02:00
  • 4ab1a4d128
    ** UnrealIRCd 6.1.7 ** Bram Matthys 2024-07-16 12:36:53 +02:00
  • cabd7c1ede
    Fix memory leak in rpc-user::rpc-class (at least this one is small) Bram Matthys 2024-07-16 09:33:45 +02:00
  • 34d23c8b5c
    Fix memory leak in ASN code Bram Matthys 2024-07-16 09:26:36 +02:00
  • e950bb53bc
    Add ASN support for geoip_maxmind k4be 2024-07-15 19:22:48 +02:00
  • 0b253306b3
    Add extbans/asn to Windows makefile. (And rebuild 6.1.7-rc1 on Win) [skip ci] Bram Matthys 2024-07-13 10:29:44 +02:00
  • 33e9b65ce4
    ** UnrealIRCd 6.1.7-rc1 ** Bram Matthys 2024-07-13 09:46:03 +02:00
  • e5e000508e
    UNIX sockets: show in boot screen and properly when adding/removing listen block Bram Matthys 2024-07-13 08:11:23 +02:00
  • f6b448df2c
    Fix error with ASN lookups for IPv6 Bram Matthys 2024-07-13 07:47:58 +02:00
  • 3efc62fc75
    Allow +b ~operclass:xyz checking against remote users too. Bram Matthys 2024-07-12 20:30:22 +02:00
  • 3ccfc9ecf2
    Rewrite release notes a bit [skip ci] Bram Matthys 2024-07-12 16:57:26 +02:00
  • 1b4f987ab7
    Move displaying of ASN in WHOIS to separate RPL_WHOISASN (569) This is the numeric that the inspircd third party module uses https://github.com/inspircd/inspircd-contrib/blob/master/4/m_asn.cpp and it does not seem taken at https://defs.ircdocs.horse/defs/numerics.html or https://www.alien.net.au/irc/irc2numerics.html Bram Matthys 2024-07-12 12:15:45 +02:00
  • da6cf4f6fa
    Add crule function match_asn(64496) Bram Matthys 2024-07-12 11:37:18 +02:00
  • 156e38f538
    Update release notes a bit [skip ci] Bram Matthys 2024-07-12 11:30:21 +02:00
  • 34b183c75a
    Update example in release notes to require authentication { mask { asn... instead of ban user { }. Has a bit more use. Also mention that +b/+e is possible but of little use in the normal / default configuration. It can be if you don't do cloaking though and change set::whois-details::geo.. eg everyone full; [skip ci] Bram Matthys 2024-07-12 11:20:38 +02:00
  • 65c8a6e667
    Some minor tweaks here and there [skip ci] Bram Matthys 2024-07-12 11:16:01 +02:00
  • 0844f7243f
    Add ASN as extended server ban, mask item, secgroup. Eg: GLINE ~asn:64496 0 Bye! Bram Matthys 2024-07-12 10:58:25 +02:00
  • f33a0d2c1b
    Add initial ASN support: * Including default download via unrealircd.org * Shown in WHOIS - currently in RLP_WHOISCOUNTRY, not sure if that is correct. * Shown in connect notices [asn: XYZ] [asname: BLAH BLAH] * Shown in json user expansion (JSON logging and JSON-RPC) * Only via geoip_classic at the moment * Structs and serializing in geoip_base done * Extbans not added yet Bram Matthys 2024-07-12 10:29:11 +02:00
  • 89e6c2c06f
    listen::port did not error on comma's. Reported by PeGaSuS in https://bugs.unrealircd.org/view.php?id=6419 Bram Matthys 2024-07-12 08:50:50 +02:00
  • a9f4656971
    Update release notes a bit [skip ci] Bram Matthys 2024-07-11 18:55:55 +02:00
  • 1ac9d654b9
    Fix crash when removing the websocket option on a websocket listener Bram Matthys 2024-07-11 18:33:56 +02:00
  • 8bb0a934c6
    Fix three small memory leaks, together 1KB per REHASH. Bram Matthys 2024-07-11 18:17:35 +02:00