Nmap Development mailing list archives
Re: IPv6 OS Detection: Call for fingerprinters!
From: Fyodor <fyodor () insecure org>
Date: Thu, 7 Jul 2011 10:35:07 -0700
On Thu, Jul 07, 2011 at 03:53:22PM +0200, Luis MartinGarcia. wrote:
On 07/07/2011 01:30 AM, Fyodor wrote:I get the error in --interactive and command-line mode. Here is the full output:Hi Fyodor, Mmm, that was supposed to be fixed in r24677. Could you please "svn update" and try to run it again? You can pick the script from either this address:
I've updated to current (r24710) and it still fails, but I think I may
see the problem. r24678 includes:
- icmp_packet.data="\xEE"*65800 # This causes a deprecation warning
+ icmp_packet.data="\xEE"*65800 # This used to equal 65800 but since it fails in Python>=2.7, it was changed
to 65001
It looks like you updated the comments, but didn't actually change the
value. If I change that 65,800 to 65,001, I no longer get that error
message. But I do get other errors later. Here is the full output:
[root@play nping-dev]# ./ipv6fp.py --interactive
[+] First of all, we need you to provide some details:
|_ Target's IPv6 address: 2002:43a9:54c8:0:21a:6bff:fece:b9ea
|_ Target's IP (version 4) address [Press ENTER to skip IPv4]: 192.168.0.8
|_ OPEN port in target [Press ENTER to default to 80]: 22
|_ CLOSED port in target [Press ENTER to default to 9999]: 23
=================================================================
== NMAP IPv6 OS DETECTION RESEARCH TOOL ==
=================================================================
You are running ipv6fp, an internal research tool for the Nmap
Security Scanner. This program will send about 150 IPv6 network
probes to a target system and collect any responses received.
The results will let us build a new IPv6 stack fingerprinting
engine in Nmap.
We'd like to thank you in advance for running this tool. After
the execution has finished, a file with the following name
will be sted in the working directory:
nmap6fp27957240.6fp
Please send it to the following address: david+luis () nmap org
=================================================================
[+] PERFORMING CONNECTIVITY TEST...
[+] IPv6 conectivity: Traceback (most recent call last):
File "./ipv6fp.py", line 4102, in <module>
main()
File "./ipv6fp.py", line 4072, in main
if test_connectivity()==False :
File "./ipv6fp.py", line 3955, in test_connectivity
response6=send_and_receive(final_packets, verbosity=0)
File "./ipv6fp.py", line 994, in send_and_receive
responses=sndrcv_ng(packet, iface=interface_g, retry=packet_retries_g, timeout=capture_timeout_g, multi=0,
verbose=verbosity, inter=inter_packet_delay_g)
File "./ipv6fp.py", line 967, in sndrcv_ng
send(pkt, inter=inter, verbose=verbose)
File "/usr/lib/python2.7/site-packages/scapy/sendrecv.py", line 235, in send
__gen_send(conf.L3socket(*args, **kargs), x, inter=inter, loop=loop, count=count,verbose=verbose)
File "/usr/lib/python2.7/site-packages/scapy/sendrecv.py", line 207, in __gen_send
x = SetGen(x)
NameError: global name 'SetGen' is not defined
Traceback (most recent call last):
File "./ipv6fp.py", line 4102, in <module>
main()
File "./ipv6fp.py", line 4072, in main
if test_connectivity()==False :
File "./ipv6fp.py", line 3955, in test_connectivity
response6=send_and_receive(final_packets, verbosity=0)
File "./ipv6fp.py", line 994, in send_and_receive
responses=sndrcv_ng(packet, iface=interface_g, retry=packet_retries_g, timeout=capture_timeout_g, multi=0,
verbose=verbosity, inter=inter_packet_delay_g)
File "./ipv6fp.py", line 967, in sndrcv_ng
send(pkt, inter=inter, verbose=verbose)
File "/usr/lib/python2.7/site-packages/scapy/sendrecv.py", line 235, in send
__gen_send(conf.L3socket(*args, **kargs), x, inter=inter, loop=loop, count=count,verbose=verbose)
File "/usr/lib/python2.7/site-packages/scapy/sendrecv.py", line 207, in __gen_send
x = SetGen(x)
NameError: global name 'SetGen' is not defined
Traceback (most recent call last):
File "./ipv6fp.py", line 4102, in <module>
main()
File "./ipv6fp.py", line 4072, in main
if test_connectivity()==False :
File "./ipv6fp.py", line 3955, in test_connectivity
response6=send_and_receive(final_packets, verbosity=0)
File "./ipv6fp.py", line 994, in send_and_receive
responses=sndrcv_ng(packet, iface=interface_g, retry=packet_retries_g, timeout=capture_timeout_g, multi=0,
verbose=verbosity, inter=inter_packet_delay_g)
File "./ipv6fp.py", line 967, in sndrcv_ng
send(pkt, inter=inter, verbose=verbose)
File "/usr/lib/python2.7/site-packages/scapy/sendrecv.py", line 235, in send
__gen_send(conf.L3socket(*args, **kargs), x, inter=inter, loop=loop, count=count,verbose=verbose)
File "/usr/lib/python2.7/site-packages/scapy/sendrecv.py", line 207, in __gen_send
x = SetGen(x)
NameError: global name 'SetGen' is not defined
NO
[+] IPv4 conectivity: Traceback (most recent call last):
File "./ipv6fp.py", line 4102, in <module>
main()
File "./ipv6fp.py", line 4072, in main
if test_connectivity()==False :
File "./ipv6fp.py", line 3987, in test_connectivity
response4=send_and_receive(final_packets, verbosity=0)
File "./ipv6fp.py", line 994, in send_and_receive
responses=sndrcv_ng(packet, iface=interface_g, retry=packet_retries_g, timeout=capture_timeout_g, multi=0,
verbose=verbosity, inter=inter_packet_delay_g)
File "./ipv6fp.py", line 967, in sndrcv_ng
send(pkt, inter=inter, verbose=verbose)
File "/usr/lib/python2.7/site-packages/scapy/sendrecv.py", line 235, in send
__gen_send(conf.L3socket(*args, **kargs), x, inter=inter, loop=loop, count=count,verbose=verbose)
File "/usr/lib/python2.7/site-packages/scapy/sendrecv.py", line 207, in __gen_send
x = SetGen(x)
NameError: global name 'SetGen' is not defined
Traceback (most recent call last):
File "./ipv6fp.py", line 4102, in <module>
main()
File "./ipv6fp.py", line 4072, in main
if test_connectivity()==False :
File "./ipv6fp.py", line 3987, in test_connectivity
response4=send_and_receive(final_packets, verbosity=0)
File "./ipv6fp.py", line 994, in send_and_receive
responses=sndrcv_ng(packet, iface=interface_g, retry=packet_retries_g, timeout=capture_timeout_g, multi=0,
verbose=verbosity, inter=inter_packet_delay_g)
File "./ipv6fp.py", line 967, in sndrcv_ng
send(pkt, inter=inter, verbose=verbose)
File "/usr/lib/python2.7/site-packages/scapy/sendrecv.py", line 235, in send
__gen_send(conf.L3socket(*args, **kargs): lo ::1
fe80::226:18ff:fe6a:40a6/128 :: lo ::1
fe80::250:56ff:fec0:1/128 :: lo ::1
fe80::250:56ff:fec0:8/128 :: lo ::1
ff02::1/128 ff02::1 eth0 fe80::226:18ff:fe6a:40a6
ff02::1:2/128 ff02::1:2 eth0 fe80::226:18ff:fe6a:40a6
== IPv4 Routing information =====================================
Network Netmask Gateway Iface Output IP
127.0.0.0 255.0.0.0 0.0.0.0 lo 127.0.0.1
192.168.0.0 255.255.255.0 0.0.0.0 eth0 192.168.0.5
172.16.154.0 255.255.255.0 0.0.0.0 vmnet8 172.16.154.1
172.16.206.0 255.255.255.0 0.0.0.0 vmnet1 172.16.206.1
0.0.0.0 0.0.0.0 192.168.0.6 eth0 192.168.0.5
== Other Details ================================================
[+] IPv4 Interface: eth0
[+] IPv6 Interface: eth0
[+] User interface: eth0
Traceback (most recent call last):
File "./ipv6fp.py", line 4102, in <module>
main()
File "./ipv6fp.py", line 4072, in main
if test_connectivity()==False :
File "./ipv6fp.py", line 4004, in test_connectivity
print_debug_info()
File "./ipv6fp.py", line 373, in print_debug_info
print "[+] IPv6 enabled: " + str(conf.ipv6_enabled)
AttributeError: 'Conf' object has no attribute 'ipv6_enabled'
Cheers,
Fyodor
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/
Current thread:
- IPv6 OS Detection: Call for fingerprinters! Luis MartinGarcia. (Jul 01)
- Re: IPv6 OS Detection: Call for fingerprinters! Fyodor (Jul 06)
- Re: IPv6 OS Detection: Call for fingerprinters! Luis MartinGarcia. (Jul 07)
- Re: IPv6 OS Detection: Call for fingerprinters! Fyodor (Jul 07)
- Re: IPv6 OS Detection: Call for fingerprinters! Luis MartinGarcia. (Jul 07)
- Re: IPv6 OS Detection: Call for fingerprinters! Luis MartinGarcia. (Jul 07)
- Re: IPv6 OS Detection: Call for fingerprinters! Fyodor (Jul 06)
