Bram Matthys
a852b480d5
Add support for Argon2 password hashes (argon2id).
...
Also, make this the default for './unrealircd mkpasswd'.
The Windows version also works.. I just need to create a new library
package, will be done later today or tomorrow.
https://bugs.unrealircd.org/view.php?id=5116
2018-12-09 17:22:12 +01:00
Bram Matthys
7cd0bbbcb9
On second thought, for m_whox the priority is not important,
...
so set it to zero (0).
2018-12-08 15:29:02 +01:00
Bram Matthys
4bef3a5238
Nothing important. Update comments of place_host_ban() and add an explicit
...
'case BAN_ACT_SOFT_KILL', even though it is already handled by 'case default'.
2018-11-21 14:26:35 +01:00
Bram Matthys
4a0dcc5f13
Load antimixedutf8 from modules.optional.conf
2018-11-21 12:35:25 +01:00
Bram Matthys
9d5e46c43c
Set default score to 10. Prevents innocent Russians from getting caught :D
2018-11-18 20:07:09 +01:00
Bram Matthys
9f7b8997f2
Fix stupid bug for <4.2.0, reported by PeGaSuS
2018-11-18 19:52:54 +01:00
Bram Matthys
112c5d922e
Fixes for Cyrillic (false positives when speaking Russian, etc...)
2018-11-18 19:39:39 +01:00
Bram Matthys
b89bd719a7
Compatibility...
2018-11-18 18:50:45 +01:00
Bram Matthys
d0799a0f04
Build antimixedutf8
2018-11-18 18:28:28 +01:00
Vitor
4b5e950ffd
Update antimixedutf8.c ( #77 )
...
Fix credits in antimixedutf8.
2018-11-18 17:00:55 +01:00
Bram Matthys
793e827218
Add "anti mixed utf8" module (antimixedutf8):
...
This module will detect and stop spam containing of characters of
mixed "scripts", where some characters are in Latin script and other
characters are in Cyrillic.
This unusual behavior can be detected easily and action can be taken.
loadmodule "antimixedutf8"; /* or third/antimixedutf8 */
set {
antimixedutf8 {
score 5;
ban-action block;
ban-reason "Possible mixed character spam";
ban-time 4h; // For other types
};
};
2018-11-18 15:19:11 +01:00
Bram Matthys
02d69e7d83
Update release notes / version
2018-09-28 15:32:31 +02:00
Bram Matthys
2509482e02
Update UnrealIRCd version
2018-09-28 09:31:35 +02:00
Bram Matthys
02c5c8567a
Fix rare crash if deleting spamfilter by id that isn't a spamfilter.
2018-09-23 18:41:47 +02:00
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
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
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
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
73f69ccb11
Fix clang warning
2018-09-07 18:14:14 +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
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
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
93957fc7ee
blacklist module: also check the ip of WEBIRC users.
...
Suggested by jesopo (#0005098 ).
2018-06-11 08:53:34 +02:00
Bram Matthys
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
2018-06-11 08:22:29 +02:00
Bram Matthys
46a60ec795
Fix OOB read (1 byte to the left)
2018-06-11 08:05:14 +02:00
Bram Matthys
8b988622cd
Fix memory leak in channel mode +f
2018-06-11 08:04:10 +02:00
Bram Matthys
e456f621ef
Fix OOB read in extended bans handling.
...
(Bug caused by commit dd6f67a266 )
2018-06-11 08:02:35 +02:00
Bram Matthys
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..
2018-05-01 15:22:39 +02:00