Hello,
I deployed p0f with mhn (great tool) on a debian server (Jessie). Unfortunately, it doesn't start. Here is the p0f.out content :
[+] Closed 1 file descriptor.
[+] Loaded 320 signatures from 'p0f.fp'.
[+] p0f.hpfeed: sending authentication.
[+] p0f.hpfeed: Authentication done.
[+] Intercepting traffic on interface 'eth0'.
[-] pcap_compile: syntax error
[-] PROGRAM ABORT : Syntax error! See 'man tcpdump' for help on filters.
Location : prepare_bpf(), p0f.c:655
--- p0f 3.07b by Michal Zalewski <> ---
So, I went into p0f.c file :
if (pcap_compile(pt, &flt, (char*)final_rule, 1, 0)) {
pcap_perror(pt, "[-] pcap_compile");
if (!orig_rule)
FATAL("pcap_compile() didn't work, strange");
else
FATAL("Syntax error! See 'man tcpdump' for help on filters.");
}
And I'm stuck here, i don't understand what is wrong with the syntax here and what i should correct to make it work.
Maybe someone here can help me. Thanks !