problem with uclibc and iptables
Section One
section_one_ at hotmail.com
Tue May 9 19:07:26 UTC 2006
Hello all
i am getting a problem with iptables-1.2.11 compiled against uClibc-0.9.28
example:
/># iptables -L -v -n -t nat
Chain OUTPUT (policy ACCEPT 2599 packets, 157K bytes)
pkts bytes target prot opt in out source
destination
Chain POSTROUTING (policy ACCEPT 2322 packets, 140K bytes)
pkts bytes target prot opt in out source
destination
Chain PREROUTING (policy ACCEPT 2 packets, 244 bytes)
pkts bytes target prot opt in out source
destination
this work great but when i do a:
/># iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables: Invalid argument
i try to compile static and no ipv6 iptables but i get the same error
too i try to compile with standar gcc and libs(glibc) and work fine..
y test the static version on a computer with iptables working fine
and get the same error example:
[root at nikita build_i386]# /sbin/iptables -t nat -A POSTROUTING -o eth0 -j
MASQUERADE
[root at nikita build_i386]# iptables-1.2.11/iptables -L -v -n -t nat
Chain OUTPUT (policy ACCEPT 2599 packets, 157K bytes)
pkts bytes target prot opt in out source
destination
Chain POSTROUTING (policy ACCEPT 2322 packets, 140K bytes)
pkts bytes target prot opt in out source
destination
0 0 MASQUERADE all -- * eth0 0.0.0.0/0
0.0.0.0/0
Chain PREROUTING (policy ACCEPT 2 packets, 244 bytes)
pkts bytes target prot opt in out source
destination
[root at nikita build_i386]# iptables-1.2.11/iptables -t nat -A POSTROUTING -o
eth0 -j MASQUERADE
iptables: Invalid argument
my system is a fedora 4 kernel 2.6 but the target is a kernel .2.4
any idea what happens?
other thing i can do is compile a static iptables with glibc but i get a
600k striped binary
v.s. uclibc 140k striped binary.. its a lot of space and is dificult to put
it on a floppy :)
thanks in advanced
Section.-
PD: sorry my english
More information about the uClibc
mailing list