Re: KEXT IP Filter sample code?
Re: KEXT IP Filter sample code?
- Subject: Re: KEXT IP Filter sample code?
- From: Allan Hoeltje <email@hidden>
- Date: Thu, 16 Jun 2005 11:08:01 -0700
Excellent! Thank you very much Quinn!
-Allan
"Quinn" <email@hidden> wrote on 6/16/05 2:20 AM:
> At 18:39 -0700 15/6/05, Allan Hoeltje wrote:
>> Thanks for the quick reply. I know that tcplognke is a socket filter and
>> even though I need an IP filter it would still be helpful to see some kind
>> of sample code, Tiger or pre-Tiger, that uses KEXT.
>
> You should check out the enetlognke.
>
> <http://developer.apple.com/samplecode/enetlognke/enetlognke.html>
>
> This new, Tiger-based sample is not directly relevant (it intercepts
> at the Ethernet layer rather than the IP layer), but it does show
> general NKE concepts, including packaging, memory allocation,
> locking, and so on. It's also much easier to understand than the
> tcplognke (-:
>
> ps One of the reasons that the tcplognke isn't published yet is
> because socket-level filters are tricky to get exactly right. The
> packet oriented filters (IP and Ethernet) are much easier.
>
> S+E
_______________________________________________
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