Ncurses SIP Messages flow viewer- but with amqp support
Go to file
Kaian 669c03cd86 Updating documentation 2013-06-24 17:36:22 +02:00
debian Initial commit 2013-06-20 19:11:33 +02:00
src Fixed a bug in call raw scrolling 2013-06-24 17:04:08 +02:00
AUTHORS Initial commit 2013-06-20 19:11:33 +02:00
COPYING Initial commit 2013-06-20 19:11:33 +02:00
ChangeLog Initial commit 2013-06-20 19:11:33 +02:00
INSTALL Initial commit 2013-06-20 19:11:33 +02:00
Makefile.am Initial commit 2013-06-20 19:11:33 +02:00
Makefile.in More ui rework and refactoring 2013-06-22 17:32:51 +02:00
NEWS Initial commit 2013-06-20 19:11:33 +02:00
README Updating documentation 2013-06-24 17:36:22 +02:00
README.md Updating documentation 2013-06-24 17:36:22 +02:00
TODO Initial commit 2013-06-20 19:11:33 +02:00
aclocal.m4 More ui rework and refactoring 2013-06-22 17:32:51 +02:00
configure More ui rework and refactoring 2013-06-22 17:32:51 +02:00
configure.ac More ui rework and refactoring 2013-06-22 17:32:51 +02:00
depcomp Initial commit 2013-06-20 19:11:33 +02:00
install-sh Initial commit 2013-06-20 19:11:33 +02:00
missing Initial commit 2013-06-20 19:11:33 +02:00

README.md

sngrep

This 'tool' aims to make easier the task of my workmates while using ngrep on heavy load production systems. When a lot of SIP messages are flowing in your screen, it's useful to have a tool that order them and print in a fashion way.

This can be also used as a PCAP file viewer, although will only show SIP packages.

sngrep is a small development done in a couple of days. It has not been properly coded. It has not been propely tested. It should not even reach the alpha stage, but can be handy somehow in strange cases.

Prerequisites

  • libncurse5 - for UI , windows, panels.
  • libpcap - for parsing pcap files.
  • ngrep - for live captures.
  • stdbuf - for piping ngrep output unbuffered.

Installing

On most systems the commands to build will be the standard atotools procedure:

./configure
make
make install (as root)

Usage

sngrep can be used to view SIP packages from a pcap file

sngrep file.pcap

or online parsing using ngrep filters and parameters (man ngrep for a full list)

sngrep -O file.pcap port 5060 and udp and host 192.168.8.101

Frequent Asked Questions

Why a new tool from network filtering?
Don't know. I didn't find any console tool that will display call flows.
Why dont you filter packages in online mode instead of using ngrep?
Because I don't have the required time to code all that right now
Why only parsing SIP Messages?
Because it's useful for us
Extended Call flow window doesn't work
If you want to make relations between different dialogs (extended callflow) a header must be present in of the dialogs referencing the other one. This header can be X-CID or X-Call-ID and must contain the Call-ID of the other related dialog.
I have found a bug, what should I do?
There are LOTS of bugs. The strange thing will be you haven't found one. Just write an issue at github and I will try to fix it.
I think the idea is better than the tool.
I think that too. If you want to start a new tool with the same purpose send me an email, I'll want to contribute.

License

sngrep - SIP callflow viewer using ngrep
Copyright (C) 2013 Irontec S.L.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.