If you're reasonably comfortable with sockets programming then what you describe can be done using a divert socket and the ipfw firewall (with no need for a kernel extension). Read 'man divert' and 'man ipfw' for more information. As an added bonus you should be able to put much of the packet selection logic into an ipfw rule and only receive packets that your application is likely to find interesting. Koryn On Tue, 11 Nov 2003, Matt Jaffa wrote:
Hello,
I am very interested in writing this application that intercepts all
packets sent and receive from an apple machine. I am sure you have
heard of an App called, Little Snitch, well I want to write something
similar but totally different. I want to intercept all but really only
going to filter one type.
So how would I get started on this, Im sure i need to use .kext s but
dont know where to start.
thanks,
Matt
_______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.