[PATCH] Unspecified proto should print as "all" in iptables -L

Jorge Davila davila at nicaraguaopensource.com
Thu May 3 18:16:05 CEST 2007


Sorry for the delay in answering your question ...

Well, it's because some users inside the internal networks under my 
administration visit http://www.grc.com/ and run the Shields Up! to see the 
open ports in the gateways and they see the port 0 open. That was the reason 
to apply the rule.

Jorge.

On Mon, 30 Apr 2007 13:09:30 -0700
  Phil Oester <kernel at linuxace.com> wrote:
> On Mon, Apr 30, 2007 at 12:17:13PM -0600, Jorge Davila wrote:
>> I was trying to apply a rule
>> 
>> iptables -p 0 -j DROP
>> 
>> to block only the protocol 0. I know now why that rule was not working.
>> 
>> I think that -p 0 must be a reference to the protocol 0 and not to all 
>> protocols.
>> 
>> Jorge.
> 
> Which application uses protocol 0?  Or is this a custom app you wrote?
> 
> Phil
> 

Jorge Isaac Davila Lopez
Nicaragua Open Source
davila at nicaraguaopensource.com



More information about the netfilter-devel mailing list