Re: TCP packet interception in Mac
Re: TCP packet interception in Mac
- Subject: Re: TCP packet interception in Mac
- From: Michael Cashwell <email@hidden>
- Date: Tue, 6 Apr 2004 07:53:45 -0400
On Apr 6, 2004, at 2:52 AM, manju dogra wrote:
I am a total newbie to Mac kernel and drivers. i want to develop a
module which can intercept TCP packets before they reach the TCP stack
and send its own modified packets to the stack. Similarly, for packets
going towards the network, the packets need to be intercepted and
replaced by modified packets. Could anyone help me on how to get
started on this ??
Thanks
Ashish
A good description of the different kinds of filter NKEs can be found
here:
http://developer.apple.com/documentation/Darwin/Conceptual/
KernelProgramming/Networking/chapter_13_section_3.html#//apple_ref/doc/
uid/TP30000905-CH216-TPXREF102
Which I found via a search for "NKE" at Apple's Developer site
(
http://developer.apple.com/).
I know there was some sample code related to this somewhere. (I
developed an interface NKE and recall finding something that helped get
things going.) I don't know if it was on Apple's site but I can't find
it there now. I'll check my notes at home and if I can come up with
anything useful I'll sent a link to you later.
Best regards,
Mike
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.