Search found 8 matches

by danfbach
31 Jan 2023, 14:55
Forum: MailScanner
Topic: Filter spam by specific Headers
Replies: 0
Views: 3175

Filter spam by specific Headers

Hello, We have a disgruntled customer that specifically created an email address to subscribe it to spam lists/newsletters and then they set up that email address to forward all emails to one of our support emails, creating a large amount of spam that can't really be blocked by traditional means. Th...
by danfbach
08 Apr 2022, 16:33
Forum: General Discussion (csf)
Topic: GEOIP / maxmind file location
Replies: 1
Views: 1256

GEOIP / maxmind file location

Hey,

Just wondering if anyone knows where csf downloads the geoip databases to when it refreshes? Or is it just loaded into a memory stream?

I would like to reference it for another purpose if possible.
by danfbach
09 Feb 2022, 14:39
Forum: General Discussion (csf)
Topic: IPSET cc_us table getting very large?
Replies: 3
Views: 971

Re: IPSET cc_us table getting very large?

Well, I guess it just takes very long to populate the hash tables. After waiting nearly 15 minutes it loaded the... csf: IPSET loading set cc_us with 80332 entries csf: IPSET loading set cc_6_us with 113197 entries ...nearly 200,000 entries in the tables. Increasing the LF_IPSET_HASHSIZE to 2048 and...
by danfbach
07 Feb 2022, 17:20
Forum: General Discussion (csf)
Topic: Update script freezes Hash is full
Replies: 3
Views: 3401

Re: Update script freezes Hash is full

Were you ever able to get this working?
Increasing hashsize just led to the restart script hanging instead of erroring out.
by danfbach
07 Feb 2022, 17:11
Forum: General Discussion (csf)
Topic: IPSET cc_us table getting very large?
Replies: 3
Views: 971

Re: IPSET cc_us table getting very large?

A little more info, I'm use maxmind's geoip database on both servers.
I tried switching CC_SRC param to 2 in order to use ipdeny.com databases rather than maxmind to see if it was an issue with maxmind's dbs...unfortunately, this did not help either.
by danfbach
07 Feb 2022, 15:20
Forum: General Discussion (csf)
Topic: IPSET cc_us table getting very large?
Replies: 3
Views: 971

Re: IPSET cc_us table getting very large?

As an addendum, It appears that this bug may be known and bad actors are in the process of exploiting it. It was brought to my attention because I had thousands of failed ssh login attempts from china over the weekend, which would have normally been outright blocked by the cc_ filter (and also my no...
by danfbach
07 Feb 2022, 15:05
Forum: General Discussion (csf)
Topic: IPSET cc_us table getting very large?
Replies: 3
Views: 971

IPSET cc_us table getting very large?

Hello, Over the weekend my servers all failed to load/reload csf using the csf -r command. It appears that the cc_us ip table has gotten massive all of the sudden? It was failing with: csf: IPSET loading set cc_us with 79025 entries IPSET: [ipset v7.1: Error in line 65537: Hash is full, cannot add m...
by danfbach
12 Jan 2022, 16:02
Forum: General Discussion (csf)
Topic: Notifications sent to API, instead of mail
Replies: 6
Views: 3614

Re: Notifications sent to API, instead of mail

This would be an excellent addition - perhaps you could allow csf to assume the current cpanel slack configuration? (if that's even possible?) That'd be pretty cool.