hello
I have some rules on multiple machines with FreeBSD 9.1 and pf, but I do not block IPs.
Introduce an IP manually in the table of PF (
I do something wrong? I'm no expert in PF or FreeBSD, we could consider me a rookie. Thanks.
Regards
I have some rules on multiple machines with FreeBSD 9.1 and pf, but I do not block IPs.
Code:
root@srv10:~ # pfctl -sr
No ALTQ support in kernel
ALTQ related functions disabled
scrub in on re0 all fragment reassemble
block drop in all
block drop log all
block drop in quick on ! re0 inet from PUBLIC/27 to any
block drop in quick inet from PUBLIC to any
block drop in quick on re0 inet6 from PUBLICV6 to any
block drop quick from <abusive_hosts> to any
pass in quick on re0 inet proto tcp from any to PUBLIC port = http flags S/SA synproxy state
pass in quick on lo1 inet from 10.0.0.0/26 to any flags S/SA keep state
pass out quick on lo1 inet from any to 10.0.0.0/26 flags S/SA keep state
pass in on re0 proto tcp from any to (re0) port = 22 flags S/SA keep state (source-track rule, max-src-conn 10, max-src-conn-rate 6/30, overload <abusive_hosts> flush global, src.track 30)
pass out on re0 proto tcp all flags S/SA modulate state
pass out on re0 proto icmp all keep state
pass out on re0 proto udp all keep state
Introduce an IP manually in the table of PF (
pfctl -t abusive_hosts -T add BADIP), but I see in the Apache logs as it connects the BAD IP.I do something wrong? I'm no expert in PF or FreeBSD, we could consider me a rookie. Thanks.
Regards