How to Find and Check Number of Connections to a Server Come trovare e controllare numero di connessioni a un server
Whenever a client connects to a server via network, a connection is established and opened on the system. Ogni volta che un client si connette a un server tramite rete, la connessione è stabilita e aperti sul sistema. On a busy high load server, the number of connections connected to the server can be run into large amount till hundreds if not thousands. Su un alto carico occupato server, il numero di connessioni connesso al server può essere eseguito in grande quantità fino a centinaia se non migliaia. Find out and get a list of connections on the server by each node, client or IP address is useful for system scaling planning, and in most cases, detect and determine whether a web server is under DoS or DDoS attack (Distributed Denial of Service), where an IP sends large amount of connections to the server. Scoprire e ottenere una lista di connessioni sul server di ciascun nodo, cliente o indirizzo IP è utile per la pianificazione del sistema di scala, e nella maggior parte dei casi, individuare e determinare se un server web è sotto DOS o attacco DDoS (Distributed Denial of Service) , Dove un IP invia grande quantità di connessioni al server. To check connection numbers on the server, administrators and webmasters can make use of netstat command. Per verificare i numeri di connessione sul server, gli amministratori e webmaster possono utilizzare il comando netstat.
Below is some of the example a typically use command syntax for ‘netstat’ to check and show the number of connections a server has. Qui di seguito alcuni è l'esempio di un tipico uso della sintassi per il comando 'netstat' per controllare e mostra il numero di connessioni è un server. Users can also use ‘man netstat’ command to get detailed netstat help and manual where there are lots of configurable options and flags to get meaningful lists and results. Gli utenti possono anche utilizzare 'uomo netstat' per ottenere dettagliate netstat aiuto e manuale dove ci sono un sacco di opzioni configurabili e bandiere per ottenere significativi risultati e le liste.
netstat -na netstat-na
Display all active Internet connections to the servers and only established connections are included. Visualizzare tutte le connessioni Internet attiva per i server e solo le connessioni stabilite sono inclusi.
netstat -an | grep :80 | sort netstat-an | grep: 80 | sort
Show only active Internet connections to the server at port 80 and sort the results. Mostra solo Internet attiva le connessioni con il server in porta 80 e ordinare i risultati. Useful in detecting single flood by allowing users to recognize many connections coming from one IP. Utile per l'individuazione delle singole inondazioni consentendo agli utenti di riconoscere numerose connessioni provenienti da uno IP.
netstat -n -p|grep SYN_REC | wc -l netstat-n-p | grep SYN_REC | wc-l
Let users know how many active SYNC_REC are occurring and happening on the server. Consentire agli utenti di sapere quanti sono attivi SYNC_REC accadendo e che si verificano sul server. The number should be pretty low, preferably less than 5. Il numero dovrebbe essere piuttosto basso, preferibilmente inferiore a 5. On DoS attack incident or mail bombed, the number can jump to twins. Attacco DoS su incidente o posta bombardato, il numero può saltare a gemelli. However, the value always depends on system, so a high value may be average in another server. Tuttavia, il valore dipende sempre sistema, in modo un elevato valore medio può essere in un altro server.
netstat -n -p | grep SYN_REC | sort -u netstat-n-p | grep SYN_REC | sort-u
List out the all IP addresses involved instead of just count. Elenco di tutti gli indirizzi IP coinvolti invece di contare.
netstat -n -p | grep SYN_REC | awk '{print $5}' | awk -F: '{print $1}' netstat-n-p | grep SYN_REC | awk '(print $ 5)' | awk-F: '(print $ 1)'
List all the unique IP addresses of the node that are sending SYN_REC connection status. Elencare tutte le uniche indirizzi IP del nodo che stanno inviando SYN_REC stato della connessione.
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n netstat-NTU | awk '(print $ 5)' | cut-d:-f1 | sort | uniq-c | sort-n
Use netstat command to calculate and count the number of connections each IP address makes to the server. Utilizzare il comando netstat per calcolare e contare il numero di connessioni ogni indirizzo IP rende al server.
netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n netstat-ANP | grep 'tcp \ | udp' | awk '(print $ 5)' | cut-d:-f1 | sort | uniq-c | sort-n
List count of number of connections the IPs are connected to the server using TCP or UDP protocol. Elenco di contare il numero di connessioni gli IP sono collegati al server utilizzando il protocollo TCP o UDP protocollo.
netstat -ntu | grep ESTAB | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr netstat-NTU | grep isti | awk '(print $ 5)' | cut-d:-f1 | sort | uniq-c | sort-nr
Check on ESTABLISHED connections instead of all connections, and displays the connections count for each IP. ISTITUITO a controllare le connessioni invece di tutti i collegamenti, e visualizza i collegamenti contare per ogni IP.
netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1 netstat-piano | grep: 80 | awk ( 'print $ 5') | cut-d:-f 1 | sort | uniq-c | sort nk-1
Show and list IP address and its connection count that connect to port 80 on the server. Visualizza elenco e indirizzo IP e la sua connessione contare che si connettono alla porta 80 sul server. Port 80 is used mainly by HTTP web page request. Porta 80 è utilizzato principalmente da HTTP pagina web richiesta.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una pagina tradotta macchina che è fornito "così com'è" senza alcuna garanzia. Machine translation may be difficult to understand. Traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale inglese whenever possible. quando possibile.
Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e assistenza in My Digital Life Forums La mia vita digitale Forum .
Related Articles Articoli correlati
- Limit Maximum TCP Connections to Web Servers Limite massimo di connessioni TCP per il server web
- How to Check if Telnet Is Running on a Server Come controllare se Telnet è in esecuzione su un server
- Tweak (Increase or Change) Maximum Simultaneous HTTP and Downloads Connections to Web Server Tweak (aumento o Cambia) Massimo simultanea HTTP e download di connessioni a server Web
- Checking Free Disk Space on FreeBSD Server Controllo di spazio libero su disco su FreeBSD server
- How to Get Actual Build and Revision Number of Windows Vista or Longhorn Server Installed Come arrivare effettivo costruire e numero di revisione di Windows Vista o Longhorn Server installato
- Using PHP-MySQL Persistent Connections to Run WordPress Blog Utilizzo di PHP-MySQL le connessioni persistenti per eseguire blog di WordPress
- Error Has Occurred While Establishing A Connection To SQL Server 2005 Which Does Not Allow Local and Remote Connections Si è verificato un errore mentre stabilendo una connessione a SQL Server 2005, che non permette locali e connessioni remote
- Connect to Remote Computer using Specific Non Standard Port using Remote Desktop Connection Client Connettersi al computer remoto utilizzando specifici non porta standard utilizzando Connessione desktop remoto client
- Shortcut to Open Network Connections Quickly in Vista Scorciatoia per aprire le connessioni di rete rapidamente in Vista
- Workaround to Run VNC Server in Windows Vista Soluzione per eseguire server VNC in Windows Vista

































April 24th, 2008 13:38 24 aprile 2008 13:38
Thank you, really useful for defending attacker Grazie, veramente utile per difendere attaccante
July 3rd, 2008 19:24 3 luglio 2008 19:24
Thank you very much, I have been under attack and thanks to list list of such useful info I am now clean! La ringrazio molto, mi è stato oggetto di attacchi, e grazie alla lista elenco di tali informazioni utili sono ora pulito!