Skip to main content

smart banning of an attacking-IP on a PF firewall?

More
19 years 1 week ago #8371 by HoraShadow
Hello:

I'm trying to configure the PF of an Open BSD to react smartly against attacks and ban the attacking IP for several minutes.

I've heard it's possible, (heard being the key word here).

How can I approach this?

Thanks
HoraShadow
More
19 years 1 week ago #8373 by sahirh
Can you explain where you are getting attack information from? Are you trying to integrate Pf with an IDS?

Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
More
19 years 1 week ago #8376 by HoraShadow
So far, the only thing I have is the PF.

Hm, I guess I should have asked it this way.

What software/hardware should I use to build a smart system defence, that bans for a while, posible attackers while they are scanning my ports?

I have an Open BSD with a configured PF doing firewall/NAT as a start.

The only thing that has to stay is the Open BSD. The PF can go if it gets in the way.
More
19 years 1 week ago #8384 by sahirh
Well for what you're asking for I would usually recommend snort inline
snort-inline.sourceforge.net/

However unlike regular snort which runs extremely snugly on *BSD, snort-inline, since it uses iptables.. you'll have to use this document for your setup
freebsd.rogness.net/snort_inline/

That should cover your smart defence requirements very decently.

Cheers,

Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
More
19 years 1 week ago #8387 by HoraShadow
Okey.. this looks exactly what I was looking!

Time to start researching. Thanks a lot for the good data, I really apreciate it!
More
19 years 1 week ago #8389 by sahirh
No problem.. drop a line about how your implementation or testing goes as I'd like to know how well it works out.


Cheers mate,

Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
Time to create page: 0.141 seconds