[SOLVED] What means SPAMREPORT_RATE_LIMIT ?

If your UnrealIRCd is up and running but you have a question about it, then use this forum.
(NOT for installation or connecting issues! Use the other forum instead.)

Moderator: Supporters

Post Reply
CrazyCat
Posts: 270
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

[SOLVED] What means SPAMREPORT_RATE_LIMIT ?

Post 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 ?
PeGaSuS
Official supporter
Posts: 118
Joined: Tue Jun 27, 2017 4:42 pm
Contact:

Re: What means SPAMREPORT_RATE_LIMIT ?

Post 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.
IRC Network: PTirc - GitHub: TehPeGaSuS - Help and support: #unreal-support
CrazyCat
Posts: 270
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

Re: What means SPAMREPORT_RATE_LIMIT ?

Post 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 ?
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: What means SPAMREPORT_RATE_LIMIT ?

Post 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.
Post Reply