• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Build SharedIP open source project on MAC OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Build SharedIP open source project on MAC OS X (From: Deena Awate <email@hidden>)

  • Prev by Date: Re: Build SharedIP open source project on MAC OS X
  • Next by Date: Re: IODataQueueDequeue problem in user mode
  • Previous by thread: Re: Build SharedIP open source project on MAC OS X
  • Next by thread: How to intercept packets during handshake using Socket Filters in NKE?
  • Index(es):
    • Date
    • Thread