[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

nmap localhost : route_dst_netlink: can't find interface "lo"



Bonjour a tous,

Je cherche à faire un système d'authentification simple utilisant IMAP. Pour cela, j'utilise en PHP le code :

$mbox = imap_open("{localhost:143}INBOX", "user_id", "password");

ça ne fonctionne pas, pour comprendre, je commence par "nmap localhost" qui me renvoi l'erreur :

Starting Nmap 6.00 ( http://nmap.org ) at 2013-07-16 11:27 CEST
route_dst_netlink: can't find interface "lo"

Un "ssh localhost" fonctionne et "ifconfig" me renvoi bien :

lo        Link encap:Boucle locale
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4350910 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4350910 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
          RX bytes:1454504024 (1.3 GiB)  TX bytes:1454504024 (1.3 GiB)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet adr:127.0.0.2 P-t-P:127.0.0.2 Bcast:0.0.0.0 Masque:255.255.255.255
          adr inet6: xxxxxxxxxxxxxxx Scope:Global
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:1049907 errors:0 dropped:0 overruns:0 frame:0
          TX packets:821736 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
RX bytes:214016080 (204.1 MiB) TX bytes:607612016 (579.4 MiB)

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet adr:xxx.xxx.xxx.xx P-t-P:xxx.xx.xxx.xx Bcast:xxx.xxx.xxx.xxx Masque:255.255.252.0
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

venet0:0:FWB1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet adr:xxx.xxx.xxx.xxx P-t-P:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx Masque:255.255.255.0
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

La machine est un VPS ovh avec une Debian wheezy et un noyau ovh 2.6.32-042stab078.27. il y a aussi sur la machine un webmail qui fonctionne correctement (roundcube).

J'aimerais comprendre pourquoi l'interface loopback n'est pas accessible par nmap mais reçois quand même du trafic ?

Julien


Reply to: