Skip to Main Content
Linux Server Security, Second Edition
book

Linux Server Security, Second Edition

by Michael D. Bauer
January 2005
Intermediate to advanced content levelIntermediate to advanced
544 pages
23h 44m
English
O'Reilly Media, Inc.
Content preview from Linux Server Security, Second Edition
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Resources
|
359
tarpit may actually be illegal in some places. Read the La Brea story at http://www.
hackbusters.net/.
Caches, Proxies, and Load Balancers
A proxy is a man in the middle. A caching proxy is a man in the middle with a mem-
ory. All the security issues of email apply to web pages as they stream about: they
can be read, copied, forged, stolen, etc. The usual answer is to apply end-to-end
cryptography.
If you use sessions that are linked to a specific server (stored in temporary files or
shared memory rather than a database), you must somehow get every request with
the same session ID directed to the same server. Some load balancers offer session
affinity to do this. Without it, you’ll need to store the sessions in some shared
medium, such as an NFS-mounted filesystem or a database.
Layers of Defense
Test your setup with a vulnerability scanner. The best open source tool is nessus
(http://www.nessus.org), which includes tests for buffer overflows, bad Apache con-
figurations, buggy CGI scripts, and many other problems. It includes tests from nikto
(http://www.cirt.net/code/nikto.shtml)andlibwhisker (http://www.wiretrip.net/rfp/p/
doc.asp/i2/d21.htm), which can also be run on their own.
When you’re ready for production, use multiple levels of protection:
Firewall (Chapter 2)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux: Powerful Server Administration

Linux: Powerful Server Administration

Uday Sawant, Oliver Pelz, Jonathan Hobson, William Leemans
Linux Server Hacks

Linux Server Hacks

Rob Flickenger
Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones

Publisher Resources

ISBN: 0596006705Supplemental ContentCatalog PageErrata