Re: [PATCH nf-next] netfilter: xt_socket: add XT_SOCKET_RESTORESKMARK flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 16, 2015 at 07:38:44AM -0600, Harout Hedeshian wrote:
[...]
> > Now the 2 hypothetical applications can differentiate their sockets
> > based on a mark value set with SO_MARK.
> > 
> > iptables -t mangle -I PREROUTING -m socket --transparent \
> >                                            --restore-skmark -j action
> > iptables -t mangle -I PREROUTING -m socket --transparent \
> >                                            --restore-skmark -j action
> 
> Oops, redundant command in the commit message. I'll submit a v2 if we are
> happy with the rest of the patch.

Never mind, I'll mangle this myself here before applying it.

> > iptables -t mangle -A action -m mark --mark 10 -j action2
> > iptables -t mangle -A action -m mark --mark 11 -j action3

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux