Re: PF logging into a file [solved]

2010-01-24 Thread Paolo Supino
Hi A different search on Google indicated that "The book of PF" has a section about logging to syslog ... And there it had the complete command line to logging in real time with tcpdump to syslog :-) The complete command (and found to be working): tcpdump -lnettti pflog0 | logger -t pf -p [

Re: PF logging into a file

2010-01-24 Thread Vadim Agarkov
but why? :-) -- thanks, VA 24.01.2010 14:33, Paolo Supino P?P8QP5Q: Hi Vadim pflogd is writing the A small detail I forgot to mention: I need the log to be in text (readable) format. pflogd write pcap format files, which isn't suitable for me ... -- TIA Paolo On 1/24/10 2:17 PM, V

Re: PF logging into a file

2010-01-24 Thread Paolo Supino
Hi Vadim pflogd is writing the A small detail I forgot to mention: I need the log to be in text (readable) format. pflogd write pcap format files, which isn't suitable for me ... -- TIA Paolo On 1/24/10 2:17 PM, Vadim Agarkov wrote: 24.01.2010 13:36, Paolo Supino P?P8QP5Q: Hi I'

Re: PF logging into a file

2010-01-24 Thread Vadim Agarkov
24.01.2010 13:36, Paolo Supino P?P8QP5Q: Hi I've often used the command "tcpdump -n -e -ttt -i pflog0" to view PF log in real time. I've decided to try and use it in order to log in real time PF through syslog. The solution described in the PF FAQ to log to syslog works in time intervals, whic

PF logging into a file

2010-01-24 Thread Paolo Supino
Hi I've often used the command "tcpdump -n -e -ttt -i pflog0" to view PF log in real time. I've decided to try and use it in order to log in real time PF through syslog. The solution described in the PF FAQ to log to syslog works in time intervals, which doesn't meet my needs in my current