From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 28 07:29:11 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91E1816A4CE for ; Mon, 28 Feb 2005 07:29:11 +0000 (GMT) Received: from pimout4-ext.prodigy.net (pimout4-ext.prodigy.net [207.115.63.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 232BC43D53 for ; Mon, 28 Feb 2005 07:29:11 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [192.168.1.103] (adsl-68-123-122-107.dsl.snfc21.pacbell.net [68.123.122.107])j1S7T8Hb197156; Mon, 28 Feb 2005 02:29:09 -0500 Message-ID: <4222C843.9040409@elischer.org> Date: Sun, 27 Feb 2005 23:29:07 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050214 X-Accept-Language: en, hu MIME-Version: 1.0 To: Aziz KEZZOU References: <37e1316605022711293bd1e8b5@mail.gmail.com> In-Reply-To: <37e1316605022711293bd1e8b5@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: intercepting RSVP packets with netgraph X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 07:29:11 -0000 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)