Bram Matthys
497c3059ea
Fix to support existing deny link::mask syntax as well.
2021-06-18 16:05:50 +02:00
Ramiro Bou
5d6738b3e8
Allowing multiple masks in "deny link" blocks. ( #140 )
2021-06-18 15:13:50 +02:00
Bram Matthys
f0d00ff109
modules.optional.conf: elaborate a bit more on antimixedutf8 score.
...
And set the default there to 8 instead of 10, which should be OK.
2021-06-16 13:33:01 +02:00
Bram Matthys
89755ccec6
** UnrealIRCd 5.2.0.1 **
...
Note: existing 5.2.0 users on *NIX can upgrade without restart to
have the spamfilter fix by using:
./unrealircd hot-patch wrongspamfilter520
2021-06-16 08:25:07 +02:00
Bram Matthys
fb8c7a5a75
Fix weird behavior for users in pre-connect stage, eg showing
...
up in WHOIS. Reported by armyn and Valware.
2021-06-15 20:26:12 +02:00
Bram Matthys
8a655b8bb4
Fix spamfilter not working with type 'c'.
...
If you had a spamfilter on type 'c' but not on 'p' then it would not
trigger. Reported by armyn in https://bugs.unrealircd.org/view.php?id=5913
This probably went unnoticed because most people add spamfilters
on 'pc' (or even 'pcnN').
2021-06-15 20:01:58 +02:00
Bram Matthys
ce807c4e21
Fix Windows build
2021-06-14 10:22:46 +02:00
Bram Matthys
f7933a8d72
Set version to 5.2.0
2021-06-14 10:19:06 +02:00
Bram Matthys
de4c09eae4
** UnrealIRCd 5.2.0 **
2021-06-14 10:14:23 +02:00
Bram Matthys
c60b5f48c2
Update release notes
2021-06-14 09:43:04 +02:00
Bram Matthys
210bb2201e
Update release notes
...
[skip ci]
2021-06-14 09:08:44 +02:00
Bram Matthys
f8934a44c8
Update release notes
...
[skip ci]
2021-06-14 08:06:29 +02:00
Bram Matthys
572b349cbd
set::restrict-commands: new option exempt-tls which allows SSL/TLS users
...
to bypass a restriction.
2021-06-14 08:00:48 +02:00
Bram Matthys
389a971f96
Fix rapid autoconnect protection to work with >120 servers (:D)
2021-06-07 17:11:20 +02:00
Bram Matthys
36097fbdce
Fix SQUIT being sent back to where it came from.
...
Reported by Ariadne Conill in https://bugs.unrealircd.org/view.php?id=5906
This patch applies cleanly against 5.2.0-rc1 and 5.0.9.x.
Needs more testing, though, as fiddling with SQUIT code and the
various directions and far/near server distinctions can be tricky.
2021-06-07 10:22:23 +02:00
Bram Matthys
5237ebaabc
Fix crash in 5.2.0-rc1: don't call flood_limit_exceeded_log() if a remote
...
server causes the target flood protection limit to be hit for a target
user or a channel.
2021-06-07 07:48:03 +02:00
Bram Matthys
a22ac547c2
Some markup stuff
...
[skip ci]
2021-06-06 17:37:51 +02:00
Bram Matthys
cc490ca924
When using old set::anti-flood settings it is now a (big) warning instead
...
of an error. Also the warning will differ depending on whether you use
the defaults that were in example.conf for a long time, or some custom
settings.
It's not perfect but should help people with migrating from 5.0.x to 5.2.x.
2021-06-06 17:35:17 +02:00
Bram Matthys
3335eb3305
Fix a doc URL and a (now) confusing syntax example
...
[skip ci]
2021-06-06 17:09:31 +02:00
Bram Matthys
46550cf180
Update example conf with new anti-flood block.
...
Replace it with a reference to the documentation instead of trying
to include some or all of the defaults since 1) the block is huge
nowadays with all the settings, and 2) this way we can tweak the
defaults over time in newer versions rather than having people
change their configuration file.
2021-06-06 09:01:31 +02:00
Bram Matthys
3188b7be2d
Small code cleanup for two efuncs, so the names match.
2021-06-06 08:33:20 +02:00
Bram Matthys
20c20b3053
Try to explain to people that symmetric encryption works with keys (:D)
2021-06-05 19:20:11 +02:00
Bram Matthys
173af8c88c
** UnrealIRCd 5.2.0-rc1 **
2021-06-04 11:13:02 +02:00
Bram Matthys
020421a01c
Mention websocket type negotiation (Sec-WebSocket-Protocol) in release notes.
...
[skip ci]
2021-06-04 10:39:18 +02:00
Bram Matthys
f6c2b93c72
Show how many sockets/clients the server can handle in 'STATS S'.
...
Suggested by westor in https://bugs.unrealircd.org/view.php?id=5838
This also fixes a bug where output from modules for 'STATS S' was
shown twice (eg: modef-default-unsettime shown twice).
2021-06-04 10:09:28 +02:00
Bram Matthys
67deb7ec8c
UnrealIRCd script: restart is now identical to stop+start (:D)
2021-06-04 09:16:44 +02:00
Bram Matthys
25db0c73e4
Compiler too dumb to detect this properly...
2021-06-04 09:11:15 +02:00
Bram Matthys
6771c98d76
Move check for secret block to beginning of unrealdb_open() so we don't
...
end up with a 0 byte file due to an easy-to-avoid error later on.
2021-06-04 09:09:06 +02:00
Bram Matthys
148ea98307
Load chathistory module by default
2021-06-04 08:46:09 +02:00
Bram Matthys
a7f2406557
Add security-group "webirc" by default. This matches users who
...
connect through approved webirc gateways, the ones in
https://www.unrealircd.org/docs/WebIRC_block
2021-06-02 19:32:10 +02:00
Bram Matthys
e126d924a5
Somehow DEBUGMODE was turned on by last commit, now off again by default.
2021-06-02 19:31:05 +02:00
Bram Matthys
40bc3ef8cc
Bump version to 5.2.0-git. This is still work in progress.
...
Note that we are on the 'unreal52' branch now and have left 'unreal50'
2021-06-02 15:27:14 +02:00
Bram Matthys
d9b80d889f
Update curlinstall script for ./configure from cURL 7.77.0 and above.
2021-06-02 14:35:37 +02:00
Bram Matthys
d360ae7845
Add some markup in release notes
...
[skip ci]
2021-05-30 19:37:51 +02:00
Bram Matthys
517298007d
If no log { } block is present, we used to only log errors to ircd.log.
...
From now on we simply enable ALL logging to ircd.log, so also connects,
kills, and so on.
2021-05-30 19:35:52 +02:00
Bram Matthys
3eb0bc24ea
Add log::flags "flood" to log flood messages
2021-05-30 19:30:36 +02:00
Bram Matthys
f8a732747b
Get rid of mempool LOG_DBG which is never used
2021-05-30 19:27:35 +02:00
Bram Matthys
6358a2e5ff
Remove this check due to clang complaining. Whatever.
2021-05-30 19:11:50 +02:00
Bram Matthys
5acef88ceb
All violatons of target-flood, nick-flood, join-flood, away-flood,
...
invite-flood, knock-flood, max-concurrent-conversations are now
reported to opers with the snomask 'f' (flood).
2021-05-30 19:10:18 +02:00
Bram Matthys
cb604d6df0
Update release notes
...
[skip ci]
2021-05-30 18:49:18 +02:00
Bram Matthys
6f92233919
The set:anti-flood block has been redone so you can have different limits
...
for "unknown-users" and "known-users".
As a reminder, by default, "known-users" are users who are identified
to services OR are on an IP that has been connected for over 2 hours
in the past X days.
See https://www.unrealircd.org/docs/FAQ#new-anti-flood-block
for more information on the layout of the new block.
NOTE: This actual feature, the relase notes and the documentation
are all work in progress.
2021-05-30 18:45:27 +02:00
Bram Matthys
3076ed5a98
Make pretty_time_val() output like "2m30s" instead of "2 minutes 30 seconds".
...
I think people will understand both and it is currently rather long.
And a bit confusing too with all the spaces, easy to overlook something eg
in /STATS S where it is being used.
2021-05-30 14:50:27 +02:00
Bram Matthys
79ded54df1
Make join-flood use the new framework too, well... partially anyway.
2021-05-28 18:08:07 +02:00
Bram Matthys
36b9faa7cd
Code cleanup: move flood control to generic system
2021-05-28 17:59:39 +02:00
Bram Matthys
3e1f092afc
Rename FLD_* to CHFDL_* in chanmodes/floodprot.c, so it does
...
not clash with future stuff.
2021-05-28 15:48:54 +02:00
Bram Matthys
191990b881
Code cleanup: at some places "ClientUser" was used instead of "User".
2021-05-28 15:26:58 +02:00
Bram Matthys
d9c0397e25
Code cleanup: this zeroing isn't useful as we already memset.
2021-05-28 15:25:10 +02:00
Bram Matthys
da519ae04a
Get rid of duplicate checks for anti-flood.
...
Sorry this is too much effort and i think admins should be smart
enough to figure this out themselves.
2021-05-28 14:52:09 +02:00
Bram Matthys
e1e718f982
Update release notes
...
[skip ci]
2021-05-28 10:38:32 +02:00
Bram Matthys
78ca5ecc3e
Add "draft/bot" message tag to messages from +B clients.
...
As mentioned in https://ircv3.net/specs/extensions/bot-mode
2021-05-28 10:36:38 +02:00