ip6tables HL bug ?

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

 



Does someone knows why is ip6tables showing this error:

# ip6tables -t mangle -A POSTROUTING -j HL --hl-inc 1
ip6tables v1.3.5: HL: increasing by 0?

If I use the hl-set with 2 as argument for instance:
# ip6tables -t mangle -A POSTROUTING -o eth0 -p icmpv6 --icmpv6-type
router-advertisement -j HL --hl-set 2
# ipt6tables -t mangle -L
(...)
Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
HL         ipv6-icmp    anywhere             anywhere
ipv6-icmp router-advertisement HL set to 0

See that the value read is always interpreted as "zero", in
libip6t_HL.c we have:
if (value == 0)
{
   exit_error(PARAMETER_PROBLEM,"HL: increasing by 0?");
}

So the problem is only thrown when the value is zero, the question is,
why is ip6tables reading the argument as zero ?
Does someone knows if this is a known bug ?

Details:
Kernel 2.6.17, powerpc
ip6tables v1.3.5

Thank you !

-- 
"Forgive, O Lord, my little jokes on Thee, and I'll forgive Thy great
big joke on me."
http://pyevolve.sourceforge.net/wordpress/
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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