On Thursdayen den 6 December 2001 01.03, Vincent Danen wrote: > On Tue Dec 04, 2001 at 07:40:35AM +0100, Oden Eriksson wrote: > > > Can you use php with tux? I have to admit, I don't know the first > > > thing about tux as I've never looked at it. But having a web server > > > in kernel-land just strikes me as being really really wrong for some > > > reason... > > > > > > My impression is that the kernel was supposed to do kernel-ish > > > stuff... I mean, granted, the Windows kernel includes Internet > > > Explorer, but that's different... it's just a browser. =) (just > > > kidding) > > > > Then we shouldn't have any graphic driver stuff in the kernel either... > > Graphic drivers are different. How else am I supposed to have my > screen in 1024x768 mode upon boot? What I'm saying is that a web > server in the kernel seems frivolous and rather scary. I mean, > imagine there is a problem in the tux server, since it's right in > kernel code does this mean an attacker may be able to directly mess > with your kernel or other things attributed to the kernel? But, even > then, what if this starts a trend? Do we expect to see an FTP server, > dns server, a proxy server, in the kernel next? Scares me.
Yes I really see the point. But think of tux as an novell nlm, nlm:s for nic's, nlm:s for stuff like apache, I thinks it's very neat. > > I'm just very impressed of the tests that have been made which says tux > > outperforms everything else... And, as there now is a cgi handling module > > in tux it is really neat. Any unknown request's beeing passed to apache > > (or whatever) if it's there, php stuff for instance. It can even do > > virtual hosting. > > Can tux be built as a module for the kernel? If that's possible, then > it would be cool, but I don't really want a web server in my > kernel... I like my kernels as slim as possible. Yes, it can, it also handles smp + virtual hosting and more. You control tux with sysctl. But why not check it out? You find all the info you would need here: http://people.redhat.com/mingo/TUX-patches/ -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | Oden Eriksson, Deserve-IT Networks, Jokkmokk, Sweden. | Mandrake Linux release 8.2 (Cooker) for i586 | Current uptime with kernel 2.4.16.3mdk-1-1mdksmp: 8 hours 25 minutes | cpu0 @ 814.28 bm, fan 4470 rpm, temp +29�C | cpu1 @ 815.92 bm, fan 4326 rpm, temp +29.5�C
