netdev
[Top] [All Lists]

iproute2 fwmark feature request

To: netdev@xxxxxxxxxxx
Subject: iproute2 fwmark feature request
From: Nguyen Dinh Nam <64vn@xxxxxxxxxx>
Date: Tue, 18 Jan 2005 15:17:34 +0700
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)
Hello netdev,
There are 2^32 values for fwmark, it's a hugh number.
netfilter deal with it better than iproute2, particularly, there is an optional mask to apply to the fwmark before comparing it with some value (mark module of iptables). It's very helpful because we can use that 32 bits to store several sub values at the same time.
So it'll be cool if the syntax is
SELECTOR := [ from PREFIX ] [ to PREFIX ] [ tos TOS ] [ fwmark FWMARK[/MASK] ]
Regards,
Nam


<Prev in Thread] Current Thread [Next in Thread>