On Wed, Dec 20, 2006 at 08:51:41AM +0100, Giovanni Bechis wrote: > Nmap updated to 4.20 version, I added a quick hack to force > using OpenBSD pcap libraries.
When compiling with X11 support, make lib-depends-check is not happy, missing several graphical libraries and libz. Additionally, I'm not a nmap expert but the following script does, to me, suggest something may not be as it should. 192.168.14.1 is another i386 box running a recent -current; pf is enabled on 192.168.14.1, but not on localhost. The first run was made using the no_x11 flavor. Joachim Script started on Sat Dec 23 21:43:51 2006 # nmap -sT -P0 -T4 192.168.14.1 Starting Nmap 4.20 ( http://insecure.org ) at 2006-12-23 21:43 CET Interesting ports on calliope.jschipper.dynalias.net (192.168.14.1): Not shown: 1684 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 53/tcp open domain 80/tcp open http 111/tcp open rpcbind 113/tcp open auth 143/tcp open imap 443/tcp open https 767/tcp open phonebook 993/tcp open imaps 5432/tcp open postgres 10082/tcp open amandaidx 10083/tcp open amidxtape Nmap finished: 1 IP address (1 host up) scanned in 30.244 seconds # nmap -sS -P0 -T4 192.168.14.1 Starting Nmap 4.20 ( http://insecure.org ) at 2006-12-23 21:47 CET Nmap finished: 1 IP address (0 hosts up) scanned in 0.247 seconds # pkg_delete nmap nmap-4.11-no_x11: complete # nmap -sT -P0 -T4 192.168.14.1 Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2006-12-23 21:48 CET Interesting ports on calliope.jschipper.dynalias.net (192.168.14.1): Not shown: 1667 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 53/tcp open domain 80/tcp open http 111/tcp open rpcbind 113/tcp open auth 143/tcp open imap 443/tcp open https 767/tcp open phonebook 993/tcp open imaps 5432/tcp open postgres 10082/tcp open amandaidx 10083/tcp open amidxtape Nmap finished: 1 IP address (1 host up) scanned in 29.921 seconds melpomene nmap# nmap -sS -P0 -T4 192.168.14.1 Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2006-12-23 21:49 CET Interesting ports on calliope.jschipper.dynalias.net (192.168.14.1): Not shown: 1667 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 53/tcp open domain 80/tcp open http 111/tcp open rpcbind 113/tcp open auth 143/tcp open imap 443/tcp open https 767/tcp open phonebook 993/tcp open imaps 5432/tcp open postgres 10082/tcp open amandaidx 10083/tcp open amidxtape MAC Address: 00:30:4F:21:1F:81 (Planet Technology) Nmap finished: 1 IP address (1 host up) scanned in 19.623 seconds # exit Script done on Sat Dec 23 21:49:48 2006