Quantcast
Channel: THWACK: Message List - Kiwi Syslog
Viewing all articles
Browse latest Browse all 2141

Re: Kiwi Syslog + PFsense (parsing firewall log from 2 lines to 1 help)

$
0
0

I have this working in pfsense 2.0.2.

Go to Diagnostics -> Edit File, open file  /etc/inc/filter.inc and change the following:

From: mwexec_bg("/usr/sbin/tcpdump -s 256 -v -l -n -e -ttt -i pflog0 | logger -t pf -p local0.info");

To: mwexec_bg("/usr/sbin/tcpdump -s 256 -v -l -n -e -ttt -i pflog0 | /usr/bin/sed -l -e 'N;s/\\n //;P;D;' | logger -t pf -p local0.info");

 

You have to reboot your pfsense to see the changes applied, and there no more split lines!


Viewing all articles
Browse latest Browse all 2141

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>