About Linux FAQ

Browse More FAQs:

What Is Tux Web Server and How do I Use it?

Posted by Vivek on Wednesday April 30, 08 (2 weeks ago) @6:39 pm

Q. Can you explain the tux web server and its usage against regular apache httpd web server?

A. The TUX web server is kernel web server for Linux system. It is currently limited to serving static web pages and coordinating with kernel-space modules, user-space modules, and regular user-space web server daemons to provide dynamic content. Regular user-space web servers do not need to be altered in any way for TUX to coordinate with them. TUX also has the ability to cache dynamic content. TUX modules (which can be build in kernel space or in user space; user space is recommended) can create "objects" which are stored using the page cache. To respond to a request for dynamic data, a TUX module can send a mix of dynamically-generated data and cached pre-generated objects, taking maximal advantage of TUX's zero-copy architecture.

Tux is configured via procfs entries located at /proc/sys/net/tux/. Under CentOS / RHEL / Suse / Fedora Linux Tux can be configured via /etc/sysconfig/tux file.

WARNING! Having an HTTP daemon within the kernel is dangerous, if possible avoid Tux.

See Tux manual for configuration options.

However, I don't recommend using Tux. It can be big security problem - a common bug such as a buffer overflow within TUX could give an attacker superuser control over the machine. I recommend lighttpd for static and dynamic configuration.

Subscribe to our free e-mail newsletter or RSS feed to get all updates. You can Email this page to a friend.

Related Linux / UNIX FAQ:

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Please do not use the comment form to ask for help / question. Ask your question on the excellent Linux tech support forum. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Tags: , , , , , , , , , , , , , , , , , , ~ Last updated on: April 30, 2008

Copyright © 2006-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.