On 8/10/10 1:37 AM, Vieri Di Paola wrote:
> 
> 
> --- On Tue, 8/10/10, Trent O'Callaghan <[email protected]> wrote:
> 
>> Although at Linux command line you could do:
>>
>> sudo ip route add blackhole 123.123.123.123 
>>
>> And remove it with:
>>
>> sudo ip route del blackhole 123.123.123.123 
> 
> 
> Thanks!

Yes, thanks Trent.

I mis-interpreted Vieri's question to mean a 'shorewall command' rather
than any command.

An alternative would be:

sudo iptables -A dynamic -d 123.123.123.123 -j DROP

and

sudo iptables -D dynamic -d 123.123.123.123 -j DROP

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to