Importing into rc.firewal rules

Poul-Henning Kamp phk at phk.freebsd.dk
Sun Nov 21 01:46:44 PST 2004


In message <20041120210256.K27307 at zoraida.natserv.net>, Francisco Reyes writes:
>On Sat, 20 Nov 2004, Poul-Henning Kamp wrote:
>
>> If the list is long it may be almost as good, if not better, to use
>> blackhole routes for it.
>
>I was not familiar with the term. Looking in Google came up with a link. 
>However in that link they recommend against that method.
>
>http://tinyurl.com/5r5cl
>
>Also any link on how to implement it?

	route add -host $IP 127.0.0.1 -blackhole

>What would be the advantage of that route vs ipfw?

It's faster because the route table uses a tree for lookup whereas the
firewall is sequential.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-security mailing list