# # /etc/syslog-ng/syslog-ng.conf # Syslog-ng configuration # Wed,28 Apr,2004 ghal Initial, clone of syslog.conf # Fri,30 Apr,2004 ghal Debug # Sat,01 May,2004 ghal Merge from FreeBSD # Thr,06 May,2004 ghal tuneing for OpenBSD # Fri,07 May,2004 ghal tuneing for syslog-ng 1.4.17 on OpenBSD package # # syslog-ng 1.6.1 では facility:mark が未実装。 # syslog-ng 1.4.17 では facility:ntp, facility:console も未実装。 # options { long_hostnames(off); sync(0); time_reopen(10); log_fifo_size(1000); use_dns(no); use_fqdn(no); create_dirs(no); keep_hostname(yes); stats(86400); # Not Implemented at 1.4.17 mark(1200); # Not Implemented at 1.6.1 }; source s_local { unix-dgram("/var/run/log"); # FreeBSD # unix-dgram("/dev/log"); # OpenBSD # unix-dgram("/var/named/dev/log"); # OpenBSD # unix-dgram("/var/empty/dev/log"); # OpenBSD # udp(port(514)); # syslog compatible internal(); file("/dev/klog"); # *BSD kernel # pipe("/dev/kmsg" log_prefix("kernel: ")); # Linux kernel }; #source s_tcp { tcp(port(514) max-connections(8)); }; #source s_udp { udp(port(514)); }; # template() Not Implemented at 1.4.17 destination da_auth { file("/var/log/ALL/auth" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_aupr { file("/var/log/ALL/authpriv" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_cons { file("/var/log/ALL/console" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_cron { file("/var/log/ALL/cron" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_daem { file("/var/log/ALL/daemon" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_ftp { file("/var/log/ALL/ftp" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_kern { file("/var/log/ALL/kern" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_loc0 { file("/var/log/ALL/local0" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_loc1 { file("/var/log/ALL/local1" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_loc2 { file("/var/log/ALL/local2" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_loc3 { file("/var/log/ALL/local3" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_loc4 { file("/var/log/ALL/local4" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_loc5 { file("/var/log/ALL/local5" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_loc6 { file("/var/log/ALL/local6" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_loc7 { file("/var/log/ALL/local7" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_lpr { file("/var/log/ALL/lpr" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_mail { file("/var/log/ALL/mail" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination da_mark { file("/var/log/ALL/mark" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; # Not Implemented at 1.6.1 destination da_news { file("/var/log/ALL/news" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_ntp { file("/var/log/ALL/ntp" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_secu { file("/var/log/ALL/security" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_sysl { file("/var/log/ALL/syslog" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_user { file("/var/log/ALL/user" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination da_uucp { file("/var/log/ALL/uucp" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; # template() Not Implemented at 1.4.17 #destination dal_auth { file("/var/log/ALL.loghost/auth" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_aupr { file("/var/log/ALL.loghost/authpriv" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_cons { file("/var/log/ALL.loghost/console" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_cron { file("/var/log/ALL.loghost/cron" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_daem { file("/var/log/ALL.loghost/daemon" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_ftp { file("/var/log/ALL.loghost/ftp" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_kern { file("/var/log/ALL.loghost/kern" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_pfl { file("/var/log/ALL.loghost/pflog" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_loc0 { file("/var/log/ALL.loghost/local0" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_loc1 { file("/var/log/ALL.loghost/local1" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_loc2 { file("/var/log/ALL.loghost/local2" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_loc3 { file("/var/log/ALL.loghost/local3" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_loc4 { file("/var/log/ALL.loghost/local4" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_loc5 { file("/var/log/ALL.loghost/local5" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_loc6 { file("/var/log/ALL.loghost/local6" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_loc7 { file("/var/log/ALL.loghost/local7" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_lpr { file("/var/log/ALL.loghost/lpr" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_mail { file("/var/log/ALL.loghost/mail" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; ##destination dal_mark { file("/var/log/ALL.loghost/mark" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; # Not Implemented at 1.6.1 #destination dal_news { file("/var/log/ALL.loghost/news" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_ntp { file("/var/log/ALL.loghost/ntp" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_secu { file("/var/log/ALL.loghost/security" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_sysl { file("/var/log/ALL.loghost/syslog" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_user { file("/var/log/ALL.loghost/user" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; #destination dal_uucp { file("/var/log/ALL.loghost/uucp" perm(0640) owner("root") group("root") template("$YEAR/$MONTH/$DAY($WEEKDAY) $HOUR:$MIN:$SEC <$TAG:$FACILITY.$LEVEL> $HOST $MSG\n")); }; destination dd_cons { file("/dev/console"); }; destination dd_mesg { file("/var/log/messages" perm(0644)); }; destination dd_root { usertty("root"); }; destination dd_alluser { usertty("*"); }; #destination dd_loghost { udp("loghost" localport(514) destport(514)); }; destination dd_authlog { file("/var/log/auth.log" perm(0600)); }; # FreeBSD #destination dd_authlog { file("/var/log/authlog" perm(0640)); }; # OpenBSD destination dd_secure { file("/var/log/security" perm(0600)); }; # FreeBSD #destination dd_secure { file("/var/log/secure" perm(0600)); }; # OpenBSD destination dd_cron { file("/var/log/cron" perm(0600)); }; # FreeBSD #destination dd_cron { file("/var/cron/log" perm(0600)); }; # OpenBSD #destination dd_lpr { file("/var/log/lpd-errs" perm(0644)); }; # FreeBSD destination dd_lpr { file("/var/log/lpd-errs" perm(0640)); }; # OpenBSD #destination dd_mail { file("/var/log/maillog" perm(0640)); }; # FreeBSD destination dd_mail { file("/var/log/maillog" perm(0600)); }; # OpenBSD destination dd_daemon { file("/var/log/daemon" perm(0640)); }; # OpenBSD destination dd_ftp { file("/var/log/xferlog" perm(0640)); }; # OpenBSD #destination dd_pflog { file("/var/log/pf/pflog.txt" perm(0600)); }; # OpenBSD #destination dd_conslog { file("/var/log/console.log"); }; # FreeBSD Option #destination dd_alllog { file("/var/log/all.log" perm(0600)); }; # FreeBSD Option destination dd_uucp { file("/var/log/uucp" perm(0640)); }; # OpenBSD Option #destination dd_newscrit { file("/var/log/news/news.crit"); }; # FreeBSD Option #destination dd_newserr { file("/var/log/news/news.err"); }; # FreeBSD Option #destination dd_newsnotice { file("/var/log/news/news.notice"); }; # FreeBSD Option destination dd_slip { file("/var/log/slip.log" perm(0640)); }; # FreeBSD Program destination dd_ppp { file("/var/log/ppp.log" perm(0640)); }; # FreeBSD Program destination dd_sudo { file("/var/log/sudo" perm(0600)); }; # OpenBSD Program destination dd_chat { file("/var/log/chat" perm(0600)); }; # OpenBSD Program #destination d_wlan { file("/var/log/wlan" perm(0640)); }; filter f_auth { facility(auth); }; filter f_aupr { facility(authpriv); }; filter f_cons { facility(console); }; # Not Implemented at 1.4.17 filter f_cron { facility(cron); }; filter f_daem { facility(daemon); }; filter f_ftp { facility(ftp); }; filter f_kern { facility(kern); }; filter f_loc0 { facility(local0); }; filter f_loc1 { facility(local1); }; filter f_loc2 { facility(local2); }; filter f_loc3 { facility(local3); }; filter f_loc4 { facility(local4); }; filter f_loc5 { facility(local5); }; filter f_loc6 { facility(local6); }; filter f_loc7 { facility(local7); }; filter f_lpr { facility(lpr); }; filter f_mail { facility(mail); }; #filter f_mark { facility(mark); }; # Not Implemented at 1.6.1 filter f_news { facility(news); }; filter f_ntp { facility(ntp); }; # Not Implemented at 1.4.17 filter f_secu { facility(security); }; filter f_sysl { facility(syslog); }; filter f_user { facility(user); }; filter f_uucp { facility(uucp); }; filter f_not_auth { not facility(auth); }; filter f_not_aupr { not facility(authpriv); }; filter f_not_cons { not facility(console); }; # Not Implemented at 1.4.17 filter f_not_cron { not facility(cron); }; filter f_not_daem { not facility(daemon); }; filter f_not_ftp { not facility(ftp); }; filter f_not_kern { not facility(kern); }; filter f_not_loc0 { not facility(local0); }; filter f_not_loc1 { not facility(local1); }; filter f_not_loc2 { not facility(local2); }; filter f_not_loc3 { not facility(local3); }; filter f_not_loc4 { not facility(local4); }; filter f_not_loc5 { not facility(local5); }; filter f_not_loc6 { not facility(local6); }; filter f_not_loc7 { not facility(local7); }; filter f_not_lpr { not facility(lpr); }; filter f_not_mail { not facility(mail); }; #filter f_not_mark { not facility(mark); }; # Not Implemented at 1.6.1 filter f_not_news { not facility(news); }; filter f_not_ntp { not facility(ntp); }; # Not Implemented at 1.4.17 filter f_not_secu { not facility(security); }; filter f_not_sysl { not facility(syslog); }; filter f_not_user { not facility(user); }; filter f_not_uucp { not facility(uucp); }; filter f_emer { level(emerg); }; filter f_alrt { level(alert..emerg); }; filter f_crit { level(crit..emerg); }; filter f_err { level(err..emerg); }; filter f_warn { level(warn..emerg); }; filter f_noti { level(notice..emerg); }; filter f_info { level(info..emerg); }; filter f_debug { level(debug..emerg); }; filter f_ppp { program("ppp"); }; # FreeBSD Program filter f_slip { program("startslip"); }; # FreeBSD Program filter f_sudo { program("sudo"); }; # OpenBSD Program filter f_chat { program("chat"); }; # OpenBSD Program #filter h_gate { host(192.168.0.1); }; #filter h_serv { host(172.21.x.96) or host(172.21.x.97) # or host(172.21.x.98) or host(172.21.x.99); }; #filter h_wlan { host(192.168.1.153) or host(192.168.1.154) # or host(192.168.1.155); }; # All Outputs log { source(s_local); filter(f_auth); destination(da_auth); }; log { source(s_local); filter(f_aupr); destination(da_aupr); }; log { source(s_local); filter(f_cons); destination(da_cons); }; log { source(s_local); filter(f_cron); destination(da_cron); }; log { source(s_local); filter(f_daem); destination(da_daem); }; log { source(s_local); filter(f_ftp ); destination(da_ftp ); }; log { source(s_local); filter(f_kern); destination(da_kern); }; log { source(s_local); filter(f_loc0); destination(da_loc0); }; #OpenBSD pflog log { source(s_local); filter(f_loc1); destination(da_loc1); }; log { source(s_local); filter(f_loc2); destination(da_loc2); }; log { source(s_local); filter(f_loc3); destination(da_loc3); }; log { source(s_local); filter(f_loc4); destination(da_loc4); }; log { source(s_local); filter(f_loc5); destination(da_loc5); }; log { source(s_local); filter(f_loc6); destination(da_loc6); }; log { source(s_local); filter(f_loc7); destination(da_loc7); }; log { source(s_local); filter(f_lpr ); destination(da_lpr ); }; log { source(s_local); filter(f_mail); destination(da_mail); }; #log { source(s_local); filter(f_mark); destination(da_mark); }; # Not Implemented at 1.6.1 log { source(s_local); filter(f_news); destination(da_news); }; log { source(s_local); filter(f_ntp ); destination(da_ntp ); }; log { source(s_local); filter(f_secu); destination(da_secu); }; log { source(s_local); filter(f_sysl); destination(da_sysl); }; log { source(s_local); filter(f_user); destination(da_user); }; log { source(s_local); filter(f_uucp); destination(da_uucp); }; # console log { source(s_local); filter(f_err); destination(dd_cons); }; # FreeBSD #log { source(s_local); filter(f_err); filter(f_not_aupr); destination(dd_cons); }; # OpenBSD log { source(s_local); filter(f_kern); filter(f_debug); destination(dd_cons); }; log { source(s_local); filter(f_auth); filter(f_noti); destination(dd_cons); }; log { source(s_local); filter(f_mail); filter(f_crit); destination(dd_cons); }; # messages FreeBSD type log { source(s_local); filter(f_noti); destination(dd_mesg); }; # FreeBSD log { source(s_local); filter(f_kern); destination(dd_mesg); }; # FreeBSD log { source(s_local); filter(f_lpr); filter(f_info); destination(dd_mesg); }; # FreeBSD log { source(s_local); filter(f_mail); filter(f_crit); destination(dd_mesg); }; # FreeBSD log { source(s_local); filter(f_news); filter(f_err); destination(dd_mesg); }; # FreeBSD # messages OpenBSD type #log { source(s_local); filter(f_noti); # filter(f_not_auth); # filter(f_not_aupr); # filter(f_not_cron); # filter(f_not_ftp); # filter(f_not_kern); # filter(f_not_lpr); # filter(f_not_mail); # filter(f_not_user); # destination(dd_mesg); }; # OpenBSD #log { source(s_local); filter(f_kern); filter(f_debug); destination(dd_mesg); }; # OpenBSD #log { source(s_local); filter(f_user); filter(f_info); destination(dd_mesg); }; # OpenBSD #log { source(s_local); filter(f_sysl); filter(f_info); destination(dd_mesg); }; # OpenBSD # auth & security log { source(s_local); filter(f_secu); destination(dd_secure); }; # FreeBSD #log { source(s_local); filter(f_aupr); destination(dd_secure); }; # OpenBSD log { source(s_local); filter(f_auth); filter(f_info); destination(dd_authlog); }; log { source(s_local); filter(f_aupr); filter(f_info); destination(dd_authlog); }; # FreeBSD # maillog log { source(s_local); filter(f_mail); filter(f_info); destination(dd_mail); }; # lpd-errs #log { source(s_local); filter(f_lpr); filter(f_info); destination(dd_lpr); }; # FreeBSD log { source(s_local); filter(f_lpr); destination(dd_lpr); }; # OpenBSD # cron log { source(s_local); filter(f_cron); destination(dd_cron); }; # FreeBSD #log { source(s_local); filter(f_cron); filter(f_info); destination(dd_cron); }; # OpenBSD # *.emerg log { source(s_local); filter(f_emer); destination(dd_alluser); }; # console.log # FreeBSD Option #log { source(s_local); filter(f_cons); filter(f_info); destination(dd_conslog); }; # all.log # FreeBSD Option #log { source(s_local); destination(dd_alllog); }; # @loghost FreeBSD type #log { source(s_local); destination(dd_loghost); }; # FreeBSD # @loghost OpenBSD type #log { source(s_local); filter(f_noti); # filter(f_not_auth); # filter(f_not_aupr); # filter(f_not_cron); # filter(f_not_ftp); # filter(f_not_kern); # filter(f_not_lpr); # filter(f_not_mail); # filter(f_not_user); # destination(dd_loghost); }; # OpenBSD #log { source(s_local); filter(f_kern); filter(f_debug); destination(dd_loghost); }; # OpenBSD #log { source(s_local); filter(f_user); filter(f_info); destination(dd_loghost); }; # OpenBSD #log { source(s_local); filter(f_sysl); filter(f_info); destination(dd_loghost); }; # OpenBSD #log { source(s_local); filter(f_auth); filter(f_info); destination(dd_loghost); }; # OpenBSD #log { source(s_local); filter(f_aupr); filter(f_debug); destination(dd_loghost); }; # OpenBSD #log { source(s_local); filter(f_daem); filter(f_info); destination(dd_loghost); }; # OpenBSD # news.* # FreeBSD Option #log { source(s_local); filter(f_news); filter(f_crit); destination(dd_newscrit); }; #log { source(s_local); filter(f_news); filter(f_err); destination(dd_newserr); }; #log { source(s_local); filter(f_news); filter(f_noti); destination(dd_newsnotice); }; # slip.log # FreeBSD Program log { source(s_local); filter(f_slip); destination(dd_slip); }; # ppp.log # FreeBSD Program log { source(s_local); filter(f_ppp); destination(dd_ppp); }; # sudo.log # OpenBSD Program log { source(s_local); filter(f_sudo); destination(dd_sudo); }; # chat.log # OpenBSD Program log { source(s_local); filter(f_chat); destination(dd_chat); }; # root log { source(s_local); filter(f_err); destination(dd_root); }; log { source(s_local); filter(f_noti); destination(dd_root); }; log { source(s_local); filter(f_news); filter(f_err); destination(dd_root); }; # FreeBSD log { source(s_local); filter(f_auth); destination(dd_root); }; # OpenBSD log { source(s_local); filter(f_alrt); destination(dd_root); }; # OpenBSD only log { source(s_local); filter(f_daem); filter(f_info); destination(dd_daemon); }; log { source(s_local); filter(f_ftp); filter(f_info); destination(dd_ftp); }; log { source(s_local); filter(f_uucp); filter(f_info); destination(dd_uucp); }; #log { source(s_local); filter(f_loc0); destination(dd_pflog); }; # log from others #log { source(s_udp); filter(h_wlan); destination(d_wlan); }; # All Outputs, loghost #log { source(s_tcp); source(s_udp); filter(f_auth); destination(dal_auth); }; #log { source(s_tcp); source(s_udp); filter(f_aupr); destination(dal_aupr); }; #log { source(s_tcp); source(s_udp); filter(f_cons); destination(dal_cons); }; #log { source(s_tcp); source(s_udp); filter(f_cron); destination(dal_cron); }; #log { source(s_tcp); source(s_udp); filter(f_daem); destination(dal_daem); }; #log { source(s_tcp); source(s_udp); filter(f_ftp ); destination(dal_ftp ); }; #log { source(s_tcp); source(s_udp); filter(f_kern); destination(dal_kern); }; #log { source(s_tcp); source(s_udp); filter(h_gate); filter(f_loc0); destination(dal_pfl); }; #log { source(s_tcp); source(s_udp); filter(h_serv); filter(f_loc0); destination(dal_loc0); }; #log { source(s_tcp); source(s_udp); filter(f_loc1); destination(dal_loc1); }; #log { source(s_tcp); source(s_udp); filter(f_loc2); destination(dal_loc2); }; #log { source(s_tcp); source(s_udp); filter(f_loc3); destination(dal_loc3); }; #log { source(s_tcp); source(s_udp); filter(f_loc4); destination(dal_loc4); }; #log { source(s_tcp); source(s_udp); filter(f_loc5); destination(dal_loc5); }; #log { source(s_tcp); source(s_udp); filter(f_loc6); destination(dal_loc6); }; #log { source(s_tcp); source(s_udp); filter(f_loc7); destination(dal_loc7); }; #log { source(s_tcp); source(s_udp); filter(f_lpr ); destination(dal_lpr ); }; #log { source(s_tcp); source(s_udp); filter(f_mail); destination(dal_mail); }; ##log { source(s_tcp); source(s_udp); filter(f_mark); destination(dal_mark); }; # Not Implemented at 1.6.1 #log { source(s_tcp); source(s_udp); filter(f_news); destination(dal_news); }; #log { source(s_tcp); source(s_udp); filter(f_ntp ); destination(dal_ntp ); }; #log { source(s_tcp); source(s_udp); filter(f_secu); destination(dal_secu); }; #log { source(s_tcp); source(s_udp); filter(f_sysl); destination(dal_sysl); }; #log { source(s_tcp); source(s_udp); filter(f_user); destination(dal_user); }; #log { source(s_tcp); source(s_udp); filter(f_uucp); destination(dal_uucp); }; # [ EOF ]