Skip to contentSkip to conversation

CONNMARK Target Problem

DISCUSSION Sebastian 2 participants 2 messages Mar 25, 2004 – Mar 27, 2004

lore
Share & tools
lore

Sebastian

author
#0 lore raw

Hi List...

I tried to insert a rule using the CONNMARK-Target:

# iptables -t mangle -A OUTPUT -j CONNMARK --set-mark 1
iptables: Invalid argument

Dmesg say's:
CONNMARK: targinfosize 8 != 12

Kernel is 2.4.25 with pom snapshot 20040319.
Iptables is debian package 1.2.9-6:

# iptables --version
iptables v1.2.9

Any suggestions what i can do to get the CONNMARK target working?

Greets
Sebastian.

#1 lore raw

Hi,

Quoted 9 lines · Sebastian

Dmesg say's:
CONNMARK: targinfosize 8 != 12

Kernel is 2.4.25 with pom snapshot 20040319.
Iptables is debian package 1.2.9-6:

# iptables --version
iptables v1.2.9

Any suggestions what i can do to get the CONNMARK target working?

This is because iptables 1.2.9 is incompatible with the newest CONNMARK
kernel code. You should try the iptables CVS (or at least get the CONNMARK-related files from the CVS). This was needed because there were useful feature add-ons to CONNMARK. Now you can use a bitmask when setting/copying the connmark value.

Signature · 1 line
 KOVACS Krisztian