summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-04 19:51:52 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-04 19:51:52 +0000
commitbe4906cff6731a5baec916beb792e48e11f5c38b (patch)
treee6a01746e1b400d079362ff72b3b7c924752ab8d
parent705a413797775a32814c852db1e40a985d9b966f (diff)
downloadpfsense-be4906cff6731a5baec916beb792e48e11f5c38b.zip
pfsense-be4906cff6731a5baec916beb792e48e11f5c38b.tar.gz
Increase snaplen to 256
-rw-r--r--etc/inc/filter.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 046323a..95207c3 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -63,9 +63,9 @@ function filter_pflog_start() {
mute_kernel_msgs();
$pid = 0;
- $pid = `ps awwwux | grep -v "grep" | grep "tcpdump -v -l -n -e -ttt -i pflog0" | awk '{ print $2 }'`;
+ $pid = `ps awwwux | grep -v "grep" | grep "tcpdump -s 256 -v -l -n -e -ttt -i pflog0" | awk '{ print $2 }'`;
if(!$pid)
- mwexec_bg("/usr/sbin/tcpdump -v -l -n -e -ttt -i pflog0 | logger -t pf -p local0.info");
+ mwexec_bg("/usr/sbin/tcpdump -s 256 -v -l -n -e -ttt -i pflog0 | logger -t pf -p local0.info");
unmute_kernel_msgs();
@@ -2928,4 +2928,4 @@ function return_vpn_subnet($adr)
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud