Received: with ECARTIS (v1.0.0; list netdev); Tue, 18 Jan 2005 00:18:00 -0800 (PST) Received: from isp-go.FPT.NET (isp-go.fpt.net [210.245.0.153]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j0I8Hih0029211 for ; Tue, 18 Jan 2005 00:17:45 -0800 Received: from isp-mta2.fpt.vn ([210.245.0.151]) by isp-go.FPT.NET with Microsoft SMTPSVC(5.0.2195.6713); Tue, 18 Jan 2005 15:17:37 +0700 Received: from [222.252.32.3] by isp-mta2.fpt.vn [210.245.0.151] Message-ID: <41ECC61E.7060908@cardvn.net> Date: Tue, 18 Jan 2005 15:17:34 +0700 From: Nguyen Dinh Nam <64vn@cardvn.net> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: netdev@oss.sgi.com Subject: iproute2 fwmark feature request Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Jan 2005 08:17:37.0679 (UTC) FILETIME=[2BB881F0:01C4FD36] X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean X-archive-position: 423 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: 64vn@cardvn.net Precedence: bulk X-list: netdev 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