intercepting RSVP packets with netgraph

Julian Elischer julian at elischer.org
Mon Feb 28 07:29:11 GMT 2005


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at 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)



More information about the freebsd-hackers mailing list