Quick Deny Able to Add Same IP

Post Reply
Infopro
Junior Member
Posts: 142
Joined: 15 Dec 2006, 00:22

Quick Deny Able to Add Same IP

Post by Infopro »

I just happened to notice that I am able to add the same IP as many times as I want via the Quick Deny. Checking another server, I'm not, as expected.
csf: v7.58

Is this a bug or did I break something?

Thanks!
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

Re: Quick Deny Able to Add Same IP

Post by ForumAdmin »

I am unable to replicate a problem. Quick Deny runs csf -d IP which always states that it is already blocked for me. Do you see multiple entries in /etc/csf/csf.deny? Also, have you checked for leading and trailing spaces (though in testing that made no difference to it working)? On the server where it is not working, try doing a csf -d IP from the command line for the IP that does repeat and see if that still works or not.
Infopro
Junior Member
Posts: 142
Joined: 15 Dec 2006, 00:22

Re: Quick Deny Able to Add Same IP

Post by Infopro »

Do you see multiple entries in /etc/csf/csf.deny?
I do.
have you checked for leading and trailing spaces
Yes. LFD is automagically adding them again and again as well.
try doing a csf -d IP from the command line
I can add them all day via command line.
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

Re: Quick Deny Able to Add Same IP

Post by ForumAdmin »

Do you have LF_REPEATBLOCK set to anything other than 0? If you do, set it to 0. If not, then could you log a ticket on our helpdesk with access details as I'd like to take a look?
Infopro
Junior Member
Posts: 142
Joined: 15 Dec 2006, 00:22

Re: Quick Deny Able to Add Same IP

Post by Infopro »

I can add them all day via command line.
A bit of an exaggeration on my part. I added 3 via command line and they took.
Do you have LF_REPEATBLOCK set to anything other than 0?
Yep. And that was it. Set to 0 and I'm no longer able to add one if its there.

False alarm. My apologies sir.

Thank you for your support.
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

Re: Quick Deny Able to Add Same IP

Post by ForumAdmin »

I'm glad it is sorted :)
Post Reply