User Tools

Site Tools


утилиты_для_тестирования_сети

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
утилиты_для_тестирования_сети [2014/09/09 09:47]
val [ping]
утилиты_для_тестирования_сети [2022/01/04 18:28]
val [tcpdump]
Line 3: Line 3:
 ===== ping ===== ===== ping =====
  
-[[http://ftp.arl.mil/~mike/ping.html]]+  * [[https://lingualeo.com/ru/jungle/​the-story-of-the-ping-program-188748|The Story of the PING Program]]
  
 <​code>​ <​code>​
-ping -f 172.16.1.254+debian# apt install iputils-ping
  
-ping -i 0.1 172.16.1.254+ping 1.1.1.1
  
-ping -c 1 -D -s 1472 ya.ru+$ ping -f gate.isp.un 
 + 
 +$ ping -i 0.1 gate.isp.un 
 + 
 +ping -c 1 -D -s 1472 ya.ru
 </​code>​ </​code>​
  
 +===== ARP ping =====
 +<​code>​
 +freebsd_sh$ ip=172.16.1.123;​ ping -c 1 -W 500  $ip >/​dev/​null ; arp -an | grep "$ip "
 +
 +linux$ ip=172.16.1.254;​ ping -c 1 -W 1  $ip >/​dev/​null ; ip n | grep "$ip "
 +</​code>​
 ===== tcpdump ===== ===== tcpdump =====
 <​code>​ <​code>​
-tcpdump -i em0 -n -s 0 -A "port 21 and host 172.16.1.X"​+linux# tcpdump -i any -n 
 + 
 +tcpdump -vn 
 + 
 +tcpdump -i em0 -n -s0 -A "port 21 and host 172.16.1.X"​
  
 tcpdump -nei em0 ether src 00:​0c:​29:​c5:​07:​8f tcpdump -nei em0 ether src 00:​0c:​29:​c5:​07:​8f
  
-tcpdump -w file.dump -s 0 "port 21 and host 172.16.1.X"​+tcpdump -w file.dump -s0 "port 21 and host 172.16.1.X"​
  
-tcpdump -n -r file.dump -s 0 -A+tcpdump -n -r file.dump -s0 -A 
 + 
 +tcpdump -n ip and '​ip[8]=127' ​  # ttl 
 + 
 +#​https://​unix.stackexchange.com/​questions/​466584/​tcpdump-tshark-view-only-outgoing-tcp-connections-requests 
 +server# tcpdump -i any -nn src host 192.168.X.10 and "​tcp[tcpflags] == tcp-syn"​
 </​code>​ </​code>​
  
Line 31: Line 50:
 </​code>​ </​code>​
  
-===== nslookup ​===== +===== DNS =====
-<​code>​ +
-nslookup -q=MX bmstu.ru ns.bmstu.ru +
-</​code>​ +
- +
-===== ttcp ===== +
- +
-  * [[http://​en.wikipedia.org/​wiki/​Ttcp]] +
- +
-===== iperf ===== +
- +
-==== Установка ​====+
  
-=== Linux/​FreeBSD ===+  * [[Сервис DNS#​Утилиты тестирования DNS]]
  
-Пакет iperf в базовом ПО+===== Тестирование производительности =====
  
-=== Windows ​===+==== ttcp ====
  
-  * [[http://iperf.fr/]]+  * [[http://en.wikipedia.org/​wiki/Ttcp|ttcp (Test TCP)]]
  
-==== Варианты использования ​====+==== iPerf ====
  
-  * [[http://​ru.wikipedia.org/​wiki/​Iperf]]+  * [[Утилита iPerf]]
утилиты_для_тестирования_сети.txt · Last modified: 2022/03/01 15:47 by val