Commit graph

  • eb4d7fb3f0
    Set version to 5.0.10-git with disclaimer not to use it yet. Bram Matthys 2021-05-03 15:25:30 +0200
  • 30d64f2ebe
    Use UnrealDB functions in channeldb. Bram Matthys 2021-05-03 15:15:25 +0200
  • 40ace27e7d
    Add UnrealDB reading capability to reputation module. We still write the old format, unless encryption is enabled. Bram Matthys 2021-05-03 15:14:56 +0200
  • dde3e0ccb2
    Add unrealdb and secrets API. Documentation and more information will follow in later commits. Bram Matthys 2021-05-03 15:07:10 +0200
  • dd33b38264
    Fix extended server ban ~a:accname not working for shun and also not always kicking in on *line either. We now check for shuns/*lines in user_account_login(), so upon SASL or NS IDENTIFY etc. This also means that the client could now be killed in that function, so callers should take extra care and take that into account. We check for IsDead() in our calls now (if it's our client anyway). Bram Matthys 2021-04-17 14:37:44 +0200
  • d6b0981433
    Module coders: Update HOOKTYPE_LOCAL_NICKCHANGE and HOOKTYPE_REMOTE_NICKCHANGE. I forgot to include message tags earlier, so this is a breaking change: -int hooktype_local_nickchange(Client *client, char *newnick); -int hooktype_remote_nickchange(Client *client, char *newnick); +int hooktype_local_nickchange(Client *client, MessageTag *mtags, char *newnick); +int hooktype_remote_nickchange(Client *client, MessageTag *mtags, char *newnick); Bram Matthys 2021-04-17 10:34:33 +0200
  • 85d20e8bd5
    Optimize libsodium for current CPU (just like libargon2 does) Is about 5x speed improvement in practice. Bram Matthys 2021-04-10 12:38:20 +0200
  • e497feef24
    Add c-ares and libsodium version output to boot screen and /VERSION. OpenSSL, PCRE2 and cURL were already there. Bram Matthys 2021-04-09 19:30:53 +0200
  • 5daf7e7ebe
    Compile with system libsodium, fallback to shipped version. This library provides easy to use functions for encryption/decryption among other things. There is some overlap with things that OpenSSL also provides but not all. Bram Matthys 2021-04-09 13:44:10 +0200
  • e596b730af
    Move channel history sending from one layer to the other. This so for example history_backend_mem() does not do any sending. Less efficient but needed for later when things get more complex. Bram Matthys 2021-04-07 09:42:18 +0200
  • 4dc999d2b6
    Update some API doc Bram Matthys 2021-04-07 09:16:52 +0200
  • 5cddc8d212
    If a user answers the curl path manually at the final ./Config question about curl, then verify that it is actually a correct answer by checking for <prefix>/bin/curl-config. Bram Matthys 2021-03-29 19:23:51 +0200
  • f04697ba7c
    Add disclaimer to config.settings. Bram Matthys 2021-03-29 19:09:37 +0200
  • 775c00c096
    Add displaying of reputation score in WHOX (if IRCOp). The new display field is called 'R', use something like: WHO * %cuhsnfmdaRr Bram Matthys 2021-03-28 18:23:02 +0200
  • 0ea86fce83
    Forbid using extended server bans in ZLINE/GZLINE as they only work on *@IP. ...and give a hint to use KLINE/GLINE instead. Bram Matthys 2021-03-27 09:11:15 +0100
  • d9fbb51a33
    Fix error message for /ELINE not working with certain types. Reported by westor in https://bugs.unrealircd.org/view.php?id=5843 Bram Matthys 2021-03-27 09:09:26 +0100
  • 4725b5547b
    Mention correct tag names (which also happen to be URLs) for unrealircd.org/userip and unrealircd.org/userhost. Reported by Nav|C. Bram Matthys 2021-03-26 15:14:25 +0100
  • e31755bc7c
    *** UnrealIRCd 5.0.9.1 *** (faster build, lower memory requirements during build) Note: the only change between 5.0.9 and 5.0.9.1 is: * Build improvements on *NIX (faster compiling and lower memory requirements) * Windows version is unchanged and still 5.0.9 Bram Matthys 2021-03-26 08:30:21 +0100
  • ed50c8fb8c
    Make shipped c-ares build a lot faster (for systems without system c-ares). Bram Matthys 2021-03-22 08:25:59 +0100
  • 1d0ac57bfa
    Don't try parallel make if less than 750MB memory is available (that is, MemAvailable, not MemFree). The ./Config script with all shipped libs compiled actually has a memory peak of 450M in my tests with -j4, but let's err on the safe side... Bram Matthys 2021-03-22 07:57:26 +0100
  • 00711f905c
    Actually read security-group::tls from the conf file (fixes #0005836) (#133) LeCoyote 2021-03-21 07:39:49 +0100
  • 80fbef8b5c
    *** UnrealIRCd 5.0.9 *** Bram Matthys 2021-03-19 20:08:21 +0100
  • 022ed9ae71
    Remove explicit setting of send/receive buffer as modern OSs don't need this and it slows things down for servers. Bram Matthys 2021-03-14 16:04:43 +0100
  • a880532ca7
    Update ./Config autodetection of 5.0.8. Bram Matthys 2021-03-12 17:53:40 +0100
  • 6761cdd66d
    UnrealIRCd 5.0.9-rc1 Bram Matthys 2021-03-12 17:50:52 +0100
  • 2765eaac26
    Add find_nvplist() Bram Matthys 2021-03-10 17:24:38 +0100
  • 57a6dd3600
    Fix windows build. Now that we are using c-ares 1.17.1, the include directory has changed that needs to be specified on Windows. [skip ci] Bram Matthys 2021-03-10 14:36:48 +0100
  • 01bfe5f7a7
    Mention that the Windows build now supports TLSv1.3 too. We moved from LibreSSL 3.1.4 to 3.2.4. Support for TLSv1.3 was added in LibreSSL 3.2.2 from Oct 2020, but it had some issues, hopefully by now they are resolved. [skip ci] Bram Matthys 2021-03-08 17:44:47 +0100
  • d42147d56c
    Update shipped C-ARES lib to 1.17.1 (19-Nov-2020) Bram Matthys 2021-03-08 11:10:11 +0100
  • c352dcb8aa
    Update shipped PCRE2 lib to 10.36 (04-Dec-2020) Bram Matthys 2021-03-08 11:07:10 +0100
  • f4b14330a8
    Update curl-ca-bundle: Certificate data from Mozilla as of: Tue Jan 19 04:12:04 2021 GMT https://curl.se/ca/cacert-2021-01-19.pem [skip ci] Bram Matthys 2021-03-08 11:00:03 +0100
  • 82af21639c
    Fix for -Werror=unused-result Bram Matthys 2021-03-08 10:42:56 +0100
  • 1f47cc7824
    Support for dated log files such as log "ircd.%Y-%m-%d.log" { } Suggested by Amiga600 in https://bugs.unrealircd.org/view.php?id=5784 Bram Matthys 2021-03-08 10:33:54 +0100
  • 28bf68f39b
    More than 100 lines within an if when you can use if ! w/continue.. pff. Bram Matthys 2021-03-08 09:53:28 +0100
  • 8a16a7392f
    Don't stat() the logfile if user has no log::maxsize Bram Matthys 2021-03-08 09:51:00 +0100
  • 7b655a5e17
    Merge two identical #ifdef's Bram Matthys 2021-03-08 09:49:44 +0100
  • 29e8c2c770
    Mention './unrealircd genlinkblock' as it should work in 5.0.8+. Bram Matthys 2021-03-08 09:45:11 +0100
  • 44f8bea3c4
    Minor crash reporter fixes and add command line crash test to test it. Bram Matthys 2021-03-08 09:12:53 +0100
  • 636b068062
    New option allow::global-maxperip, defaults to allow::maxperip+1. Suggested by Jobe and PeGaSuS in https://bugs.unrealircd.org/view.php?id=5802 Bram Matthys 2021-03-07 11:30:02 +0100
  • 4bd0969583
    spamfilter { } blocks caused some confusing whitespace in stats for the spamfilter. Only after a rehash it showed the me::name as the setter. From now on we just display -config- in the setter field, like we do for all the other TKLs as well (ELINE, ban xyz, etc). Bram Matthys 2021-03-07 10:43:47 +0100
  • 1854bfffd0
    ELINE and except ban for type 'F' (spamfilter) were not working. Reported by armyn in https://bugs.unrealircd.org/view.php?id=5820 Bram Matthys 2021-03-07 08:46:24 +0100
  • 17bdd6de1e
    Use different temporary filename. Not really important normally but if running multiple ircds from the same directory you sometimes get weird messages otherwise (not that we really support such a thing but i use it while dev'ing). Bram Matthys 2021-03-06 18:53:02 +0100
  • 94fea88319
    CR+LF->LF conversion for help.nl.conf. [skip ci] Bram Matthys 2021-02-28 07:54:13 +0100
  • dc40d27cd8
    Move set::anti-flood::unknown-flood-* to set::anti-flood::handshake-data-flood which is a new block, documented at: https://www.unrealircd.org/docs/Set_block#set::anti-flood::handshake-data-flood The reason for this is better naming and allowing to tweak ban-action. Bram Matthys 2021-02-28 07:47:58 +0100
  • 94b8f6575e
    Just some code cleanup (variable renaming) in tkldb, nothing more... Make it consist tkldb/TKLDB instead of still some tkl_db/TKL_DB. Bram Matthys 2021-02-11 08:19:33 +0100
  • 9e82f13c54
    Fix bug in tkldb if ircd is rehashed every <300 secs it would never save. Not reported by anyone, but yeah.. who knows there is someone out there that does this :D. Also make it work the same like channeldb by spreading the event. Bram Matthys 2021-02-11 08:16:03 +0100
  • f1e3b7dcdf
    Tweak channeldb saving to be further apart from tkldb saving. Bram Matthys 2021-02-11 08:02:58 +0100
  • 06d90a9d46
    Behave better when multiple HOOKTYPE_RAWPACKET_IN modules are active. If a module returns 0 ("UnrealIRCd please do not process this packet") then don't call the next module in line (also because that one might then change the return value to something different, which is bad). Bram Matthys 2021-02-10 14:24:17 +0100
  • 25f8b8e4c7
    Remove unnecessary include (was merged in sys.h a while back) Bram Matthys 2021-02-10 14:22:30 +0100
  • eb76ae7c67
    Fix nocodes error message: tell user it blocks color also (#131) westor 2021-02-06 08:45:27 +0200
  • b22e1c1a43
    Fix call to HOOKTYPE_UMODE_CHANGE in SVSMODE k4bek4be 2021-02-06 07:44:31 +0100
  • c71214cefe
    Rename nvplist functions to match the rest, fix resource leak, and move the functions to list.c where they belong. nvplist_add() -> add_nvplist() nvplist_add_fmt() -> add_fmt_nvplist() (new) -> free_nvplist Bram Matthys 2021-02-02 18:37:26 +0100
  • d4e0ee9431
    *NIX: Bump default MAXCONNECTIONS from 8192 to 16384. That is, when in "auto" mode, which is like for 99% of the users. NOTE: the sytem may still limit the actual number of FD's to a lower value, depending on the value of "ulimit -n -H". Bram Matthys 2021-02-01 13:27:08 +0100
  • d84c820d5a
    Some text changes [skip ci] Bram Matthys 2021-01-31 19:47:01 +0100
  • 9d85b112dc
    Fix typo [skip ci] Bram Matthys 2021-01-31 18:56:18 +0100
  • 1baf5f9f7d
    Show reputation score and some other info in "Client connecting" notices to IRCOps and in ircd.log. See the release notes for more details. Bram Matthys 2021-01-31 18:28:28 +0100
  • 82da314cf4
    Dev docs: document svid better [skip ci] Bram Matthys 2021-01-29 19:12:20 +0100
  • e90d661e8d
    Fixed typo in ELINE example flags, from f to F (spamfilter) (#130) PeGaSuS 2021-01-29 19:11:36 +0100
  • a6da4a5823
    Small text fix on Windows for unrealsvc.exe usage instructions. The command is 'unrealsvc' and not 'unreal'. Also update copyright a bit since I have at least been updating this file since 2006 (e679a6760b). Bram Matthys 2021-01-27 17:10:13 +0100
  • b65584226c
    win_log(): avoid double LF in win_log() caused by previous commit. Bram Matthys 2021-01-23 12:27:05 +0100
  • 9204939a7f
    Windows: improve logging on-boot, especially when running as a service. Bram Matthys 2021-01-23 12:15:51 +0100
  • 3a922d6ed5
    Disable handshake delay for users that are exempt from blacklist checking. Bram Matthys 2021-01-17 08:20:50 +0100
  • cd967a6ea6
    Always exempt 127.* from gline, kline, etc. The exempted ban types are only ones that will affect other connections as well, such as gline, and/but not policy decissions such as bypassing qlines or maxperip. Currently the list is: gline, kline, gzline, zline, shun, blacklist, connect-flood, unknown-data-flood. Suggested by PeGaSuS and others in https://bugs.unrealircd.org/view.php?id=5806 Bram Matthys 2021-01-17 08:01:01 +0100
  • 5034c2306b
    Fix "./unrealircd upgrade" so it actually works with GPG. And if it is actually used/installed then make it a little bit harder to bypass the case where the digitale signature does not match. And yes, the bypass option does exist because in the future we may have a different signing key. Who knows from what old version people may upgrade years from now, after all. Bram Matthys 2021-01-10 18:23:57 +0100
  • 0fd9c2ee6f
    Add doc/KEYS which contains the public key(s) used to sign UnrealIRCd releases Bram Matthys 2021-01-10 16:26:22 +0100
  • 0e125abc36
    New: "./unrealircd upgrade" to upgrade to latest UnrealIRCd release. Bram Matthys 2021-01-10 16:22:33 +0100
  • 011ebf3ce7
    Fix for previous. "Channel joinfloodflood" -> "Channel joinflood" :D Bram Matthys 2021-01-10 08:05:53 +0100
  • ebed68f636
    Channel mode +f source code cleanup Bram Matthys 2021-01-10 07:55:22 +0100
  • f03f5bd974
    Bump version to 5.0.9-git Bram Matthys 2021-01-10 07:45:44 +0100
  • 380e039d95
    *** UnrealIRCd 5.0.8 *** Bram Matthys 2021-01-08 15:32:55 +0100
  • d558ea7ef0
    Update release notes [skip ci] Bram Matthys 2021-01-08 15:15:35 +0100
  • 315f2ba4a9
    Mention the FAQ URL if a link is rejected due to incorrect clock. Bram Matthys 2021-01-04 13:23:00 +0100
  • 9377b66754
    UnrealIRCd 4 is no longer supported [skip ci] Bram Matthys 2021-01-01 21:03:36 +0100
  • 646bdbb872
    Allow ! in extended server bans, such as /GLINE ~G:!tls-users. Previously it rejected ! for all type of *LINES to avoid users making the mistake of banning nick!user@host in a *LINE. Note that for non-extended-server-bans the ! is still forbidden. Bram Matthys 2021-01-01 18:43:24 +0100
  • fa15ec1bec
    Add default security-group "tls-users" and "tls-and-known-users" Bram Matthys 2021-01-01 18:42:27 +0100
  • b383197ae6
    UnrealIRCd 4 no longer supported. Bram Matthys 2020-12-31 14:27:10 +0100
  • 99defea611
    ** UnrealIRCd 5.0.8-rc1 ** Bram Matthys 2020-12-30 14:14:33 +0100
  • 5e068a2f28
    Add symlink 'source' in the installdir to the UnrealIRCd source. Useful for scripting purposes. Bram Matthys 2020-12-30 13:44:50 +0100
  • 2f7b73fe10
    Fix Windows build tests [skip ci] Bram Matthys 2020-12-30 13:16:24 +0100
  • 53d23038e5
    Support for security groups and new +b ~G:unknown-users: * There are two security groups by default: known-users and unknown-users. See https://www.unrealircd.org/docs/Security-group_block * New extended ban ~G:securitygroupname, with the typical usage being MODE #chan +b ~G:unknown-users, which will ban all users from the channel that are not identified to services and have a reputation score below 25. Bram Matthys 2020-12-30 12:42:56 +0100
  • f45a3a912f
    Make the binary print out a helpful message pointing to the script, in case someone does like 'bin/unrealircd mkpasswd' or something. Bram Matthys 2020-12-29 15:07:28 +0100
  • 04a45e8b83
    Fix targetfloodprot module not exempting U-Lines (only matters if not +o). It is highly recommended that services pseudo users all have +o since there are likely many places where ULines don't bypass a restriction while opers do. But still, this particular issue has been fixed, it caused unexplained loss of messages which looked rather mysterious. Reported by severinmueller in https://bugs.unrealircd.org/view.php?id=5799 Bram Matthys 2020-12-29 12:44:54 +0100
  • fc159fd131
    Change set::modes-on-oper in example confs to +xws Previously it was +xgws which was confusing since we don't have a +g Reported by PeGaSuS. Bram Matthys 2020-12-27 18:39:23 +0100
  • fff989c46e
    Make windows compile again by dropping const stuff added 2 commits ago in reputation commit. Not important anyway. Bram Matthys 2020-12-16 15:59:10 +0100
  • b2ceb9c825
    Fix warning about certificate expiry appearing every 43 seconds rather than twice a day. Reported by PeGaSuS in https://bugs.unrealircd.org/view.php?id=5797 Bram Matthys 2020-12-16 15:40:02 +0100
  • 9d88bb6fe9
    Add /REPUTATION #channel and /REPUTATION <NN The reputation command (IRCOp-only) has been extended to make it easier to look for potential troublemakers: * ``REPUTATION Nick` shows reputation about the nick name * `REPUTATION IP` shows reputation about the IP address * `REPUTATION #channel` lists users in channel with their reputation score * `REPUTATION <NN`` lists users with reputation scores below value NN Bram Matthys 2020-12-06 16:37:31 +0100
  • fd41806079
    Update release notes a bit (interim update only) [skip ci] Bram Matthys 2020-12-06 16:07:40 +0100
  • 4b53b02299
    Add set::max-stats-matches which limits output such as '/STATS gline' to the specified number of lines. This defaults to 1000. This will prevent IRCOps from being flooded off ("Max SendQ exceeded") if they list all *LINES and there are thousands. In the newly introduced error message, after too many matches, we also kindly point out to use filters like '/STATS gline +m *.nl' Bram Matthys 2020-12-06 15:50:28 +0100
  • 8c04036fd8
    Send ERR_ALREADYREGISTRED for USER and PASS rather than ERR_NOTFORUSERS. Reported by Koragg in https://bugs.unrealircd.org/view.php?id=5766 Bram Matthys 2020-12-06 09:46:12 +0100
  • adc2a9774f
    Mention Q-line reason in server notices. Suggested by ivanp in https://bugs.unrealircd.org/view.php?id=5774 Bram Matthys 2020-12-06 09:19:11 +0100
  • ece2dc9c12
    Remove redundant output on './unrealircd version'. Bram Matthys 2020-12-05 16:23:00 +0100
  • d573f77b10
    API doc tweak [skip ci] Bram Matthys 2020-12-04 10:10:50 +0100
  • 7002139fad
    Add self-test to module manager for those who rm -rf their source directory. Bram Matthys 2020-11-28 11:31:31 +0100
  • 7a3876e7b2
    Doxygen U5 API docs: add examples to sendto_one(), sendto_channel() and sendnumeric(). Bram Matthys 2020-11-24 19:27:22 +0100
  • f494707a47
    Doxygen: document list_for_each_entry with examples and add 'channels' to the page as well. Bram Matthys 2020-11-23 10:25:49 +0100
  • 10e01aee0a
    Doxygen U5 API docs: document find functions and send API See https://www.unrealircd.org/api/5/ And more specific: https://www.unrealircd.org/api/5/modules.html Bram Matthys 2020-11-23 08:55:45 +0100
  • ca84a5cfc4
    Leave 5.0.7 release notes for historic purposes. Or: whoops.. shouldn't have deleted that. [skip ci] Bram Matthys 2020-11-22 18:40:14 +0100
  • 180653dce5
    Set version to 5.0.8-git Bram Matthys 2020-11-22 18:37:37 +0100
  • e15ea8f34d
    Mention EOL date of U4 in SECURITY.md for clarity. Bram Matthys 2020-11-22 18:34:31 +0100
  • 836a3000bd
    Update some comments in ircd.c, nothing fancy. Bram Matthys 2020-11-22 18:17:18 +0100