diff options
author | Ermal <eri@pfsense.org> | 2010-03-23 22:13:01 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-03-23 22:13:21 +0000 |
commit | 328efaba8493e83dad27c29408fa1feded4710e3 (patch) | |
tree | e95f307fdc5878fb0c34388c340f10cc73048e8d /etc/rc | |
parent | f2087c855f3d41c8faee5160404b51b3b06099c7 (diff) | |
download | pfsense-328efaba8493e83dad27c29408fa1feded4710e3.zip pfsense-328efaba8493e83dad27c29408fa1feded4710e3.tar.gz |
Use the -s ident option of mpd to send the logs for the PPPoE/PPTP/L2TP servers to syslogs appropriate files. Create the files for these vpn's as for the others. Logs can be viewed in the VPN tab of the system log.
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -231,6 +231,9 @@ if [ "$DISABLESYSLOGCLOG" -gt "0" ]; then touch /var/log/filter.log touch /var/log/dhcpd.log touch /var/log/vpn.log + touch /var/log/pptp.log + touch /var/log/pppoe.log + touch /var/log/l2tp.log touch /var/log/openvpn.log touch /var/log/portalauth.log touch /var/log/ipsec.log @@ -246,6 +249,9 @@ else /usr/sbin/fifolog_create -s 511488 /var/log/filter.log /usr/sbin/fifolog_create -s 50688 /var/log/dhcpd.log /usr/sbin/fifolog_create -s 50688 /var/log/vpn.log + /usr/sbin/fifolog_create -s 50688 /var/log/pptp.log + /usr/sbin/fifolog_create -s 50688 /var/log/pppoe.log + /usr/sbin/fifolog_create -s 50688 /var/log/lt2p.log /usr/sbin/fifolog_create -s 50688 /var/log/openvpn.log /usr/sbin/fifolog_create -s 50688 /var/log/portalauth.log /usr/sbin/fifolog_create -s 50688 /var/log/ipsec.log @@ -258,6 +264,9 @@ else /usr/sbin/clog -i -s 512144 /var/log/filter.log /usr/sbin/clog -i -s 65535 /var/log/dhcpd.log /usr/sbin/clog -i -s 65535 /var/log/vpn.log + /usr/sbin/clog -i -s 50688 /var/log/pptp.log + /usr/sbin/clog -i -s 50688 /var/log/pppoe.log + /usr/sbin/clog -i -s 50688 /var/log/lt2p.log /usr/sbin/clog -i -s 65535 /var/log/openvpn.log /usr/sbin/clog -i -s 65535 /var/log/portalauth.log /usr/sbin/clog -i -s 65535 /var/log/ipsec.log |