Nmap Development mailing list archives

Re: Please help test libpcap upgrade


From: Daniel Miller <bonsaiviking () gmail com>
Date: Sun, 3 May 2015 14:49:27 -0500

On Sun, May 3, 2015 at 11:20 AM, Dario Bertini <berdario () gmail com> wrote:

I still get the false packet loss:


dario@curie /t/nmap-libpcap-1.7> ./nmap --version

Nmap version 6.47SVN ( http://nmap.org )
Platform: x86_64-unknown-linux-gnu
Compiled with: nmap-liblua-5.2.3 openssl-1.0.1f nmap-libpcre-7.6
nmap-libpcap-1.7.3 nmap-libdnet-1.12 ipv6
Compiled without:
Available nsock engines: epoll poll select
dario@curie /t/nmap-libpcap-1.7> sudo ./nmap -sS -vv 10.129.121.20 -n

Starting Nmap 6.47SVN ( http://nmap.org ) at 2015-05-03 17:14 BST
Initiating Ping Scan at 17:14
Scanning 10.129.121.20 [4 ports]
Completed Ping Scan at 17:14, 0.21s elapsed (1 total hosts)
Initiating SYN Stealth Scan at 17:14
Scanning 10.129.121.20 [1000 ports]
Discovered open port 21/tcp on 10.129.121.20
Discovered open port 22/tcp on 10.129.121.20
Increasing send delay for 10.129.121.20 from 0 to 5 due to 157 out of
523 dropped probes since last increase.
Increasing send delay for 10.129.121.20 from 5 to 10 due to 52 out of
171 dropped probes since last increase.
Increasing send delay for 10.129.121.20 from 10 to 20 due to 11 out of
34 dropped probes since last increase.
Increasing send delay for 10.129.121.20 from 20 to 40 due to 11 out of
35 dropped probes since last increase.
Increasing send delay for 10.129.121.20 from 40 to 80 due to
max_successful_tryno increase to 4


The same happens when scanning scanme.nmap.org


Dario,

Thanks for the report. If you `make clean` then do `sed -i
'/PCAP_SUPPORT_PACKET_RING/s/1/0/' libpcap/config.h` before making again,
does the problem resolve? Also, what kernel version are you using?



Also, not quite sure why, but make check (for zenmap?) apparently fails
here:

make[1]: Leaving directory `/tmp/nmap-libpcap-1.7/nsock/src'
Traceback (most recent call last):
  File "run_tests.py", line 15, in <module>
    start_dir=glob.glob("build/lib.*")[0],
IndexError: list index out of range
make: *** [zenmap_check] Error 1


I don't have any build/ directory after building nmap


It should actually be looking for zenmap/build. Did you configure to build
zenmap? Do you have Python 2 (not 3) installed? Our test discovery is
admittedly poor, so if you have feedback on that, we'd appreciate it on the
Github Issue we have open for that: https://github.com/nmap/nmap/issues/85

Dan
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: