Commit graph

  • 86fa29aaee
    Add consts in support.c Bram Matthys 2021-09-10 15:48:58 +02:00
  • 9438ddfd93
    Add consts in user.c Bram Matthys 2021-09-10 15:40:50 +02:00
  • 09a412782d
    Const stuff for misc.c Bram Matthys 2021-09-10 15:25:21 +02:00
  • 447555e044
    More consts in stats.c Bram Matthys 2021-09-10 15:07:17 +02:00
  • f085173d46
    More const char * stuff... mostly in conf.c but also elsewhere. Bram Matthys 2021-09-10 15:00:42 +02:00
  • 2e82ab0eca
    Make CommandOverrideAddEx() the new CommandOverrideAdd(): Bram Matthys 2021-09-10 14:13:07 +02:00
  • bba0124bd3
    Drop the Ex... CallbackAdd*Ex() -> CallbackAdd*() Bram Matthys 2021-09-10 14:09:22 +02:00
  • 6ebddc8817
    Update channel mode API to use more consts Bram Matthys 2021-09-10 14:06:57 +02:00
  • 08a32429ff
    Update extban API to use more consts Bram Matthys 2021-09-10 13:39:26 +02:00
  • d4d4da6a8d
    Add another const to ValidatePermissionsForPath. Fix Windows build, maybe? Bram Matthys 2021-09-10 12:58:15 +02:00
  • 66a51fb659
    Massive conversions from 'char *' to 'const char *' and 'char **' to 'const char **' Bram Matthys 2021-09-10 12:46:31 +02:00
  • edfdfe4a03
    Add HookAddConstString() and friends. Also EfunctionAddPChar() -> EfunctionAddString(), and callbacks etc. Bram Matthys 2021-09-10 11:58:48 +02:00
  • a3bfa210e9
    HookAddPChar() -> HookAddString() and .pcharfunc -> .stringfunc Bram Matthys 2021-09-10 11:47:37 +02:00
  • fe3907f153
    Use more const char * Bram Matthys 2021-09-10 11:39:04 +02:00
  • d648cd0729
    Use strlncpy() everywhere where we previously used strlncat() with a empty buffer (due to the lack of strlncpy before...). Bram Matthys 2021-09-10 11:26:36 +02:00
  • c550d95619
    Add strlncpy(): works just like strlcpy except that it has an extra argument which specifies how many characters to copy max. Bram Matthys 2021-09-10 11:19:57 +02:00
  • cd88e02f3d
    Use more const char * Bram Matthys 2021-09-10 11:11:54 +02:00
  • 463c7d4ddf
    Spoof remote connecting/disconnecting notices with sender being the server where the client is (or was) on. Just like we did in UnrealIRCd 5. Bram Matthys 2021-09-10 08:54:29 +02:00
  • 59888af8db
    Fix crash on failed file download while rehashing k4be 2021-09-05 19:56:41 +02:00
  • 43f77b8211
    BuildBot: log server commands for tracing Bram Matthys 2021-09-04 10:55:11 +02:00
  • 2951c94ccd
    Use $MAKE instead of make in extras/build-tests/nix/build too Bram Matthys 2021-09-04 09:37:45 +02:00
  • 01ec8696d0
    FreeBSD hangs with ASan enabled, in OPENSSL_init_ssl(), so disable it in the build tests (wtf?) [skip ci] Bram Matthys 2021-09-04 09:35:09 +02:00
  • 4ef3b9f000
    Add BSDmakefile with a note to run 'gmake' for BSD users. Also, check for GNU make (which can be either 'make' or 'gmake') early in ./Config and print out an error to install prerequisites from https://www.unrealircd.org/docs/Installing_from_source Bram Matthys 2021-09-04 08:53:05 +02:00
  • 894b7e5461
    Makefiles: switch from suffix rules to pattern rules. As suffix rules can't have dependencies, so if you change a .h file, it fails to recompile the other dependencies. Grmpf! This does mean that we require GNU Make (gmake) from now on. Bram Matthys 2021-09-04 08:17:31 +02:00
  • 9ef1d06afd
    Remove more unused stuff in dynconf.h, and drop set::dns which did nothing since 3.2 or so. Bram Matthys 2021-09-03 21:17:51 +02:00
  • 13dc17f5dc
    Code cleanup: remove unused structs and variables. Bram Matthys 2021-09-03 21:07:05 +02:00
  • 617288991e
    Remove find_except(), conf_except and struct ConfigItem_except. These are all unused since the addition of ELINE. Bram Matthys 2021-09-03 20:46:06 +02:00
  • 8c6f94ffef
    metadata debug: remove command logging and replace last sendto_snomask with unreal_log. Also get rid of unused trylater variable. k4be 2021-09-03 18:54:19 +02:00
  • 4a82b89793
    Code cleanup in tkl.c: get rid of confusing 'whattodo' and use 'add' which is 1/0 so that the meaning is straightforward. Bram Matthys 2021-09-03 11:05:19 +02:00
  • 16179b9c00
    Don't log add_config_resource() debug code by default. Bram Matthys 2021-09-03 10:37:51 +02:00
  • a9833ebedf
    Fix crash on empty remote METADATA (bad S2S traffic). Bram Matthys 2021-09-03 08:50:16 +02:00
  • c4a4867ca5
    More goto's make the world a better place. Oh and also fix a memory leak in parse_extended_server_ban(). Bram Matthys 2021-09-03 08:05:33 +02:00
  • 7d75b38c26
    OpenSSL: Check for lib64 Mostly due to openssl 3 beta if you custom build to a specific dir. Bram Matthys 2021-09-03 07:54:07 +02:00
  • 1f2e79b64c
    Fix missing return after exit_client() in PROTOCTL. This caused client->server to be NULL and then when processing another PROTOCTL parameter this would cause a crash. Bram Matthys 2021-09-02 18:14:11 +02:00
  • 725e03e1e9
    Simplify identical_ban(), it was never perfect anyway. Bram Matthys 2021-09-02 17:20:54 +02:00
  • 9cdd90e848
    Ignore remote MONITOR requests. (Fixes crash with faulty S2S traffic) Bram Matthys 2021-09-02 17:07:10 +02:00
  • 5b9c419041
    Add parse_extended_server_ban(). This makes named extended server bans working now (eg ELINE ~certfp:xyz etc). Also fixes a crash due to an OOB read. Bram Matthys 2021-09-02 17:01:20 +02:00
  • 9952a8e98f
    Be more careful in json_expand_client() when called for a server that is only partially a server yet: IsServer() is true but client->server is NULL. Fixes a crash when called from PROTOCTL. Actually not entirely sure if this happens in practice, but better safe than sorry. Bram Matthys 2021-09-02 15:57:51 +02:00
  • fa5c9039a2
    Put the same extban rule checks in extban_is_ok_nuh_extban() as they already were in extban_conv_param_nuh_or_extban(). The recursion check was already there, but not the "rule 2 violation" if ((extban->options & EXTBOPT_ACTMODIFIER) || (extban->options & EXTBOPT_NOSTACKCHILD)) Bram Matthys 2021-09-02 15:51:11 +02:00
  • ab75b234e6 Showing expected spkifp when validation fails Ramiro Bou 2021-09-01 21:32:26 -03:00
  • 459deb3084
    Actually, ignore all s2s PROTOCTL from users k4be 2021-08-31 16:35:59 +02:00
  • 45775d1929
    Fix crash on bad s2s INVITE command k4be 2021-08-31 15:18:21 +02:00
  • f4ad2416a7
    Make server name check a bit more strict (% characters made sendnumeric generate invalid format strings) k4be 2021-08-31 13:38:14 +02:00
  • 5df1b1b889
    Workaround crash with stacked multiple ~f bans This should probably be fixed properly later. k4be 2021-08-31 13:00:47 +02:00
  • 7f958b7dad
    Fix crash for setting channel metadata by unregistered connections k4be 2021-08-31 12:59:46 +02:00
  • 54f0dc5795
    Merge pull request #9 from Prouser123-forks/feat/improved-logo angryce 2021-08-30 23:16:31 +02:00
  • 946c74c31d
    Add header, adjust comments, don't save debugfiles James 2021-08-30 22:02:13 +01:00
  • d5194d556e
    Move tool to extras James 2021-08-30 21:52:32 +01:00
  • 9194f8231b
    Remove logo files, no longer needed for reference James 2021-08-30 21:51:06 +01:00
  • bbec426258
    Switch script to new logo, run script James 2021-08-30 21:39:44 +01:00
  • 5c14d3e614
    Squash bugs James 2021-08-30 21:30:13 +01:00
  • 373751c814
    example_test: run script James 2021-08-30 21:16:15 +01:00
  • 6478d6e127
    Initial script version with demo logo generated via figlet James 2021-08-30 21:15:20 +01:00
  • c711bc6dfb
    Fix named extban name comparison (was accepting names with extra stuff after a valid name) k4be 2021-08-30 18:35:58 +02:00
  • 228f6f05af
    Ignore PROTOCTL EAUTH from users k4be 2021-08-30 09:29:32 +02:00
  • 8caeae6f82
    Fix crash on PROTOCTL EAUTH= Bram Matthys 2021-08-29 14:08:12 +02:00
  • 420ebd7900
    Get rid of NULL va_list compiler error k4be 2021-08-29 12:35:29 +02:00
  • f3c7b8c456
    Windows: fix an external variable not being MODVAR, causing a funny "no more connections available" error. Oh Windows.... such a joy!!! [skip ci] Bram Matthys 2021-08-29 12:18:35 +02:00
  • 07390d093f
    Remove modules/mdex which is an example that shouldn't be used/built (with UnrealIRCd anyway) [skip ci] Bram Matthys 2021-08-29 12:04:54 +02:00
  • 340e6016da
    Windows makefile: update the DLL_FILES list as well. This is just autogenerated so let's hope there is no mistake :D At least it is nicely sorted alphabetically now. [skip ci] Bram Matthys 2021-08-29 11:59:37 +02:00
  • d0968628c4
    More Windows BuildBot updates [skip ci] Bram Matthys 2021-08-29 11:42:46 +02:00
  • 36481b1f8e
    Windows BuildBot: parallel build with JOM, should be 4-5 times faster now. [skip ci] Bram Matthys 2021-08-29 11:28:11 +02:00
  • 8476523888
    Fix permissions [skip ci] Bram Matthys 2021-08-29 11:24:57 +02:00
  • 6b8e51f9b9
    Merge branch 'unreal60_dev' of github.com:syzop/unrealircd-next into unreal60_dev Bram Matthys 2021-08-29 11:23:18 +02:00
  • e9738b32f5
    Update Windows makefile, incomplete yet. Bram Matthys 2021-08-29 11:18:12 +02:00
  • 84527768ce
    Add missing libmaxminddb remark in configure output k4be 2021-08-29 11:20:33 +02:00
  • 6a781e782f
    Windows BuildBot: reorder unrealircd-tests repo so we can use fakereputation.c from in there while we build. [skip ci] Bram Matthys 2021-08-28 20:52:22 +02:00
  • c28239dd68
    Set User-Agent in url_curl as well (already done in url_unreal). Bram Matthys 2021-08-28 20:37:09 +02:00
  • 8b64f44400
    Fix Windows BuildBot [skip ci] Bram Matthys 2021-08-28 19:47:27 +02:00
  • 3b5caea331
    *sigh* [skip ci] Bram Matthys 2021-08-28 18:34:17 +02:00
  • a15666d287
    Windows build: Ah, shouldn't have quotes at all, otherwise a mysterious error appears. Great. [skip ci] Bram Matthys 2021-08-28 18:17:58 +02:00
  • 9f729b1438
    Windows: url.obj -> url_curl.obj [skip ci] Bram Matthys 2021-08-28 18:07:45 +02:00
  • cdde22d338
    Windows: fix missing quote in vs2019.bat causing make custommodule to fail. [skip ci] Bram Matthys 2021-08-28 17:44:41 +02:00
  • be67bdc342
    Update Windows installer to include Jansson [skip ci] Bram Matthys 2021-08-28 17:30:38 +02:00
  • feb60f7bc6
    Windows: fix path in vs2019.bat [skip ci] Bram Matthys 2021-08-28 17:28:06 +02:00
  • c455c1ae52
    unrealircd-5-libs -> unrealircd-6-libs [skip ci] Bram Matthys 2021-08-28 17:26:02 +02:00
  • 880c29e006
    Make BuildBot test UnrealIRCd 6 on Windows [skip ci] Bram Matthys 2021-08-28 17:18:12 +02:00
  • 4c2aeab75e
    Windows compile fixes Bram Matthys 2021-08-28 16:35:37 +02:00
  • 3a9a746577
    Update Windows makefile for Jansson library [skip ci] Bram Matthys 2021-08-28 14:34:08 +02:00
  • 75d427ea2f
    Skip tests on Debian 8. It's LTS is EOL and fails at running tests. We may want to scratch the build tests altogether for it actually.. Bram Matthys 2021-08-28 10:25:36 +02:00
  • 58711d5e5f
    Test BuildBot again Bram Matthys 2021-08-27 20:16:32 +02:00
  • 6ab77f30c8
    Test BuildBot Bram Matthys 2021-08-27 20:05:33 +02:00
  • 4cee60840a
    Compile oldcloak.so now that it was moved from R_MODULES to MODULES in the src/modules/Makefile Bram Matthys 2021-08-27 19:43:18 +02:00
  • 1b096b5146
    Use good ol suffix rules in Makefile so we can get rid of writing out every .o and .so rule. Writing each of them out manually is useless for all except 3 of the ~250 objects. Bram Matthys 2021-08-27 19:36:07 +02:00
  • 23e3d02d01
    Document geoip modules k4be 2021-08-27 15:13:04 +02:00
  • 211995f703
    geoip_maxmind: fix indentations k4be 2021-08-27 15:00:20 +02:00
  • 9c3d5dffb0
    Add libmaxminddb support k4be 2021-08-27 14:49:13 +02:00
  • b67e2e4fb0
    Check for duplicate callbacks earlier k4be 2021-08-27 12:20:54 +02:00
  • ca3bbfeadf
    Improve handling of missing files k4be 2021-08-27 12:20:36 +02:00
  • 1f72396442
    Initial version of geoip_csv k4be 2021-08-26 20:50:02 +02:00
  • 5a83c3cd4d
    geoip_classic: use more efficient calls k4be 2021-08-26 18:57:48 +02:00
  • da497f0a7a
    Delete CheckNull defines from modules now that it's defined in h.h k4be 2021-08-26 18:12:56 +02:00
  • bebeeac0db
    geoip_base: add configuration, check all users on load geoip_classic: change config format k4be 2021-08-26 18:08:56 +02:00
  • 52904ded83
    geoip_classic: add configuration k4be 2021-08-26 14:14:52 +02:00
  • d5f69982eb
    geoip_classic: ipv6 support k4be 2021-08-26 13:33:40 +02:00
  • 326c1f5e4a
    Mention extended-monitor in release notes k4be 2021-08-26 11:48:09 +02:00
  • 48604b6bd0
    geoip_base: support WEBIRC and remote users k4be 2021-08-26 11:47:01 +02:00
  • b15ddd760a
    Fix geoip library build and geoip_classic loading k4be 2021-08-26 11:25:26 +02:00
  • a6643fcd38
    Rename efunction handlers to match the convention k4be 2021-08-25 09:06:11 +02:00
  • f1bc9f37e1
    Change watch notification hook to callback. This fixes duplicate AWAY message with extended-monitor. k4be 2021-08-25 09:02:24 +02:00