Home arrow JavaScript arrow Securing Your Web Server
JAVASCRIPT

Securing Your Web Server


In this third part of a five-part series that focuses on protecting your web server, you will learn about syslog and process accounting. This article is excerpted from chapter four of Securing Ajax Applications: Ensuring the Safety of the Dynamic Web, written by Christopher Wells (O'Reilly, 2007; ISBN: 0596529317). Copyright © 2007 O'Reilly Media, Inc. All rights reserved. Used with permission from the publisher. Available from booksellers or direct from O'Reilly Media.

Author Info:
By: O'Reilly Media
Rating: 5 stars5 stars5 stars5 stars5 stars / 1
September 25, 2008
TABLE OF CONTENTS:
  1. · Securing Your Web Server
  2. · Syslog con
  3. · Process accounting
  4. · Keeping Up to Date

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Securing Your Web Server
(Page 1 of 4 )

Facilities and priorities

Syslog categorizes its messages by facility. Facilities are system-named buckets for reporting syslog messages. Supported facilities on most Linux/Unix systems are:

auth
   For many security events

auth-priv
  
For access control related messages

cron
   Events that occur during cron jobs

daemon
  
For system processes and daemons

kern
  
For kernel messages

lpr
  
For printer and printing related messages

mail
  
For mail handling messages

mark
  
Messages generated by syslog itself

news
   Messages having to do with the news service

syslog
  
More messages generated by syslog

User
  
The default facility when none is defined

Uucp
  
For logging uucp related messages

local(0-7)
  
Miscellaneous default services

Unlike facilities, priorities are hierarchical levels designed to indicate the urgency of the message being logged. The following is a list of priorities listed by urgency:

Debug
  
Debug information, for debugging software

Info
  
Just thought you might like to know

Notice
  
Something that should be noted

Warning
  
Something bad may have or could happen

Err
   Something bad happened

Crit
  
Something really bad happened

Alert
  
Hey! Something bad is happening! Call the cell
   phone!

Emerg
  
Quick, pull the plug, shut down the Internet!

Syslog comes preconfigured on most distributions of Linux including my fresh Ubuntu install. The default location for log files is located at /var/log.


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks
- Dynamic jQuery Styling

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 4 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials