site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com -josh On Jun 15, 2005, at 4:13 PM, Allan Hoeltje wrote: Thanks! _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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. 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? Allan Hoeltje This email sent to site_archiver@lists.apple.com