Re: generic network protocols parser ?

From: Brian Fundakowski Feldman (green_at_freebsd.org)
Date: 03/04/05

  • Next message: David Gilbert: "quagga and OSPFD and point-to-point tunnels."
    Date: Fri, 4 Mar 2005 15:04:58 -0500
    To: Aziz KEZZOU <opensource.enthousiat@gmail.com>
    
    

    On Fri, Mar 04, 2005 at 11:07:34AM -0500, Aziz KEZZOU wrote:
    > Hi all,
    > I am wondering if any one knows about a generic parser which takes a
    > packet (mbuf) of a certain protocol (e.g RSVP ) as input and generates
    > some data structre representing the packet ?
    >
    > I've been searching for a while and found that ethereal and tcpdump
    > for example use specific data structres and functions to dissect each
    > protocol packets. Is this the only approach possible ?
    >
    > My supervisor suggested using a TLV (Type/Length/Value) approach
    > instead. Any opinions about that?
    >
    > If no such a parser exists is there any practical reason why ?

    Ethereal uses TLV...

    -- 
    Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
      <> green@FreeBSD.org                               \  The Power to Serve! \
     Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: David Gilbert: "quagga and OSPFD and point-to-point tunnels."

    Relevant Pages

    • Re: generic network protocols parser ?
      ... > I am wondering if any one knows about a generic parser which takes a ... > some data structre representing the packet? ...
      (freebsd-hackers)
    • Re: generic network protocols parser ?
      ... > I am wondering if any one knows about a generic parser which takes a ... > some data structre representing the packet? ... > If no such a parser exists is there any practical reason why? ... to know about what the packet looks like. ...
      (freebsd-hackers)
    • Re: generic network protocols parser ?
      ... > I am wondering if any one knows about a generic parser which takes a ... > some data structre representing the packet? ... > If no such a parser exists is there any practical reason why? ... to know about what the packet looks like. ...
      (freebsd-net)
    • Re: generic network protocols parser ?
      ... >I am wondering if any one knows about a generic parser which takes a ... >some data structre representing the packet? ... (a packet filter/classifier).. ...
      (freebsd-hackers)
    • Re: generic network protocols parser ?
      ... >I am wondering if any one knows about a generic parser which takes a ... >some data structre representing the packet? ... (a packet filter/classifier).. ...
      (freebsd-net)