All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] How to delete DSCP setting using iptable command.
@ 2007-09-25  8:22 Raghuvendra Kumar
  2007-09-25  8:45 ` Nikolay Kichukov
  2007-09-25 10:58 ` Michal Soltys
  0 siblings, 2 replies; 3+ messages in thread
From: Raghuvendra Kumar @ 2007-09-25  8:22 UTC (permalink / raw)
  To: lartc



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] How to delete DSCP setting using iptable command.
  2007-09-25  8:22 [LARTC] How to delete DSCP setting using iptable command Raghuvendra Kumar
@ 2007-09-25  8:45 ` Nikolay Kichukov
  2007-09-25 10:58 ` Michal Soltys
  1 sibling, 0 replies; 3+ messages in thread
From: Nikolay Kichukov @ 2007-09-25  8:45 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] How to delete DSCP setting using iptable command.
  2007-09-25  8:22 [LARTC] How to delete DSCP setting using iptable command Raghuvendra Kumar
  2007-09-25  8:45 ` Nikolay Kichukov
@ 2007-09-25 10:58 ` Michal Soltys
  1 sibling, 0 replies; 3+ messages in thread
From: Michal Soltys @ 2007-09-25 10:58 UTC (permalink / raw)
  To: lartc

Raghuvendra Kumar wrote:
> 
> Hi,
> 
> Can anybody tell me how to delete DSCP or TOS setting using iptable command.
> 

iptables --line-numbers -t mangle -vL OUTPUT to verify rule numbers, 
then just delete whatever you need with -D, i.e.

iptables -t mangle -D OUTPUT 12


_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-25 10:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-25  8:22 [LARTC] How to delete DSCP setting using iptable command Raghuvendra Kumar
2007-09-25  8:45 ` Nikolay Kichukov
2007-09-25 10:58 ` Michal Soltys

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.