Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2006 09:57:44 +0200
From:      Michal Mertl <mime@traveller.cz>
To:        beno <zope@2012.vi>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: Spoofers, Spammers & Other Bad Guys
Message-ID:  <1155283064.1130.5.camel@genius.i.cz>
In-Reply-To: <44DC3667.8020800@2012.vi>
References:  <44DC3667.8020800@2012.vi>

next in thread | previous in thread | raw e-mail | index | archive | help
beno wrote:
> Hi;
> I'm configuring my firewall and I'd like to make a table of "bad guys", 
> preferably one that automatically updates from the Web. Surely someone 
> else has already thought of this and implemented something similar, so 
> could someone clue me in?

Read section TABLES in pf.conf(5):

       table <private> const { 10/8, 172.16/12, 192.168/16 }
       table <badhosts> persist
       block on fxp0 from { <private>, <badhosts> } to any

       # pfctl -t badhosts -Tadd 204.92.77.111


> Also, where do I find a list of devices (lo, fxp0, etc.) in my box?

ifconfig -l

> TIA,
> beno
> _______________________________________________
> freebsd-pf@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org"
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1155283064.1130.5.camel>