Page 1 of 1

[SOLVED] What means SPAMREPORT_RATE_LIMIT ?

Posted: Thu Sep 18, 2025 11:06 am
by CrazyCat
Hi there,

I (relatively) often see the following spamreport alerts, I don't understand what it means

Code: Select all

12:59 -- irc.zeolia.chat: spamreport.SPAMREPORT_RATE_LIMIT [warn] [spamreport] Rate limit of 1:172800 hit for block default -- further requests dropped (throttled).
12:59 -- irc.zeolia.chat: spamreport.SPAMREPORT_RATE_LIMIT [warn] [spamreport] Rate limit of 1:172800 hit for block default -- further requests dropped (throttled).
13:02 -- irc.zeolia.chat: spamreport.SPAMREPORT_RATE_LIMIT [warn] [spamreport] Rate limit of 1:172800 hit for block default -- further requests dropped (throttled).
Can I have information to understand what it is ?

Re: What means SPAMREPORT_RATE_LIMIT ?

Posted: Thu Sep 18, 2025 12:48 pm
by PeGaSuS
According to the docs, at https://www.unrealircd.org/docs/Spamreport_block, it seems you have configured a spamfilter block to use the report feature and it is hitting the default (or the specified) rate limit.

Re: What means SPAMREPORT_RATE_LIMIT ?

Posted: Fri Sep 19, 2025 9:39 am
by CrazyCat
That's really strange as I've only one spamfilter using that (report & gline) and I never see any gline added by these filter.

And I'm not sure my spamreport configuration is good...

In unrealircd.conf, I've the following blocks:

Code: Select all

loadmodule "central-api";
set { central-api { api-key "xxxxxxxxxx"; }}
loadmodule "central-blocklist";
spamreport unrealircd { type central-spamreport; }
set { central-spamfilter { enabled yes; feed standard; }}
And I've a spamfilter.conf (loaded before this block, not sure it's important or not) which contains:

Code: Select all

spamreport default {
        type central-spamreport;
        rate-limit 1:2d;
};
I think the alerts I got come from my rate-limit (I'll probably increase it to 1:1h).

I guess the spamreport unrealircd doesn't do anything as I don't name the spamreport I use in spamfilter so the default is used. Am I right ?

Re: What means SPAMREPORT_RATE_LIMIT ?

Posted: Fri Sep 26, 2025 3:53 pm
by Syzop
rate-limit 1:2d means to only send a maximum of 1 report per 2 days (48 hours). So yeah, that would be easy to hit, when trying to send a second report (or more) in those 48 hours.

As for what is sending the report, yeah.. like you said.. search for "report" in your configuration file(s). Or some oper is doing SPAMREPORT Nick
I guess the spamreport unrealircd doesn't do anything as I don't name the spamreport I use in spamfilter so the default is used. Am I right ?
If you have just "spamreport;" as an action, so without a name, then it will run all spamreport blocks.