I am trying to run Netwox tool 78 on Ubuntu 18.04 and also tried on Ubuntu Osboxes image; but, I am getting following errors:
$ sudo netwox 78 --filter 10.161.25.252 Error 4081 :
error in pcap_compile() hint: errno = 22 = Invalid argument hint:
can't parse filter expression: syntax error osboxes@osboxes:~$ sudo
netwox 78 --filter "10.161.25.252" Error 4081 : error in
pcap_compile() hint: errno = 22 = Invalid argument hint: can't parse
filter expression: syntax error osboxes@osboxes:~$
How can I resolve this problem?
Per the project's site: "This project reached its End Of Maintenance in 2007"
Looks like a pretty broken and not well documented program, IMNSHO. Your error seems to be some mysterious bug in the program. I got the same error message. Not sure why this is even included in the repositories.
There is a little bit of documentation in
/usr/share/doc/netwox
.You can try reading either
problemusageunix.txt.gz
ortoollist.txt.gz
with the following commands:A quick glance through those docs doesn't show me anything pertaining to your error. Good luck.
So I found this fix for the problem. Checkout this page for the documentation tcpdump manpages
So in effect, to specify the source and destination IP addresses, you use dst for destination or src for source