Bram Matthys
b4b6ebbca3
Similarly, use sptr/acptr to conform to current style.
2018-09-22 12:44:03 +02:00
Bram Matthys
75e2ed38e2
Some re-indenting / codestyle changes, nothing fancy, mostly whitespace
...
and brackets.
2018-09-22 12:42:14 +02:00
Bram Matthys
1feeb86cd3
Fix crash bug in m_whox.
2018-09-22 11:38:08 +02:00
Bram Matthys
d56eddd69a
'timedban' and 'nocodes' were (still) marked 3rd party, even though
...
they are official modules.
2018-09-21 08:58:44 +02:00
Bram Matthys
7d38909126
m_whox: fix -Wparentheses warning
2018-09-21 08:50:04 +02:00
Bram Matthys
fb0148a44a
New set::ssl::options::ciphersuites option for TLSv1.3.
...
Since OpenSSL decided not to use the regular ciphers but make this a
separate option, we now make this a separate option as well.
So there is ::ciphers for <=TLSv1.2 and ::ciphersuites for TLSv1.3
More documentation will follow.
Patch from 'i' in https://bugs.unrealircd.org/view.php?id=5149
2018-09-20 20:14:18 +02:00
Bram Matthys
c4eac1df0e
Add initial version of m_whox from 'i'. This is to get it tested
...
by the buildfarm / autotesters. More commits will follow.
2018-09-20 20:04:29 +02:00
Bram Matthys
30da2ae553
Module devs: Add priorities for command overrides.
...
Use: CmdoverrideAddEx(module, name, priority, function)
Suggested by Gottem in https://bugs.unrealircd.org/view.php?id=5143
..and needed by some upcoming stuff.
2018-09-20 20:01:39 +02:00
Shane Synan
dba2081641
m_message: Also strip monospace/strikethrough
...
Add the ASCII character codes for strikethrough (0x1E, 30) and
monospace (0x11, 17) to the _StripControlCodes function. This
addresses those formatting characters not being filtered when the
"nocodes" module is loaded.
See https://modern.ircdocs.horse/formatting.html#characters
2018-09-15 16:25:05 -05:00
Bram Matthys
3f7ec605dd
The away-notify CAP did not send AWAY status upon join, which is required.
...
Reported by digitalcircuit in https://bugs.unrealircd.org/view.php?id=5144
2018-09-15 08:46:18 +02:00
Bram Matthys
57a008b808
UnrealIRCd 4.0.19-rc2
2018-09-14 09:51:25 +02:00
Bram Matthys
402958a3c6
Allow slashes in vhost/chghost/sethost/.. (but not through DNS)
2018-09-11 20:25:32 +02:00
Bram Matthys
05745124f1
Fix tld::options::ssl not detecting remote SSL users.
...
Reported by HeXiLeD in https://bugs.unrealircd.org/view.php?id=4952
2018-09-10 18:33:40 +02:00
Bram Matthys
a4e076c08c
Allow ASCII 0xa0 in channels / Fix truncated channel name.
...
Reported by capitaine in https://bugs.unrealircd.org/view.php?id=4538
2018-09-10 08:38:41 +02:00
Bram Matthys
d610dfbe9f
Duplicate error messages when trying to set channel modes +O/+P.
...
Reported by FwdInTime in https://bugs.unrealircd.org/view.php?id=4840
2018-09-09 18:03:54 +02:00
Bram Matthys
5445a009a3
Fix bug preventing (insecure) IRCops from overriding +z.
...
Reported by capitaine in https://bugs.unrealircd.org/view.php?id=5134
2018-09-09 17:49:32 +02:00
Bram Matthys
f876983cb3
Fix bug where halfops don't see users JOIN if chmode +D is set.
...
Reported by The_Myth in https://bugs.unrealircd.org/view.php?id=5123
2018-09-09 17:15:49 +02:00
Bram Matthys
681640024a
Fix permission issues with minimal IRCOps.
...
Reported by capitaine in https://bugs.unrealircd.org/view.php?id=5130
2018-09-09 17:01:35 +02:00
Bram Matthys
2935385bf2
allow::options::sasl has been removed. Use the new and more flexible
...
require sasl { } block instead.
2018-09-09 09:49:03 +02:00
Bram Matthys
bc139098c9
UnrealIRCd 4.0.19-rc1
...
(The actual release will be ~24hrs from now)
2018-09-07 18:20:04 +02:00
Bram Matthys
73f69ccb11
Fix clang warning
2018-09-07 18:14:14 +02:00
Bram Matthys
9ed6a9ae79
Found some more for #3973
2018-09-07 12:07:09 +02:00
Bram Matthys
ab321f632b
For outgoing server connection attempts there was no message to ircops
...
nor to the log about connection or handshake timeouts. Now there is.
2018-09-07 11:59:52 +02:00
Bram Matthys
bd19e9c87a
Log linking attempts and errors. Also report them to IRCOps in an uniform way.
...
Reported by Mr_Smoke in https://bugs.unrealircd.org/view.php?id=3973
2018-09-07 11:59:12 +02:00
Bram Matthys
8d05951298
Silence a warning
2018-09-07 10:50:55 +02:00
Bram Matthys
858aaa774a
'SVSMODE Nick -t' does not remove vhost (while MODE 'MODE Nick -t' does)
...
Reported by The_Myth in https://bugs.unrealircd.org/view.php?id=5111
2018-09-07 10:50:00 +02:00
Bram Matthys
aa3e66bb5b
We now use standard formatted messages for all K-Lines, G-Lines and
...
any other bans that will cause the user to be disconnected.
For technical details see the banned_client() function.
It's likely I made some mistakes somewhere => testing required!!
2018-09-05 16:24:08 +02:00
Bram Matthys
107d8ccf6a
* A new require sasl { } block which allows you to force users on the
...
specified hostmask to use SASL. Any unauthenticated users matching
the specified hostmask are are rejected.
See https://www.unrealircd.org/docs/Require_sasl_block
Feature suggestion: https://bugs.unrealircd.org/view.php?id=5107
2018-09-05 11:34:48 +02:00
Bram Matthys
c4760cc83c
Add more soft actions. The full list is available on
...
https://www.unrealircd.org/docs/Actions
Also, some minor cleanups / simplifications.
2018-09-05 09:39:44 +02:00
Bram Matthys
c8c0199095
Fix potential bug if there are both soft and hard tkl's matching the user.
...
Add soft-shun. Use IsLoggedIn() to detect logged in to services status
rather than repeating the more elaborate if ... isdigit...svid.. etc.. stuff.
2018-09-04 21:08:48 +02:00
Bram Matthys
aa45ce11cc
..and the necessary stuff for softbans in the blacklist module.
2018-09-03 20:18:23 +02:00
Bram Matthys
b2be1009a0
Second parameter to find_tkline_match() can now be used to skip
...
soft ban checking. Necessary for blacklist module.
2018-09-03 19:55:48 +02:00
Bram Matthys
1d42ccd973
DNSBL: Fix possible problem where multiple blacklists are not processed.
...
Also fix a memory leak triggered in some circumstances.
2018-09-03 19:31:27 +02:00
Bram Matthys
1eb09484f1
Add 'soft-kline' and 'soft-gline' to ban actions (more information soon)
...
If you don't know what ban actions are, they are listed here:
https://www.unrealircd.org/docs/Actions
2018-09-03 17:24:23 +02:00
Bram Matthys
5f116cc64e
Part one of soft gline/kline (more information will follow)
2018-09-03 17:07:22 +02:00
Bram Matthys
2537fb5e1c
extbans/textban was not working properly on words with dots
...
Reported by The_Myth in https://bugs.unrealircd.org/view.php?id=4909
2018-09-02 21:55:57 +02:00
Bram Matthys
d3dba63f56
AntiRandom: The module will now (by default) exempt WEBIRC gateways
...
from antirandom checking because they frequently cause false positives.
This new behavior can be disabled via:
set { antirandom { except-webirc no; }; };
Suggested by The_Myth in https://bugs.unrealircd.org/view.php?id=5007
2018-09-02 12:34:03 +02:00
Bram Matthys
5f597c0b08
Sync 'webirc' status of a client with the rest of the network (via ModData).
...
Also necessary for upcoming commit..
2018-09-02 12:16:45 +02:00
Bram Matthys
cab8ea7066
* Potential crash issue when concurrently checking DNSBL for the WEBIRC
...
gateway and the spoofed host.
2018-09-02 12:16:15 +02:00
Bram Matthys
883a5fe413
* The except throttle { } block now also overrides any limitations from
...
set::max-unknown-connection-per-ip. Useful for WEBIRC/cgiirc gateways.
Reported by KnuX https://bugs.unrealircd.org/view.php?id=5088
2018-09-02 11:40:15 +02:00
Bram Matthys
b1b73e0e56
* Localhost connections are considered secure, so these can be used even
...
if you have a plaintext-policy of 'deny' or 'warn'. (This was already
the case for servers, but now also for users and opers)
https://bugs.unrealircd.org/view.php?id=5108
2018-09-02 11:24:19 +02:00
Bram Matthys
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..
2018-09-01 20:31:14 +02:00
Bram Matthys
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
2018-07-15 17:47:37 +02:00
Bram Matthys
1f4fcb9407
Set version to 4.0.19-dev
2018-07-15 17:40:18 +02:00
Bram Matthys
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.
2018-07-15 14:49:24 +02:00
Bram Matthys
25f08d50ac
UnrealIRCd 4.0.18
2018-06-23 16:06:12 +02:00
Bram Matthys
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 .
2018-06-23 08:16:04 +02:00
Bram Matthys
f9f03190f8
** 4.0.18-rc2 **
2018-06-16 18:22:31 +02:00
Bram Matthys
0961b95ba9
Move setting of curves (duh)
2018-06-16 17:58:15 +02:00
Bram Matthys
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.
2018-06-16 08:21:13 +02:00