All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: Question about -m tos option
@ 2003-06-21 12:08 Rinse Kloek
  0 siblings, 0 replies; 3+ messages in thread
From: Rinse Kloek @ 2003-06-21 12:08 UTC (permalink / raw)
  To: 'Pavel V. Yanchenko', netfilter

You need to patch iptables with the DSCP-target patch. Then you can use the
DSCP target to set all TOS values.

regards Rinse

-----Oorspronkelijk bericht-----
Van: Pavel V. Yanchenko [mailto:balrog@mail.ru]
Verzonden: donderdag 19 juni 2003 19:41
Aan: netfilter@lists.netfilter.org
Onderwerp: Question about -m tos option


Hello.

I need to create a rule matching packets with 0x60 value of TOS field.
The standard tos option of iptables doesn't accept such value, as well
as dscp, which is extension to tos - it processes only 6 bits of TOS
field :(
I guess value 0x60 is precedence bits...

The question is: how can I match such packets?

Thanks in advance.

  

Best regards,
 Pavel                          mailto:balrog@mail.ru



^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re:Question about -m tos option
@ 2003-10-13 12:14 Pavel V. Chjen
  2003-10-15  2:38 ` Question " Bill Chappell
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel V. Chjen @ 2003-10-13 12:14 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 154 bytes --]

0x60 is out of valid range in dscp matching (:
[root@root linux]# iptables -A FORWARD -m dscp --dscp 0x60
iptables v1.2.9rc1: DSCP `96` out of range


[-- Attachment #2: Type: text/html, Size: 510 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Question about -m tos option
@ 2003-06-19 17:41 Pavel V. Yanchenko
  0 siblings, 0 replies; 3+ messages in thread
From: Pavel V. Yanchenko @ 2003-06-19 17:41 UTC (permalink / raw)
  To: netfilter

Hello.

I need to create a rule matching packets with 0x60 value of TOS field.
The standard tos option of iptables doesn't accept such value, as well
as dscp, which is extension to tos - it processes only 6 bits of TOS
field :(
I guess value 0x60 is precedence bits...

The question is: how can I match such packets?

Thanks in advance.

  

Best regards,
 Pavel                          mailto:balrog@mail.ru



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

end of thread, other threads:[~2003-10-15  2:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-21 12:08 Question about -m tos option Rinse Kloek
  -- strict thread matches above, loose matches on Subject: below --
2003-10-13 12:14 Pavel V. Chjen
2003-10-15  2:38 ` Question " Bill Chappell
2003-06-19 17:41 Pavel V. Yanchenko

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.