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!
Quick Deny Able to Add Same IP
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: Quick Deny Able to Add Same IP
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.
Re: Quick Deny Able to Add Same IP
I do.Do you see multiple entries in /etc/csf/csf.deny?
Yes. LFD is automagically adding them again and again as well.have you checked for leading and trailing spaces
I can add them all day via command line.try doing a csf -d IP from the command line
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: Quick Deny Able to Add Same IP
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?
Re: Quick Deny Able to Add Same IP
A bit of an exaggeration on my part. I added 3 via command line and they took.I can add them all day via command line.
Yep. And that was it. Set to 0 and I'm no longer able to add one if its there.Do you have LF_REPEATBLOCK set to anything other than 0?
False alarm. My apologies sir.
Thank you for your support.
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: Quick Deny Able to Add Same IP
I'm glad it is sorted