Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2000 12:30:53 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Chris Gage <cgage@us.ibm.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Writing a kernel module
Message-ID:  <20001205123052.C8051@fw.wintelcom.net>
In-Reply-To: <OF3896758C.070B46CA-ON852569AC.006FC320@raleigh.ibm.com>; from cgage@us.ibm.com on Tue, Dec 05, 2000 at 03:25:27PM -0500
References:  <OF3896758C.070B46CA-ON852569AC.006FC320@raleigh.ibm.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Chris Gage <cgage@us.ibm.com> [001205 12:25] wrote:
> I've been looking, so far in vain, for some kind of guidelines about how I 
> would go about writing a kernel module for FreeBSD.  What I need to do is 
> more or less what a firewall or a router does, ie intercept packets at the 
> lowest level inside IP and either return them to the stack if I don't want 
> them, or forward them to some other IP address if I do want them.  If 
> anyone could point me to a place where this jewel of rather fundamental 
> information resides, I'd be very grateful.

Although this page is written from the 'black hat' point of view, it
does get pretty technical and can be useful:

http://thc.pimmel.com/files/thc/bsdkern.html

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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