Commit graph

  • 3715ae6789
    Update release notes [skip ci] Bram Matthys 2021-10-03 11:02:19 +0200
  • a21168928f
    Update shipped c-ares from 1.17.1 to 1.17.2 (10-aug-2021) Bram Matthys 2021-10-03 10:37:03 +0200
  • 745f3fbb06
    Update release notes, get ready for 5.2.2. Bram Matthys 2021-10-03 10:33:14 +0200
  • d2ef328147
    Update curl-ca-bundle.crt to version of Thu Sep 30 03:12:05 2021 GMT from https://curl.se/ca/cacert.pem. Has a few changes, but the most notable change is that they removed DST Root CA X3. This fixes verifying Let's Encrypt certificates if you use the "DST Root CA X3" chain (which is currently the default in certbot and all) on: * OpenSSL 1.0.2 or earlier (old but in use on eg: Debian 8, Ubuntu 16.04, ..) * LibreSSL below 3.3.5/3.2.7 (so until a day ago) Bram Matthys 2021-10-03 09:56:52 +0200
  • 53d21a0e56
    Update release notes [skip ci] Bram Matthys 2021-10-01 12:04:59 +0200
  • fb08f3c109
    Update release notes [skip ci] Bram Matthys 2021-10-01 11:25:24 +0200
  • 93a943e7b9
    Update release notes [skip ci] Bram Matthys 2021-10-01 11:15:08 +0200
  • 8057b5755f
    Add operinfo to Windows Makefile [skip ci] Bram Matthys 2021-09-29 14:55:02 +0200
  • 74a5dbebe2
    Update Windows makefile with new cloaking modules and vhoaq chanmodes [skip ci] Bram Matthys 2021-09-29 09:55:54 +0200
  • 520804edc2
    Add set::whois-detail which allows you to configure which items to expose to which users and in what detail. Bram Matthys 2021-09-27 17:21:23 +0200
  • c06f423643
    Get rid of ExtBan_Table[] and use a linked list called extbans. Just like already done for Usermode_Table[] and Channelmode_Table[]. Bram Matthys 2021-09-26 13:11:21 +0200
  • d6b67bc0a3
    Update some unimportant comment(s) [skip ci] Bram Matthys 2021-09-26 12:49:50 +0200
  • ee8cc0e8e2
    Get rid of Usermode_Table[] and use a linked list called usermodes. Just like already done for Channelmode_Table[] -> channelmodes. Bram Matthys 2021-09-26 12:45:45 +0200
  • 05f2694685
    Add cloak_none module. Also improve warning when loading multiple cloak modules a bit. Bram Matthys 2021-09-26 08:57:40 +0200
  • ab7a56cfbb
    Add a note about cloaking [skip ci] Bram Matthys 2021-09-26 08:45:16 +0200
  • 1af3f23b9f
    Default config no longer loads a default cloaking module, since the admin needs to make a choice. Also update example conf to load the new cloaking module (cloak_sha256) and update the text there to require at a key of 80 characters. Bram Matthys 2021-09-26 08:36:01 +0200
  • fae7c0fef7
    cloak_sha256: require cloaking key to be at least 80 characters. Bram Matthys 2021-09-26 08:31:58 +0200
  • 08723e0e56
    Error when no cloaking module is loaded. Bram Matthys 2021-09-25 20:46:06 +0200
  • 97ccf29573
    Make "./unrealircd gencloak" print the generated keys in a way so the user can easily copy-paste them to their config file. Also bump the key length from 50-60 to 80 characters. Bram Matthys 2021-09-25 20:25:03 +0200
  • 72fd878664
    Add "cloak_sha256" module. Bram Matthys 2021-09-25 20:02:29 +0200
  • e4b449adf8
    Add set_channel_mode() which can be used to issue a server mode. It's usage would be rare, but this is f.e. used from channeldb. Other uses may be in some 3rd party module. Example: set_channel_mode(channel, "+k", "key") Bram Matthys 2021-09-25 17:42:21 +0200
  • 0e9d7a669f
    Update HOOKTYPE_LOG to work with new logging system (lots of different args) Bram Matthys 2021-09-25 17:33:02 +0200
  • 892a639272
    Get rid of big chunk in postconf_defaults() that is unneeded / much easier now, now that we process the set { } block before all other blocks (since a few years already). Bram Matthys 2021-09-25 17:27:53 +0200
  • 35ae1bcc42
    Update a comment about a hook [skip ci] Bram Matthys 2021-09-25 17:23:35 +0200
  • c6ef13b258
    Remove HOOKTYPE_REQUIRE_SASL which was never called. Apparently the other hooks were sufficient after all for authprompt ;D Bram Matthys 2021-09-25 17:15:49 +0200
  • 834d38e904
    Update HOOKTYPE_PRE_KNOCK to include reason (not used, though) Bram Matthys 2021-09-25 17:08:53 +0200
  • 707575bc32
    Resolve a number of todo items, most by simply removing them :D Bram Matthys 2021-09-25 16:54:29 +0200
  • 38e47b9b62
    Rename find_person() to find_user() to be consistent in the naming that we use since UnrealIRCd 5: we have users (IsUser) and servers (IsServer). Bram Matthys 2021-09-25 16:44:11 +0200
  • f2863656ea
    Remove a number of todo items in conf.c, some by resolving them and others that can be removed since they are no longer relevant or deemed not to be an issue. Bram Matthys 2021-09-25 16:42:07 +0200
  • 3033fd9b6d
    Fix some todo items such as validating extban letter and names in ExtbanAdd() Bram Matthys 2021-09-25 16:38:15 +0200
  • 73b908e413
    Changes to BanContext struct (extended ban API): * Now ban_check_types (previously checktype): this is one or more of BANCHK_* OR'd together, eg BANCHK_JOIN, BANCHK_MSG.. * Now ban_type (previously what2): this is the type of the ban, eg EXBTYPE_BAN, EXBTYPE_EXCEPT, etc. * Now is_ok_check (previously is_ok_checktype) this is one of EXBCHK_* for is_ok, eg EXBCHK_PARAM to check parameter. Bram Matthys 2021-09-25 16:28:10 +0200
  • b37b190fdd
    Add enums ExtbanCheck and ExtbanType for use in BanContext. Bram Matthys 2021-09-25 16:16:42 +0200
  • fa95735f29
    Merge branch 'unreal60_dev' of github.com:syzop/unrealircd-next into unreal60_dev Bram Matthys 2021-09-25 16:10:39 +0200
  • e18bea2a89
    Re-add STATUSMSG in 005 and change the make_prefix() since it now creates two buffers. Also remove the placeholder for STATUSMSG and PREFIX in src/api-isupport.c Bram Matthys 2021-09-25 16:09:50 +0200
  • 063bdc1f5b
    Merge branch 'unreal60_dev' of github.com:syzop/unrealircd-next into unreal60_dev k4be 2021-09-25 16:02:16 +0200
  • 11fb778e9d
    Move METADATA isupport to a correct place k4be 2021-09-25 16:01:27 +0200
  • 3f5d9bf865
    member modes / prefix modes (vhoaq) should not show up in CHANMODES= Bram Matthys 2021-09-25 16:00:44 +0200
  • bf6d47716e
    An extra -Wformat-nonliteral fix for clang 3.x (ubuntu 16.04 / debian 8). Bram Matthys 2021-09-25 15:55:49 +0200
  • ae08cbfb3b
    Fix isupport PREFIX token generation k4be 2021-09-25 15:40:54 +0200
  • 49e1a8a565
    Merge branch 'unreal60_dev' of github.com:syzop/unrealircd-next into unreal60_dev Bram Matthys 2021-09-25 15:25:00 +0200
  • a07f7f2567
    extjwt cmodes: generate array of mode characters k4be 2021-09-25 15:23:04 +0200
  • 174459587c
    Fix crash on CAP-capable TLS client connect. Crash was introduced couple of weeks ago by proxy stuff. Bram Matthys 2021-09-25 15:22:17 +0200
  • 4a4d069f11
    Get rid of ignore for -Wformat-nonliteral in two entire files, now it is only in 5 functions in entire UnrealIRCd. Acceptable. Bram Matthys 2021-09-25 15:15:48 +0200
  • 8603c2eb71
    Update hunt_server() so command is really the command (eg "LUSERS") and not a format string (eg ":%s LUSERS %s"). It now simply concats all parv[]'s. That is, up to parc count. And it automatically does the :stuff for the last parameter if it contains spaces or starts with a : etc. Bram Matthys 2021-09-25 14:49:19 +0200
  • b5375de52d
    Move some reputation log msgs to ULOG_DEBUG (they already required DEBUGMODE) Bram Matthys 2021-09-25 14:24:15 +0200
  • 299c885802
    More room for log buffer Bram Matthys 2021-09-25 14:23:20 +0200
  • 10ec3c164a
    Rename the old cloaking module to "cloak_md5" (UnrealIRCd 3.2.1 - 5.2.X) It was used from July 2004 and served us well it seems. Bram Matthys 2021-09-25 11:21:34 +0200
  • ec8f54ec26
    Update cloaking key mismatch error and rename some stuff. Bram Matthys 2021-09-25 11:19:15 +0200
  • 5100d4863c
    Guard against multiple log blocks logging to the same file. Bram Matthys 2021-09-25 11:12:00 +0200
  • 47279108e4
    Use get_operclass() in extbans/operclass as well. Bram Matthys 2021-09-25 11:02:39 +0200
  • cac8c34bcc
    JSON logging: expand operlogin and operclass for users who are ircop. Bram Matthys 2021-09-25 10:57:48 +0200
  • b95eb0b3b7
    Add get_operlogin() and get_operclass() functions to make things easy. This retrieves the oper login (/OPER thislogin ...) and operclass of local and remote users. Bram Matthys 2021-09-25 10:57:00 +0200
  • c1378abc32
    Initialize variables to NULL (duh) Bram Matthys 2021-09-25 10:33:47 +0200
  • 677fcf6b71
    Move the HOOKTYPE_LOCAL_OPER back out of remove_oper_privileges(). Can't have it in that function as it may be called even when the user was not oper before (as a safety precaution). Pitty. Bram Matthys 2021-09-25 10:32:25 +0200
  • ce5917e0d9
    Expose operlogin and operclass via moddata so they can be seen in WHOIS and used for auditting purposes across servers (assuming the servers itself can be trusted). This is done via the 'operlogin' module which is loaded by default. Obviously for opers of U5 and below this information is not available. Bram Matthys 2021-09-25 10:26:05 +0200
  • b00743fa79
    Bump moddata slots [skip ci] Bram Matthys 2021-09-25 10:24:32 +0200
  • edbfaaf95d
    JSON logging: expand user modes, snomasks, and oper login (if available) Bram Matthys 2021-09-25 09:45:03 +0200
  • 6e74cd133b
    Expand channel modes in JSON logging messages of 'channel' Bram Matthys 2021-09-25 09:28:00 +0200
  • 135c5f0747
    Use strlcpy()/strlcat()/strlcat_letter() in channel_modes() instead of pointer calculations. We don't need the speed improvement anymore. Bram Matthys 2021-09-25 09:21:31 +0200
  • bf7a72a850
    Usermode_Table[].flag -> Usermode_Table[].letter just like how it is now in U6 in channel modes and extended bans Bram Matthys 2021-09-25 09:13:06 +0200
  • fbf3a51517
    Add HOOKTYPE_CAN_SET_TOPIC, which works similar to HOOKTYPE_CAN_KICK. Bram Matthys 2021-09-25 09:04:19 +0200
  • 618049fca1
    Add buildnumeric() function, which will only be used sporadically as you would normally use sendnumeric() instead. Bram Matthys 2021-09-25 09:02:47 +0200
  • 847f2fc384
    Remove is_ip_valid() as we already have is_valid_ip(), and update the doxygen docs a bit for that function. Bram Matthys 2021-09-25 08:16:07 +0200
  • c582a29f09
    Update doxygen docs a bit (minimal) for channel access functions. Bram Matthys 2021-09-25 08:13:18 +0200
  • fabe16a95c
    Get rid of has_voice(), is_half_op(), is_skochanop(), is_chan_op(), is_chanadmin(), is_chanowner(). Using check_channel_access() instead now. Bram Matthys 2021-09-25 08:00:57 +0200
  • 0b6336c5f9
    Update config.guess and config.sub from 2015-03-04 to 2021-06-03 Bram Matthys 2021-09-24 18:20:13 +0200
  • ca9132b345
    Update geoip-classic.tar.gz. Changes: In configure remove AC_FUNC_MALLOC and AC_FUNC_REALLOC. These don't do anything, except they cause a build failure on Ubuntu 21 and later (together with openssl 3.0.0 anyway). Bram Matthys 2021-09-24 18:11:43 +0200
  • 39ead41fae
    Update notes about release notes a bit [skip ci] Bram Matthys 2021-09-24 17:50:39 +0200
  • 8acd17b0ef
    Make the error a bit more clear (that the two lines are related) [skip ci] Bram Matthys 2021-09-24 17:46:57 +0200
  • efb16159f3
    Add check for missing include "snomasks.default.conf"; Well, not literally, but indirectly :D Bram Matthys 2021-09-24 17:44:57 +0200
  • f85732a7e0
    When unreal_log() was called incorrectly and wanted to print a BUG error message about this it crashed. Can't use NULL va and the null_va trick didn't work either, so.. don't use va stuff at all.. Bram Matthys 2021-09-24 17:33:30 +0200
  • fa9957ac6b
    Add GeoIP engine prompt to ./Config Bram Matthys 2021-09-24 17:19:02 +0200
  • 3fda96448d
    Fix crash due to invalid subsystem use in tls.c [skip ci] Bram Matthys 2021-09-24 17:17:03 +0200
  • 4397450bd0
    Revert LD_LIBRARY_PATH= in unrealircd script, as we use -rpath for that. Bram Matthys 2021-09-24 16:57:52 +0200
  • baa07b179f
    Get rid of some other old upgrade conf stuff as well. Remove some, but keep some other errors, since they may still be helpful, or at least for now. Bram Matthys 2021-09-24 16:45:41 +0200
  • a2a9eebf98
    Get rid of ./unrealircd upgrade-conf (was for 3.2.x to 4.x) Bram Matthys 2021-09-24 16:40:42 +0200
  • 864aef89da
    LOG_DEST_OTHER => LOG_DEST_DISK Bram Matthys 2021-09-24 16:37:24 +0200
  • f29e0fcfe1
    Make sure nobody uses a subsystem of like "info" or "debug" etc, which are reserved for log levels, and would otherwise clash in the log::sources configuration. Bram Matthys 2021-09-24 16:15:05 +0200
  • 4b079dbd1b
    Add JOIN/PART/KICK logging (snomask 'j'). This also changes the remove_user_from_channel() function to have an extra parameter to hide it from logs. This is used for KICK (already logged) and QUIT (which would be stupid to generate 10 part log lines for). Bram Matthys 2021-09-24 16:02:50 +0200
  • 4e511da9fb
    Update default logging conf [skip ci] Bram Matthys 2021-09-24 15:52:41 +0200
  • 8de1adc1c0
    Update SECURITY.md to include U6 [skip ci] Bram Matthys 2021-09-24 11:33:17 +0200
  • 56c3b4ced6
    Automatically add default log block that logs everything if no log block to disk is present. Also update the English example.conf. Bram Matthys 2021-09-24 11:29:36 +0200
  • 9852ec9991
    No longer log everything, so apply source { } on log blocks for disk files. This also adds the option "all" to log everything (after which you can use exclusion if you wish, eg "!whatever". Bram Matthys 2021-09-24 11:15:52 +0200
  • d3dfa5f40c
    Make negative matching work in log sources, update default snomasks. No longer log to all ircops if no matching snomasks. So yeah, if you don't load snomask.default.conf you will see nothing (TODO: some warning / error for this) Bram Matthys 2021-09-24 11:07:25 +0200
  • 1d73db560c
    Get rid of modules/snomasks directory, since the snomask module API is gone. (IRCOps can set any snomask dynamically now) Bram Matthys 2021-09-24 10:09:20 +0200
  • b41311ddaf
    Update default snomask to +bBcdfkqsSoO Bram Matthys 2021-09-24 10:03:18 +0200
  • e14b463b60
    Major update to default snomask configuration Bram Matthys 2021-09-24 09:41:32 +0200
  • bcfe43788d
    Some unimportant unreal_log() updates. [skip ci] Bram Matthys 2021-09-24 09:41:21 +0200
  • be6bbbcc6b
    Convert all remaining sendto_umode()/sendto_umode_global() to unreal_log(). Except, of course, the ones that actually need to send to a user mode, which is only LOCOPS and GLOBOPS. Bram Matthys 2021-09-24 08:28:37 +0200
  • 52667445f2
    Fix warning on vsendto_prefix_one (my mistake...) Bram Matthys 2021-09-23 20:03:33 +0200
  • 43e4c5444f
    We already got rid of sendto_ops(), now get rid of sendto_realops(). Use the new logging instead. Bram Matthys 2021-09-23 19:57:05 +0200
  • 2a7da65574
    Fix header: wallops -> usermodes/wallops Bram Matthys 2021-09-23 19:31:28 +0200
  • 0439e4f89d
    Move wallops module from "wallops" to "usermodes/wallops" (which includes the command) Bram Matthys 2021-09-23 19:25:38 +0200
  • 20c4ac2cd1
    Move all wallops code out of the core. Bram Matthys 2021-09-23 19:21:19 +0200
  • b94707a51b
    Change (or delete) old sendto_ops() calls. Function is now gone. Bram Matthys 2021-09-23 19:14:10 +0200
  • e36c85e4ce
    I don't understand much from this old code, but.. whatever. Bram Matthys 2021-09-23 19:13:55 +0200
  • 6abd74b121
    Get rid of REHASH flag handling for staff, just rehash ffs... And this module is not perm so we can ditch all this code. Bram Matthys 2021-09-23 18:55:17 +0200
  • cb31ec97a3
    JSON log: expand a bit more for IsMe(), like filling in some client.server stuff. Also add client.server.info for both IsServer() and IsMe(). Bram Matthys 2021-09-23 18:50:08 +0200
  • 720f597ad6
    Get rid of current snomask system and allow ircops to set any snomask (that is: a-z A-Z) so to use the dynamic system with the new logging. Largely untested. Bram Matthys 2021-09-22 15:40:53 +0200
  • 7fdd14de95
    Remove sendto_snomask() and sendto_snomask_global() as this is no longer the way we do things with the new logging stuff. Bram Matthys 2021-09-22 14:26:51 +0200