Add ratelimit for high-bandwidth commands.
This commit is contained in:
parent
c25a890796
commit
e88a1f1b15
12 changed files with 187 additions and 0 deletions
|
@ -944,6 +944,8 @@ stats_tstats (struct Client *source_p)
|
|||
sendto_one_numeric(source_p, RPL_STATSDEBUG,
|
||||
"T :tgchange blocked msgs %u restricted addrs %lu",
|
||||
sp.is_tgch, rb_dlink_list_length(&tgchange_list));
|
||||
sendto_one_numeric(source_p, RPL_STATSDEBUG,
|
||||
"T :ratelimit blocked commands %u", sp.is_rl);
|
||||
sendto_one_numeric(source_p, RPL_STATSDEBUG,
|
||||
"T :auth successes %u fails %u",
|
||||
sp.is_asuc, sp.is_abad);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue