Re: KEXT IP Filter sample code?
Re: KEXT IP Filter sample code?
- Subject: Re: KEXT IP Filter sample code?
- From: Josh Graessley <email@hidden>
- Date: Wed, 15 Jun 2005 17:36:56 -0700
The IP filter is only available on Tiger and later. Either way, you
will need to implement two kexts, one for Mac OS X prior to Tiger and
one for Mac OS X Tiger and later.
The SharedIP project in darwin is a sample of an IP filter. The IP
filter is pretty basic. It has two callback functions, one for
inbound packets and one for outbound packets. The real trick is
dealing with checksums if you modify packets.
I believe the tcplognke implements a socket layer filter. It is being
rewritten to use the new KPIs on Tiger. I don't believe the new Tiger
version has been released yet.
-josh
On Jun 15, 2005, at 4:13 PM, Allan Hoeltje wrote:
I just joined the list today so I apologize if this is a frequent
question.
I need to implement an NKE Filter that modifies IP packets for a VOIP
client, and, yes, I do need it as a KEXT and not at the app
layer. :-)
I am new to Kernel Extensions but have read the NKE and KEXT
documentation
in the Darwin Kernel area on the ADC. The docs refer to a
TCPLogger socket
NKE named tcplognke, is this code available somewhere?
I am actually more interested in the capabilities of an IP Filter
NKE, is
there any sample code for IP Filter?
Thanks!
Allan Hoeltje
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden