Nmap Development mailing list archives

nmap on vserver : route_dst_netlink: can't find interface "venet0"


From: Jens Viisauksena <jens () viisauksena de>
Date: Tue, 09 Sep 2014 00:39:16 +0200

i got some trouble with using nmap on my virtual server
(1blu.de plesk14 and debian7) .. i thought that this worked before
(while i am not 100% sure if i had done some checks in both direction
(home-server and server-home)
they (1blu.de) made an update some days ago and also i have a new second
ip adress (so there is venet0 and extra venet0:1 interface)

### nmap -A someIP
Starting Nmap 6.00 ( http://nmap.org ) at 2014-09-08 00:27 CEST
route_dst_netlink: can't find interface "venet0"

but ifconfig says
### ifconfig
lo        Link encap:Lokale Schleife
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:16436  Metrik:1
          RX packets:56128 errors:0 dropped:0 overruns:0 frame:0
          TX packets:56128 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0
          RX bytes:11206152 (10.6 MiB)  TX bytes:11206152 (10.6 MiB)

venet0    Link encap:UNSPEC  Hardware Adresse
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet Adresse:127.0.0.1  P-z-P:127.0.0.1  Bcast:0.0.0.0
Maske:255.255.255.255
          inet6-Adresse: ::2/128 Gültigkeitsbereich:Kompatibilität
          UP BROADCAST PUNKTZUPUNKT RUNNING NOARP  MTU:1500  Metrik:1
          RX packets:625113 errors:0 dropped:0 overruns:0 frame:0
          TX packets:672587 errors:0 dropped:111 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0
          RX bytes:207408002 (197.7 MiB)  TX bytes:265885711 (253.5 MiB)

venet0:0  Link encap:UNSPEC  Hardware Adresse
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet Adresse:178.254.xx.xxx  P-z-P:178.254.xx.xxx
Bcast:178.254.xx.xxx  Maske:255.255.255.255
          UP BROADCAST PUNKTZUPUNKT RUNNING NOARP  MTU:1500  Metrik:1

venet0:1  Link encap:UNSPEC  Hardware Adresse
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet Adresse:178.254.xx.xxx  P-z-P:178.254.xx.xxx
Bcast:178.254.xx.xxx  Maske:255.255.255.255
          UP BROADCAST PUNKTZUPUNKT RUNNING NOARP  MTU:1500  Metrik:1

i found some other post which statet that some more info is helpfull, so
ive done

### nmap --iflist -d3
Starting Nmap 6.00 ( http://nmap.org ) at 2014-09-08 00:29 CEST
Fetchfile found /usr/bin/../share/nmap/nmap-services
PORTS: Using top 1000 ports found open (TCP:1000, UDP:0, SCTP:0)
INTERFACES: NONE FOUND(!)
Reason: getinterfaces_dnet: intf_loop() failed
ROUTES: NONE FOUND(!)
Reason: getsysroutes_dnet: sysroutes_dnet_find_interfaces() failed

### root ~ # cat /proc/net/route
Iface   Destination     Gateway         Flags   RefCnt  Use     Metric  Mask            MTU     Window  IRTT
lo      0000007F        00000000        0001    0       0       0       000000FF        0       0       0
venet0  00000000        00000000        0001    0       0       0       00000000        0       0       0
### root ~ # ip route show
127.0.0.0/8 dev lo  scope link
default dev venet0  scope link

### root ~ # ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc
noqueue state UNKNOWN
    link/void
    inet 127.0.0.1/32 scope host venet0
    inet 178.254.xx.xxx/32 brd 178.254.39.111 scope global venet0:0
    inet 178.254.xx.xxx/32 brd 178.254.31.209 scope global venet0:1
    inet6 ::2/128 scope global
       valid_lft forever preferred_lft forever

so any help how to get nmap working again, or ideas which things to
check read or check would be awesome
thx, jens

(i xxx'd some ip parts)
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: