From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 27 19:29:53 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 C3B3216A4CE for ; Sun, 27 Feb 2005 19:29:53 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71DEA43D55 for ; Sun, 27 Feb 2005 19:29:53 +0000 (GMT) (envelope-from opensource.enthousiat@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so698976wri for ; Sun, 27 Feb 2005 11:29:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=KZt91atTVVEEcYkWcfyqVbEwkSU40F4Pyn7JUeLh2LLklVgdoxFvpF96S79Nq3R+Zyea0dFyxSdmUQ/bFwUs4m8KjYC4XPluaiZvGaRdxG8FTgHRQHzXANjR9ZHJnkpyNnsSwH34UeDHRrULmCgonno2MiG/01w2xcXUzHNFWR4= Received: by 10.54.14.31 with SMTP id 31mr52298wrn; Sun, 27 Feb 2005 11:29:52 -0800 (PST) Received: by 10.54.49.28 with HTTP; Sun, 27 Feb 2005 11:29:52 -0800 (PST) Message-ID: <37e1316605022711293bd1e8b5@mail.gmail.com> Date: Sun, 27 Feb 2005 14:29:52 -0500 From: Aziz KEZZOU To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: intercepting RSVP packets with netgraph X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Aziz KEZZOU List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2005 19:29:53 -0000 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