diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-05-18 16:50:55 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-05-18 16:50:55 +0000 |
commit | 8a51cbcf952d23b24a13bd1da8ca55e24665c40a (patch) | |
tree | 680440fae1a7a5a8e9a4299fe577bae72d1069e0 /etc/inc | |
parent | 0bedfe6654f64ba4fe66d594e73a86b01a440450 (diff) | |
download | pfsense-8a51cbcf952d23b24a13bd1da8ca55e24665c40a.zip pfsense-8a51cbcf952d23b24a13bd1da8ca55e24665c40a.tar.gz |
Temporarily use tcpdump to send logs until we can patch pflogd to send directly.
This adds about 3.5 megs overhead but for the moment its all we can do until we can locate the patch
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/filter.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 17aacea..2233f1a 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -45,6 +45,9 @@ function filter_pflog_start() { global $config, $g; mwexec("/sbin/ifconfig pflog0 up && pflogd -sD"); + + mwexec_bg("/usr/sbin/tcpdump -n -e -ttt -i pflog0 | logger -t pf -p local0.info"); + } function filter_configure() { |