Commit graph

  • c38a399c7f Removing seemingly needless looping on SQUITs. Ramiro Bou 2021-07-11 14:59:22 -03:00
  • dcf51dcc86 Implementing IPv6 -> IPv4 fallback Ramiro Bou 2021-07-08 22:20:50 -03:00
  • ddc01b58f1 Senting mtags on TSCTL ALLTIME Ramiro Bou 2021-06-26 22:23:11 -03:00
  • b08697ffd2 Sending back the labeled-response for PING commands. Ramiro Bou 2021-06-26 22:08:06 -03:00
  • 8041c7f817 Sending WALLOPS back to the oper that issued it. Ramiro Bou 2021-07-11 19:11:19 -03:00
  • 12c2bb42c2
    Remove unused piece of code k4be 2021-07-15 19:29:19 +02:00
  • bbc2bc9cd5
    Add IRCv3 invite-notify cap k4be 2021-07-15 19:25:46 +02:00
  • 036b61dbc6
    Rewrite invite notification mechanism k4be 2021-07-15 19:10:07 +02:00
  • fad24ca559
    Merge branch 'unrealircd:unreal52' into pissnet pissnet angryce 2021-07-15 17:07:31 +02:00
  • 1b9806f014
    Merge branch 'unrealircd:unreal52' into piss-test piss-test angryce 2021-07-15 17:07:20 +02:00
  • 3ede47c7fa
    Remove invite moddata access from core (without breaking the api) k4be 2021-07-15 16:13:02 +02:00
  • db8ff94e7a
    Free invite moddata properly k4be 2021-07-15 15:52:04 +02:00
  • cd64a34634
    Fix for previous commit k4be 2021-07-15 15:51:47 +02:00
  • 8e676c1f2a
    We are never going to store invite for remote clients k4be 2021-07-15 15:22:41 +02:00
  • abc80cfdd9
    Enable ASan (address sanitizer) during U6 development Bram Matthys 2021-07-15 12:51:50 +02:00
  • 1c757a6eb5
    Merge branch 'unrealircd:unreal52' into unreal52 angryce 2021-07-15 12:49:37 +02:00
  • 0593dc4b73
    Allow SVSLOGIN also if set::sasl-server is not set. Bram Matthys 2021-07-15 10:30:04 +02:00
  • c97b9bb494
    Move invites from core to module k4be 2021-07-14 20:20:56 +02:00
  • 6b09b942bf
    INVITE messages may come from a server too k4be 2021-07-14 19:25:48 +02:00
  • 22c09fc5a8
    Merge pull request #5 from pissnet/unreal52 angryce 2021-07-14 15:41:49 +02:00
  • 5455e46589
    Update example.conf angryce 2021-07-14 14:25:20 +02:00
  • d7fcc90014
    Change lost_server_link() prototype and log errors properly for both TLS and non-TLS. Bram Matthys 2021-07-14 14:13:02 +02:00
  • 9987b6b862
    Temporarily send all unreal_log() msgs to sendto_realops() Bram Matthys 2021-07-14 14:12:22 +02:00
  • eb4ac65125
    Update lost_server_link() to use unreal_log() and log the proper socket error message such as Connection refused. Bram Matthys 2021-07-14 13:58:29 +02:00
  • 49fe200243
    unreal_log(), connect_server and report_error() / report_baderror(): Bram Matthys 2021-07-14 13:32:32 +02:00
  • f50d97474e
    Fix unreal_log() with $vars that are integers not working. This adds json_get_value(). Bram Matthys 2021-07-14 11:36:27 +02:00
  • 1068960b9a
    We now compile with -Wformat-nonliteral by default. This adds __attribute__((format(printf,X,Y))) to several functions. It also adds checking only for the non-literal case to some functions such as unreal_log/unreal_do_log. Bram Matthys 2021-07-14 11:06:40 +02:00
  • 1c84439da1 Adding 159.diff angryce 2021-07-14 05:55:51 +00:00
  • 641e4a01ad Adding 158.diff angryce 2021-07-14 05:53:53 +00:00
  • ac9fdf6cdc Added stuff angryce 2021-07-14 05:49:00 +00:00
  • 39b90f7e99
    Merge pull request #4 from pissnet/pissircd angryce 2021-07-13 22:09:42 +02:00
  • 21b497b4fc Added third party modules angryce 2021-07-13 20:08:38 +00:00
  • b301161ced
    Merge pull request #2 from Piss-Limited/pissircd angryce 2021-07-13 20:59:22 +02:00
  • e606a5a054 Changed version to 6.6.6-git to make it somewhat obvious its not actually using the regular git angryce 2021-07-13 18:18:18 +00:00
  • 724258608b
    Merge pull request #1 from Piss-Limited/pissircd angryce 2021-07-13 20:08:47 +02:00
  • 7058d51fee Added noglobalmsg.c and nosajoinpart.c angryce 2021-07-13 18:04:19 +00:00
  • 5b477eb51e Added 152.diff angryce 2021-07-13 18:01:35 +00:00
  • 05a2e79987 Added 158.diff angryce 2021-07-13 18:00:00 +00:00
  • 01c418c4d5
    src/log.c errors should use errno, not ERRNO, as the latter actually uses WSAGetLastError() on Windows, which obviously makes no sense. This mistake comes from the original ircd_log() by the way. Bram Matthys 2021-07-13 19:58:14 +02:00
  • 8ad675b824 Added 159.diff angryce 2021-07-13 17:58:04 +00:00
  • 557d375ea6 added 146.diff angryce 2021-07-13 17:53:30 +00:00
  • c25f4a4538
    Fix hang on a module attempting to assign (unusually) large amount of CAPs k4be 2021-07-12 21:00:38 +02:00
  • 05aeba9ba9
    Get rid of Debug(()) function calls. I never use it anyway. Bram Matthys 2021-07-12 18:54:05 +02:00
  • a57bdba220
    Move CONFIG_TEST/CONFIG_RUN stuff for logging from conf.c to log.c Bram Matthys 2021-07-12 18:00:41 +02:00
  • 76b1d756dd
    Make ircd_log() call new unreal logger. Start of transition. Bram Matthys 2021-07-12 17:48:21 +02:00
  • b871d2a177
    Add log::type for 'json' (work in progress) Bram Matthys 2021-07-12 17:23:27 +02:00
  • f2eef5caca
    Remove old leftover code in logger Bram Matthys 2021-07-12 17:01:16 +02:00
  • f89348d26c
    Add JSON logger - initial work Bram Matthys 2021-07-12 14:37:25 +02:00
  • 757adc76dd
    Bump version to 6.0.0-git and start release notes with a clean slate. Bram Matthys 2021-07-12 14:17:46 +02:00
  • c5a6f3c549
    Make CHATHISTORY subcommands case-insensitive. (#157) k4bek4be 2021-07-11 09:24:56 +02:00
  • 0985728662
    Adding sequential-fallback autoconnect strategy (#151) Ramiro Bou 2021-07-11 04:24:14 -03:00
  • 67bfd41e44
    chathistory: Use more explicit messages on INVALID_TARGET failure message (#150) Val Lorentz 2021-07-11 09:09:18 +02:00
  • d726c3aadd
    Bump version to 5.2.2-git as this is git / work in progress. Bram Matthys 2021-07-10 10:03:14 +02:00
  • d3c98c73c2
    Fix issue where saslmechlist could not be set by services server. This broke SASL services autodetection and also sasl=x,y,z in CAP. Reported by Valware in https://bugs.unrealircd.org/view.php?id=5960 Bram Matthys 2021-07-10 08:32:22 +02:00
  • b70e168b89 Added polsaker's pull reqs angryce 2021-07-09 16:44:12 +02:00
  • 8322a48026
    ** UnrealIRCd 5.2.1 ** Bram Matthys 2021-07-08 17:42:52 +02:00
  • 0971cf7d70
    modules.optional.conf: example set::antirandom block: Use CIDR instead of standard wildcard. In this case, since it's antirandom, it is not really important as someone is not going to add DNS records specially to avoid triggering antirandom. That makes no sense since it is much easier to avoid using a random looking name. Main reason of changing it here is to set a good example. Bram Matthys 2021-07-07 14:17:18 +02:00
  • b398c3d101
    Change default exempt from 127.* to 127.0.0.0/8 so it does not match arbitrary hosts that have a host starting with "127.". A rather stupid oversight on my part, really. Bram Matthys 2021-07-07 08:53:47 +02:00
  • 141dd8acd0
    Load settings from 5.2.0.x dot releases as well Bram Matthys 2021-07-03 15:18:47 +02:00
  • 94993a03ca
    ** UnrealIRCd 5.2.1-rc1 ** Bram Matthys 2021-07-03 14:38:28 +02:00
  • 1d62ca1153
    Send account tag to recipient on INVITE. Reported by ProgVal in https://bugs.unrealircd.org/view.php?id=5951 Bram Matthys 2021-07-03 14:17:02 +02:00
  • 527726be41
    Take message tags into account when calculating fake lag. Bram Matthys 2021-07-03 09:08:23 +02:00
  • ee9db59d36
    Fix two more small memory leaks on REHASH. Now we are at zero leaks again with ASan, or so it seems. Bram Matthys 2021-07-02 11:42:00 +02:00
  • 12299b45bf
    Fix small memory leak on REHASH (<1kb): free set::anti-flood block Bram Matthys 2021-07-02 10:56:51 +02:00
  • abaed84190
    Order CHATHISTORY TARGETS response in descending order (newest first) https://bugs.unrealircd.org/view.php?id=5904 Bram Matthys 2021-07-02 10:41:30 +02:00
  • 35f8598f3f
    Fix crash if using persistent channel history: if you had ANY rehash error (often completely unrelated to channel history) and you then rehashed again UnrealIRCd would crash. Reported by gh0st. May be the same issue as reported by adamus1red in https://bugs.unrealircd.org/view.php?id=5943 Bram Matthys 2021-07-02 09:12:01 +02:00
  • f0db0735a8
    Update release notes a bit [skip ci] Bram Matthys 2021-06-30 13:32:20 +02:00
  • 696d5f05fb
    Last argument in fd_open() is now used to indicate what should be done on a later fd_close() call. This also removes fd_map() since fd_open w/FDCLOSE_NONE now does that. Bram Matthys 2021-06-30 11:23:07 +02:00
  • 329f48334c
    I/O engine: track if a fd is a file or socket, needed for Windows. Bram Matthys 2021-06-30 10:55:26 +02:00
  • a44b1cb63e
    Fix ./unralircd genlinkblock printing out a confusing error message if you have serversonly listen block without tls. Reported by Valware in https://bugs.unrealircd.org/view.php?id=5945 Bram Matthys 2021-06-30 10:05:51 +02:00
  • 0bd2cfd0fc
    Update file_exists() function to work with directories on Windows. And then let's use the similar (and faster) function on Linux too. Bram Matthys 2021-06-28 19:33:14 +02:00
  • 137703f04a
    Add cipherscan profile for OpenSSL 3.0.0. Bram Matthys 2021-06-28 15:56:05 +02:00
  • c586592516
    Add -nodes (no DES) to openssl command so it doesn't ask for a password on OpenSSL 3.0.0 and later when generating the standard self-signed certificate. Bram Matthys 2021-06-28 13:58:39 +02:00
  • 088218817d
    Whitespace....... [skip ci] Bram Matthys 2021-06-28 13:07:02 +02:00
  • 50089d340a
    Build test updates [skip ci] Bram Matthys 2021-06-28 13:02:36 +02:00
  • cf5966cce4
    Call early_init_ssl() even more early, fixes './unrealircd module list' from crashing and other symptoms. Crash was introduced with the OpenSSL 3.0.0 changes from a541b8f4ad, so 9 days ago. Bram Matthys 2021-06-28 08:18:43 +02:00
  • 26295151a9
    Add microsecond precision to TSCTL ALLTIME (#147) Ramiro Bou 2021-06-28 01:27:02 -03:00
  • c667662e9b
    Windows: Allow UnrealIRCd to be terminated gracefully (without prompt) via taskill /im unrealircd.exe. Needed for BuildBot. Bram Matthys 2021-06-27 19:21:56 +02:00
  • ec3407a42f
    Set -Wno-tautological-compare on clang 3.x (yeah old version), this to shut up false positives in buildbot. Bram Matthys 2021-06-27 18:13:52 +02:00
  • 30155ddd7c
    Only call reinit_tls() when rehashing. Bram Matthys 2021-06-27 17:22:15 +02:00
  • 79740c4a38
    Make "REHASH" and ./unrealircd rehash also run the same code as "REHASH -tls", if on OpenSSL 1.1.1 or later. Bram Matthys 2021-06-27 15:35:53 +02:00
  • a8e52fdead
    Bump sjoin module version to 5.1 [skip ci] Bram Matthys 2021-06-27 07:41:21 +02:00
  • c37c965506
    Fix SJOIN not properly propagated due to a copy-paste error in the SJSBY vs non-SJSBY code. Reported by puckipedia in https://bugs.unrealircd.org/view.php?id=5934 Bram Matthys 2021-06-27 07:37:26 +02:00
  • 1347b33c14
    Update release notes [skip ci] Bram Matthys 2021-06-26 19:44:47 +02:00
  • 2afc57aa38
    Use IsLoggedIn() macro everywhere where possible. Bram Matthys 2021-06-26 11:43:32 +02:00
  • 68d172854d
    Remove IsARegNick() as we already have IsRegNick() Bram Matthys 2021-06-26 11:19:47 +02:00
  • 06c0a34ab1
    Assume all services use account names (SVID), and drop suport for services that only set +r on people. To my knowledge, practically no services are out there anymore that do not use proper SVIDs (and that can link with UnrealIRCd 5). Bram Matthys 2021-06-26 11:13:27 +02:00
  • 9f10fa2193
    Improve error message when trying to use SASL with an unconfirmed services account. Bram Matthys 2021-06-26 10:57:36 +02:00
  • 317b3df01e
    modules/tkl: Fix wrong tkl names in table (#139) Guillaume Hérail 2021-06-26 09:27:55 +02:00
  • f30ce90732
    Update release notes a bit [skip ci] Bram Matthys 2021-06-25 15:52:14 +02:00
  • 4dbc1f8771
    Allow remote servers to write to the link-security MD object (#145) Ramiro Bou 2021-06-25 09:50:53 -03:00
  • 114d54ac61
    Allow larger IDLEN for incoming, but keep sending current length. I would like a bit more room for this in the future, but until then we will keep sending UIDs of length 9 in server to server traffic, so no change at all. Bram Matthys 2021-06-25 12:15:18 +02:00
  • 26a3444f4e
    Validate the UID in cmd_uid(). Reported by Valware in https://bugs.unrealircd.org/view.php?id=5925 Bram Matthys 2021-06-25 11:43:52 +02:00
  • e9e2504bf4
    Don't allow remote servers to write to our MD client objects by default. Bram Matthys 2021-06-25 11:16:12 +02:00
  • e80c7b5b65
    Add set::anti-flood options lag-penalty and lag-penalty-sec. This also allows known-users to execute slightly more commands per second. Bram Matthys 2021-06-23 16:19:45 +02:00
  • 28f98da5f8
    Remove debug message "Checking flood_limit_exceeded()" that was logged. This was a leftover from debugging and should not have been present in 5.2.0. Reported by westor. Bram Matthys 2021-06-23 16:15:58 +02:00
  • 3fabc1ef5f
    New security-group::include-mask item so you can put clients into security-groups based on masks too. Bram Matthys 2021-06-23 13:22:17 +02:00
  • 7779a4e353
    Show git version hash id in /INFO if you are using git Suggested in https://bugs.unrealircd.org/view.php?id=5920 by KindOne Bram Matthys 2021-06-21 15:08:24 +02:00
  • 9fde768201
    New block set::server-linking and change autoconnect strategy to 'sequential' Bram Matthys 2021-06-21 14:52:47 +02:00
  • 883a1e02ad
    Initial work on new set::server-linking block: Bram Matthys 2021-06-21 13:08:31 +02:00