Networking - Porte virtuali Microsoft 2
I suggerimenti sono stati presi da riviste di informatica, da newsletters o da siti web
perciò ogni diritto rimane al legittimo proprietario.

 

Microsoft TCP/IP Ports (da http://www.sysadmin.it)

Assegnamento delle porte e numeri di protocollo.

In una rete TCP/IP, una porta è un meccanismo che permette a computer in rete di supportare più comunicazioni/sessioni simultaneamente. Una porta reindirizza una richiesta ricevuta ad un particolare sevizio per l'indirizzo ip su cui è in ascolto.
L' Internet Assigned Numbers Authority (IANA) coordina e definisce l'unicità dei parametri ed i valori da assegnare ai protocolli necessari per le diverse operazioni su Internet e per gli sviluppi futuri.

Queste appendici descrivono le porte assegnate di default e l' ip protocol number per Microsoft® Windows® 2000 Server e Microsoft® Windows® 2000.
Il numero di protocollo indirizza un pacchetto verso il protocollo al livello superiore dello stack appropriato come TCP o UDP. Le appendici contengono le seguenti tabelle:

Per definizione le porte dinamiche sono casualmente assegnate e quindi non possono essere conosciute fino a quando non sono assegnate. Le porte private non sono registrate da IANA ma sono usate da applicativi e software.

Tabella C.1 Porte conosciute

Port No. Protocol Service Name Aliases Comment
7 TCP echo   Echo
7 UDP echo   echo
9 TCP discard sink null Discard
9 UDP discard sink null Discard
13 TCP daytime   Daytime
13 UDP daytime   Daytime
17 TCP qotd quote Quote of the day
17 UDP qotd quote Quote of the day
19 TCP chargen ttytst source Character generator
19 UDP chargen ttytst source Character generator
20 TCP ftp-data   File Transfer
21 TCP ftp   FTP Control
23 TCP telnet   Telnet
25 TCP smtp mail Simple Mail Transfer
37 TCP time   Time
37 UDP time   Time
39 UDP rlp resource Resource Location Protocol
42 TCP nameserver name Host Name Server
42 UDP nameserver name Host Name Server
43 TCP nicname whois Who Is
53 TCP domain   Domain Name
53 UDP domain   Domain Name Server
67 UDP bootps dhcps Bootstrap Protocol Server
68 UDP bootpc dhcpc Bootstrap Protocol Client
69 UDP tftp   Trivial File Transfer
70 TCP gopher   Gopher
79 TCP finger   Finger
80 TCP http www, http World Wide Web
88 TCP kerberos krb5 Kerberos
88 UDP kerberos krb5 Kerberos
101 TCP hostname hostnames NIC Host Name Server
102 TCP iso-tsap   ISO-TSAP Class 0
107 TCP rtelnet   Remote Telnet Service
109 TCP pop2 postoffice Post Office Protocol - Version 2
110 TCP pop3 postoffice Post Office Protocol - Version 3
111 TCP sunrpc rpcbind portmap SUN Remote Procedure Call
111 UDP sunrpc rpcbind portmap SUN Remote Procedure Call
113 TCP auth ident tap Authentication Sevice
117 TCP uucp-path   UUCP Path Service
119 TCP nntp usenet Network News Transfer Protocol
123 UDP ntp   Network Time Protocol
135 TCP epmap loc-srv DCE endpoint resolution
135 UDP epmap loc-srv DCE endpoint resolution
137 TCP netbios-ns nbname NETBIOS Name Service
137 UDP netbios-ns nbname NETBIOS Name Service
138 UDP netbios-dgm nbdatagram NETBIOS Datagram Service
139 TCP netbios-ssn nbsession NETBIOS Session Service
143 TCP imap imap4 Internet Message Access Protocol
158 TCP pcmail-srv repository PC Mail Server
161 UDP snmp snmp SNMP
162 UDP snmptrap snmp-trap SNMP TRAP
170 TCP print-srv   Network PostScript
179 TCP bgp   Border Gateway Protocol
194 TCP irc   Internet Relay Chat Protocol
213 UDP ipx   IPX over IP
389 TCP ldap   Lightweight Directory Access Protocol
443 TCP https MCom  
443 UDP https MCom  
445 TCP     Microsoft CIFS
445 UDP     Microsoft CIFS
464 TCP kpasswd   Kerberos (v5)
464 UDP kpasswd   Kerberos (v5)
500 UDP isakmp ike Internet Key Exchange (IPSec)
512 TCP exec   Remote Process Execution
512 UDP biff comsat Notifies users of new mail
513 TCP login   Remote Login
513 UDP who whod Database of who's logged on, average load
514 TCP cmd shell Automatic Authentication
514 UDP syslog    
515 TCP printer spooler Listens for incoming connections
517 UDP talk   Establishes TCP Connection
518 UDP ntalk    
520 TCP efs   Extended File Name Server
520 UDP router router routed RIPv.1, RIPv.2
525 UDP timed timeserver Timeserver
526 TCP tempo newdate Newdate
530 TCP,UDP courier rpc RPC
531 TCP conference chat IRC Chat
532 TCP netnews readnews Readnews
533 UDP netwall   For emergency broadcasts
540 TCP uucp uucpd Uucpd
543 TCP klogin   Kerberos login
544 TCP kshell krcmd Kerberos remote shell
550 UDP new-rwho new-who New-who
556 TCP remotefs rfs rfs_server Rfs Server
560 UDP rmonitor rmonitord Rmonitor
561 UDP monitor    
636 TCP ldaps sldap LDAP over TLS/SSL
749 TCP kerberos-adm   Kerberos administration
749 UDP kerberos-adm   Kerberos administration

Porte assegnate e porte registrate

Il range delle porte registrate è: 1024 - 49151, e sono elencate da IANA. La tabella C.2 specifica le porte usate dai rispettivi processi. Le porte porte registrate tra 1024 e 5000 sono anche definite come Ephemeral Ports (Porte Volatili). La seguente lista contiene le porte più significative assegnate a servizi Windows 2000.

Tabella C.2 Porte Registrate

Port No. Protocol Service Name Aliases Comment
1109 TCP kpop   Kerberos POP
1167 UDP phone   Conference calling
1433 TCP ms-sql-s   Microsoft-SQL-Server
1433 UDP ms-sql-s   Microsoft-SQL-Server
1434 TCP ms-sql-m   Microsoft-SQL-Monitor
1434 UDP ms-sql-m   Microsoft-SQL-Monitor
1512 TCP wins   Microsoft Windows Internet Name Service
1512 UDP wins   Microsoft Windows Internet Name Service
1524 TCP ingreslock ingres Ingres
1701 UDP l2tp   Layer Two Tunneling Protocol
1723 TCP pptp   Point-to-point tunneling protocol
1812 UDP radiusauth   RRAS (RADIUS authentication protocol)
1813 UDP radacct   RRAS (RADIUS accounting protocol)
2049 UDP nfsd nfs Sun NFS server
2053 TCP knetd   Kerberos de-multiplexer
2504 UDP nlbs   Network Load Balancing
9535 TCP man   Remote Man Server

Porte assegnate per servizi Microsoft comunemente usati.

Ci sono diversi servizi associati con il sistema operativo Windows 2000. Questi servizi possono richiedere più di una porta TCP o UDP per permettere al rispettivo servizio di funzionare. La tabella C.3 elenca le porte usate dai rispettivi servizi.

Tabella C.3 Porte di defautl assegnate ai servizi più comuni.

Service Name UDP TCP
Browsing datagram responses of NetBIOS over TCP/IP 138  
Browsing requests of NetBIOS over TCP/IP 137  
Client/Server Communication   135
Common Internet File System (CIFS) 445 139, 445
Content Replication Service   560
Cybercash Administration   8001
Cybercash Coin Gateway   8002
Cybercash Credit Gateway   8000
DCOM (SCM uses udp/tcp to dynamically assign ports for DCOM) 135 135
DHCP client   67
DHCP server   68
DHCP Manager   135
DNS Administration   139
DNS client to server lookup (varies) 53 53
Exchange Server 5.0    
Client Server Communication   135
Exchange Administrator   135
IMAP   143
IMAP (SSL)   993
LDAP   389
LDAP (SSL)   636
MTA - X.400 over TCP/IP   102
POP3   110
POP3 (SSL)   995
RPC   135
SMTP   25
NNTP   119
NNTP (SSL)   563
File shares name lookup 137  
File shares session   139
FTP   21
FTP-data   20
HTTP   80
HTTP-Secure Sockets Layer (SSL)   443
Internet Information Services (IIS)   80
IMAP   143
IMAP (SSL)   993
IKE (For more information, see Table C.4) 500  
IPSec Authentication Header (AH) (For more information, see Table C.4    
IPSec Encapsulation Security Payload (ESP) (For more information, see Table C.4)    
IRC   531
ISPMOD (SBS 2nd tier DNS registration wizard)   1234
Kerberos de-multiplexer   2053
Kerberos klogin   543
Kerberos kpasswd (v5) 464 464
Kerberos krb5 88 88
Kerberos kshell   544
L2TP 1701  
LDAP   389
LDAP (SSL)   636
Login Sequence 137, 138 139
Macintosh, File Services (AFP/IP)   548
Membership DPA   568
Membership MSN   569
Microsoft Chat client to server   6667
Microsoft Chat server to server   6665
Microsoft Message Queue Server 1801 1801
Microsoft Message Queue Server 3527 135, 2101
Microsoft Message Queue Server   2103, 2105
MTA - X.400 over TCP/IP   102
NetBT datagrams 138  
NetBT name lookups 137  
NetBT service sessions   139
NetLogon 138  
NetMeeting Audio Call Control   1731
NetMeeting H.323 call setup   1720
NetMeeting H.323 streaming RTP over UDP Dynamic  
NetMeeting Internet Locator Server ILS   389
NetMeeting RTP audio stream Dynamic  
NetMeeting T.120   1503
NetMeeting User Location Service   522
NetMeeting user location service ULS   522
Network Load Balancing 2504  
NNTP   119
NNTP (SSL)   563
Outlook (see "Exchange" for ports)    
Pass Through Verification 137, 138 139
POP3   110
POP3 (SSL)   995
PPTP control   1723
PPTP data (see Table C.4)    
Printer sharing name lookup 137  
Printer sharing session   139
Radius accounting (Routing and Remote Access) 1646 or 1813  
Radius authentication (Routing and Remote Access) 1645 or 1812  
Remote Install TFTP   69
RPC client fixed port session queries   1500
RPC client using a fixed port session replication   2500
RPC session ports   Dynamic
RPC user manager, service manager, port mapper   135
SCM used by DCOM 135 135
SMTP   25
SNMP 161  
SNMP Trap 162  
SQL Named Pipes encryption over other protocols name lookup 137  
SQL RPC encryption over other protocols name lookup 137  
SQL session   139
SQL session   1433
SQL session   1024 - 5000
SQL session mapper   135
SQL TCP client name lookup 53 53
Telnet   23
Terminal Server/Desktop Remoto di Windows XP   3389
UNIX Printing   515
WINS Manager   135
WINS NetBios over TCP/IP name service 137  
WINS Proxy 137  
WINS Registration   137
WINS Replication   42
X400   102

Numeri di protocollo

Nell' Header IP, il campo protocollo identifica il servizio al livello superiore a cui verranno passati i dati .La tabella C.4 elenca i numeri di protocollo IP comunemente usati. Queste informazioni sono usati per configurare firewalls, routers e proxies.

Tabella C.4 Numeri di protocollo più comuni

Service Protocol Number
Internet Control Message Protocol (ICMP) 1
Transmission Control Protocol (TCP) 6
User Datagram Protocol (UDP) 17
General Routing Encapsulation (PPTP data over GRE) 47
Authentication Header (AH) IPSec 51
Encapsulation Security Payload (ESP) IPSec 50
Exterior Gateway Protocol (EGP) 8
Gateway-Gateway Protocol (GGP) 3
Host Monitoring Protocol (HMP) 20
Internet Group Management Protocol (IGMP) 88
MIT Remote Virtual Disk (RVD) 66
OSPF Open Shortest Path First 89
PARC Universal Packet Protocol (PUP) 12
Reliable Datagram Protocol (RDP) 27
Reservation Protocol (RSVP) QoS 46