• 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: Kernel Extensions for iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kernel Extensions for iPhone


  • Subject: Re: Kernel Extensions for iPhone
  • From: Peter Sichel <email@hidden>
  • Date: Thu, 13 Mar 2008 09:32:48 -0400

On Mar 12, 2008, at 4:25 PM, Andre-John Mas wrote:

Hopefully Apple will enable this, but it doesn't look as though
there's any way to do this commercially (although you might be able do
it yourself, on a jailbroken phone).

I wonder whether a compromise could be made here, in that we could ask Apple to create a lightweight kernel extension, that would allow the rest of the work to be done in user-space.

That's tricky because the resource overhead of doing it this way is so much higher. A modest NKE adds some code when packets traverse the network stack. Diverting packets out of the kernel, processing them in a daemon, and then re-injecting back to the kernel is a huge amount of overhead.

If the iPhone were just another OS X device, you could use
an ipfw divert socket along with UNIX natd like Apple's
existing Internet Sharing feature.  The beauty of using an
NKE is you can have a preference panel like app to configure
it, and then get out of the way.  [This is how my own
IPNetRouterX works.]

- Peter

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Kernel Extensions for iPhone (From: Scott Hammersley <email@hidden>)
 >Re: Kernel Extensions for iPhone (From: Michael Ledford <email@hidden>)
 >Re: Kernel Extensions for iPhone (From: Peter Sichel <email@hidden>)
 >Re: Kernel Extensions for iPhone (From: "Martin Redington" <email@hidden>)
 >Re: Kernel Extensions for iPhone (From: Andre-John Mas <email@hidden>)

  • Prev by Date: Re: [NKE]socket_receive
  • Next by Date: Re: [NKE]socket_receive
  • Previous by thread: Re: Kernel Extensions for iPhone
  • Next by thread: Re: Kernel Extensions for iPhone
  • Index(es):
    • Date
    • Thread