From owner-freebsd-questions Tue Dec 5 12:35:30 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 12:35:26 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from cmr1.ash.ops.us.uu.net (cmr1.ash.ops.us.uu.net [198.5.241.39]) by hub.freebsd.org (Postfix) with ESMTP id 47E1E37B400 for ; Tue, 5 Dec 2000 12:35:26 -0800 (PST) Received: from imr1.ash.ops.us.uu.net by cmr1.ash.ops.us.uu.net with ESMTP (peer crosschecked as: imr1.ash.ops.us.uu.net [153.39.43.46]) id QQjshm12567; Tue, 5 Dec 2000 20:35:22 GMT Received: from sysenglt112 by imr1.ash.ops.us.uu.net with SMTP (peer crosschecked as: ippool144-215.corp.us.uu.net [153.39.144.215]) id QQjshm17840; Tue, 5 Dec 2000 20:34:23 GMT Reply-To: From: "Raymond Hicks" To: "'Chris Gage'" , Subject: RE: Writing a kernel module Date: Tue, 5 Dec 2000 15:36:40 -0500 Message-ID: <003b01c05efb$13074660$d7902799@sysenglt112> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003C_01C05ED1.2A313E60" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_003C_01C05ED1.2A313E60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit please send this info my way as well!! tia -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Chris Gage Sent: Tuesday, December 05, 2000 3:25 PM To: freebsd-questions@freebsd.org Subject: Writing a kernel module 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. Chris Gage -- IBM Corporation -- RTP, NC -- cgage@us.ibm.com -- (919) 254 5572 -- t/l 444 5572 ------=_NextPart_000_003C_01C05ED1.2A313E60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
please=20 send this info my way as well!!
 
tia
-----Original Message-----
From:=20 owner-freebsd-questions@FreeBSD.ORG=20 [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of = Chris=20 Gage
Sent: Tuesday, December 05, 2000 3:25 = PM
To:=20 freebsd-questions@freebsd.org
Subject: Writing a kernel=20 module


I've = been=20 looking, so far in vain, for some kind of guidelines about how I = would go=20 about writing a kernel module for FreeBSD.  What I need to do = is more=20 or less what a firewall or a router does, ie intercept packets at = the lowest=20 level inside IP and either return them to the stack if I don't want = them, or=20 forward them to some other IP address if I do want them.  If = anyone=20 could point me to a place where this jewel of rather fundamental = information=20 resides, I'd be very grateful.

Chris Gage -- IBM Corporation = -- RTP,=20 NC -- cgage@us.ibm.com -- (919) 254 5572 -- t/l 444=20 5572
------=_NextPart_000_003C_01C05ED1.2A313E60-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message