Linux Netfilter discussions
 help / color / mirror / Atom feed
* Rationale behind MARK target only in mangle table
@ 2011-02-08  9:00 Srinivasa T N
  2011-02-08  9:27 ` Eric Leblond
  0 siblings, 1 reply; 3+ messages in thread
From: Srinivasa T N @ 2011-02-08  9:00 UTC (permalink / raw)
  To: Mail List - Netfilter

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Rationale behind MARK target only in mangle table
  2011-02-08  9:00 Rationale behind MARK target only in mangle table Srinivasa T N
@ 2011-02-08  9:27 ` Eric Leblond
  2011-02-08  9:57   ` Srinivasa T N
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Leblond @ 2011-02-08  9:27 UTC (permalink / raw)
  To: Srinivasa T N; +Cc: Mail List - Netfilter

Hi,

On Tuesday, 2011 February  8 at 14:30:57 +0530, Srinivasa T N wrote:
> 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,
-- 
Eric Leblond <eric@regit.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Rationale behind MARK target only in mangle table
  2011-02-08  9:27 ` Eric Leblond
@ 2011-02-08  9:57   ` Srinivasa T N
  0 siblings, 0 replies; 3+ messages in thread
From: Srinivasa T N @ 2011-02-08  9:57 UTC (permalink / raw)
  To: Mail List - Netfilter

On Tuesday 08 February 2011 02:57 PM, Eric Leblond wrote:
> Hi,
>
> On Tuesday, 2011 February  8 at 14:30:57 +0530, Srinivasa T N wrote:
>> 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
>
Thanks.  I was on RHEL 6 (2.6.32) with iptables 1.4.7 and the manpage 
was mis-leading.

Regards,
Seenu.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-08  9:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-08  9:00 Rationale behind MARK target only in mangle table Srinivasa T N
2011-02-08  9:27 ` Eric Leblond
2011-02-08  9:57   ` Srinivasa T N

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox