Commit graph

  • a55bd88828
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-02-02 05:15:59 +01:00
  • 95549220dd
    Update wording in release notes a bit [skip ci] Bram Matthys 2022-01-31 11:24:40 +01:00
  • ef6ea6ee32
    When using "RESTART" the newly started IRCd could possibly not log or been missing other functionality. Reported by DarthGandalf in https://bugs.unrealircd.org/view.php?id=5918 Bram Matthys 2022-01-31 10:24:13 +01:00
  • 155b38374a
    Update release notes [skip ci] Bram Matthys 2022-01-31 09:43:07 +01:00
  • 09351beae7
    Change default logging format on disk (text, non-json) to include the server name. Nowadays we receive and log lines from remote servers so without this extra information it can be unclear where events (eg: problems) are happening which can be rather confusing. Bram Matthys 2022-01-31 09:37:33 +01:00
  • 252b856afe
    Bump version to 6.0.3-git as this is git / work in progress. Bram Matthys 2022-01-31 09:36:48 +01:00
  • e0cfbe5821
    When using remote includes with certain setups, one could get weird rehash errors such as error: set::geoip-classic::ipv6-database: cannot open file "/home/xxxx/unrealircd/data/https://www.unrealircd... and possibly even a crash. The initial boot of UnrealIRCd, however, was always fine, this only happened when rehashing. It also seemed to occur more with ftp:// includes or at least with multiple parallel includes, that may or may not have different or more latency. In any case it seemed to affect some remote includes setups semi-consistently, and others not at all. Bram Matthys 2022-01-31 08:20:42 +01:00
  • b464658dd2
    Merge pull request #41 from unrealircd/unreal60_dev angryce 2022-01-31 07:29:12 +01:00
  • 8fe44698df
    When using the "let unrealircd compile cURL" option, now no longer use c-ares, as it complicates things too much. The c-ares build options that we use in UnrealIRCd cause curl not to recongize c-ares, and the other way around is not good either. Also, self-compiled ("unrealircd shipped") c-ares may not be used/required by main unrealircd (thus rm'd) while it is still needed by self-compiled curled. Blehh, what a mess. Bram Matthys 2022-01-30 08:01:38 +01:00
  • fa15ea2567
    ./unrealircd hot-patch: now that we have rehash output and status codes in 6.0.2+ we can inform the user whether the rehash actually succeeded or not. This was already shown in the output, but we now also change the last few lines of output to make very clear if the rehash failed that the currently running UnrealIRCd is not patched. Bram Matthys 2022-01-29 14:55:44 +01:00
  • 752ab1abf8
    Fix case where people don't use ./unrealircd hot-patch but use something like /home/xyz/unrealircd/unrealircd hot-patch instead. In other words, if the current working directory is not the location of the unrealircd script. Then calling ./unrealircd rehash, so the last step in the patching process, would fail. Reported by k4be. [skip ci] Bram Matthys 2022-01-29 14:47:22 +01:00
  • 17913151ed
    Fix ./unrealircd hot-patch: if a patch does not cleanly apply then don't apply it. The dry-run code was missing the most obvious case.. Bram Matthys 2022-01-29 14:38:11 +01:00
  • 6a521e24f7
    Strip trailing slash if present in paths since it can confuse some parts of the code later on, in particular the upgrade code. Eg: a base path of "/home/xyz/unrealircd/" Bram Matthys 2022-01-29 14:27:03 +01:00
  • 0877a5dbbe
    Make ./curlinstall use the same options when building c-ares as the ./configure script from us. That is, using the correct private lib dir and using --disable-tests and so on. Bram Matthys 2022-01-29 14:12:15 +01:00
  • 9fe166d8ec Merge https://github.com/unrealircd/unrealircd into piss60 Raphael Bertoche 2022-01-28 13:04:38 -03:00
  • 6604856973
    ** UnrealIRCd 5.2.4 ** Bram Matthys 2022-01-28 17:03:07 +01:00
  • 29fd2e772a
    ** UnrealIRCd 6.0.2 ** Bram Matthys 2022-01-28 17:02:19 +01:00
  • cd3b50d2f8
    Update ./unrealircd usage info. Bram Matthys 2022-01-28 08:57:47 +01:00
  • f650239b4f
    Add "./unrealircd module-status" to show currently loaded modules, including version, description, author, flags. The output is pretty much identical to "MODULE -all" on IRC as IRCOp. Bram Matthys 2022-01-28 08:45:20 +01:00
  • adb27f8a9e
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-01-25 11:03:01 +00:00
  • a07db0fffd
    BuildBot: Give all the build tests a bit more time Bram Matthys 2022-01-17 10:43:02 +01:00
  • 82bb7567da
    Update release notes Bram Matthys 2022-01-17 09:07:57 +01:00
  • 83e74893da
    Relookup reputation and geo information when client IP changes due to WEBIRC or another type of proxy request. This fixes a problem where ban user { } or except ban { } is not working for ~country:XX when the request comes via a WEBIRC or other proxy. Reported by CaoS in https://bugs.unrealircd.org/view.php?id=6058 It should also fix security-group being incorrect for ~security-group bans or exempts. Bram Matthys 2022-01-17 08:09:15 +01:00
  • d4f09f8fed
    HOOKTYPE_*_CHANGED -> HOOKTYPE_*_CHANGE to be a bit more consistent with the rest of the hooks, most of which do not use the past tense. Only affects HOOKTYPE_USERHOST_CHANGE / HOOKTYPE_REALNAME_CHANGE. Bram Matthys 2022-01-17 07:57:53 +01:00
  • f3d827c577
    Add HOOKTYPE_IP_CHANGE and call it when the IP address changes. Eg for WEBIRC or other proxy. Bram Matthys 2022-01-17 07:55:16 +01:00
  • 33f6fa0d86
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-01-10 22:25:24 +00:00
  • c1ec164a65
    fix flat-map display i 2022-01-08 03:46:09 +03:00
  • 6f926b722f
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-01-07 23:47:04 +00:00
  • 35c3c87dc4
    ** UnrealIRCd 6.0.2-rc1 ** Bram Matthys 2022-01-07 14:07:36 +01:00
  • 7678bc38ed
    Update shipped c-ares from 1.17.2 to 1.18.1 (27-oct-2021) Bram Matthys 2022-01-07 14:03:01 +01:00
  • 8536778bcc
    Don't mention action 'd' in HELPOP CHMODEF for floodtype 'm', as this is not supported at the moment. Reported by Valware in https://bugs.unrealircd.org/view.php?id=6034 [skip ci] Bram Matthys 2022-01-07 12:36:16 +01:00
  • 9e4d6571e5
    Update release notes a bit [skip ci] Bram Matthys 2022-01-07 12:13:58 +01:00
  • 60a70acd86
    channeldb: convert letter extbans to named extbans (.db for +P channels) Bram Matthys 2022-01-07 12:08:27 +01:00
  • b1e475e0ca
    Update release notes a bit [skip ci] Bram Matthys 2022-01-06 18:04:36 +01:00
  • 329fd07f3a
    Revert set::spamfilter::utf8-support from yesterday. This will be for a later release, needs more thought and work. Bram Matthys 2022-01-06 18:02:29 +01:00
  • 17a4ed1ea9
    Update release notes: Make clear that set::spamfilter::utf8-support is experimental and the possible side effects/issues, or the ones in the past, anyway. [skip ci] Bram Matthys 2022-01-06 16:07:33 +01:00
  • bd05cdf779
    Don't do GeoIP lookups for remote users. These are already looked up and synced by the server the user is on, and this way the country will be consistently the same on all servers (and not BE on one, and NL on another, which would be confusing for the ban matching code, giving different results on each server). Bram Matthys 2022-01-06 15:24:17 +01:00
  • 7f794aa7d7
    Fix log message on vhost-flood Bram Matthys 2022-01-06 08:44:59 +01:00
  • 856f29ae54
    Update release notes a bit [skip ci] Bram Matthys 2022-01-05 18:21:22 +01:00
  • dedff543b5
    Add option set::spamfilter::utf8-support which defaults to 'no' for now. When you set this to 'yes' you get more options... See next (modified) copy-paste from April 2020, which had to be reverted because PCRE2 was broken. Now it's an opt-in and hopefully matured a bit. Bram Matthys 2022-01-05 18:08:52 +01:00
  • b821aa419f
    Ship with PCRE2 10.39 (29-October-2021) Bram Matthys 2022-01-05 17:59:40 +01:00
  • ab8fab79e3
    Drop --disable-unicode from PCRE2 and require 10.34 for PCRE2_MATCH_INVALID_UTF support. More commits to follow. Bram Matthys 2022-01-05 17:55:11 +01:00
  • dd74e1e63d
    Update release notes [skip ci] Bram Matthys 2022-01-05 17:30:50 +01:00
  • fa1493b930
    Add 'WHO <300 t' example and information to HELPOP WHO Bram Matthys 2022-01-05 17:30:17 +01:00
  • d156a18aba
    Set defaults for vhost-flood https://www.unrealircd.org/docs/Anti-flood_settings#vhost-flood Bram Matthys 2022-01-05 17:26:32 +01:00
  • df0884981e
    Handle empty strings in config_checkval() Bram Matthys 2022-01-05 11:36:46 +01:00
  • 1e0bddfbab
    And some more text improvements in ./Config Bram Matthys 2022-01-05 09:32:17 +01:00
  • 27bfdef1ca
    Update wording a bit for geoip 'none'. Indirectly suggested by DeviL. Bram Matthys 2022-01-05 09:27:40 +01:00
  • 6996c7a485
    update RPL_MAP numeric i 2022-01-05 00:07:22 +03:00
  • 66355370e1
    fix RPL_MAPUSERS numeric error i 2022-01-04 23:56:29 +03:00
  • 1c4da04346
    add WHO parameter for searching by connect time i 2022-01-04 21:25:36 +03:00
  • 7430d3718a
    add support for rate limiting -x/-t (set::anti-flood::<groupname>::vhost-flood) i 2022-01-04 21:23:57 +03:00
  • d8f440e9e7
    add map percentages i 2022-01-04 21:21:38 +03:00
  • f4239abc5d
    update help.ru.conf i 2022-01-04 21:17:54 +03:00
  • b4d92bf232
    Typo typo [skip ci] Bram Matthys 2022-01-04 11:24:04 +01:00
  • 8dedffa6c0
    Update release notes a bit [skip ci] Bram Matthys 2022-01-04 11:16:38 +01:00
  • 33dac730c7
    When a remote server forgets to send the TS in a MODE message with the sender being a server, then we now spread it on with a zero TS so we avoid a potential desync elsewhere, or at least try to limit it. Bram Matthys 2022-01-04 11:09:05 +01:00
  • 55969d1ff3
    Update relnotes a bit more [skip ci] Bram Matthys 2022-01-03 19:28:48 +01:00
  • 1ff5c0c51a
    Update relnotes a bit [skip ci] Bram Matthys 2022-01-03 18:35:40 +01:00
  • ca6a3efdb2
    Fix for location of unrealircd.ctl when not in ~/unrealircd/ Reported by Han` Bram Matthys 2022-01-03 18:24:29 +01:00
  • c4126a2d1e
    Update preliminary release notes [skip ci] Bram Matthys 2022-01-03 17:58:13 +01:00
  • 3818b9eb45
    Make unrealircdctl spkifp actually work on Windows Bram Matthys 2022-01-03 17:49:29 +01:00
  • 4d2cefdbed
    Fix for Windows build (old srandom call). Bram Matthys 2022-01-03 17:05:50 +01:00
  • 34fda671f8
    And some more config priorities (not important yet) Bram Matthys 2022-01-03 17:01:56 +01:00
  • 8e7eacadfe
    Swap order of config_run_blocks() and config_test_blocks() since that makes more sense when reading the source code. Bram Matthys 2022-01-03 16:56:25 +01:00
  • 9fef375d0a
    Make reading priority of config blocks a simple array. Bram Matthys 2022-01-03 16:55:47 +01:00
  • 92c81b194f
    Move "spkifp" to unrealircdctl, so it is available for Windows users. For *NIX users no visible change. Bram Matthys 2022-01-03 14:48:00 +01:00
  • 3dd7c19c77
    Move "gencloak" to unrealircdctl, so it is available for Windows users. For *NIX users no visible change. Bram Matthys 2022-01-03 14:26:29 +01:00
  • e35c29f3d5
    Move mkpasswd operation to unrealircdctl. For *NIX users no change as this is done behind-the-scenes (the command is still ./unrealircd mkpasswd). For Windows users it finally means they can generate passwords via the CLI using: unrealircdctl mkpasswd pwdhere Bram Matthys 2022-01-03 14:12:32 +01:00
  • 243c6635da
    Update /STATS P output a little (since it shows the control channel). Bram Matthys 2022-01-03 13:51:46 +01:00
  • df0a9e4f37
    BuildBot: build unrealircdctl.exe Bram Matthys 2022-01-03 13:51:20 +01:00
  • 5425c8fbb6
    Don't fail on versions older than Windows 10 version 1803. And be a bit more informative on why unrealircdctl fails on those. Bram Matthys 2022-01-03 13:31:24 +01:00
  • c02eb3f16c
    Windows code cleanup: WSAStartup() -> init_winsock() Bram Matthys 2022-01-03 13:18:51 +01:00
  • 98c0e786b5
    Make UnrealIRCd compile on Windows again. Updated the makefile to build unrealircdctl.exe etc. Bram Matthys 2022-01-03 13:09:49 +01:00
  • c0c265baee
    Fix some (totally unimportant) resource leaks and fix a case where, if UnrealIRCd hung up on client communication without saying goodbye, we would return a 0 exit code (success). Bram Matthys 2022-01-03 09:03:10 +01:00
  • a4af100ca8
    Memory isn't initialized to zero by dbuf_queue_init(), causing dbuf->length to be unitialized. This wasn't an actual problem until yesterday in UnrealIRCd code, since the whole client struct was initialized to zero, including client->local->sendQ(->length) etc. However, now we use the dbuf code elsewhere too (on the stack) and 3rd party modules can use it too, so fix this bug. Bram Matthys 2022-01-03 08:59:14 +01:00
  • 75a2fde672
    Merge branch 'unreal60_dev' of github.com:unrealircd/unrealircd into unreal60_dev Bram Matthys 2022-01-02 20:19:21 +01:00
  • 39688517b0
    Make "./unrealircd rehash" show output on the terminal, same for "./unrealircd reloadtls" and there is now also a "./unrealircd status" Bram Matthys 2022-01-02 20:10:52 +01:00
  • d2301d1682
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-01-02 20:14:17 +01:00
  • d8bb78677f
    Add TS to s2s MODE messages generated by SVS(2)MODE (if the source is a server). k4be 2022-01-02 20:09:57 +01:00
  • 834736070e
    Make "SVS(2)MODE -b user" work properly for extended bans. It was missing for a lot of extbans (removing too little) and for ~t it was removing too much (eg quiet bans). Bug reported and changes suggested by k4be. Bram Matthys 2022-01-02 13:09:33 +01:00
  • 0843ac64c0
    Handle outdated version in the crash reporter: 1) Warn when >= July 1, 2022 that we only do security fixes (but continue the report) 2) Error when >= July 1, 2023 that all support ceased (do not send a report) 3) Handle HTTP 403 condition Bram Matthys 2022-01-02 09:33:39 +01:00
  • 46bdc1c5e1
    Print message about outdated release if automatically rejected by crash handler. Bram Matthys 2022-01-02 09:32:33 +01:00
  • dbef19cd7a
    Add initial implementation of UNIX domain sockets (listen::file). Various things still need to be done: a lot more testing, ability to set permissions on the file, #ifdef's because of lack of support on Windows (currently won't compile), etc. Bram Matthys 2022-01-01 18:38:04 +01:00
  • d45f47bfed
    Merge pull request #40 from unrealircd/unreal60_dev angryce 2021-12-30 22:57:08 +01:00
  • d798e1606e
    Install doc/conf/*.piss.conf Ron Nazarov 2021-12-30 18:59:10 +00:00
  • 40c528acde
    Add missing space in spamfilter log message. This is a fix-for-fix b98d02817a. Bram Matthys 2021-12-30 16:42:29 +01:00
  • 2d167331d8
    Add third/piss-snomasks Ron Nazarov 2021-12-30 14:28:44 +00:00
  • a59277f14a
    Add doc/conf/snomasks.piss.conf Ron Nazarov 2021-12-30 14:26:42 +00:00
  • 4e209968fe
    Fix hang on "Loading IRCd configuration" if DNS is not working correctly. For example if the 1st DNS resolver is refusing or ignoring requests. We forgot to call unrealdns_timeout() in the waiting loop, so DNS requests never timed out and c-ares didn't try the 2nd/3rd server either. Bram Matthys 2021-12-30 14:47:29 +01:00
  • c5c17f2ccf
    Include "client_port" (eg 6697) and "server_port" (eg 55123) in JSON output for local clients. Bram Matthys 2021-12-30 13:20:37 +01:00
  • 4ca9e9b3c2
    Also support show-event in log::destination::channel. Bram Matthys 2021-12-30 11:39:27 +01:00
  • d677ce04de
    New option set::server-notice-show-event which, if set to 'no', can be used to hide the event information (eg. connect.LOCAL_CLIENT_CONNECT) in server notices. This can be overriden in oper::server-notice-show-event. Bram Matthys 2021-12-30 11:27:02 +01:00
  • 0f52ff76e8
    Add link to https://www.unrealircd.org/docs/Log_block#Logging_to_a_channel in the release notes. Also add the sub-options: color, json-message-tag and oper-only. Bram Matthys 2021-12-30 10:40:01 +01:00
  • eaded2d12f
    Use spamfilter::match with single quotes in example spamfilter.conf and give a hint to do that so they are not misinterpreted by an URL since that may happen for other spamfilters (not the one included in this file though). Suggested by Lord255. Bram Matthys 2021-12-30 09:57:57 +01:00
  • 4cb708117a
    Initial version of snomask logging to channels (more to follow) Bram Matthys 2021-12-30 08:59:00 +01:00
  • a35e9f7af9
    Bump version to 6.0.2-git (start of dev for next version) Bram Matthys 2021-12-30 08:58:08 +01:00
  • 34c7727eb1
    Error on unknown items in log block, eg a leftover log::flags or log::maxsize from UnrealIRCd 5, or just some incorrect item that does not exist. Bram Matthys 2021-12-30 08:16:01 +01:00
  • 5b3b50c084
    Add variable declaration in innosetup file. Bram Matthys 2021-12-29 20:09:22 +01:00
  • cdc433f8c0
    ** UnrealIRCd 6.0.1.1 ** Bram Matthys 2021-12-29 19:30:49 +01:00