Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[résolu] Netstat "getnameinfo failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
diosim
n00b
n00b


Joined: 24 Mar 2011
Posts: 4

PostPosted: Mon May 09, 2011 9:03 am    Post subject: [résolu] Netstat "getnameinfo failed Reply with quote

Bonjour,

j'ai remarqué une lenteur de mon serveur web, lorsque j'effectue la commande netstat -a je remarque qu'il y a une connexion en ssh d'ouverte, je voudrais la fermer, et pourquoi j'ai "getnameinfo"?

Merci d'avance
Cordialement,

Code:

tcp        0      0 *:http                  *:*                     LISTEN
tcp        0      0 *:ssh                   *:*                     LISTEN
tcp        0      0 *:https                 *:*                     LISTEN
getnameinfo failed
getnameinfo failed
tcp        0      0 [UNKNOWN]:ssh           [UNKNOWN]:4985          ESTABLISHED
getnameinfo failed
getnameinfo failed
tcp        0      0 [UNKNOWN]:ssh           [UNKNOWN]:4986          ESTABLISHED


Last edited by diosim on Thu May 19, 2011 3:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
Poussin
l33t
l33t


Joined: 08 Jun 2007
Posts: 659
Location: Liège

PostPosted: Mon May 09, 2011 11:10 am    Post subject: Reply with quote

Problème de résolution dns. Ajoute l'option -n, histoire de voir d'où vient cette connexion
Back to top
View user's profile Send private message
diosim
n00b
n00b


Joined: 24 Mar 2011
Posts: 4

PostPosted: Mon May 09, 2011 11:19 am    Post subject: Reply with quote

alors avec l'option -n

la commande s'affiche directement, j'avais une lenteur auparavant
Code:

tcp        0      0 :::80                   :::*                    LISTEN
tcp        0      0 :::443                  :::*                    LISTEN
tcp        0      0 :::223                  :::*                    LISTEN
tcp        0      0 ::ffff:192.168.1.24:223 ::ffff:192.168.1.3:3471 ESTABLISHED
tcp        0      0 ::ffff:192.168.1.24:223 ::ffff:192.168.1.3:3476 ESTABLISHED
tcp        0    132 ::ffff:192.168.1.24:223 ::ffff:192.168.1.3:3960 ESTABLISHED
udp        0      0 192.168.1.24:42175      193.95.93.77:53         ESTABLISHED
udp        0      0 127.0.0.1:123           0.0.0.0:*
udp        0      0 192.168.1.24:123        0.0.0.0:*
udp        0      0 0.0.0.0:123             0.0.0.0:*


tout à l'heure j'ai eu une intrusion

Code:

tcp        0      0 [UNKNOWN]:http          74.86.158.106-sta:62020 ESTABLISHED


comment je peux l'à bloquer?
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8711
Location: ~Brussels - Belgique

PostPosted: Mon May 09, 2011 11:23 am    Post subject: Reply with quote

Salut,

La connexion SSH n'est-elle pas celle de ton terminal ?
Et comment pourrais-tu définir une "intrusion" HTTP alors que tu nous dis que c'est un serveur Web, donc basé sur le protocole HTTP ?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
diosim
n00b
n00b


Joined: 24 Mar 2011
Posts: 4

PostPosted: Mon May 09, 2011 11:26 am    Post subject: Reply with quote

oui alors quelques précisions, la connexion est bien avec mon terminal, mais s'était la première fois que j'avais l'erreur "getnameinfo"

mon serveur web est seulement connu par les employés de l'entreprise (webmail), et cette ip des USA, ne devrait pas pouvoir y accéder
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8711
Location: ~Brussels - Belgique

PostPosted: Mon May 09, 2011 3:03 pm    Post subject: Reply with quote

Comment as-tu sécurisé ton site ? S'il est ouvert sur le monde, il est normal qu'on puisse le détecter très rapidement. Il faut que tu filtres les entrées, soit par une liste blanches d'IP, soit par des droits d'accès par utilisateur (via la config apache), ...

Dire que "l'IP n'est connue que par mon entreprise" ne suffit plus en 2011...
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Sun May 15, 2011 4:55 pm    Post subject: Reply with quote

Hello, peux-tu mettre ton titre du topic en conformité avec les conventions de notre forum s'il te plait ? Merci :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum