bug add ip -p port

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
ooooo1
Junior Member
Posts: 1
Joined: 23 Jun 2015, 11:28

bug add ip -p port

Post by ooooo1 »

Do not check double of the added IP address (-p port).

csf -td 89.222.186.1 -p 80
DROP tcp opt -- in !lo out * 89.222.186.1 -> 0.0.0.0/0 tcp dpt:80
csf: IPSET adding [89.222.186.1] to set [MESSENGER]
csf: 89.222.186.1 blocked on port 80 for 3600 seconds inbound

csf -td 89.222.186.1 -p 80
DROP tcp opt -- in !lo out * 89.222.186.1 -> 0.0.0.0/0 tcp dpt:80
csf: IPSET adding [89.222.186.1] to set [MESSENGER]
csf: 89.222.186.1 blocked on port 80 for 3600 seconds inbound

====
do not specify a port:

csf -td 89.222.186.1
DROP all opt -- in !lo out * 89.222.186.1 -> 0.0.0.0/0
csf: IPSET adding [89.222.186.1] to set [MESSENGER]
csf: 89.222.186.1 blocked on port * for 3600 seconds inbound

csf -td 89.222.186.1 -p 80
csf: 89.222.186.1 is already temporarily blocked
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: bug add ip -p port

Post by ForumAdmin »

Thank you for reporting this. We will have a fix for it in the next release of csf.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: bug add ip -p port

Post by ForumAdmin »

This has been fixed in csf v7.73:
http://blog.configserver.com/
Post Reply