Winsock LSP 的 OSX 等效项
在 Windows 上,可以在 Winsock 之上编写 LSP 服务,它提供了执行大量操作等的能力。与网络应用程序。例如,某些防病毒应用程序会注册 LSP 并以这种方式分析网络流量。有没有一种友好的方法可以在 OSX 上完成同样的事情?
On Windows, it's possible to program an LSP service on top of Winsock which provides the ability to do a lot of manipulation/etc. with networked applications. For instance, some anti virus applications register an LSP and analyse network traffic that way. Is there a friendly way to accomplish the same sort of thing on OSX?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
IPFW(与其他 BSD 中的 IPFW 相同/相似)是 Mac OS X 防火墙: http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man8/ipfw.8.html
取决于您的需求您可能想考虑使用转移:
http://blog.loudhush.ro/ 2008/06/using-divert-sockets-to-log-http.html
http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man4/divert.4.html
IPFW (same/similar to IPFW in other BSDs) is the Mac OS X firewall: http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man8/ipfw.8.html
Depending on what you're after you may want to look into using divert:
http://blog.loudhush.ro/2008/06/using-divert-sockets-to-log-http.html
http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man4/divert.4.html