|
NAMEsngrep - SIP Messages flow viewerSYNOPSISsngrep [-hVcivlkNqE] [ -IO pcap_dump ] [ -d dev ] [ -l limit ] [ -k keyfile ] [-LH capture_url ] [ <match expression> ] [ <bpf filter> ]DESCRIPTIONsngrep is a terminal tool that groups SIP (Session Initiation Protocol) Messages by Call-Id, and displays them in arrow flows similar to the used in SIP RFCs. The aim of this tool is to make easier the process of learning or debugging SIP. It recognizes UDP, TCP and partially TLS SIP packets and understands bpf filter logic in the same way ngrep (8) and tcpdump (1) does.OPTIONS
InterfaceThere are multiple windows to provide different information. Most of the program windows have a help dialog with a brief description and useful keybindings.Call List WindowThe first window that sngrep shows is Call List window and display the different SIP Call-Ids found in messages. The displayed columns depends on your terminal width and your custom configuration. You can move between dialogs with arrow keys and selected them using Spacebar. Selecting multiple dialogs will display all them in Call flow window and Call Raw window, and will allow to save only the selected message dialogs to a PCAP file.Call Flow WindowThis window will a flow diagram of the selected dialogs' messages. The selected message payload will be displayed in the right side of the window. You can move between messages using arrow keys and select them using Spacebar. Selecting multiple messages will display the Message Diff Window.Call Raw WindowThis window will display the selected dialog messages in plain text. It was designed to allow copying the messages payload easily. You can also save the displayed information to a text file from this screen.Column selection WindowColumns displayed in Call List can be updated in this window. You can add or remove columns or change their order in the list. Additionally, you can save column state to be use in next sngrep execution.Message Diff WindowThis window will compare two messages. Right now the comparison is done searching each line in the other message, highlighting those not found exactly. You can reach this window by selecting two messages using Spacebar in Call Flow windowFILESFull paths below may vary between installations./etc/sngreprc
~/.sngreprc
BUGSPlease report bugs to the sngrep github project athttp://github.com/irontec/sngrep Non-bug, non-feature-request general feedback should be sent to the author directly by email. AUTHORWritten by Ivan Alonso [a.k.a. Kaian] <kaian@irontec.com>.
Visit the GSP FreeBSD Man Page Interface. |