On Tue, 19 Oct 1999, Sebastien wrote:

- Thank you very much!!
- 
- I have just few other questions about U32 filter, I've searched desesperatly for
- how to use this filter, and can't find anything. I mean, particularly concerning
- the
- 'matching SELECTORS'( If someone has a list of that...). If you have any link or
- information about that...

http://www.ittc.ukans.edu/~rsarav/howto/ might be helpful to answer your
questions.

- 
- Does the value 46 correspond to an RSVP flag, in the selector???

RSVP has an assigned IP protocol number 46.  All its signalling packets
carry this value in the IP header.

- 
-  Is there a way to detect packets content type (audio, video, ftp, http...) :
- Is TOS bits using a good idea for that??? (If you could give me good links for
- that...)
- Is there a way in U32 filter to classify packets depending on the TOS bits
- value??
- 

Quoted from the link I mentioned above:

u32 Classifiers 

To classify based on individual application requirements, a more powerful
classification scheme (than route classification) is needed. u32
classifiers are used to do this. Classification can be done based on the
destination IP address, destination TCP/UDP port, source IP address,
source TCP/UDP port, TOS byte and protocol. A more detailed description of
this classifier will be done soon.

IPv6 has flow lable field in the header.  If you intend to use DS byte,
you might want to take a look at the following link for discussion of
Diffserv on Linux:

http://lrcwww.epfl.ch/linux-diffserv/

Jeff

- Thx in advance for your help!!
- 
- Jeff Kann wrote:
- 
- > We were using the following line to add protection for RSVP signalling
- > packets:
- >
- > # RSVP control packets
- > $TC filter add dev $DEV parent 1:2 prio 1 protocol ip u32 \
- >         match ip protocol 46 ff
- >
- > In short, U32 filter might be what you wanted.  If you want to use some
- > other field, such as TCP/UDP port, consider the following example:
- >
- > # VAN control packets (port 8320 = 0x2080)
- > $TC filter add dev $DEV parent 1:2 prio 1 protocol ip u32 \
- >         match tcp src 0x2080 0xffff match tcp dst 0x2080 0xffff
- >
- > Good luck,
- > Jeff
- 
- -
- To unsubscribe from this list: send the line "unsubscribe linux-net" in
- the body of a message to [EMAIL PROTECTED]
- 

 
------------------------------------------------------------------------------
  "I wouldn't take a bet against the existence of time machines, because my 
   opponent might have seen the future and know the answer."

   http://www.pbs.org/wnet/hawking/html/home.html        -- Stephan Hawking 
------------------------------------------------------------------------------


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to