Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languageen

Filters

Simply filtering for a particular SIP host, for example all traffic from and to a PBX, could be achieved using the following filter:

Translations Ignore


Code Block
titleFilter a specific host
host 192.168.2.25




If several trunks are present, it may be necessary to filter all SIP packets. This cannot be done reliably by capturing only port 5060 - this will miss extremely large SIP messages (in particular INVITE) in some setups - the UDP packet may be fragmented, and some of the message will be missing.

Translations Ignore


Code Block
titleFilter all SIP packets
port 5060 or ip[6:2] & 0x1fff != 0



Howto: create a wireshark rotating dump file with a fixed size

This can be useful, to create wireshark traces on a machine where a problem is being analysed, but the trace must be left running for a long time.

This command specifies the interface to use (-i), includes a capture filter (-f), and limits the number of files to 10, and the file size to 100000KB.

Translations Ignore


Code Block
"C:\Program Files\Wireshark\dumpcap" -i 1 -f "host 192.168.2.25" -b files:10 -b filesize:100000 -w hosttrace.cap




Sv translation
languagede

Filter

Eine einfache Filterung für einen bestimmten SIP-Host, z. B. den gesamten Verkehr von und zu einer Telefonanlage, könnte mit dem folgenden Filter erreicht werden

Filters

Simply filtering for a particular SIP host, for example all traffic from and to a PBX, could be achieved using the following filter:

Translations Ignore


Code Block
titleFilter a specific host
host 192.168.2.25



If several trunks are present, it may be necessary to filter all SIP packets. This cannot be done reliably by capturing only port 5060 - this will miss extremely large SIP messages (in particular INVITE) in some setups - the UDP packet may be fragmented, and some of the message will be missingWenn mehrere Trunks vorhanden sind, kann es notwendig sein, alle SIP-Pakete zu filtern. Dies kann nicht zuverlässig geschehen, wenn nur Port 5060 erfasst wird. - Dies wird in einigen Setups extrem große SIP-Nachrichten (insbesondere INVITE) übersehen. - das UDP-Paket kann fragmentiert sein, und ein Teil der Nachricht wird fehlen.

Translations Ignore


Code Block
titleFilter all SIP packets
port 5060 or ip[6:2] & 0x1fff != 0



Howto:

create a wireshark rotating dump file with a fixed size

Erstellen einer rotierenden Wireshark-Dumpdatei mit fester Größe

Dies kann nützlich sein, um Wireshark-Traces auf einer Maschine zu erstellen, auf der ein Problem analysiert wird, aber der Trace muss für eine lange Zeit laufen gelassen werden.

Dieser Befehl gibt die zu verwendende Schnittstelle an (-i), enthält einen Erfassungsfilter (-f) und begrenzt die Anzahl der Dateien auf 10 und die Dateigröße auf

This can be useful, to create wireshark traces on a machine where a problem is being analysed, but the trace must be left running for a long time.

This command specifies the interface to use (-i), includes a capture filter (-f), and limits the number of files to 10, and the file size to 100000KB.

Translations Ignore


Code Block
"C:\Program Files\Wireshark\dumpcap" -i 1 -f "host 192.168.2.25" -b files:10 -b filesize:100000 -w hosttrace.cap