Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Pavarani Giovanna Giovanna.Pavarani@icn.siemens.it
To: lartc@vger.kernel.org
Subject: [LARTC] Re: iptables and DSCP
Date: Fri, 02 Feb 2001 16:55:24 +0000	[thread overview]
Message-ID: <marc-lartc-98373940416953@msgid-missing> (raw)

<PRE>Talking about DSCP field...

iptables is said to provide all the features of ipchains and something more and
better organized, but with ipchains I was able to set all the DSCP values 
in the TOS field, with iptables it seems this is no more possible, only few 
values are permitted.

For example:

&gt;<i> iptables -t mangle -A PREROUTING  -s 10.0.0.2 -j TOS --set-tos 0xb8
</I>
gives me:

iptables v1.1.2:Bad TOS value '0xb8'

Am I doing something wrong?

Thank you
Regards,
Giovanna Pavarani


&gt;<i> 
</I>&gt;<i> On Tue, Jan 23, 2001 at 01:59:00PM +0100, Tom Aernoudt wrote:
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; Isn't it possible with iptables to filter on DSCP field? 
</I>&gt;<i> 
</I>&gt;<i> Why don't you ask this question on the iptables/netfilter mailinglist?
</I>&gt;<i> 
</I>&gt;<i> Anyway, answer is: No. 
</I>&gt;<i> 
</I>&gt;<i> Not because the framework isn't capable of that. Just because nobody
</I>&gt;<i> implememnted a match yet.
</I>&gt;<i> 
</I>&gt;<i> &gt; Thanks,
</I>&gt;<i> &gt; Tom Aernoudt
</I>&gt;<i> 
</I>

</PRE>

             reply	other threads:[~2001-02-02 16:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-02 16:55 Pavarani [this message]
2001-02-02 18:08 ` [LARTC] Re: iptables and DSCP Arthur
2001-02-02 19:26 ` Matthew

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-98373940416953@msgid-missing \
    --to=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox