summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-03-23 22:13:01 +0000
committerErmal <eri@pfsense.org>2010-03-23 22:13:21 +0000
commit328efaba8493e83dad27c29408fa1feded4710e3 (patch)
treee95f307fdc5878fb0c34388c340f10cc73048e8d /etc/rc
parentf2087c855f3d41c8faee5160404b51b3b06099c7 (diff)
downloadpfsense-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-xetc/rc9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index ddb867b..97996e6 100755
--- a/etc/rc
+++ b/etc/rc
@@ -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
OpenPOWER on IntegriCloud