Bram Matthys
0bbb935a32
Rename CHECKPROTO() to CHECKSERVERPROTO() to avoid mixing up server caps
...
and client caps in the future.
2019-12-06 08:32:36 +01:00
Bram Matthys
a0b0526556
CAP LIST wasn't outputting anything. Reported by Koragg in
...
https://bugs.unrealircd.org/view.php?id=5483
2019-12-06 08:29:53 +01:00
Bram Matthys
d9166bd62d
Disable address sanitizer (ASan) now that we are preparing for 5.0.0 stable.
...
This can still be enabled during ./Config by answering to the last question:
--with-asan
But it is no longer enabled by default since it causes a slowdown of X and
increases memory by a factor Y.
2019-12-05 20:16:44 +01:00
Bram Matthys
bf61973a6d
Print a warning when changin me::name that this change is not effective
...
until you restart the server.
Yeah it's really too much hassle atm to make that particular setting
/rehash'able, this will probably never change.
Fortunately changing that is rather rare. At least printing the
warning should help those users doing it.
2019-12-01 19:06:22 +01:00
Bram Matthys
12af48a433
Typo in release notes, reported by Koragg
2019-12-01 15:02:40 +01:00
Bram Matthys
28539d41e0
Fix incorrect prototype for HOOKTYPE_TOPIC, has mtags.
2019-11-29 12:23:13 +01:00
Bram Matthys
35dd6c66b1
Fix doxygen documentation for sendto_channel
2019-11-29 12:21:58 +01:00
Bram Matthys
e5f9061636
Update Config.header a bit and release UnrealIRCd 5.0.0-rc2.
2019-11-29 08:18:50 +01:00
Bram Matthys
0f7f872a97
Update release notes and set version to 5.0.0-rc2. The actual public
...
release will probably be on Friday, though.
2019-11-27 19:37:38 +01:00
Bram Matthys
7869c31ea5
Add the extras/doxygen directory.
...
Command to generate is: doxygen extras/doxygen/Doxyfile
Will publish this "soon"... of course it's not 100% complete but it's quite good.
2019-11-27 16:53:49 +01:00
Bram Matthys
1576f8df23
Warn on some limitations of the @if stuff:
...
* Cannot use include within an @if
..but you can just use an include and then within that file use
an if, to work around it.
* Cannot use loadmodule within an @if
For both this is because include & loadmodule are processed before
the rest. I think most people will be fine with those restrictions,
though.
2019-11-27 16:45:39 +01:00
Bram Matthys
540e7552f9
Fix crash when using conditional configuration (@if $var == ....)
...
reported in https://bugs.unrealircd.org/view.php?id=5281
It was not removing parts properly if an if didn't match,
leading to a use-after-free bug on-boot (or on rehash).
In the process I renamed config_entry_free to config_entry_free_all
since that is what it does. And I created a new config_entry_free(ce)
to free only 'ce' stuff... which is what we want from the
preprocessor.
2019-11-27 15:44:48 +01:00
Bram Matthys
1a1b9ddada
If you changed listen::ip and rehashed it would not apply those changes
...
if you were switching from a IP-specific listener to a * (all) listener.
Reported by vectr0n in https://bugs.unrealircd.org/view.php?id=5235
2019-11-27 13:25:30 +01:00
Bram Matthys
7fe3407508
Clean up whitespace
2019-11-27 13:10:06 +01:00
Bram Matthys
05f0968ccd
Test the various set::tls (and ::tls-options) files for existence
...
so we properly error and exit/fail when booting.
Reported in https://bugs.unrealircd.org/view.php?id=5350
2019-11-27 13:06:02 +01:00
Bram Matthys
1e3d726df7
Setting user mode +q now requires the self:unkickablemode permission.
...
This is included in the *-with-override operclasses.
2019-11-27 12:35:58 +01:00
Bram Matthys
f6515131aa
Handle timed bans in combination with forward, eg: +b ~t:10:~f:#chan:*!*@host
2019-11-27 12:11:26 +01:00
Bram Matthys
0b8d435232
+L can now be set by +o (or higher) instead of requiring +q (channel owner).
...
Also, update helpop on the new meaning of +L: if unable to join, then
the user is forwarded to the specified channel.
2019-11-27 12:00:57 +01:00
Bram Matthys
ae30978680
Fix numeric 470, is now:
...
:irc.test.net 470 nickname #originalchannel #redirect :[Link] Cannot join channel #originalchannel (you are banned) -- transferring you to #redirect
Previously this was completely incorrect:
:irc.test.net 470 nickname [Link] Cannot join channel ..etc...
(yeah even lacking a colon)
2019-11-27 11:38:48 +01:00
Bram Matthys
332ca4898c
Don't send CANNOTSENDTOCHAN (404) twice for dropped repeats in +f.
2019-11-27 10:33:51 +01:00
Bram Matthys
a8534a6063
Add new function kick_user() for use by modules. This so KICKs are
...
done in a consistent way.
2019-11-27 10:33:08 +01:00
Bram Matthys
5d4c474472
Clean up KICK a bit, necessary for next commit which is a bug fix
2019-11-27 10:01:21 +01:00
Bram Matthys
1c3eff4232
Update KNOCK to be sent across servers. This will cause double notices
...
if you are running a mixed U4 and U5 network, but it solves the situation
where a knock-flood is only detected locally. Since KNOCK usage isn't
that common and flooding is worse than double notices during the
transition period, I went with this change..
2019-11-27 09:56:39 +01:00
Bram Matthys
a0a8b6b4eb
Fix alias type channel not working properly. Note that the channel needs
...
to exist and needs to be -n now.
Previously the logic was the wrong way around which made it message
through +n channels and not work if you were actually in the channel.
Fun.
2019-11-24 20:23:34 +01:00
Bram Matthys
72e0f1a8fb
Don't send CANNOTSENDTOCHAN (404) if KICK'ed by floodprot
2019-11-22 12:03:38 +01:00
Bram Matthys
48802cd9f3
Fix no error shown on PRIVMSG to +n channel (message is blocked, though)
2019-11-22 10:48:51 +01:00
Bram Matthys
58bb93174c
Fix memory leak on 'DNS c' (clear DNS cache)
2019-11-20 16:09:59 +01:00
Bram Matthys
43edef1ad0
Free all set options, some were missing before
...
(now follows struct order)
2019-11-20 16:07:07 +01:00
Bram Matthys
e16064a2a5
Add anope to automated tests (we now have anope & atheme)
2019-11-20 09:51:04 +01:00
Bram Matthys
ab42e12002
Make SVSLOGIN a broadcast, so all servers have the same svid information
...
for the user. Otherwise with post-connect SASL authentication you will
have different login information on server X compared to server Y
(the server with the user on it was always correct, though).
Also, add a function called user_account_login() which is used by both
SVSMODE/SVS2MODE and SVSLOGIN to send ACCOUNT messages to the channel.
This too was missing for SVSLOGIN (post-authentication SASL).
For this fix to be 100% effective, you need 100% UnrealIRCd 5.
2019-11-18 15:39:18 +01:00
Bram Matthys
54513307ec
Fix ident check not working with some (most?) clients. Reported by
...
The_Myth in https://bugs.unrealircd.org/view.php?id=5462 .
Now the code is much more generic/liberal. And more ugly.
2019-11-18 15:02:55 +01:00
Bram Matthys
2daa187114
At the end of the automated tests, kill more processes (services)
2019-11-18 10:38:58 +01:00
Bram Matthys
27bc208853
Update tests script to test services (1/2)
2019-11-18 10:14:28 +01:00
Bram Matthys
1930179079
In do_numeric(), don't send UID to local users.
2019-11-18 09:46:34 +01:00
Bram Matthys
22394e8cb3
And another SASL fix on our side for atheme
2019-11-18 09:38:56 +01:00
Bram Matthys
bf3ee74659
Fix SASL with atheme
2019-11-18 09:26:51 +01:00
Bram Matthys
99d3d8e450
Fix another direction problem, this one had a clear FIXME :)
2019-11-18 08:43:14 +01:00
Bram Matthys
1b710bc101
Merge branch 'unreal50' of github.com:unrealircd/unrealircd into unreal50
2019-11-18 08:17:48 +01:00
Bram Matthys
b88c8ec804
Fix sending PRIVMSG back to original sender. This made atheme go
...
in a sending loop if you used a services logging channel.
Reported by The_Myth in https://bugs.unrealircd.org/view.php?id=5469
The same bug was reported and seemingly fixed before, but wasn't
actually.
2019-11-18 08:16:23 +01:00
westor
1a28750fb6
Fixed a typo in servicebot module description ( #83 )
2019-11-17 19:21:35 +01:00
Vitor Luis
7fadb0667b
Update help.conf ( #86 )
...
Added the new floodtype 'r' to the list of types and added the 'd' action to the floodtypes 'm' and 't' (not sure about the type 'c').
2019-11-17 19:20:59 +01:00
Bram Matthys
39530ab840
Fix warning on "make pem": Can't load tls.rnd into RNG. Reported by PeGaSuS.
2019-11-17 19:16:17 +01:00
Bram Matthys
74bbc92cf0
Make configure exit when no GNU Make is present (eg no 'gmake' on *BSD).
...
https://bugs.unrealircd.org/view.php?id=5310
2019-11-17 15:46:45 +01:00
Bram Matthys
84f59226ba
Print a clear error if you try to use remote includes without enabling
...
remote includes support. This rather than "no such file or directory".
2019-11-15 14:41:23 +01:00
Bram Matthys
abbc55741a
UnrealIRCd 5.0.0-rc1 release
2019-11-15 11:04:39 +01:00
Bram Matthys
0899a734c0
Fix LINKS not showing ourselves.
2019-11-15 09:24:38 +01:00
Bram Matthys
840995d994
Fix bug in Windows crash reporter, was sometimes missing crashes
...
as it always ignored the first core file.
2019-11-15 09:06:27 +01:00
Bram Matthys
564cf26d56
Comment out some Windows GUI shit that can crash the IRCd.
...
This is just "About UnrealIRCd" and such, not really important.
2019-11-15 08:07:54 +01:00
Bram Matthys
dd38165cb0
Set version to 5.0.0-rc1 and update release notes. NOT RELEASED yet..
...
there will likely be more fixes within a few hours before -rc1 release.
2019-11-15 07:07:29 +01:00
Bram Matthys
4c4fe038c0
Update warning regarding anope in Config.header too.
2019-11-14 17:38:13 +01:00