site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hello, I would first like to thank Vincent Lubet for his help with my previous question on this list. Now, I have another question: I'm intercepting incoming packets in my kext with KPI IP filters (Mac OS X 10.4.1), sending them to a user-space process, getting them back (possibly modified) from the user-space process, and re-injecting them with ipf_inject_input. I've got this working fine in most cases, like when accessing remote web sites. However, http connections to 127.0.0.1:80 fail and result in messages like "NetInfo connection failed for server 127.0.0.1/local" in console.log. To attempt to isolate the problem, I've tried the following: 1. Immediately re-injecting the mbuf that I receive from the filter. In this case, the local connection works. 2. Immediately re-injecting a copy (using mbuf_dup) of the mbuf that I receive from the filter. In this case, the local connection fails. I am wondering what I can do so that these local connections will still work when I inject a copy of the original mbuf. If there is no good solution to this, then I am wondering exactly for which packets I need to avoid making copies of the mbuf. Thanks, Raj Doshi _______________________________________________ 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... This email sent to site_archiver@lists.apple.com