Skip to contentSkip to conversation

Rationale behind MARK target only in mangle table

DISCUSSION Srinivasa T N 2 participants 3 messages Feb 8, 2011

lore
Share & tools
lore
#0 lore raw

Hi All,
I have not gone through the old discussions (if there was one on this
topic).
I wanted to know the rationale behind allowing MARK target only in the
mangle table?

Regards,
Seenu.

#1 lore raw

Hi,

Quoted 5 lines · Srinivasa T N

Hi All,
I have not gone through the old discussions (if there was one on
this topic).
I wanted to know the rationale behind allowing MARK target only in
the mangle table?

There is almost none and in recent kernel the limitation is not there anymore. You can do marking in the filter tables:

	iptables -A OUTPUT -j MARK --set-mark 1

BR,

Signature · 1 line
Eric Leblond <[email protected]>
#2 lore raw
Quoted 9 lines · Eric Leblond

Hi,

Quoted 5 lines · Srinivasa T N

Hi All,
I have not gone through the old discussions (if there was one on
this topic).
I wanted to know the rationale behind allowing MARK target only in
the mangle table?

Quoted 4 lines

There is almost none and in recent kernel the limitation is not there anymore. You can do marking in the filter tables:

	iptables -A OUTPUT -j MARK --set-mark 1

Thanks. I was on RHEL 6 (2.6.32) with iptables 1.4.7 and the manpage was mis-leading.

Regards,
Seenu.