Voici un nmap de mon serveur sur la carte r�seau reli�e � internet:

nmap -sT -v -F xxx.xxx.xxx.xxx 2>&1

Starting nmap V. 2.53 by [EMAIL PROTECTED] ( www.insecure.org/nmap/ )
Host dhcp-clients.xxx.ch (xxx.xxx.xxx.xxx) appears to be up ... good.
Initiating TCP connect() scan against dhcp-clients.xxx.ch
(xxx.xxx.xxx.xxx)
Adding TCP port 443 (state open).
Adding TCP port 21 (state open).
Adding TCP port 3128 (state open).
Adding TCP port 111 (state open).
Adding TCP port 6000 (state open).
Adding TCP port 901 (state open).
Adding TCP port 139 (state open).
Adding TCP port 53 (state open).
Adding TCP port 22 (state open).
Adding TCP port 80 (state open).
The TCP connect scan took 0 seconds to scan 1062 ports.
Interesting ports on dhcp-clients.xxx.ch (xxx.xxx.xxx.xxx):
(The 1052 ports scanned but not shown below are in state: closed)
Port       State       Service
21/tcp     open        ftp                     
22/tcp     open        ssh                     
53/tcp     open        domain                  
80/tcp     open        http                    
111/tcp    open        sunrpc                  
139/tcp    open        netbios-ssn             
443/tcp    open        https                   
901/tcp    open        samba-swat              
3128/tcp   open        squid-http              
6000/tcp   open        X11                     

Nmap run completed -- 1 IP address (1 host up) scanned in 0 seconds


------------------------------------------------------------------------
--------

Je d�sir fermer les ports inutiles, par exemple le port ftp 21, quel est
la commande pour le fermer??

Ensuite � quoi servent les ports suivants:
domain 53
sunrpc 111
netbios-ssn 139
squid-http 3128

En ayant un serveur qui comprend samba, serveur web, ssh, puis-je fermer
les autres ports??

Et pour terminer si je demande comment on ferme les ports je voudrai
aussi connaitre le moyen de les ouvrirs.

Merci d'avance

St�phane
--
http://www-internal.alphanet.ch/linux-leman/ avant de poser
une question. Ouais, pour se d�sabonner aussi.

Répondre à