netzwerktools

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
netzwerktools [09/08/2023 - 09:00] thommie4netzwerktools [21/11/2024 - 10:04] (aktuell) – [SS] thommie_netzwissen.de
Zeile 5: Zeile 5:
 <code> <code>
 nmap -Pn -sU -p 1194 dvsdnet2.devoteam.de nmap -Pn -sU -p 1194 dvsdnet2.devoteam.de
 +</code>
 +
 +====== SS - another utility to investigate sockets ======
 +
 +https://phoenixnap.com/kb/ss-command
 +
 +ss = alle offenen nicht horchenden sockets mit aktiven verbindungen
 +
 +===== horchende und nicht horchende =====
 +
 +<code>
 +ss -a  
 +</code>
 +
 +===== nur horchende=====
 +
 +<code>
 +ss -l nur horchende
 +</code>
 +
 +===== nur tcp =====
 +
 +<code>
 +ss -t nur tcp
 +</code>
 +
 +===== alle tcp =====
 +
 +<code>
 +ss -at  alle tcp
 +</code>
 +
 +===== alle udp =====
 +
 +<code>
 +ss -u  udp
 +
 +ss -au alle udp
 +
 +ss  -lu  alle horchenden udp
 +</code>
 +
 +===== alle sockets =====
 +
 +<code>
 +ss -f unix   alle unix sockets
 +
 +ss -w alle raw sockets
 +</code>
 +===== spezielle zieladresse =====
 +
 +<code>
 +ss dst 104.21.3.132  
 +</code>
 +
 +===== spezielle quelladresse =====
 +
 +<code>
 +ss src 192.168.100.2  
 +</code>
 +
 +===== spezielle prozess-id =====
 +
 +<code>
 +ss -p  process IDs
 </code> </code>
  
Zeile 57: Zeile 122:
  
 If using the ''netstat''  did not resolve your port issues, continue to test connections to the service by using [[https://support.rackspace.com/how-to/testing-network-services-with-netcat|the netcat command.]] If using the ''netstat''  did not resolve your port issues, continue to test connections to the service by using [[https://support.rackspace.com/how-to/testing-network-services-with-netcat|the netcat command.]]
 +
 +====== IPTABLES ======
 +
 +iptables -nvL
 +
 +iptables -nvL -t nat
 +
 +====== TCPDUMP ======
 +
 +tcpdump -i vmbr0 -nn port 1194
 +
 +tcpdump -i vmbr1 -nn port 1194
  
  • netzwerktools.1691571658.txt.gz
  • Zuletzt geändert: 17/08/2024 - 07:06
  • (Externe Bearbeitung)