mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
597 B
Plaintext
26 lines
597 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# sngrep
|
|
|
|
> Display SIP calls message flows from terminal.
|
|
> More information: <https://manned.org/sngrep>.
|
|
|
|
- Visualize SIP packets from a PCAP file:
|
|
|
|
`sngrep -I {{path/to/file.pcap}}`
|
|
|
|
- Visualize only dialogs starting with INVITE packets with RTP packets from a PCAP file:
|
|
|
|
`sngrep -crI {{path/to/file.pcap}}`
|
|
|
|
- Real-time interface with only dialogs starting with INVITE packets with RTP packets:
|
|
|
|
`sngrep -cr`
|
|
|
|
- Only capture packets without interface to a file:
|
|
|
|
`sngrep -NO {{path/to/file.pcap}}`
|