site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com On 16-May-06, at 11:52 , Dave Zarzycki wrote: http://www-user.rhrk.uni-kl.de/~nissler/tuntap/ Andre On May 15, 2006, at 6:57 PM, André-John Mas wrote: Andre On 15-May-06, at 15:59 , Jordan K. Hubbard wrote: On May 15, 2006, at 12:00 PM, Finlay Dobbie wrote: - Jordan _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... What if we added tap(4) support to launchd? Would that satisfy most of your needs? If you want something running all the time, just set OnDemand to false in your launchd configuration file. davez Not sure, though I should mention that Miredo uses the following package: As far as I can tell there is no tun driver in Darwin (it would be a nice addition) I've never used launchd, so I will have to see what modifications I need to do. Miredo is an implementation of Teredo, providing a 6to4 tunnel with NAT support. This application use tun/tap to provide the host computer access to IPv6 networks. For this reason it can't really just start running when a connection is made to some specific IP address, since it won't be listening to any specific port. I am open to suitable approaches for allowing this to start running when the system starts. I haven't really played much with launchd and I was following what I knew worked. How would I present this to launchd? That's much more efficient than starting a service and vending a name hoping someone wants to use it, or wants to wait for it. Depends. In a server environment, I'd want the service available and ready to take client connections immediately - without any startup overhead - especially if it needs to perform lengthy initialisation. You can't generalize like that, however. You might want SOME services to start immediately (in which case, the RunAtLoad launchd plist item is probably your friend) but ALL services? No way. That's just wasteful, and unless you make a habit of putting 4GB (for now!) of memory in every machine you own, probably going to have a noticeable performance impact as other things fight for the memory that's being taken up by all those services just lying around doing their nails and watching daytime TV. Sorry, but the "server environment" classification hardly guarantees that each and every service being provided by the server needs to be running all the time, particularly in SOHO configurations where one box serves potentially dozens of needs "in theory" but, in practice, finds many of those needs to be occasional usage scenarios at best. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/ajmas% 40sympatico.ca This email sent to ajmas@sympatico.ca _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/zarzycki% 40apple.com This email sent to zarzycki@apple.com This email sent to site_archiver@lists.apple.com
participants (1)
-
André-John Mas