Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2005 23:29:07 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Aziz KEZZOU <opensource.enthousiat@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: intercepting RSVP packets with netgraph
Message-ID:  <4222C843.9040409@elischer.org>
In-Reply-To: <37e1316605022711293bd1e8b5@mail.gmail.com>
References:  <37e1316605022711293bd1e8b5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Aziz KEZZOU wrote:
> Hi all,
> I've read every thing I could find about netgraph but I still can not
> figure out how to intercept (divert) all IP packets of a certain type
> (say RSVP)  and call my own function to process them.
> 
> Notice that the processing has to occur at the kernel level.
> 
> Any help is appreciated. Thanks in advance.
> 
> Aziz Kezzou
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

use the bpf node as a filter to separate them out..
OR use ipfw to separate them out and pass them somewhere (e.g. to netgraph)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4222C843.9040409>