How to develop something similar to LSP for Mac OSX
Microsoft provides the La开发者_运维知识库yered Service Provider as part of Winsock 2 which makes it relatively easy to develop a user-mode network filter. I am looking to port an HTTP content filter LSP to Mac OSX, and am looking for ways to do the implementation. Is there any similar interface in Mac OSX, or is this something that can only be done at the kernel level? If the latter, where could I find some resources on how to develop such a kernel level component?
you should check Network Kernel Extensions here: http://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/NKEConceptual/intro/intro.html%23//apple_ref/doc/uid/TP40001858-CH225-DontLinkElementID_68
精彩评论