TUX web server: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Eric M Gearhart
(Initial edit of this article)
 
imported>Eric M Gearhart
(Need to find some references about this thing)
Line 1: Line 1:
The '''TUX web server''' is a [[World Wide Web]] server that can be run partially inside the [[Linux]] [[Linux kernel|kernel]], to provide the highest performance possible.
The '''TUX web server''' is a [[World Wide Web]] server that can be run partially inside the [[Linux]] [[Linux kernel|kernel]], to provide the highest performance possible. Its name is derived from the Linux penguin mascot, [[Tux]].  


It is currently limited to [[server|serving]] only static pages, meaning that it can't serve pages that were dynamically created using web scripting languages such as [[PHP]] or [[Perl]].
It is currently limited to [[server|serving]] only static pages, meaning that it can't serve pages that were dynamically created using web scripting languages such as [[PHP]] or [[Perl]].
TUX has never been an integrated part of the official Linux kernel, although it has been shipped in some
[[Linux distribution|Linux distributions]], notably Red Hat, SuSE and Fedora.
It served as a [[testbed]] for many features which were integrated separately.
One major component was the Native POSIX Thread Library, which, with the right tuning parameters, allows userspace web servers to serve web pages at a speed very close to that of a kernelspace web server like TUX but without its limitations.
==Controversy over Security==
Linux [[hacker|kernel hackers]] argued that having a [[daemon]] that by design is directly accessible from the [[Internet]] (as a web server would have to be) that is built directly into the kernel is very dangerous.
A common bug such as a [[buffer overflow]] within TUX could give an attacker superuser control over the machine.
They argue that it is much safer to keep such daemons entirely within [[userspace]], where a bug does not necessarily give an attacker total control. However, some Linux distributions, such as Fedora, have added TUX back into 2.6 kernels.


==Related Topics==
==Related Topics==
* [[Apache HTTP Server|Apache Web Server]], another web server that runs completely outside of the kernel
* [[Apache HTTP Server|Apache Web Server]], another web server that runs completely outside of the kernel
* The [[kernel]] article, for a general overview of what a kernel is
* The [[kernel]] article, for a general overview of what a kernel is
==References==
[[Category:CZ Live]]
[[Category:Computers Workgroup]]

Revision as of 14:00, 10 April 2007

The TUX web server is a World Wide Web server that can be run partially inside the Linux kernel, to provide the highest performance possible. Its name is derived from the Linux penguin mascot, Tux.

It is currently limited to serving only static pages, meaning that it can't serve pages that were dynamically created using web scripting languages such as PHP or Perl.

TUX has never been an integrated part of the official Linux kernel, although it has been shipped in some Linux distributions, notably Red Hat, SuSE and Fedora.

It served as a testbed for many features which were integrated separately.

One major component was the Native POSIX Thread Library, which, with the right tuning parameters, allows userspace web servers to serve web pages at a speed very close to that of a kernelspace web server like TUX but without its limitations.

Controversy over Security

Linux kernel hackers argued that having a daemon that by design is directly accessible from the Internet (as a web server would have to be) that is built directly into the kernel is very dangerous.

A common bug such as a buffer overflow within TUX could give an attacker superuser control over the machine.

They argue that it is much safer to keep such daemons entirely within userspace, where a bug does not necessarily give an attacker total control. However, some Linux distributions, such as Fedora, have added TUX back into 2.6 kernels.

Related Topics

  • Apache Web Server, another web server that runs completely outside of the kernel
  • The kernel article, for a general overview of what a kernel is

References