Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Nikolay Kichukov <hijacker@oldum.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] How to delete DSCP setting using iptable command.
Date: Tue, 25 Sep 2007 08:45:47 +0000	[thread overview]
Message-ID: <46F8CABB.5010005@oldum.net> (raw)
In-Reply-To: <ED9CC011977FDA4BAB13266D271118E6102B8A44C5@BTSLMAIL.bhartitelesoft.com>

Hello,
You can just add --line-numbers at the end of the command you use to see
the results you posted and then use iptables -D tableName ruleNumber, i.e.

iptables -D OUTPUT 5

HTH,
-Nikolay

Raghuvendra Kumar wrote:
> 
> Hi,
> 
> Can anybody tell me how to delete DSCP or TOS setting using iptable command.
> 
> iptables --list OUTPUT --table mangle                                                          Chain OUTPUT (policy ACCEPT)
> target     prot opt source               destination
> DSCP       tcp  --  anywhere             anywhere            tcp spt:http DSCP s                                  et 0x08
> DSCP       udp  --  anywhere             anywhere            DSCP set 0x08
> DSCP       udp  --  anywhere             anywhere            DSCP set 0x18
> DSCP       all  --  anywhere             anywhere            DSCP set 0x08
> DSCP       all  --  anywhere             anywhere            DSCP set 0x08
> DSCP       all  --  anywhere             anywhere            DSCP set 0x06
> DSCP       all  --  anywhere             anywhere            DSCP set 0x01
> DSCP       all  --  anywhere             anywhere            DSCP set 0x02
> DSCP       udp  --  anywhere             anywhere            DSCP set 0x08
> TOS        udp  --  anywhere             anywhere            TOS set Maximize-Th                                  roughput
> TOS        all  --  anywhere             anywhere            TOS set Maximize-Th                                  roughput
> 
> Regards,
> 
> Raghuvendra Kumar | BTSL
> 414 | Ext
> 011-41619770 | Desk
> +91-9818143739 | Mobile
> raghuvendra.kumar@bhartitelesoft.com | EMail
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  reply	other threads:[~2007-09-25  8:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-25  8:22 [LARTC] How to delete DSCP setting using iptable command Raghuvendra Kumar
2007-09-25  8:45 ` Nikolay Kichukov [this message]
2007-09-25 10:58 ` Michal Soltys

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=46F8CABB.5010005@oldum.net \
    --to=hijacker@oldum.net \
    --cc=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