[ale] Using iptables

James P. Kinney III jkinney at localnetsolutions.com
Mon Jun 26 08:26:34 EDT 2006


On Mon, 2006-06-26 at 01:00 -0600, JK wrote:
> James P. Kinney III wrote:
> 
> >On Sun, 2006-06-25 at 08:23 -0600, JK wrote:
> >
> >  
> >
> >>#/usr/sbin/iptables -I INPUT -p tcp ! -s 218.23.45.2 --dport 80 -j DROP
> >>    
> >>
> >
> >/usr/sbin/iptables -I INPUT -p tcp -s ! 218.23.45.2 --dport -j DROP
> >
> >More better. if source is NOT foo...
> >  
> >
> Blah.  I was thinking of 'find' syntax, where the
> negation precedes the option.  That'll teach me to
> be a smarty-pants.
> 
The syntax I always scramble is -r vs. -R for recursive.
> -- JK
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list