Commit graph

  • f437593b8d
    Rewrite and expand notices+logging with regards to server linking / lost link. Bram Matthys 2020-04-13 13:36:58 +02:00
  • 177d017b06
    Tiny code cleanup in conf to use allowed_channelchars_strtoval() Bram Matthys 2020-04-13 10:06:11 +02:00
  • d25f6f6759
    Make set::hide-idle-time 'usermode' the default (regular users can set +I). I think nowadays, with more attention to privacy, we should make this option settable by users. Bram Matthys 2020-04-13 10:00:42 +02:00
  • 5dc1502119
    New option set::hide-idle-time which configures when/if idle time should be hidden. The options are: never, always, usermode, oper-usermode. See https://www.unrealircd.org/docs/Set_block#set::hide-idle-time for full documentation. Bram Matthys 2020-04-13 09:30:35 +02:00
  • 55ecfee0a4
    Show in /WHOIS if a user is currently shunned. Only works for locally connected users for technical reasons, so you will have to use double whois to see it for remotes (/WHOIS Nick Nick) just like with idle time. Bram Matthys 2020-04-13 08:50:18 +02:00
  • c5ba66fbf6
    UnrealIRCd was ignoring set::ident::read-timeout and using set::ident::connect-timeout for the read timeout also. This could lead to failed ident lookups on higher latency connections because it only gave 3 seconds for the entire ident lookup rather than the (max) 10 seconds that was intended. Now both values are properly obeyed (3 for connect, 7 for read timeouts, by default). Bram Matthys 2020-04-12 17:46:23 +02:00
  • a992b30a6a
    Fix for previous commit... -grin- Bram Matthys 2020-04-12 17:08:21 +02:00
  • 9887ef6955
    Fix possible crash when unloading a module with moddata. This only happens in some circumstances. Bram Matthys 2020-04-12 16:52:43 +02:00
  • cf53797121
    Fix crash if an authenticated server advertises a wrong hop count, eg due to self-written services / toying around. Bram Matthys 2020-04-12 15:49:11 +02:00
  • 016dd20e16
    Fix /TEMPSHUN -Nick not removing temporary shun on remote users. Reported by k4be in https://bugs.unrealircd.org/view.php?id=5580 Bram Matthys 2020-04-12 15:10:01 +02:00
  • 051fd4aebd
    Fix message tags (such as msgid) missing for JOIN 0 and SAJOIN 0. Bram Matthys 2020-04-10 19:28:50 +02:00
  • 891435e811
    Fix SAJOIN to 0 (part all channels) resulting in a possible desync when used on a multi-server network. This was due to the PART event inadvertently not being sent towards the SAJOIN direction. Bug reported by Cheiron in https://bugs.unrealircd.org/view.php?id=5616 Bram Matthys 2020-04-10 19:27:39 +02:00
  • afb10be770
    Channeldb was not properly restoring all channel modes, such as +P, after a restart. Possibly depending on the module load order. Bram Matthys 2020-03-29 08:38:49 +02:00
  • 32170b81e3
    Mention https://www.unrealircd.org/docs/FAQ#oper-requires-tls on OPER attempt form an insecure connection. There we explain a bit on the why and how to configure some random IRC clients. This also silently adds support for multi-line messages in set::plaintext-policy::user-message (for warn) and set::plaintext-policy::oper-message (for warn and deny). Bram Matthys 2020-03-06 08:58:55 +01:00
  • 6224efdaf3
    src/random.c: remove unused variable and reorder struct on Windows. Bram Matthys 2020-02-18 14:54:06 +01:00
  • 401fcf14aa
    Fix forced nick change not showing if you were not in any channels. Eg with anope with the KILL option turned ON, a minute after taking a registered a nick. Very similar to c9b88343e2 which was fixed in 5.0.0-beta1 for non-forced nick changes. Bram Matthys 2020-02-12 00:55:29 +01:00
  • 30ed989113
    *** UnrealIRCd 5.0.3.1 *** Bram Matthys 2020-02-11 18:36:27 +01:00
  • a807cf026c
    Use the damn mod handle, what were you thinking!?? Bram Matthys 2020-02-11 18:31:35 +01:00
  • f585e895a2
    Crash reporter: was missing many crashes due to search for core files that end in .core, while on many systems it is just 'core' without the dot. Reverted back to U4-style core file finding now. Thanks to DeviL for helping to trace this issue. Bram Matthys 2020-02-11 17:44:59 +01:00
  • 8c0a2a1f96
    Fix bug in hook prototype for FREE_USER. In most cases you are better off not using this and you'll want to use the three other hooks anyway: * HOOKTYPE_LOCAL_QUIT - for local quits of registered clients * HOOKTYPE_REMOTE_QUIT - for remote quits of registered clients * HOOKTYPE_UNKUSER_QUIT - for local quits of unregistered clients (that is, before they have completed NICK+USER etc) Bram Matthys 2020-02-09 14:53:43 +01:00
  • b7e2cbea0f
    Split off existing account-notify functionality to account-notify module now that we have a hook, so the functionality of it is nicely contained in a separate module. Bram Matthys 2020-02-09 10:45:47 +01:00
  • 19e672ac22
    Module coders: add ACCOUNT_LOGIN hook (#94) k4bek4be 2020-02-09 10:34:06 +01:00
  • a283a1cf51
    Add link to original UnrealIRCd 5 announcement, for easier navigation. [skip ci] Bram Matthys 2020-02-08 09:03:32 +01:00
  • 88b13fed26
    Move general comment about UnrealIRCd 5 up in release notes. Bram Matthys 2020-02-08 08:44:26 +01:00
  • 3febf6bc90
    *** UnrealIRCd 5.0.3 *** Bram Matthys 2020-02-08 08:39:15 +01:00
  • febc4a45f3
    Updated labeled-response: drop the draft/ prefix now that the specification is ratified and also fix a serious flood bug in the implementation. Oh, and move the loadmodule line to the correct place in modules.default.conf. Bram Matthys 2020-02-08 08:09:53 +01:00
  • de44549996
    Import settings from 5.0.2. Bram Matthys 2020-02-05 08:26:38 +01:00
  • e0d70f577b
    Update release notes a bit [skip ci] Bram Matthys 2020-02-03 14:49:16 +01:00
  • 50f916fcd8
    Windows compile fixes Bram Matthys 2020-02-02 19:34:44 +01:00
  • 9211e105eb
    Add unrealircd.org/userhost message tag. Similar to previous, so IRCOps can see the real host of a user in each message. Bram Matthys 2020-02-02 18:12:07 +01:00
  • 65a5943e97
    userip tag: inherit from remote servers, if able. Bram Matthys 2020-02-02 16:46:51 +01:00
  • a05c187a56
    Fixes for HISTORY command: default value not working and error if +H is not set on the channel. Reported by westor. Bram Matthys 2020-02-02 16:17:02 +01:00
  • ed6a2cf3e3
    Add new message tag "unrealircd.org/userip" which will communicate the user@ip of users to IRCOps if the message-tags capability is enabled. Idea from westor. This is work in progress. Bram Matthys 2020-02-02 15:47:28 +01:00
  • 63b61d456b
    Update wiki link [skip ci] Bram Matthys 2020-02-02 13:12:13 +01:00
  • a56e3bee8f
    Fix double free due to recent changes, now that HOOKTYPE_LOCAL_CHANMODE and HOOKTYPE_REMOTE_CHANMODE are called from the SJOIN code. We now set the samode argument to -1 if it is an SJOIN server sync, so chanmodes/permanent won't destroy the channel while processing the SJOIN. The SJOIN code already takes care of destroying at the end. Bram Matthys 2020-02-02 12:57:10 +01:00
  • 43a9e74662
    Set version to 5.0.3-git and write some early release notes. Bram Matthys 2020-02-02 12:25:46 +01:00
  • 1ea8443551
    Mark history as official module Bram Matthys 2020-02-02 12:23:26 +01:00
  • 7a38f485ad
    It helps if you can compile in non-DEBUGMODE Bram Matthys 2020-02-02 12:18:09 +01:00
  • a8c191b291
    Add new command: HISTORY #chan [lines]. This is meant for end-users so they can fetch more history than the standard on-join history. Bram Matthys 2020-02-02 11:57:51 +01:00
  • b5a205f4f3
    Fix /SQUIT for server 2 hops away not working correctly. Reported by k4be in https://bugs.unrealircd.org/view.php?id=5539 Bram Matthys 2020-01-31 12:15:36 +01:00
  • 63cf5e3d52
    Make channeldb/tkldb write errors more uniform. Use local macro and sendto_realops_and_log() Bram Matthys 2020-01-29 09:22:26 +01:00
  • 0302ef9733
    Operclass permission change: immune:target-limit is now called immune:max-concurrent-conversations since it bypasses set::anti-flood::max-concurrent-conversations. Indirectly reported by westor. Bram Matthys 2020-01-29 09:00:32 +01:00
  • ead0ad0aa6
    Duh.. (fix for previous fixes) [skip ci] Bram Matthys 2020-01-26 10:41:04 +01:00
  • 1dc08afa71
    Add warning to EventMod() for low every_msec as well. Also, mention the name of the event to ease debugging. Bram Matthys 2020-01-26 10:35:14 +01:00
  • eede8d3ff6
    Fix warning regarding low ms_every in case of delayed module unloading. Bram Matthys 2020-01-26 10:26:07 +01:00
  • d482760c6f
    Fix warning about EventAdd with 2msec value. Reported by ivanp in https://bugs.unrealircd.org/view.php?id=5540 Bram Matthys 2020-01-26 10:22:28 +01:00
  • 1b07f706bc
    Remove old STATS Z from stats help. Reported by Lord255 in https://bugs.unrealircd.org/view.php?id=5541 Bram Matthys 2020-01-26 10:00:58 +01:00
  • c9feaa0b15
    Fix : at beginning of gecos being dropped off in intra-WHOIS. Bram Matthys 2020-01-26 09:46:59 +01:00
  • 6fa7dd8b88
    Fix (SA)PART and KICK not being shown to chanops in +D channels for invisible users (users that have not talked or been otherwise exposed). Reported by PeGaSuS and LesterClayton in https://bugs.unrealircd.org/view.php?id=5521 and https://bugs.unrealircd.org/view.php?id=5542 Bram Matthys 2020-01-26 09:32:41 +01:00
  • 21278d2549
    ** UnrealIRCd 5.0.2 release ** Bram Matthys 2020-01-22 07:11:26 +01:00
  • 65afb71111
    Fix channel history using the wrong time unit. It is really +H lines:minutes Bram Matthys 2020-01-21 13:39:36 +01:00
  • b5c9ee8ec5
    Fix screwing up nearly everything Bram Matthys 2020-01-20 18:03:16 +01:00
  • 8a6968c933
    UnrealIRCd 5.0.2 Bram Matthys 2020-01-20 16:36:32 +01:00
  • fde678aacc
    Fix clash of CHFL_* flags. Found after bug report from k4be. Bram Matthys 2020-01-20 15:51:01 +01:00
  • d30f7e006d
    Specifying multiple channels ("#one,#two") in set::auto-join, set::oper-auto-join or tld::channel was broken. It worked for the very first user since boot or rehash, but after that only the first channel was joined. Reported by PeGaSuS in https://bugs.unrealircd.org/view.php?id=5535 Bram Matthys 2020-01-20 15:41:12 +01:00
  • f3019f89a1
    Fix github hate regarding <> [skip ci] Bram Matthys 2020-01-20 14:12:39 +01:00
  • 9aa7b7e52f
    Update release notes [skip ci] Bram Matthys 2020-01-20 14:11:56 +01:00
  • 83db4e07db
    Always fun that markdown has URI links in reverse order compared to wiki syntax. [skip ci] Bram Matthys 2020-01-20 14:06:39 +01:00
  • ce94746898
    More release notes updates [skip ci] Bram Matthys 2020-01-20 13:52:06 +01:00
  • c65f7101f9
    Update ./unrealircd genlinkblock output Bram Matthys 2020-01-20 13:46:59 +01:00
  • 5b8eba750f
    Make set::tls::outdated-protocols and set::tls::outdated-ciphers work again. This ports change 96ee7083c8442b21ee775b559fb27b352dd1d8fe from UnrealIRCd 4.x to 5.x. Reported by HeXiLeD. Bram Matthys 2020-01-20 13:23:28 +01:00
  • 70973ec18b
    Start writing release notes for 5.0.2. Bram Matthys 2020-01-20 13:04:24 +01:00
  • 870057d4f3
    Add "./unrealircd genlinkblock" which spits out a link { } block. Hmm... we'll see later if this is a good idea or not.. it has pros and cons. Bram Matthys 2020-01-19 19:32:21 +01:00
  • ffd0acf5d5
    Add ./unrealircd <hot-patch|cold-patch> <nameofpatch> which will be useful in the future. This would download a specific patch from the unrealircd.org site, apply it, recompile, and then: if it's a hot-patch it would rehash if it's a cold-patch it would print a message that you should restart the irc server. Bram Matthys 2020-01-19 18:08:07 +01:00
  • ca22b6282e
    Fix bounce modes raising a warning to ircops (Unknown channel mode +& from ..) reported by k4be. Bram Matthys 2020-01-18 16:52:01 +01:00
  • 48faed6938 Add information about type on spamfilter add (#90) westor 2020-01-17 08:19:13 +02:00
  • abeb5f50d0 Fixes two wrong /ELINE examples bantype (#92) westor 2020-01-17 08:16:18 +02:00
  • e9d8341efd
    Mention the IRCOp guide in HELPOP OPERCMDS ( https://www.unrealircd.org/docs/IRCOp_guide ) Bram Matthys 2020-01-12 14:43:21 +01:00
  • 094c444250
    1) Fix incorrect ELINE documentation for types: gline (G, not g), spamfilter (F, not f) and qline (Q, not q). 2) Error out when invalid ban exception types are given, so such errors don't go undetected anymore. Eg it will now print: "ERROR: bantype 'f' is unrecognized (in 'fgkz'). Note that the bantypes are case sensitive. Type /ELINE to see a list of all possible bantypes." Reported by westor and Mi_01 in https://bugs.unrealircd.org/view.php?id=5528 Bram Matthys 2020-01-12 13:11:35 +01:00
  • 3456a5f90e
    Make /ELINE use set::manual-ban-target as well. (just like KLINE GLINE etc) Bram Matthys 2020-01-10 16:15:47 +01:00
  • ef9506b95f
    Add set::manual-ban-target as well (affects /KLINE nick, etc). Requested by marco500 in https://bugs.unrealircd.org/view.php?id=5029 For more information, see: https://www.unrealircd.org/docs/Set_block#set::manual-ban-target Bram Matthys 2020-01-10 15:54:04 +01:00
  • 639c96cc84
    https://www.unrealircd.org/docs/Set_block#set::automatic-ban-target Remove old option set::ban-include-username and replace it with a more generic option which defines what target a ban should apply to. Bram Matthys 2020-01-10 15:43:23 +01:00
  • 75eb509344
    Make the new extended server bans feature also work in configuration file Eg: except ban { mask ~S:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef; }; And also in ban user { } Bram Matthys 2020-01-10 13:09:16 +01:00
  • bfed0893a9
    Nothing important: in eline_type_requires_ip() add 'd'. Although not entirely true, exempting a user from 'd' when using an extended server ban or IP or ident is not recommended. The information needed to exempt the user may not be available at the time of the flood. Better to reject it than have it partially work. Bram Matthys 2020-01-10 11:56:06 +01:00
  • 596cf8e7de
    New: extended server bans: exempt by certificate fingerprint and SASL account. See https://www.unrealircd.org/docs/Extended_server_bans Bram Matthys 2020-01-10 11:18:05 +01:00
  • 92c5f06e7e
    Fix incorrect spacing in HELPOP EXTBANS [skip ci] Bram Matthys 2020-01-10 09:06:12 +01:00
  • d4826bd5c0
    except throttle { } was not working, reported by LesterClayton in https://bugs.unrealircd.org/view.php?id=5524 Bram Matthys 2020-01-09 18:23:27 +01:00
  • edb4bd8cf2
    Fix incorrect calls to HOOKTYPE_TKL_DEL causing crashes in modules that use the parameters of this hook. Reported by Gottem. Bram Matthys 2020-01-07 12:34:05 +01:00
  • 11ff177558 Add new option set::connthrottle::webirc-bypass westor 2020-01-05 18:27:11 +02:00
  • 07753d112e
    Update for previous commit. See https://github.com/unrealircd/unrealircd/pull/87 Bram Matthys 2020-01-05 10:00:34 +01:00
  • cdea885b32 For ./unrealircd module parse-c-file use real line counts within the C file instead of within the special block k4bek4be 2020-01-05 09:57:29 +01:00
  • 2fa0edf599 Add support for "exempt-webirc" (#88) westor 2020-01-04 18:39:38 +02:00
  • d29a55a8db
    Update DoEvents() so it is safe to call EventDel() from within an event handler. Until now it was NOT safe. Now it is. Bram Matthys 2020-01-04 16:54:48 +01:00
  • bb82138466
    UnrealIRCd 5.0.1 Bram Matthys 2020-01-03 09:30:35 +01:00
  • 672153cc4d
    Last update of release notes for 5.0.1? [skip ci] Bram Matthys 2020-01-03 09:21:34 +01:00
  • a2d0194d94
    More release note updates [skip ci] Bram Matthys 2020-01-03 09:14:50 +01:00
  • 739caa5b88
    Some more release note updates [skip ci] Bram Matthys 2020-01-03 09:05:26 +01:00
  • ecaec0f062
    Update release notes for upcoming 5.0.1 (first part) [skip ci] Bram Matthys 2020-01-03 08:47:56 +01:00
  • 27ae0fa340
    Fix "ERROR renaming 'data/reputation.db.tmp'" on Windows. Reported by hc2995, notipa and floffy. Bram Matthys 2020-01-02 16:35:24 +01:00
  • eca761fcb9
    Remove some unused vars in cmd_nick_remote and cmd_nick_local Bram Matthys 2020-01-02 15:47:23 +01:00
  • d7d673faf2
    Multiple fixes related to ban actions: 1) Fix issue if HOOKTYPE_IS_HANDSHAKE_FINISHED rejects the user 2) Fix authprompt issue. We now allow adding the TKL in place_ban_host() for soft-kline/etc. Previously all the soft-kline/gline/zline/gzline acted like soft-kill. 3) The blacklist module did not allow clients in with action 'warn', reported by westor in https://bugs.unrealircd.org/view.php?id=5501 Bram Matthys 2020-01-02 14:25:28 +01:00
  • 7278c9c8f4
    @if causes miscounting of line numbers shown in config errors. Reported by Gottem in https://bugs.unrealircd.org/view.php?id=5509 Bram Matthys 2020-01-02 13:05:26 +01:00
  • b4fb4568fc
    Possibly fix a hang issue. Reported by westor. Bram Matthys 2020-01-02 12:46:37 +01:00
  • f8c6996edd
    Fix SID being shown (eg: 001) when services set the TOPIC. Reported by westor. Bram Matthys 2019-12-31 13:26:31 +01:00
  • a6b5f17656
    Fix WHOX 'm', this should be an AND operation, eg: 'WHO +zo m' lists IRC Operators (+o) that have +z set. Similarly, 'WHO +o-z m' lists IRCOps (+o) which are -z. Issue found while writing the HELPOP WHO documentation. Bram Matthys 2019-12-31 13:22:35 +01:00
  • 410148ea91
    Document the WHOX syntax in /HELPOP WHO Bram Matthys 2019-12-31 12:51:55 +01:00
  • 77e859459a
    Add ) [skip ci] Bram Matthys 2019-12-31 09:44:33 +01:00
  • 114ef14a31
    Log who (client) or what (signal) requested a config file /REHASH. Bram Matthys 2019-12-31 09:41:19 +01:00
  • ca576944e6
    Don't test w/services on FreeBSD since it errors mysteriously atm. Bram Matthys 2019-12-30 19:06:41 +01:00
  • 2c23d4299c
    Send a better error when JOIN is used for a channel without hash mark (#). Reported by k4be in https://bugs.unrealircd.org/view.php?id=5514 Bram Matthys 2019-12-30 19:02:20 +01:00