Commit graph

  • ccbd320338
    JSON-RPC over Websocket: don't close websocket connections after ~30s, keep them open, but do a websocket ping/pong to check if the connection is alive. This is usually handled by browsers themselves, but if you are using websockets from a non-browser then you may have to PONG back on a PING, see https://www.rfc-editor.org/rfc/rfc6455#section-5.5.2 (note that PING-PONG is a requirement there) Bram Matthys 2023-01-04 13:50:57 +0100
  • b33628b765
    JSON-RPC over Websockets: Fix bug with >64Kb responses. Eg if there are 10.000 users online and you do user.list. The old websocket framing assumed no response was >64Kb. Bram Matthys 2023-01-04 13:07:10 +0100
  • d6a3db4ad2
    Add listener::mode so for file sockets you can specify the mode permissions. Valid choices are 0700, 0770 and 0777, see the documentation at https://www.unrealircd.org/docs/Listen_block Bram Matthys 2023-01-04 10:01:25 +0100
  • 8ca6341f38
    When someone includes "rpc.modules.default.conf" create a *NIX socket listening in data/rpc.socket, because why not... only the ircd user has access to it by default (well, and root). Bram Matthys 2023-01-03 19:27:56 +0100
  • dca5680665
    Add snomask 'R' for RPC usage (JSON-RPC). Bram Matthys 2023-01-03 17:44:29 +0100
  • b5c86981fa
    JSON-RPC server_ban.add: fix "duration_string" being interpreted totally wrong. Something like "1h" was intepreted as unixtime 3600 (=expired long ago). For absolute times there is already "expire_at" (JSON timestamp). Bram Matthys 2023-01-03 09:59:25 +0100
  • a8def63c09
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2023-01-02 17:43:10 +0100
  • 64e5de4c8c
    ExtBanAdd: Actually enforce conv_param as a required event. This was documented as optional in include/modules.h but on https://www.unrealircd.org/docs/Dev:Extended_Bans_API it was always mentioned as required. In practice, I know of no module that does not have this, in UnrealIRCd or third party (doing zero filtering is quite a bad idea). Bram Matthys 2023-01-01 09:40:38 +0100
  • aa80ecaeb7
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-12-30 22:49:42 +0100
  • 6d81d04036
    Re-add --enable-opt to sodium, and remove it from jansson. This fixes the fix in 8d228f5dbe. Bram Matthys 2022-12-30 11:54:49 +0100
  • 64ea321186
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-12-29 20:03:37 +0100
  • 3f197dee36
    Fix several mistakes in example conf (all my bad, i think): * A fatal parse error due to a } too much in Turkish example conf * In all example*.conf except::connect-delay -> except::connect-time Bram Matthys 2022-12-29 19:41:08 +0100
  • 75368e462a
    ** UnrealIRCd 6.0.5 ** Bram Matthys 2022-12-29 09:10:02 +0100
  • 8952666c4f
    Update release notes [skip ci] Bram Matthys 2022-12-29 09:03:27 +0100
  • 6b7fa40443
    Update release notes [skip ci] Bram Matthys 2022-12-29 08:52:32 +0100
  • eda57821ec
    Fix compile error due to previous commit (#246) Valerie Pond 2022-12-26 18:04:37 +0000
  • 895bbd3a35
    When authprompt kicks in and the session timeouts, show the original ban reason from the *LINE (or other ban type). Eg /GLINE %*@192.168.* 0 :Please authenticate using SASL would now, if the user has authprompt enabled and the connection times out, exit the client after ~30 secs with "Please authenticate using SASL", instead of "Registration timeout" (pre 6.0.5-rc2) or the generic "Account required to login" (6.0.5-rc2). This to help clients and users who do not type or display anything. Bram Matthys 2022-12-26 10:11:47 +0100
  • 7897782747
    *** UnrealIRCd 6.0.5-rc2 *** Bram Matthys 2022-12-23 08:52:41 +0100
  • 4e171eca0d
    Update release notes [skip ci] Bram Matthys 2022-12-23 08:33:56 +0100
  • 58e83bbe58
    Another fix for set::authentication-prompt::enabled 'no' being ignored (#245) Valerie Pond 2022-12-21 16:21:30 +0000
  • eca0035e8d
    Actually fix previous-previous-commit cdd0e4116d Bram Matthys 2022-12-21 10:09:23 +0100
  • eab827688d
    Fix RPC spamfilter.* (and tkl.*?) not going through fully net-wide due to bogus sender. [skip ci] Bram Matthys 2022-12-21 10:06:23 +0100
  • cdd0e4116d
    RPC spamfilter.add: convert reason to underscores internally when adding Bram Matthys 2022-12-21 09:57:53 +0100
  • 9b1c24c2fa
    When timing out on authprompt, error with "Account required to connect". More ideally it would show the full *LINE reason but that is something for a later release. Inspired by https://bugs.unrealircd.org/view.php?id=6202 Bram Matthys 2022-12-21 09:30:08 +0100
  • 7dedbf1a69
    Fix set::authentication-prompt::enabled 'no' being ignored (#243) Valerie Pond 2022-12-21 08:01:47 +0000
  • d4dbf62781
    Fix link warning about moddata creationtime (#233) Valerie Pond 2022-12-21 07:54:55 +0000
  • 2ff03be8a0
    Log who actually initiated a /CONNECT (both local and remote). Reported by Noisytoot in https://github.com/unrealircd/unrealircd/pull/244 Bram Matthys 2022-12-21 08:50:17 +0100
  • db30b3c7fc
    Rebuild ./configure due to previous commit Bram Matthys 2022-12-18 08:50:14 +0100
  • d9d423ad7a
    configure.ac: fix -Wimplicit-function-declaration (#242) Sam James 2022-12-18 07:21:46 +0000
  • 50725c6035
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-12-17 12:47:09 +0100
  • c31b4836c8
    Reorder release notes a bit [skip ci] Bram Matthys 2022-12-14 19:52:35 +0100
  • 06f1357698
    Get rid of forgotten references to ./unrealircd upgrade-conf (#241) ZarTek @ CREOLE 2022-12-14 19:47:43 +0100
  • b53f23416d Unrealircd to UnrealIRCd ZarTek @ CREOLE 2022-12-14 16:17:29 +0100
  • 67ec21f4e9 unreal to unrealircd ZarTek @ CREOLE 2022-12-14 15:20:44 +0100
  • 4e408d59de ./unreal to ./unrealircd ZarTek @ CREOLE 2022-12-14 15:18:11 +0100
  • 9f8dc9be40 Update help.conf PeGaSuS 2022-12-12 09:39:24 +0100
  • e2364a31df
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-12-12 18:58:45 +0100
  • 4992804f4e
    Enhance ./unrealircd start and ./unrealircd restart: * The ./unrealircd start command will now refuse to start if UnrealIRCd is already running. * The ./unrealircd restart command will validate the configuration file (it will call ./unrealircd configtest). If there is a configuration error then the restart will not go through and the current UnrealIRCd process is kept running. Bram Matthys 2022-12-12 14:58:20 +0100
  • 037f9d6dcf
    Add internal timeout to unrealircdctl, just in case UnrealIRCd hangs. This because we will soon use that script for 'start' too... [skip ci] Bram Matthys 2022-12-12 14:54:07 +0100
  • b7f2ce9fd8
    Show better error on ./unrealircd start when .so files are missing. And refer to https://www.unrealircd.org/docs/FAQ#shared-library-error Bram Matthys 2022-12-12 09:13:50 +0100
  • c06d89afa3
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-12-11 15:30:42 +0100
  • 165639a007
    Fix ExtBanAdd() for bans that are registered in both MOD_TEST and MOD_INIT leading to duplicates. The effect was that in the 005 EXTBAN= string some letters showed up twice like EXTBAN=~,aacfjmnpqrrtCCGGOSST. Reported by jesse in https://bugs.unrealircd.org/view.php?id=6199 Bram Matthys 2022-12-10 10:39:51 +0100
  • d82473d930
    Update README.md angryce 2022-12-07 14:03:01 +0100
  • 4825d5a9a6 Merge branch 'unrealircd-unreal60_dev' into piss60 angryce 2022-12-07 14:01:12 +0100
  • 7722ec1aa2 Merge branch 'unreal60_dev' of https://github.com/unrealircd/unrealircd into unrealircd-unreal60_dev angryce 2022-12-07 14:00:53 +0100
  • 6ae5c9d77f
    Fix leak of 1 file descriptor per /REHASH (the control socket). In "/STATS P" one additional UNIX control socket appeared after each "/REHASH". Reported by jesse. Bram Matthys 2022-12-07 12:33:12 +0100
  • c56d0b7f18
    Update release notes: fix browser reference, has to be <1.2 and not =1.2. Bram Matthys 2022-12-07 12:26:12 +0100
  • 85537efdbd
    BuildBot on Windows: Updates for new libraries [skip ci] Bram Matthys 2022-12-07 11:03:17 +0100
  • e29b815c13
    Update shipped argon2: change Makefile to use 'lib' directory instead of subdir Otherwise things get installed in ~/unrealircd/lib/x86_64-linux-gnu/ which confuses the rest of the system and has no added value whatsoever in our case. Bram Matthys 2022-12-07 09:45:59 +0100
  • ac5c517774
    *** UnrealIRCd 6.0.5-rc1 *** Bram Matthys 2022-12-07 09:10:22 +0100
  • 8d228f5dbe
    Remove unused --enable-opt argument to jansson ./configure Bram Matthys 2022-12-07 09:06:42 +0100
  • 8f311bb975
    Update shipped argon2 to 20190702 (latest release) from https://github.com/P-H-C/phc-winner-argon2/releases Bram Matthys 2022-12-07 08:59:40 +0100
  • efaba7f91e
    Rename argon2-20181209.tar.gz to argon2.tar.gz so name keeps consistent like all the other shipped libs. Bram Matthys 2022-12-07 08:57:59 +0100
  • bb0a50d839
    ** UnrealIRCd 6.0.5-rc1 ** Bram Matthys 2022-12-07 08:44:09 +0100
  • 36a8949d59
    Fix "/STATS o" returning (null) items when advanced matching criteria are being used. This also applies to similar use in some other /STATS like tld blocks. Bram Matthys 2022-12-07 08:30:52 +0100
  • 7bab7144ed
    Send empty batch on CHATHISTORY request for a user (non-channel), which makes it similar behavior to channels that are not +H. Bram Matthys 2022-12-07 08:15:41 +0100
  • 7bacf25845 Add ACCOUNTEXTBAN ISUPPORT token Valentin Lorentz 2022-11-23 19:54:06 +0100
  • 36d9e8e720
    RPC spamfilter.*: fix validations not working due to changes yesterday Bram Matthys 2022-12-06 17:20:29 +0100
  • fe8661da3d
    RPC: implement spamfilter.del and spamfilter.get Bram Matthys 2022-12-05 15:39:59 +0100
  • 61e68d65da
    Update a comment [skip ci] Bram Matthys 2022-12-05 14:51:22 +0100
  • d9ac4cac07
    Add RPC 'rpc.info': returns list of RPC methods, RPC module name and version. This can be useful for checking if a server supports something and what format it expects or returns things, etc. Bram Matthys 2022-12-05 14:48:14 +0100
  • 5b0899ac4f
    And more release notes updates... [skip ci] Bram Matthys 2022-12-05 09:48:30 +0100
  • 24b3532a83
    Update release notes [skip ci] Bram Matthys 2022-12-05 09:24:37 +0100
  • 44306b597d
    Update release notes for 6.0.5 Bram Matthys 2022-12-05 09:10:50 +0100
  • 44394e2f35
    Update README.md Bram Matthys 2022-12-01 17:17:11 +0000
  • 32aa643b25
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-11-30 15:51:57 +0100
  • 6fe5630b1c
    BuildBot: update cipherscan profiles (all new baseline now? makes it easy..) Bram Matthys 2022-11-27 17:44:45 +0100
  • ee1f8d84a0
    Require TLSv1.2 or later and require a modern cipher with forward secrecy. Bram Matthys 2022-11-27 16:59:22 +0100
  • cfea8b32f0
    BuildBot: install modules after and not before 'make install', and check exit status Bram Matthys 2022-11-27 16:16:06 +0100
  • 8587105cf2
    Merge branch 'unreal60_dev' into piss60 Ron Nazarov 2022-11-19 14:20:01 +0000
  • 5ee4c503a7
    Update release notes Bram Matthys 2022-11-18 18:39:51 +0100
  • 419fff13ec
    Mention that websocket users must now load the webserver module too. Reported by PeGaSuS in https://github.com/unrealircd/unrealircd/pull/234 Bram Matthys 2022-11-18 18:37:37 +0100
  • c756c87be2
    Update blacklist::reason changing the $variables there. This changes the work of commit 2cf60f66a3. $ip: IP address of the banned user $server: name of the IRC server $blacklist: name of the blacklist block (eg. xyz for blacklist xyz { }) $dnsname: the blacklist::dns::name $dnsreply: DNS reply code Bram Matthys 2022-11-18 12:25:30 +0100
  • 475fe46d95
    Add 6.0.4.2 release notes. Bram Matthys 2022-11-18 10:34:52 +0100
  • 4999ae408c Add TLINE command Ron Nazarov 2022-10-30 02:42:11 +0000
  • 758277922d
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-11-17 23:40:09 +0100
  • ea5c3922ad
    Update Makefile.windows for src/modules/svslogin.c Related to previous commit 1a4b701776 Bram Matthys 2022-11-14 08:45:09 +0100
  • 1a4b701776 SVSLOGIN: Move to its own file Valerie Pond 2022-11-12 21:58:09 +0000
  • b3f0165773 Adjust tkl too broad ban detection to avoid banning too-wide IPv6 masks. alice 2022-07-04 01:45:02 +0100
  • 2cf60f66a3 Add on blacklist module two extra variables westor 2022-06-07 02:54:11 -0700
  • b01caa945f Use stable 'extended-monitor' capability name Valentin Lorentz 2022-11-01 09:59:37 +0100
  • a7716f8981 Add support for the stable 'bot' mtag Valentin Lorentz 2022-07-02 15:02:34 +0200
  • 382a83fdec
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-11-10 01:13:42 +0100
  • 2d61cded0d
    Show jansson library version in boot screen and elsewhere IF library version is 2.13 or newer, as this requires jansson_version_str(). Bram Matthys 2022-11-04 14:12:20 +0100
  • 7a5f83e0b6
    Make REHASH always asynchronous (done in the main loop). This means it is safe to REHASH from modules now, which means issuing a REHASH from a websocket connection is now possible. Bram Matthys 2022-11-04 12:36:36 +0100
  • c3824ad47d
    Fix potentially sending invalid data over websockets on REHASH. This makes websocket_common unload last (and near-last: rpc & websocket) and makes us call Mod_Init for these three modules first. This way, the period where the websocket handler is unavailable is kept to a minimum. Bram Matthys 2022-11-04 10:37:42 +0100
  • 8c2e286539
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-11-02 13:13:11 +0100
  • 02285f468d
    Update Turkish example conf & help conf Provided by Diablo - (Serkan Sepetçi) Bram Matthys 2022-10-21 13:42:24 +0200
  • 3de3087c95
    Fix read-after-free when linking in a server (that is fully authenticated) when there is already another established link with a server with the same name. For example, when there is a network issue and the "old server" is still waiting to be timed out and the "new server" is already linking in. Bram Matthys 2022-10-01 08:48:44 +0200
  • 8b0b3d70ff
    Fix crash on REHASH with server linked (6.0.5-git only, due to websocket split) Bram Matthys 2022-09-26 15:17:27 +0200
  • 23dd3a819a
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-08-30 19:36:09 +0200
  • 8bed87e369
    Port 6.0.4.1 release notes which is basically cherry picking commit 0e6fc07bd9 and commit 0d139c6e7c from 6.0.5-git Bram Matthys 2022-08-29 10:12:06 +0200
  • dc55c3ec9f
    Add CALL_CMD_FUNC(cmd_func_name) and use it. This is only for calls within the same module, as otherwise you should use do_cmd(). Bram Matthys 2022-08-28 08:59:46 +0200
  • 4e5598b6cf
    Create and use new CALL_NEXT_COMMAND_OVERRIDE() instead of CallCommandOverride(). Bram Matthys 2022-08-28 08:52:51 +0200
  • 24e3d39aea
    Update windows setup.h for last change. [skip ci] Bram Matthys 2022-08-20 14:06:37 +0200
  • 401ab6f5a1
    Make strlncpy() and strlncat() use strlncat() instead of strlen(). This fixes a possible crash when using RPC with unix domain sockets, reported by Valware. Bram Matthys 2022-08-20 13:46:54 +0200
  • 3ca99ddd52
    Fix JSON-RPC response, should be in "result" and not in "response". This breaks all the current script(s) that depend on it, of course, but makes us correctly conform to the JSON-RPC specification. Reported by Valware. Bram Matthys 2022-08-17 16:56:33 +0200
  • 409ee99590
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-08-11 23:46:25 +0200
  • 0d139c6e7c
    Make /INVITE bypass (nearly) all channel mode restrictions, as it used to be and as it should be IMO. Both for invites by channel ops and for OperOverride. Bram Matthys 2022-08-06 15:42:19 +0200
  • 55c52c3693
    Log file (log::destination::file) now creates directory structure if needed. You could already have something like: log { source { !debug; all; } destination { file "ircd.%Y-%m-%d.log"; } } But now you can also have: log { source { !debug; all; } destination { file "%Y-%m-%d/ircd.log"; } } Bram Matthys 2022-08-05 10:56:00 +0200