Commit graph

  • d86d4c7c71
    Add new option: blacklist-module "<modulename>"; This is meant to blacklist modules that are in modules.default.conf (or elsewhere). The 'loadmodule' line for any such module is effective ignored. https://bugs.unrealircd.org/view.php?id=5118 Note: I had to move the loadmodule code. Previously this was done as each config file (include) was loaded into memory. Now it is done after *ALL* config files have been read into memory. This shouldn't matter for module devs, though.. Bram Matthys 2018-09-01 20:31:14 +0200
  • cf97de890a
    These should be marked extern. Bram Matthys 2018-09-01 19:37:25 +0200
  • c2f9df9e48
    Update release notes (no we're not anywhere near a release at this point) Bram Matthys 2018-07-15 18:30:52 +0200
  • 26c194d8db
    Update paths. Again. Slashes in my editor are special so a replace with \u becomes.. ah well.. long story. Bram Matthys 2018-07-15 18:19:11 +0200
  • 4900fb01df
    Remove Visual Studio 2012 leftovers. [skip ci] Bram Matthys 2018-07-15 18:11:49 +0200
  • 54a6e2f61f
    Update build command for vs2017 with new deps Bram Matthys 2018-07-15 18:11:00 +0200
  • 8fc4f68bcc
    Make AppVeyor only build VS2017 version (and update library deps) Bram Matthys 2018-07-15 17:58:07 +0200
  • 8150c6c237
    Change default library paths for Visual Studio 2017 lib build. Will upload the dependencies in a couple of minutes to: https://www.unrealircd.org/docs/Windows_external_libraries_for_UnrealIRCd Bram Matthys 2018-07-15 17:47:37 +0200
  • 1f4fcb9407
    Set version to 4.0.19-dev Bram Matthys 2018-07-15 17:40:18 +0200
  • 3bd83829e3
    Work towards moving to Visual Studio 2017. Compiling already works (this is already tested by AppVeyor for quite a while), but the installer in git required VS 2015. The actual releases up to now required VS 2012. To be more precise, either VS 2015 Redist or VS 2017 Redist is enough, the x86 version that is, as they are binary compatible and both provide "version 14". So if one of those is installed, the installer just runs. If neither of these is installed we tell the user to install the VS 2017 Redist package, not mentioning 2015 as it would only cause confusion. Bram Matthys 2018-07-15 14:49:24 +0200
  • f3b9753460
    Fix compile problem with clang if -Werror is active. (introduced by previous commit, 98709beee2) Bram Matthys 2018-07-08 14:52:43 +0200
  • 98709beee2
    ./configure: -Wno-format-truncation Bram Matthys 2018-07-08 13:35:53 +0200
  • bc8ac7c7f6
    ./Config: For remote includes, suggest /usr when /usr/bin/curl-config is found. This fixes an issue on Ubuntu 18 where the library is stored in /usr/include/x86_64-linux-gnu and ./Config doesn't detect it and thus reverts to using local-curl. Bram Matthys 2018-07-08 13:31:23 +0200
  • 25f08d50ac
    UnrealIRCd 4.0.18 Bram Matthys 2018-06-23 16:06:12 +0200
  • c4d132c8f9
    No longer permit 'require-sasl' or 'require-ssl', as introduced in rcX, as it would be confusing with the current functionality. Use 'sasl' or 'ssl' instead. See bug #5107. Bram Matthys 2018-06-23 08:16:04 +0200
  • 05dcf18ea6
    When importing ./Config settings from a previous UnrealIRCd, with curl enabled but without system curl, the build could fail with an libCURL configure error. This is is because it imported the CURLDIR but it referred to an old UnrealIRCd directory. Reported by The_Myth (#5106) Bram Matthys 2018-06-23 08:13:02 +0200
  • f9f03190f8
    ** 4.0.18-rc2 ** Bram Matthys 2018-06-16 18:22:31 +0200
  • 14eda9638d
    curl-ca-bundle.crt: update to latest mozilla (Wed Mar 7 04:12:06 2018 GMT) [skip ci] Bram Matthys 2018-06-16 18:14:06 +0200
  • 0961b95ba9
    Move setting of curves (duh) Bram Matthys 2018-06-16 17:58:15 +0200
  • 52afbeee50
    Travis-CI: cipherscan: it helps if you scan on the right port.. Bram Matthys 2018-06-16 09:19:03 +0200
  • da98080860
    Travis-CI: add cipherscan test TODO: fail if certain criterea are not met Bram Matthys 2018-06-16 08:40:39 +0200
  • 49bfb1e782
    Fix ECDHE not working on 4.0.18-rc1 with older OpenSSL versions. For example Ubuntu 16.04 LTS with OpenSSL 1.0.2g. Especially in strict config it would error 'No shared ciphers'. Had to do with #if(def) ordering. SSL_CTX_set_ecdh_auto() is still required in 1.0.x even if SSL_CTX_set1_curves_list() is used. Understandable. Bram Matthys 2018-06-16 08:21:13 +0200
  • 18b793db9a
    UnrealIRCd 4.0.18-rc1 Bram Matthys 2018-06-11 10:46:44 +0200
  • a236eb0fc1
    Update release notes [skip ci] Bram Matthys 2018-06-11 10:17:41 +0200
  • 3aec69192b
    Build with -Werror except on macOS Bram Matthys 2018-06-11 10:11:16 +0200
  • 5461d24124
    Update openssl test to 1.1.1-pre7. [skip ci] Bram Matthys 2018-06-11 09:57:49 +0200
  • 93957fc7ee
    blacklist module: also check the ip of WEBIRC users. Suggested by jesopo (#0005098). Bram Matthys 2018-06-11 08:53:34 +0200
  • cd6d7a2bb7
    Add allow::options::sasl (or require-sasl) to require SASL authentication as suggested in https://bugs.unrealircd.org/view.php?id=5098 The allow block documentation has been updated, including an example at the end of the page - https://www.unrealircd.org/docs/Allow_block Bram Matthys 2018-06-11 08:22:29 +0200
  • 46a60ec795
    Fix OOB read (1 byte to the left) Bram Matthys 2018-06-11 08:05:14 +0200
  • ad63a499e1
    Remove invalid globally declared variables (should be externs). Bram Matthys 2018-06-11 08:04:37 +0200
  • 8b988622cd
    Fix memory leak in channel mode +f Bram Matthys 2018-06-11 08:04:10 +0200
  • e456f621ef
    Fix OOB read in extended bans handling. (Bug caused by commit dd6f67a266) Bram Matthys 2018-06-11 08:02:35 +0200
  • 21af7689c0
    Fix memory leak in dead socket handling. Bram Matthys 2018-06-11 08:02:07 +0200
  • af46d569f6
    Updated Turkish translations from Serkan Sepetçi. Bram Matthys 2018-06-09 15:08:00 +0200
  • aebf9691bd
    Convert example.tr.conf to UTF8 Bram Matthys 2018-06-09 15:07:03 +0200
  • 362033b73f
    Drop -xxxbits suffix in on-connect message (and elsewhere). Change from this TLSv1.2 and TLSv1.3 message: *** You are connected with TLSv1.2-ECDHE-RSA-AES256-GCM-SHA384-256bits *** You are connected with TLSv1.3-TLS_AES_256_GCM_SHA384-256bits To this: *** You are connected with TLSv1.2-ECDHE-RSA-AES256-GCM-SHA384 *** You are connected with TLSv1.3-TLS_AES_256_GCM_SHA384 Since: 1) those bits are redundant (AES 256 is already mentioned), and 2) Bits are also not an universal method to measure strength across algorithms (think: elliptic curve). Bram Matthys 2018-06-04 19:45:40 +0200
  • 686fc1b03d
    Convert /HELPOP translations to UTF-8. Bram Matthys 2018-05-25 12:49:01 +0200
  • 8a73b96aee
    Revert 39e2d88f6c Bram Matthys 2018-05-18 18:57:43 +0200
  • 2be4668d9b
    Travis-CI: 'apt-get update' is required Bram Matthys 2018-05-18 18:56:24 +0200
  • 39e2d88f6c
    Fix Travis-CI Bram Matthys 2018-05-18 18:52:40 +0200
  • b597999a34
    Update release notes Bram Matthys 2018-05-09 22:44:04 +0200
  • 5e8334a9be
    Use "macOS" in README rather than OS X. [ci skip] Bram Matthys 2018-05-02 19:53:09 +0200
  • 8ac5a49d9d
    Travis-CI: Swap gcc and clang in initial build matrix, simplifying things for MacOS and making the LibreSSL/OpenSSL builds use clang. Bram Matthys 2018-05-02 19:23:39 +0200
  • 85cfe2a779
    Fix travis-ci Bram Matthys 2018-05-02 19:19:08 +0200
  • d9c30aaeb8
    Further reduce build matrix, since gcc links to clang on OS X anyway Bram Matthys 2018-05-02 19:15:11 +0200
  • 53f7ee81b1
    Attempt to reduce build matrix Bram Matthys 2018-05-02 19:10:14 +0200
  • 717be3afcb
    Older OpenSSL versions (1.0.2) need an explicit -fPIC... wow. Bram Matthys 2018-05-02 16:49:41 +0200
  • 201159c630
    I forgot.. openssl is special :D Bram Matthys 2018-05-02 16:12:10 +0200
  • cb4be97bdf
    Add various libressl & openssl versions to build tests. Bram Matthys 2018-05-02 15:55:04 +0200
  • 3b0cb5c2a9
    .. Bram Matthys 2018-05-02 15:37:08 +0200
  • 53c1ea6226
    Add libressl-27 to build test matrix. Bram Matthys 2018-05-02 15:30:43 +0200
  • 923619ba30
    Merge branch 'unreal40' of github.com:unrealircd/unrealircd into unreal40 Bram Matthys 2018-05-01 15:23:26 +0200
  • 8efcd684d3
    Fix /SPAMFILTER add having the regex syntax check backwards. (Not too surprising when add is 0 and delete is 1) Not fatal, as error was still handled & send, but it went to all opers instead of just the one person adding it.. Bram Matthys 2018-05-01 15:20:00 +0200
  • 83be1571ef
    Install correct gems on OS X environments Travis McArthur 2018-04-28 20:01:02 -0700
  • 49394ed346
    Update run-tests Travis McArthur 2018-04-28 19:23:02 -0700
  • 04b3dd24f8
    Set default ECDH(E) curves to be X25519:secp521r1:secp384r1:prime256v1 with the following remarks: * We only set these curves if SSL_CTX_set1_curves_list() is available (OpenSSL 1.0.2 or later, LibreSSL 2.5.1 or later) * The X25519 curve is only added if it is available (OpenSSL 1.1.0+) Bram Matthys 2018-04-27 20:08:47 +0200
  • fa9bdcd7df
    Move detection of SSL_CTX_set1_curves_list to autoconf (CHECK_SSL_CTX_SET1_CURVES_LIST) Bram Matthys 2018-04-27 19:27:19 +0200
  • 3809168992
    Improve comments in source code to better explain what's going on. ..and so nobody makes the same mistake. Bram Matthys 2018-04-27 18:10:17 +0200
  • a6a4196af9
    Add set::ssl::ecdh-curve so you can force one or more ECDH(E) curves. This requires OpenSSL 1.0.2 or newer (released on 22 Jan 2015). Also fix a bug with OpenSSL 1.1.0+ where - due to removal of an API function - we accidentally forced curve P-256 rather than automatic selection. That sucks because the automatic selection (since 1.0.2+) allows supporting multiple curves and selecting the highest one. Bram Matthys 2018-04-27 17:59:53 +0200
  • 3ea67268fc
    Travis-CI: OS X: try to make system-curl work Bram Matthys 2018-04-26 15:17:09 +0200
  • df19b65a78
    Travis-CI: system-cares + system-curl test wasn't run properly because only the first argument was passed to the select-config script. Also add 'set -x' in select-config for easier debugging. Bram Matthys 2018-04-26 12:47:12 +0200
  • 66b2a036d8
    Travis-CI: Of course, OS X doesn't have 'ldd' *sigh* Bram Matthys 2018-04-26 10:58:16 +0200
  • 94c718dc3d
    Travis-CI: show 'ldd' output in build logs Bram Matthys 2018-04-26 10:36:23 +0200
  • def588917a
    Travis-CI OS X improvements: * Enable system curl, system c-ares and local curl tests * Disable IRC test framework for now Bram Matthys 2018-04-26 09:52:30 +0200
  • 40b0a5a9b2
    Travis-CI: OS X build test attempt 101 Bram Matthys 2018-04-26 09:17:11 +0200
  • f615b6fa54
    Travis-CI: more adjustments for OSX Bram Matthys 2018-04-25 21:55:08 +0200
  • 64367d5d4c
    OSX: try find right packages to run test framework Bram Matthys 2018-04-25 21:40:57 +0200
  • 568a808dbe
    temporarily disable -Werror to see OS X warnings Bram Matthys 2018-04-25 21:21:13 +0200
  • d1d87d4d42
    Apparently you need to use -Wl,-rpath,xx and not -Wl,-rpath=xx. Fix OSX compile problem? Bram Matthys 2018-04-25 21:09:01 +0200
  • 7fe86ac1d8
    Travis-CI: Show config.log on failure to trace osx build issue Bram Matthys 2018-04-25 20:57:31 +0200
  • 3a97bc29da
    Fix bug 2 due to code cleanup yesterday... Bram Matthys 2018-04-23 08:50:34 +0200
  • c342b432d1
    OpenSSL detection: also check /usr/local/opt/openssl Bram Matthys 2018-04-22 20:01:50 +0200
  • 34ae2cb0db
    OS X build-test: +brew install openssl Bram Matthys 2018-04-22 19:49:43 +0200
  • 47e2975f01
    Fix crash number 1 due to latest changes (TOPIC). Bram Matthys 2018-04-22 19:38:29 +0200
  • 52b785cf4e
    Let's build (and fail) OS X via Travis-CI. Bram Matthys 2018-04-22 18:58:41 +0200
  • 47bfcf7587
    -Wno-format-zero-length Bram Matthys 2018-04-22 18:58:30 +0200
  • d8c6201fbb
    Enable -Werror (via --enable-werror) in build tests Bram Matthys 2018-04-22 18:36:49 +0200
  • 821a0464c7
    Add --with-werror to enable -Werror Bram Matthys 2018-04-22 18:35:50 +0200
  • 31409b19a5
    Removed useless/unused * (pointer dereference) in increment Bram Matthys 2018-04-22 18:06:10 +0200
  • 255223b308
    -Wno-invalid-source-encoding: +dnl This is purely for charsys.c... I like it so we can easily read +dnl this for non-utf8. We can remove it once we ditch non-utf8 some day +dnl of course, or decide to ignore me and encode them. Bram Matthys 2018-04-22 17:44:11 +0200
  • ecf260dfc2
    Only use -Wl,-export-dynamic while linking unrealircd or modules. Bram Matthys 2018-04-22 17:36:04 +0200
  • 1c2da25573
    Handle return value for truncate() - only for debugging anyway.. Bram Matthys 2018-04-22 17:35:36 +0200
  • 33db0bf73e
    Get rid of a number of clang warnings. Bram Matthys 2018-04-22 17:06:31 +0200
  • f535860670
    Make check for -fno-strict-aliasing / -Wno-pointer-sign work with clang. Bram Matthys 2018-04-22 16:50:51 +0200
  • 9e2f16db9e
    warn_unused was a good idea once, but doing more harm than good at this point. Too many useless warnings and no easy way to ignore the result. Bram Matthys 2018-04-22 16:11:27 +0200
  • 992bed3c7a
    Similar to previous commit, change: alter HOOKTYPE_MODE_DEOP function: -int hooktype_mode_deop(aClient *sptr, aClient *victim, aChannel *chptr, u_int what, char modechar, long my_access, char **badmode); +int hooktype_mode_deop(aClient *sptr, aClient *victim, aChannel *chptr, u_int what, int modechar, long my_access, char **badmode); .. this to get rid of a compiler warning and potential problem. Bram Matthys 2018-04-22 16:09:10 +0200
  • 4f0f8478cc
    Update HOOKTYPE_CHANNEL_SYNCED to get rid of compiler warning. Can't safely use shorts with variable argument functions I think, or maybe only with reduced type checking which is not what we want. -void hooktype_channel_synced(aChannel *chptr, unsigned short merge, unsigned short removetheirs, unsigned short nomode); +void hooktype_channel_synced(aChannel *chptr, int merge, int removetheirs, int nomode); Bram Matthys 2018-04-22 16:02:13 +0200
  • bb4758f321
    Add strldup() and safestrldup(), reducing ridiculous amount of code in m_pass and m_topic.c when duplicating strings with a length limit. +/* strldup(str,max) copies a string and ensures the new buffer + * is at most 'max' size, including nul byte. The syntax is pretty + * much identical to strlcpy() except that the buffer is newly + * allocated. + * If you wonder why not use strndup() instead? + * I feel that mixing code with strlcpy() and strndup() would be + * rather confusing since strlcpy() assumes buffer size including + * the nul byte and strndup() assumes without the nul byte and + * will write one character extra. Hence this strldup(). -- Syzop + */ Bram Matthys 2018-04-22 15:40:21 +0200
  • 6990b7d9a6
    Mass-replace MyMalloc with MyMallocEx, even if it's unnecessary. Replace century-old custom functions with C standard funcs, such as AllocCpy -> strdup. Bram Matthys 2018-04-22 14:55:07 +0200
  • 61f40a59a7
    Remove unused events.h Bram Matthys 2018-04-22 14:36:21 +0200
  • 9a1a4f13a4
    Remove sjoin.h (was included but contents were unused) Bram Matthys 2018-04-22 14:32:28 +0200
  • d5d446c38d
    More code cleanups to get rid of useless casts and other useless structures such as: - lp->value.cp = (char *)MyMalloc(strlen(mask) + 1); - (void)strcpy(lp->value.cp, mask); + lp->value.cp = strdup(mask); Bram Matthys 2018-04-22 14:28:22 +0200
  • 680715b1b5
    Partially rewrite send_channel_modes() (+helper functions). Although this is only used by servers lacking SJOIN/SJOIN3 so is of limited use. Still.. got rid of the most ridiculous casts. Bram Matthys 2018-04-22 13:51:37 +0200
  • 147ae3012b
    Get rid of about a million (now) useless casts and some re-indenting. Bram Matthys 2018-04-22 10:29:36 +0200
  • 8d7d6d7c4c
    Get rid of compiler warning Bram Matthys 2018-04-22 09:50:13 +0200
  • 6ef9a83c97
    Surely this can use the generic #include "unrealircd.h" instead? Avoids sendto_realops() warning. Bram Matthys 2018-04-22 09:48:12 +0200
  • 5044013dd5
    Make m_ircops use RPL_TEXT rather than conflicting numeric. The output of /IRCOPS isn't meant to be client parsable anyway (which can be seen by the use of bold text and such), so using a generic numeric rather than wasting two others seems sensible. Reported by The_Myth in #5066. Bram Matthys 2018-04-22 09:42:14 +0200
  • a7bcb637b7
    Fix small memory leak if not passing the weak cipher config test (DES/3DES..) Reported by Sky-Dancer (#5078). Bram Matthys 2018-04-22 09:37:06 +0200
  • a235b35633
    This code can be a lot simpler, duh. Reported by Sky-Dancer (#5078). Bram Matthys 2018-04-22 09:35:05 +0200
  • 04ca88cc1e
    Fix bug in blacklist module with multiple replies for the same IP. We only parsed the first A record reply, so if the blacklist returned multiple results /and/ you would not have all those types in your blacklist { } block then you could miss a hit (false negative). Bram Matthys 2018-04-22 09:04:14 +0200