All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kaustubh Phanse" <kphanse@vt.edu>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] Marking packets with IP Options field
Date: Mon, 03 Feb 2003 18:27:31 +0000	[thread overview]
Message-ID: <marc-lartc-104429649722612@msgid-missing> (raw)

I had posted a query (please see e-mail below) about "marking packets that
have IP Options," some time back. After further probing (and with some help
from Don Cohen), the problem seems to be with the u32 filter rather than
dsmark. The bug is in how u32 handles the IP header length (it probably
assumes a fixed 20 byte header!) -- if I just use the IP header fields for
classification, it works and packets (with IP Options) get marked, however,
if any transport protocol header field (such as dport) is used for
classification, u32 fails! Unfortunately, I haven't been able to exactly
locate where in the code lies the bug. Please let me know if someone has
dealt with this problem earlier.

Thanks a lot!
Kaustubh
-----Original Message-----
From: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl]On
Behalf Of Kaustubh Phanse
Sent: Tuesday, January 28, 2003 3:38 PM
To: lartc@mailman.ds9a.nl
Subject: [LARTC] Marking packets with IP Options field


Hello!

In our experiment, we are trying to mark IP packets at a source host. Some
of these packets have a 28-byte "IP Options" field, hence a 48-byte IP
header. We observed (using ethereal) that the tc script at the source
appropriately marks the packets that DO NOT have an "IP Options" field
(i.e., regular 20 byte header), however, all the packets with the "IP
Options" field do not get marked! The DSCP remains 0x00. We are using u32
filter to classify the packets, dsmark for marking, and HTB to schedule the
packets. Is there any such known problem for packets with "IP Options"
field??

Any help in this matter is much appreciated.

Thank you
regards
Kaustubh

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2003-02-03 18:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-03 18:27 Kaustubh Phanse [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-01-28 20:37 [LARTC] Marking packets with IP Options field Kaustubh Phanse

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-104429649722612@msgid-missing \
    --to=kphanse@vt.edu \
    --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 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.