ÐÐÑÑÐÐÐÑÐÑ ÑÐ syslog-ng ÐÐ home ÐÐÐÐÑÑÑÑÐ ÐÐ ÐÐ ÐÐ 
ÐÑÐÐÐÐÐ. ÐÐÑÐ-ÐÐÐÑ ÑÐÐÐ 
ÐÐÐÐÐÐÐÐ syslog-ng.conf:

source kernel { file("/proc/kmsg"); };

destination kernel {  .../kernel };
destination firewall { firewall... };
destination input { firewall.input };
destination { firewall.output };

filter input { match("dropped-input"); };
filter output { match("dropped-output"); };
filter firewall {       match("[firewall]"); };
filter other { not match("firewall"); }

log { source(kernel); filter(input);    destination(input); }
log { source(kernel);filter(output);destination(output);}
log {   source(kernel);filter(firewall);destination(firewall);}
log {   source(kernel);filter(other);   destination(kernel);};

Firewall-Ð ÐÐ ÐÐÑÐÑÑÐÑ ÑÑÐÐÑÐÐÐÑ ÐÑ ÑÐÐÐ:
"[firewall] dropped-input", "[firewall] dropped-output"
Ð ÐÐ ÑÑÐÑÐÐÑÐÐ ÐÑÐÐÐ Ð ÐÐÐÐ ÑÐÐÐ ÐÐ ÐÐ ÑÐÐÑÑ 
ÑÑÐÐÑÐÐÐÑÑÐ ÐÐ ÐÑÑÐÑÑÐÐÐÐÑÐ 
ÐÑÐÑÑÐÐÐÑÐ ÐÐÐÐÑÐ ("dropped-input"), Ð ÐÑÑÐ ÐÐ 
ÐÐÐÐÐÐÐÐÑÐÑÐ 
ÐÐÐÐÑÐ("dropped-output"), Ð ÑÑÐÑÐ ÐÑÐÑÐÐ ÑÑÐÐÑÐÐÐÑ 
ÐÐÐÐÑÐÑÐÐÐ ÐÑ 
firewalla(ÑÐÐÐ ÐÐÐÑÐ ÑÑÐÑÑÐÐÑ "[firewall]"), a 
ÑÑÐÐÑÐÐÐÑÑÐ ÐÐ ÐÐÐÑÐ ÐÐ ÑÐ ÐÑ 
firewall-a ÐÐ ÑÐ Ð ÑÐÐÐ Ñ ÐÐÐ kernel.
ÐÑÐÐÐÐÐÐ ÐÐÐÐ ÐÑ ÑÐÐÐ, ÑÐ ÑÑÐÐÑÐÐÐÑÑÐ ÐÑ 
ÐÐÑÐÐÐÐ (ÐÐÑÐ ÐÐÑÐÐÐ ÐÐÐ ÐÐÑÐÐÐÐÐÐ ÐÐ 
ÐÐÐÑÐÐ) ÑÐ ÐÐÐÐÑÐÐÑ Ð destination(firewall), Ð Ð 
destination(kernel) ÐÐ ÑÐ 
ÐÐÐÐÑÐÐ ÐÐÑÐ.
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================

Reply via email to