Archive for the ‘General Security’ Category

Rotate logs with Syslog

Here is the configuration file for logrotate: root@host:/etc/logrotate.d# cat /etc/logrotate.d/rsyslog /var/log/syslog {         rotate 7         daily         missingok         notifempty         delaycompress         compress         postrotate                 reload rsyslog >/dev/null 2>&1 || true         endscript }   /var/log/*.log {         rotate 7         daily         missingok         notifempty         compress         postrotate                 reload rsyslog >/dev/null 2>&1 || true         endscript } /var/log/ /var/log/mail.warn /var/log/mail.err /var/log/mail.log /var/log/daemon.log /var/log/kern.log /var/log/auth.log /var/log/user.log /var/log/lpr.log […]

What is a Firewall

The firewall is probably the best known security appliance. By definition firewall is a system or a group of systems which implements access policy between two or more networks. Firewalls can be classified into four main classes: 1. Dedicated firewalls  2. Routers integrated firewalls 3. Servers integrated firewalls  4. Personal firewalls    1. Dedicated firewalls […]