Bram Matthys
52df9937be
Re-indent / conform to existing code style
2016-10-01 10:20:01 +02:00
Bram Matthys
5bc9b63855
Delayjoin (+D): JOIN user before message and not after.
2016-10-01 10:15:04 +02:00
Bram Matthys
f473e355e1
Fix AUTHENTICATE bug
2016-09-03 20:08:21 +02:00
Bram Matthys
72e089f784
Remove space in KILL log message.
2016-06-25 09:33:34 +02:00
Bram Matthys
f2f63c29e5
Send error message when /SAMODE is used with a non-existent target. Reported by bonnedav ( #4556 ).
2016-05-22 16:08:31 +02:00
Bram Matthys
12c739b806
Reindent
2016-05-22 16:03:56 +02:00
Bram Matthys
e6d2fab103
Merge pull request #56 from dboyz/fix1
...
Fix SQUIT documentation, send ERR_USERSDONTMATCH when trying to change modes for other users, fix some typos, remove old HTM stuff. Resolves #2549 , #3691 and more.
2016-05-22 16:01:36 +02:00
Bram Matthys
67c998dc9f
Adding a GLINE or KLINE on usermask@ did not have any effect. Reported by soretna ( #4680 ).
...
Tizen, DBoyz and Valdebrick helped tracing the issue.
Removed MATCH_USE_IDENT since it had no useful purpose.. for all cases one has to check identd first and then non-identd anyway.
2016-05-22 15:44:28 +02:00
Daniel Tan
48e2d2aab3
Remove remaining Htm codes
2016-05-12 16:57:32 +08:00
Daniel Tan
d5c6c545cb
m_mode.c: Send ERR_USERSDONTMATCH when trying to change modes for others ( #3691 )
2016-05-10 15:28:06 +08:00
Bram Matthys
51b52f1767
Merge pull request #49 from grawity/ssl
...
Add an option to hide the notices about TLS parameters and fingerprint (set::options::no-connect-ssl-info)
2016-05-09 10:11:55 +02:00
Bram Matthys
64839a6304
Fix typos ("succes" -> "success"). Patch from GLolol. Original patch from theRoda.
2016-05-09 10:01:20 +02:00
Bram Matthys
d36988269d
Remove RPING
2016-04-16 11:37:00 +02:00
Bram Matthys
8d562ededb
Remove support for EGD (Entropy Gathering Daemon). Nobody uses this and it only causes issues with LibreSSL.
2016-04-03 15:15:12 +02:00
Bram Matthys
f95aa13d5b
Send RPL_SASLMECHS to clients ( #4253 , patch from grawity)
2016-04-03 11:53:59 +02:00
Bram Matthys
975996a702
Merge pull request #51 from grawity/sasl-external
...
Implement SASL EXTERNAL support
2016-04-03 11:44:58 +02:00
Mantas MikulÄ—nas
e818ab1a16
Add an option to hide the notices about TLS parameters
2016-03-09 00:25:33 +02:00
Mantas MikulÄ—nas
5e9a74f0fd
Do not require set::services-server
...
Some places were already treating it as optional.
2016-03-09 00:25:05 +02:00
Mantas MikulÄ—nas
6c1e9fc63b
m_sasl: Send user IP address to services
...
The user is not 'registered' yet at this point, so manually inform
services of their IP address (the syntax is "H <realhost> <ip>").
Services might use this when informing the user of failed auth attempts,
or when ratelimiting bruteforce.
2016-03-09 00:22:58 +02:00
Mantas MikulÄ—nas
b68befc29a
m_sasl: Send certfp for SASL EXTERNAL
2016-03-09 00:15:43 +02:00
Bram Matthys
caa5eba30f
Move blacklist hits to snomask +b (new) rather than notifying all ircops.
...
This snomask is set by default but this can be overridden via
set::snomask-on-oper or oper::snomask. Suggested by hayek (#4566 ).
2016-03-04 13:50:55 +01:00
Bram Matthys
4cad9cb0c5
SERVER parser error causing uplinks to show bad server description, reported by and patch from OUTsider ( #4576 ).
...
Patch used only with minor changes: one %i should have been %s, some annoying (char *) casts removed which existed in the original code as well, moved 'tmp' variable, collapsed NULL initalization, ..
2016-03-04 13:27:42 +01:00
Bram Matthys
bf1e1502ba
Use #include "unrealircd.h" in all modules ( #4516 ).
2016-03-04 13:02:06 +01:00
Bram Matthys
da9a1be85b
set::prefix-quit was not working, reported by capitaine ( #4586 ).
2016-03-04 12:40:26 +01:00
Bram Matthys
99c3fd3c36
Mistake caused by commit from yesterday, strlcpy arguments have always been very logical...
2016-03-02 14:12:30 +01:00
Bram Matthys
2f7543f846
Fix NULL pointer crash if sending malformed server-to-server traffic,
...
in this case an incorrect IP in USER (#4553 ). Probably someone trying
to write their own services.
2016-03-02 13:44:56 +01:00
Bram Matthys
1e25578c42
Add ability to hide quit messages of *LINEd users. Suggested by Aubrey, patch mostly from Zoddo ( #3993 ).
2016-02-29 14:22:49 +01:00
Bram Matthys
942f87d886
Merge pull request #43 from fduchene/patch-1
...
Allow shunned users to use the PING command (not to be confused with CTCP PING)
2016-02-29 13:56:44 +01:00
Bram Matthys
8c53075c92
Merge pull request #47 from blank4/unreal40
...
Use #include "unrealircd.h" in more files (#4516 )
2016-02-29 13:51:01 +01:00
Adam
2ae7fc2ef6
svsmode: Don't show user their uid in MODE
2016-02-12 09:52:30 -05:00
Bram Matthys
f7dd3cedd8
Fix minor linking bug which permitted a server to link in which used me::name, IF you had a link block for it. Reported by vNode1 ( #4559 ).
2016-01-31 20:46:52 +01:00
Bram Matthys
51ef387e89
Some services send SVSJOIN & SVSPART from a user source. Has no benefit in UnrealIRCd but we'll allow it since it was permitted before.
2016-01-15 18:08:12 +01:00
Bram Matthys
8357457b7e
Fix m_uid not handling collissions of 'unknowns'.
2016-01-13 16:38:09 +01:00
blank4
a225a93800
use #include "unrealircd.h" in modules/usermodes
2016-01-13 11:39:46 +00:00
blank4
4153df7f8f
use #include "unrealircd.h" in modules/chanmodes
2016-01-13 11:38:21 +00:00
Bram Matthys
293af0bc21
Use #include "unrealircd.h" -- gets rid of warning.
2016-01-03 12:22:33 +01:00
Bram Matthys
dd31542e2c
Use UID's in MD commands. Add functions / remove duplicate code. Modularize various functions
...
in src/moddata.c (move them to src/modules/m_md.c as per TODO). Looks good but more testing warranted.
2016-01-03 12:18:55 +01:00
Bram Matthys
208f4a504b
SSL Fingerprint wasn't broadcasted correctly to other servers. For Unreal this only affected WHOIS since
...
extban +e/+I ~S:xxx worked fine (only checked locally). But this also prevented services from being
informed, IOTW: services could not make use of this new certfp feature yet.
2016-01-03 10:28:15 +01:00
Bram Matthys
b7a1d50d94
Fix MODE broadcast being screwed up if sender was a server and it contained a timestamp.
...
Someone changed an %s %lu to %s%lu so ':se.rv.er MODE #test +o Dummy 1444444443' became
':se.rv.er MODE #test +o Dummy1444444443' (missing space).
Re-indent code a little..
2016-01-02 10:51:21 +01:00
Bram Matthys
7610fbcea2
/STATS P (port): Show whether the listener is IPv4 or IPv6. Improve rest of the output as well.
2015-12-29 20:18:14 +01:00
Bram Matthys
34b9797ffc
Add buildvarstring() function and make blacklist module support %ip and %server variables in reason field. Suggested by blank ( #4507 ).
2015-12-28 19:03:05 +01:00
Bram Matthys
5ed4492db7
Fix /LIST not showing 0 user channels on mIRC ("LIST <10000"), reported by ctcp ( #4517 ).
2015-12-28 17:36:39 +01:00
Bram Matthys
db70f68f5e
Fix module description. Reported by DBoyz.
2015-12-28 15:11:33 +01:00
Bram Matthys
01aa08c7af
/CHGHOST resulted in multiple 'xyz is now your displayed host' messages. Reported by vNode1 ( #4505 ).
2015-12-25 11:43:01 +01:00
Bram Matthys
d68f63b5fe
If an oper whois'ed an oper who didn't use /OPER but OperServ to become oper then the IRCd would crash when trying to resolve the oper login name. Clear, right?
2015-12-18 11:29:30 +01:00
Bram Matthys
829af871bf
Fix empty hostname issue. This off-by-one was caused by "security enhancements" from nenofrienfrien. Thank you very much.
2015-12-16 13:13:09 +01:00
Bram Matthys
dd50463126
Make extban ~n (nickchange) not apply to voiced users, like in 3.2.x. This was an unintentional change.
2015-12-13 08:22:58 +01:00
Bram Matthys
377ce40ef8
Fix CAP REQ not working with multiple arguments.
2015-12-12 15:28:21 +01:00
fduchene
ca87684d7f
Allow shunned users to use the PING command
...
When a user is shunned (eg /tempshun user ), the command PING cannot be used (PONG can so answer server PING).
Some clients like irssi are using PING command to compute the server lag, so when an irssi user is shunned, the lag displayed in irssi start ton increase, giving a way ton know if he is shunned.
After 320 sec of lag, irssi will reconnect, bypassing automatically the tempshun.
2015-12-10 17:54:33 +01:00
Bram Matthys
f04e95376b
/LIST never finished if more than 50-100 channels ( #4473 ). Oh neno... does it ever stop?
2015-12-09 19:42:50 +01:00