mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Pass -S to tcpdump to avoid an increase in memory consumption over time.
This commit is contained in:
parent
4a1a432b80
commit
e83eaf36a1
@ -124,9 +124,9 @@ function filter_pflog_start() {
|
||||
}
|
||||
mute_kernel_msgs();
|
||||
$output = 0;
|
||||
exec("/bin/pgrep -af 'tcpdump -s 256 -v -l -n -e -ttt -i pflog0'", $output, $retval);
|
||||
exec("/bin/pgrep -af 'tcpdump -s 256 -v -S -l -n -e -ttt -i pflog0'", $output, $retval);
|
||||
if($retval != 0)
|
||||
mwexec_bg("/usr/sbin/tcpdump -s 256 -v -l -n -e -ttt -i pflog0 | logger -t pf -p local0.info");
|
||||
mwexec_bg("/usr/sbin/tcpdump -s 256 -v -S -l -n -e -ttt -i pflog0 | logger -t pf -p local0.info");
|
||||
unmute_kernel_msgs();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user