Re: Unable to add rule on Chain with 28 characters.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 08, 2005 at 04:09:37PM -0400, Jason Opperisano wrote:
> it looks like 29 characters is the max:
> 
>   30 char chain name:
> 
>   # iptables -t nat -N PubABFZhrRJgwChbszxazNssqWKWB
>   # iptables -t nat -A PREROUTING -j PubABFZhrRJgwChbszxazNssqWKWB
>   iptables: No chain/target/match by that name
> 
>   29 char chain name:
> 
>   # iptables -t nat -N PubABFZhrRJgwChbszxazNssqWKW
>   # iptables -t nat -A PREROUTING -j PubABFZhrRJgwChbszxazNssqWKW
>   #

stupid off-by-one math.  subtract 1 from everything i said...

-j

--
"Peter: Hey, Brian. If cops are pigs, does that make you a Snausage?
 Brian: Clever, Peter. Did you stay up all night writing that?
 Peter: No, I got to bed around two, two-thirty."
        --Family Guy


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux