(désolé pour le "servweb" dans le titre, mais comme il était trop long avant ...)
Je n'arrive tout simplement pas à accéder à mon serveur HTTP de l'extérieur. Je n'ai pas de firewall (iptables n'est pas installé), et j'utilise une neufbox. Quand je nmap localhost, j'ai :
Jusqu'ici, tout va bien, le serveur HTTP marche.Starting Nmap 4.76 ( http://nmap.org ) at 2009-06-28 16:37 CEST
Interesting ports on localhost.localdomain (127.0.0.1):
Not shown: 997 closed ports
PORT STATE SERVICE
80/tcp open http
631/tcp open ipp
8010/tcp open unknown
Nmap done: 1 IP address (1 host up) scanned in 0.14 seconds
Les choses commencent à se gâter quand j'essaye d'accèder au serveur HTTP sur l'adresse de mon ordi sur le réseau
(192.168.1.21). Paf. "Impossible de se connecter au serveur distant". Un rapide nmap m'indique que seul le port 8010 est ouvert :
Bizzare. La suite l'est encore plus.Starting Nmap 4.76 ( http://nmap.org ) at 2009-06-28 16:49 CEST
Interesting ports on 192.168.1.21:
Not shown: 999 closed ports
PORT STATE SERVICE
8010/tcp open unknown
Nmap done: 1 IP address (1 host up) scanned in 0.20 seconds
J'essaye d'accèder au serveur HTTP par mon ip. Re-Paf. "Timeout". Un nmap effectué localement me dit que les ports 53, 1287, 8080 et 49152 sont ouverts :
Je me connecte donc à la dédibox d'un ami, et fais un nmap sur mon ip :Starting Nmap 4.76 ( http://nmap.org ) at 2009-06-28 16:50 CEST
Interesting ports on 88.141.103.226:
Not shown: 996 filtered ports
PORT STATE SERVICE
53/tcp open domain
1287/tcp open unknown
8080/tcp closed http-proxy
49152/tcp open unknown
Nmap done: 1 IP address (1 host up) scanned in 17.36 seconds
o_OStarting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2009-06-28 17:16 CEST
sendto in send_ip_packet: sendto(3, packet, 40, 0, 88.141.103.226, 16) => Operation not permitted
Interesting ports on 226.103.141-88.rev.gaoland.net (88.141.103.226):
(The 1662 ports scanned but not shown below are in state: filtered)
PORT STATE SERVICE
80/tcp closed http
Nmap finished: 1 IP address (1 host up) scanned in 25.943 seconds
Pour info, j'ai transféré grâce au NAT de la NeufBox les requêtes du port 80 vers le port 80 de 192.168.1.21 :
[lien]http://uppix.net/d/c/5/70836e8b4ab448dc ... 538731.png[/lien]
Encore plus bizzare, quand je transfère les requêtes du port 522 (choisi au hasard) :
[lien]http://uppix.net/f/0/2/832b09c945330287 ... be3f4c.png[/lien]
Nmap, depuis un serveur distant, me donne ce résultat :
Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2009-06-28 17:23 CEST
sendto in send_ip_packet: sendto(3, packet, 40, 0, 88.141.103.226, 16) => Operation not permitted
Interesting ports on 226.103.141-88.rev.gaoland.net (88.141.103.226):
(The 1661 ports scanned but not shown below are in state: filtered)
PORT STATE SERVICE
80/tcp closed http
522/tcp closed ulp
Nmap finished: 1 IP address (1 host up) scanned in 25.459 seconds
Que puis-je faire ? :/
gajorgem