xtables-addons ACCOUNT
Op woensdag 20 oktober 2010 19:36:14 schreef Jan Engelhardt:
Quoted 27 lines · Maarten Vanraes
Quoted 14 lines
Op woensdag 20 oktober 2010 11:16:29 schreef Jan Engelhardt:
Quoted 13 lines · Maarten Vanraes
Quoted 11 lines
Quoted 3 lines
Quoted 3 lines
ACCOUNT: Table publicnet found, but IP/netmask mismatch. IP/netmask
found: 194.0.234.0/255.255.255.0
ACCOUNT: Table insert problem. Abortingthis error message is due to a previous publicnet rule, and it can't seem to find the matching network. even though it is the same one. (i suspect it is due to network being 194.0.234.0/24 and the matcher is checking 194.0.234.0/255.255.255.0 ). also i suspect there is a another bug when removing the rule that the matcher can't find the correct one (also due to different netmask notations?) and thus not everything is removed which means that i can't reinsert that one.
Quoted 6 lines
Quoted 1 line
Do you have a minimal testcase available?
machine is rebooted, no iptables yet, no modules loaded.
[]# iptables -t mangle -I POSTROUTING -j ACCOUNT --addr 0.0.0.0/0 --tname self iptables: Invalid argument. Run `dmesg' for more information.
I fail to reproduce this in 64-bit and 32-compat environments. Since ACCOUNT.ko and x_tables.ko do output appropriate messages to dmesg along with returning EINVAL... I don't see much possibilities.
Quoted 4 lines
One could be that you are using an overly old xtables-addons (< 1.27) compat_xtables.ko with an overly new kernel (>= v2.6.35) - combined with having ignored the compile warnings/errors (when building from source, as DKMS unfortunately does).
hmm, i'm using xtables-addons 1.26 (i thought this was the latest?) i built this one from source.
my kernel is 2.6.26 (so it's not overly new)
since i compiled xtables-addons myself, i didn't see any compiler warnings
and i'm on x86_64.
mvg,
Maarten