Re: Build SharedIP open source project on MAC OS X
Re: Build SharedIP open source project on MAC OS X
- Subject: Re: Build SharedIP open source project on MAC OS X
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Fri, 4 Feb 2011 13:32:02 +0000
On 4 Feb 2011, at 08:02, Deena Awate wrote:
> But for mail servers and clients that do not communicate over SSL how can we intercept the email at the NKE level / listener / filter and modify it as desired. Is this feasible ?
Yes. You need to look at socket filter NKEs. The tcplognke is an example.
<http://developer.apple.com/library/mac/#samplecode/tcplognke/>
I should stress that it's a whole lot of work doing this stuff in kernel. I think you would be better off doing it in user space, and then reconfiguring the mail client to talk to your server via loopback TCP. This has the added advantage that it lets you work with TLS-protected servers. The mail client would talk to you via plaintext loopback TCP (plaintext is pretty safe here because its loopback only) and then your server would talk to the real server via TLS.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden