Commit graph

  • 47affa7f31
    Move some DCCALLOW functions Bram Matthys 2019-10-25 13:57:33 +0200
  • 51b0a7a373
    Update HOOKTYPE_STATS: will now be called for unknown flags and for all known flags as well. So you can now add stats via modules. Only the stats help is currently missing if you do so. => Moved dccdeny stats to dccdeny Bram Matthys 2019-10-25 13:51:22 +0200
  • 09854abade
    Move the dcc deny stuff into the dccdeny module, that is: functions from extra.c, entire undccdeny and svsfline, large functions that were in message.c and conf.c Bram Matthys 2019-10-25 13:10:46 +0200
  • 88f45020d8
    Remove outdated STATS Z and STATS R information. Bram Matthys 2019-10-25 11:31:06 +0200
  • ec1b2c60f2
    Remove src/cloak.c, integrate the function in src/user.c (also move the related one from src/misc.c to the same place) Bram Matthys 2019-10-25 11:26:08 +0200
  • 75fa6a25b8
    Remove src/uid.c, integrate those two functions in src/user.c Bram Matthys 2019-10-25 11:23:07 +0200
  • 84918ac68f
    Remove src/md5.c, integrate those two functions in src/misc.c Bram Matthys 2019-10-25 11:19:18 +0200
  • 2fca0f9cc3
    Remove src/kline.c, integrate these 15 lines in src/serv.c Bram Matthys 2019-10-25 11:16:02 +0200
  • 6ffcf62272
    Rename src/err.c to src/numeric.c Bram Matthys 2019-10-25 11:10:12 +0200
  • cb4d2f9cf0
    Get rid of set::new-linking-protocol and __PANGPANG__ stuff for compatibility with old 3.2.x servers. Bram Matthys 2019-10-25 10:58:04 +0200
  • 00aee86b66
    Clean up and document all functions in src/socket.c. Also, remove calls to and the finish_auth() function, which did nothing. Bram Matthys 2019-10-25 10:51:18 +0200
  • 599f83cbd4
    Move some #define's out of the way, some re-indenting, .. Bram Matthys 2019-10-25 09:47:52 +0200
  • 13b5ccda4f
    Merge bsd.c into socket.c (delete src/bsd.c). Bram Matthys 2019-10-25 09:38:27 +0200
  • db85de54ca
    Remove packet.c, now that it is empty. Bram Matthys 2019-10-25 09:33:42 +0200
  • e6c7fcda7d
    Move "real command" stuff to src/api-command.c and move dopacket() to src/parse.c. Also re-order functions in parse.c so they appear in logical order (1->2->3->4) rather than various helper functions first and some random order. Bram Matthys 2019-10-25 09:32:30 +0200
  • 910477c94a
    Don't apply fake lag to servers Bram Matthys 2019-10-25 09:13:05 +0200
  • fb0842216f
    Remove old bullet point in release notes that is now mentioned a few lines up. [skip ci] Bram Matthys 2019-10-19 18:32:54 +0200
  • 8e3ba03752
    Convert remaining GLOBOPS to sendto_umode_global(). Yeah, don't worry, the GLOBOPS command will stay too, this is just an internal cleanup. Bram Matthys 2019-10-19 11:49:33 +0200
  • e0533c5f80
    Use client id in SAJOIN and SAPART. This will break logging and oper notices on U4, but we'll deal with that later in some U4 release. Bram Matthys 2019-10-19 11:44:19 +0200
  • 5960c76102
    Fix SETNAME not working, reported by s and The_Myth in https://bugs.unrealircd.org/view.php?id=5453 It had the match_spamfilter() logic reversed. I audited all other calls to the function as well and they are fine. Bram Matthys 2019-10-19 08:35:59 +0200
  • 04171f7f20
    Clean up m_message a bit Bram Matthys 2019-10-18 14:40:15 +0200
  • a72482bbb2
    Fix PRIVMSG/NOTICE showing send UID/SID to end-user due to change from a few days ago. Reported by westor. Bram Matthys 2019-10-18 14:10:01 +0200
  • 5cd7134cc2
    Reject invalid SID from PROTOCTL. Bram Matthys 2019-10-18 14:00:46 +0200
  • 9171d58ad0
    Some unimportant changes [skip ci] Bram Matthys 2019-10-18 13:54:40 +0200
  • b9d432820b
    Update ./Config and the more/less screen, now that release notes are online (or in markdown format, anyway) we can skip some stuff. Bram Matthys 2019-10-18 08:40:00 +0200
  • 6dffe38bd3
    Update release notes a bit [skip ci] Bram Matthys 2019-10-18 08:35:49 +0200
  • e2158e3608
    Fix possible lack of string termination (NUL) in buildvarstring() Bram Matthys 2019-10-17 21:01:04 +0200
  • 3a3c5b9c55
    Remove an abort() Bram Matthys 2019-10-17 07:44:23 +0200
  • ff067cd826
    More kill path stuff gone now. Bram Matthys 2019-10-17 07:32:45 +0200
  • 49c2f7c2c3
    Get rid of this whole kill path nonsense. Bram Matthys 2019-10-16 11:11:46 +0200
  • bed8a0ca2b
    Remove set::oper-only-stats from config. Don't mention set::allow-user-stats there since that is a niche feature that 99% is unlikely to use. Bram Matthys 2019-10-14 18:50:24 +0200
  • d0b9b02d05
    We no longer use a blacklist for stats (set::oper-only-stats) but have a whitelist now instead (set::allow-user-stats). Suggested by tabrisnet, The_Myth and Jobe in https://bugs.unrealircd.org/view.php?id=3375 and https://bugs.unrealircd.org/view.php?id=5109 Bram Matthys 2019-10-14 18:46:14 +0200
  • 63298af6b2
    Get rid of BREPORT_xx mess. Bram Matthys 2019-10-14 17:36:04 +0200
  • 87406d752b
    Fix crash on set::official-channels and deprecate it's use. Use +P channels instead now that all settings are preserved accross restarts. Bram Matthys 2019-10-14 16:10:27 +0200
  • 446f9a89c3
    Assume password is sent when allow::password is cert/certfp and client has a SSL/TLS fingerprint. Reported by Stealth in: https://bugs.unrealircd.org/view.php?id=3372 Bram Matthys 2019-10-14 15:08:37 +0200
  • 43593d12cb
    netinfo.c & server.c: use sendto_umode_global() rather than 2 functions. Bram Matthys 2019-10-14 12:23:09 +0200
  • e1b0b0bc8e
    Make tracing bugs easier if you used AddListItem twice - or at least detect some cases of it (it will not detect the case where it is a single-item list). Bram Matthys 2019-10-14 08:53:05 +0200
  • f9ec129bbd
    Make hunt_server() use SID/UID for sender and destination. Hopefully this doesn't break anything... Bram Matthys 2019-10-14 08:33:41 +0200
  • 1a1ce5716e
    Move hunt_server from user.c to serv.c (makes sense). Bram Matthys 2019-10-14 08:33:12 +0200
  • cc36b34f93
    Remove unnecessary (void) casts everywhere. Only use (void) for system/library calls that you want to ignore explicitly, eg (void)close, if the return value is irrelevant. Bram Matthys 2019-10-14 08:23:08 +0200
  • c60bd2e441
    Try to use more me.id where possible (rather than me.name) Bram Matthys 2019-10-14 08:09:57 +0200
  • d724bdc492
    Finish up changes from yesterday. Bram Matthys 2019-10-14 07:49:23 +0200
  • f40c9f3c88
    Change various client->name to client->id in S2S traffic. More to follow tomorrow, including me.name to me.id changes (though these are far less important) and send.c + non-sendto_server hunts... Bram Matthys 2019-10-13 20:41:13 +0200
  • 44f9423e13
    Remove ID() macro as client->id always contains a proper UID now. Bram Matthys 2019-10-13 20:11:58 +0200
  • 1dde1721ad
    Reorder functions in nick.c in a more logical way. No actual code changes. [skip ci] Bram Matthys 2019-10-13 19:46:32 +0200
  • b9a0f938c0
    Cleanup cmd_user since it's now client-only and move the server-bits into cmd_uid. Bram Matthys 2019-10-13 19:43:41 +0200
  • a970e5ed9b
    Fix far connect notice to IRCOps being in incorrect format. Bram Matthys 2019-10-13 18:48:56 +0200
  • 2c337dc58b
    Split off cmd_nick in cmd_nick_local and cmd_nick_remote and clean it up. Also, partially cleanup cmd_uid, but still work to be done there (the last part). Bram Matthys 2019-10-13 18:39:10 +0200
  • 746ea5b558
    Clean up cmd_server / cmd_sid now that 100% of the network is SID. Bram Matthys 2019-10-13 16:22:56 +0200
  • 154aab6ec4
    No need for clear functions since PROTOCTL does not allow it. Bram Matthys 2019-10-13 09:42:29 +0200
  • bcfd2ab529
    Rip out support for servers lacking TKLEXT/TKLEXT2 (always send TKLEXT2 format) Bram Matthys 2019-10-13 09:39:00 +0200
  • 560b73b6f7
    Similar to previous commits, but for UMODE2. Actually no change, though, since lack of UMODE2 was not supported in U4 anyway (maybe even 3.2.x). Bram Matthys 2019-10-13 09:35:31 +0200
  • a9890448d8
    Rip out support for servers lacking SJ3 Bram Matthys 2019-10-13 09:33:39 +0200
  • 545c2560e6
    Rip out support for servers lacking SIDs/UIDs. More cleanups will follow later for this one. Bram Matthys 2019-10-13 09:24:26 +0200
  • 930ede1c86
    Rip out support for servers lacking SJOIN/SJOIN2 Bram Matthys 2019-10-13 09:09:59 +0200
  • 0670bfffb9
    Rip out support for servers lacking NICKIP Bram Matthys 2019-10-13 08:59:26 +0200
  • fb4d994f40
    Rip out support for servers lacking NOQUIT. Bram Matthys 2019-10-13 08:56:05 +0200
  • 8d5f896790
    Rip out support for servers lacking NICKv2 Bram Matthys 2019-10-13 08:54:16 +0200
  • c9b88343e2
    Fix not seeing own nick change if not in any channels. Reported by westor. Bram Matthys 2019-10-12 17:26:29 +0200
  • bbf2cd3a3e
    Fix incorrect relaying of numeric replies from remote servers (eg WHOIS nick nick). Bram Matthys 2019-10-12 17:18:12 +0200
  • 8383b714ce
    Fix crash on SASL. Reported by westor. Bram Matthys 2019-10-12 15:41:58 +0200
  • 742e27802e
    Fix 100% CPU issue with message-tags after REHASH. (this fix is in alpha4) Bram Matthys 2019-10-12 09:11:04 +0200
  • f5137678ff
    Update 5.0.0-alpha4 release notes a bit. Bram Matthys 2019-10-12 08:42:40 +0200
  • d55eb642e5
    Fix 421 in restrict-commands, again. Bram Matthys 2019-10-11 20:42:05 +0200
  • 139e5faae6
    UnrealIRCd 5.0.0-alpha4 (release tomorrow) Bram Matthys 2019-10-11 19:28:44 +0200
  • 03645750f1
    Protect against services that don't reply to SASL: time out the SASL session after a 15 seconds timeout. The exact timeout value can be changed by adjusting set::sasl-timeout, which should be (quite a bit) less than set::handshake-timeout by the way. 15<30 now, so fine. Bram Matthys 2019-10-11 19:17:59 +0200
  • 3c4d14ca58
    Warn about the necessity of an anope patch, which is pending since February... Bram Matthys 2019-10-11 18:55:01 +0200
  • 96509f6802
    except tkl { } -> except ban { } in example*conf [skip ci] Bram Matthys 2019-10-11 17:57:13 +0200
  • 9f2530fdb7
    Fix 421 numeric syntax if command is blocked (commit from yesterday). Reported by westor. Bram Matthys 2019-10-11 17:06:57 +0200
  • ff5f2d97a0
    Some release notes markdown changes (always fun when 3 markdown editors show the output in 3 different ways, and github is even different) [skip ci] Bram Matthys 2019-10-11 16:23:31 +0200
  • 62352c2b70
    Update release notes, refer to web/github or the .md file. Bram Matthys 2019-10-11 16:19:54 +0200
  • a5e6fb4a12
    Convert release notes to markdown (add many links) [skip ci] Bram Matthys 2019-10-11 15:58:33 +0200
  • 65f6b97ea7
    Advertise as "draft/labeled-response-0.2" rather than "draft/labeled-response". [skip ci] Bram Matthys 2019-10-11 15:57:43 +0200
  • 98f1974c8f
    Don't fall through (fix for previous commit). Bram Matthys 2019-10-11 15:01:07 +0200
  • 77bee69951
    Fix Windows build Bram Matthys 2019-10-11 14:46:13 +0200
  • 394168c288
    Style fixes: "char* " -> "char *" etc. Bram Matthys 2019-10-11 12:23:45 +0200
  • ccaec871bb
    And some fixes, to previous commits and older issues. Bram Matthys 2019-10-11 12:19:04 +0200
  • aec54db360
    Add is_extended_ban() which does a quick check for "~x:". This, rather than scattered checks - which are sometimes different - everywhere in the source code. Also extban handler "is_ok" was being called with EXBTYPE_EXCEPT rather than EXBTYPE_INVEX for +I. (Not reported by anyone) Bram Matthys 2019-10-11 11:17:50 +0200
  • 33c176e59e
    Juse in case pcre2_get_error_message() fails... Bram Matthys 2019-10-11 11:17:29 +0200
  • 1d0fa3278f
    Protect against flawed S2S traffic: more checks for bad base64 encoded IP addresses. Bram Matthys 2019-10-11 11:16:16 +0200
  • 3d81c7101c
    Merge branch 'unreal50' of github.com:unrealircd/unrealircd into unreal50 Bram Matthys 2019-10-10 19:51:56 +0200
  • f7a35bd77e
    Fix for change from yesterday in JOIN: parv[1] would point to a stack buffer in do_join but it goes out of scope after a return from that function, still pointing to invalid data. Duh. Bram Matthys 2019-10-10 19:46:08 +0200
  • be571f81c6 Changed snotice to numeric 421 for commands disabled/restricted by the restrict-commands module GottemHams 2019-10-09 21:00:41 +0200
  • 80353cd7d3
    Win...... [skip ci] Bram Matthys 2019-10-09 19:23:50 +0200
  • e1fdba7931
    Windows....................... Bram Matthys 2019-10-09 19:16:34 +0200
  • 62110778dd
    Silence Windows compiler warning Bram Matthys 2019-10-09 18:55:04 +0200
  • 04334f022e
    Fixes for Windows build Bram Matthys 2019-10-09 18:20:06 +0200
  • 22dec96f9a
    No clean_channelname() anymore but a valid_channelname() function. Also, deal with servers with different set::allowed-channelchars settings: * We reject the link if set::allowed-channelchars settings differ between UnrealIRCd 5 servers. * For the case where you have a mixed network consisting of UnrealIRCd 4.x and UnrealIRCd 5.x servers we try not to desync, BUT will not allow anyone to join the invalid channels locally. For IRCOps a message is printed with additional information on such a failed JOIN attempt. See https://www.unrealircd.org/docs/Set_block#set::allowed-channelchars for the different settings, which are best and U4<->U5 advice. Bram Matthys 2019-10-09 17:55:23 +0200
  • fbbd915403
    Reject link if set::allowed-channelchars differ. Bram Matthys 2019-10-09 15:59:59 +0200
  • 798b223ee3
    Convert some more stuff to enums (config preprocessor mostly). Bram Matthys 2019-10-06 07:54:46 +0200
  • d2a93c3a03
    websocket module will now only disable show-connect-info on the ports that have listen::options::websocket. It will no longer disable it on all ports. Bram Matthys 2019-10-06 07:37:55 +0200
  • ba7ff01e0f
    Remove some unnecessary checks Bram Matthys 2019-10-06 07:25:31 +0200
  • 24f73d8c4f
    Crash fixes for can_send_to_user / can_send_to_channel from earlier. Bram Matthys 2019-10-05 18:31:29 +0200
  • c399aab016
    Support for labeled-response in LIST (I really wanted this) Bram Matthys 2019-10-05 18:15:48 +0200
  • f992a0c1c0
    Finish up labeled-response implementation. Load by default to get the thing tested. Will do at least 1 other commit soon related to this. Bram Matthys 2019-10-05 17:33:22 +0200
  • b3947c7a14
    Use proper HOOK_* return types in HOOKTYPE_PRE_LOCAL_CONNECT, fixes crashes. Bram Matthys 2019-10-05 15:19:40 +0200
  • 9a8fd43873
    ISON response was incorrect Bram Matthys 2019-10-05 15:04:54 +0200
  • b2705089ce
    Clean up floodprot_*nickchange now that the prototypes are the same for local and remote. Suggested by westor. Bram Matthys 2019-10-05 12:58:41 +0200
  • 2eecf4f2da
    Use generic numeric 531 (ERR_CANTSENDTOUSER) for all such cases and use hook CAN_SEND_TO_USER rather than HOOKTYPE_PRE_USERMSG (which is now removed). Bram Matthys 2019-10-05 12:27:49 +0200
  • 4a59e66af2
    Fix for previous Bram Matthys 2019-10-05 09:55:28 +0200