aboutsummaryrefslogtreecommitdiffstats
path: root/include/reject.h
Commit message (Expand)AuthorAgeFilesLines
* ircd/listener: return a fatal TLS alert for early rejected TLS clients•••This is in furtherance of commit 3fdf26aa19628d5e12a3 which added functionality to reply with a TLS record layer alert for D-Lined TLS clients. It turns out that there are other plaintext error messages in this same function that should receive the same treatment. Also move another error string to a variable and use a compile-time optimised-out strlen for it too, to use the same approach as an existing error string. Finally, use a different alert (internal_error) for the case where IRCd is simply unable to accept more connections. Gravatar Aaron Jones2023-11-071-1/+1
* reject: Remember and send reasons for rejections•••rejectcache entries can now use either a K-line aconf or a static string as a reason. This will be sent in a 465 numeric before the usual ERROR. In the case of K-lines, it resembles the 465 you would have been sent without being rejected: ; nc -s 127.6.6.6 127.0.0.1 5000 :staberinde.local 465 * :You are banned from this server- Temporary K-line 4320 min. - abc123 (2019/12/31 01.07) ERROR :Closing Link: (*** Banned (cache)) ; nc -s 127.128.0.0 127.0.0.1 5000 :staberinde.local 465 * :You are not authorised to use this server. ERROR :Closing Link: (*** Banned (cache)) Gravatar Ed Kellett2019-12-311-1/+1
* Remove $Id tags from everything.•••These are obsolete and none have changed since 10 years gao... Gravatar Elizabeth Myers2016-03-061-2/+0
* Allow /rehash throttles to clear throttling.Gravatar Jilles Tjoelker2009-03-071-0/+1
* Show rejectcache/throttle in /testline output.•••This adds more RPL_TESTLINE numerics with code '!'. Different from the other results, the I/K line or RESV will be shown as well. Gravatar Jilles Tjoelker2008-12-191-0/+2
* Show throttle info in /stats t.•••from ircd-ratbox (androsyn) Gravatar Jilles Tjoelker2008-12-161-0/+1
* Move to ratbox3 reject and throttle code.•••Throttle replaces max_unknown_ip, reject is like before (including the charybdis-specific unkline handling). Both of these now apply before SSL negotiation. This commit does not include the global_cidr and new dline code. m_webirc is a bit nasty with throttling (unlike before with max_unknown_ip), this may be fixed later (or the webirc IP needs to be exempt{}ed). Gravatar Jilles Tjoelker2008-08-011-8/+7
* Reverting some changed related not to moving on libratbox3 but using ratbox3 ...Gravatar Valery Yatsko2008-04-021-56/+45
* More charybdis -> ratbox3Gravatar Valery Yatsko2008-04-021-44/+56
* Fixing bugsGravatar Valery Yatsko2008-04-021-4/+0
* reject functions from ratbox3Gravatar Valery Yatsko2008-04-021-0/+3
* start making this compileGravatar William Pitcock2008-04-011-1/+1
* Remove reject entries on unkline/ungline/unxline.•••When a user is rejected, remember the hash value of the ban mask (for klines/glines, hash value of the user part XOR hash value of the host part) with the rejected IP; if the kline/gline/xline is removed, remove rejects with the same hash value also. Note that this does not happen for expiries; this is deliberate. Rejects for no auth{} or dnsbl put a hash value of 0; they cannot be removed selectively. Gravatar Jilles Tjoelker2007-12-081-2/+3
* [svn] Apply ratbox flood fix.Gravatar jilles2007-05-141-1/+5
* [svn] - the new plan:••• + branches/release-2.1 -> 2.2 base + 3.0 -> branches/cxxconversion + backport some immediate 3.0 functionality for 2.2 + other stuff Gravatar nenolod2007-01-241-0/+40