{"id":13398982,"url":"https://github.com/irontec/sngrep","last_synced_at":"2025-05-14T08:07:40.193Z","repository":{"id":9057482,"uuid":"10825001","full_name":"irontec/sngrep","owner":"irontec","description":"Ncurses SIP Messages flow viewer","archived":false,"fork":false,"pushed_at":"2025-02-04T16:56:13.000Z","size":6507,"stargazers_count":1060,"open_issues_count":71,"forks_count":190,"subscribers_count":82,"default_branch":"master","last_synced_at":"2025-04-11T02:51:59.524Z","etag":null,"topics":["debug","flow","hep","ncurses","pcap","sip","terminal","trace"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"zeeshanejaz/unirest-java","license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/irontec.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-06-20T17:06:31.000Z","updated_at":"2025-04-09T18:48:24.000Z","dependencies_parsed_at":"2023-01-13T15:08:36.057Z","dependency_job_id":"81587854-f5e4-40a9-84ad-b552dcd4208a","html_url":"https://github.com/irontec/sngrep","commit_stats":{"total_commits":973,"total_committers":46,"mean_commits":"21.152173913043477","dds":0.118191161356629,"last_synced_commit":"6ee2c9ca551508d620d9bf1d02bcff231da00455"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irontec%2Fsngrep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irontec%2Fsngrep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irontec%2Fsngrep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irontec%2Fsngrep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irontec","download_url":"https://codeload.github.com/irontec/sngrep/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254101557,"owners_count":22014908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debug","flow","hep","ncurses","pcap","sip","terminal","trace"],"created_at":"2024-07-30T19:00:33.193Z","updated_at":"2025-05-14T08:07:40.033Z","avatar_url":"https://github.com/irontec.png","language":"C","readme":"# sngrep [![Build Status](https://travis-ci.org/irontec/sngrep.svg)](https://travis-ci.org/irontec/sngrep)\n\nsngrep is a tool for displaying SIP calls message flows from terminal.\n\nIt supports live capture to display realtime SIP packets and can also be used\nas PCAP viewer.\n\n[Some screenshots of sngrep](https://github.com/irontec/sngrep/wiki/Screenshots)\n\n## Installing\n\n### Binaries\n* [Debian / Ubuntu](https://github.com/irontec/sngrep/wiki/Installing-Binaries#debian--ubuntu)\n* [CentOS / RedHat / Fedora](https://github.com/irontec/sngrep/wiki/Installing-Binaries#centos--fedora--rhel)\n* [Alpine Linux](https://github.com/irontec/sngrep/wiki/Installing-Binaries#alpine-linux)\n* [Gentoo](https://github.com/irontec/sngrep/wiki/Installing-Binaries#gentoo)\n* [Arch](https://github.com/irontec/sngrep/wiki/Installing-Binaries#arch)\n* [OSX](https://github.com/irontec/sngrep/wiki/Installing-Binaries#osx)\n* [OpenWRT/LEDE](https://github.com/irontec/sngrep/wiki/Installing-Binaries#openwrtlede)\n\n### Building from sources\nPrerequisites\n\n - libncurses5 - for UI, windows, panels.\n - libpcap - for capturing packets.\n - libssl - (optional) for TLS transport decrypt using OpenSSL and libcrypt\n - gnutls - (optional) for TLS transport decrypt using GnuTLS and libgcrypt\n - libncursesw5 - (optional) for UI, windows, panels (wide-character support)\n - libpcre - (optional) for Perl Compatible regular expressions\n - zlib - (optional) for gzip compressed pcap files\n\nOn most systems the commands to build will be the standard autotools procedure:\n\n    ./bootstrap.sh\n\t./configure\n\tmake\n\tmake install (as root)\n\nYou can pass following flags to ./configure to enable some features\n\n| configure flag | Feature |\n| ------------- | ------------- |\n| `--with-openssl` | Adds OpenSSL support to parse TLS captured messages (req. libssl)  |\n| `--with-gnutls` | Adds GnuTLS support to parse TLS captured messages (req. gnutls)  |\n| `--with-pcre`|  Adds Perl Compatible regular expressions support in regexp fields |\n| `--with-zlib`|  Enable zlib to support gzip compressed pcap files |\n| `--enable-unicode`   | Adds Ncurses UTF-8/Unicode support (req. libncursesw5) |\n| `--enable-ipv6`   | Enable IPv6 packet capture support. |\n| `--enable-eep`   | Enable EEP packet send/receive support. |\n\nInstead of using autotools, sngrep could be build with CMake, e.g.:\n\n    mkdir build \u0026\u0026 cd build\n    cmake [\u003coptions\u003e] ..\n    make\n    make install (as root)\n\nYou can pass following options to cmake to enable some features\n\n| CMake option | Feature |\n| ------------- | ------------- |\n| `-D WITH_OPENSSL=ON` | Adds OpenSSL support to parse TLS captured messages (req. libssl)  |\n| `-D WITH_GNUTLS=ON` | Adds GnuTLS support to parse TLS captured messages (req. gnutls)  |\n| `-D WITH_PCRE=ON`|  Adds Perl Compatible regular expressions support in regexp fields |\n| `-D WITH_ZLIB=ON`|  Enable zlib to support gzip compressed pcap files |\n| `-D WITH_UNICODE=ON` | Adds Ncurses UTF-8/Unicode support (req. libncursesw5) |\n| `-D USE_IPV6=ON` | Enable IPv6 packet capture support |\n| `-D USE_EEP=ON` | Enable EEP packet send/receive support |\n| `-D CPACK_GENERATOR=DEB` | `make package` builds a Debian package |\n| `-D CPACK_GENERATOR=RPM` | `make package` builds a RPM package |\n\nYou can find [detailed instructions for some distributions](https://github.com/irontec/sngrep/wiki/Building) on wiki.\n\n## Usage\n\nSee `--help` for a list of available flags and their syntax\n\nFor example, sngrep can be used to view SIP packets from a pcap file, also applying filters\n\n    sngrep -I file.pcap host 192.168.1.1 and port 5060\n\nor live capturing, saving packets to a new file\n\n\tsngrep -d eth0 -O save.pcap port 5060 and udp\n\n\n## Configuration\n\nYou can configure some options using [sngreprc](https://github.com/irontec/sngrep/wiki/Configuration) file\n\n## Frequent Asked Questions\nAny feedback, request or question are welcomed at [#sngrep](https://kiwiirc.com/nextclient/irc.libera.chat/#sngrep) channel at irc.libera.chat\n\nSee FAQ on [Github Wiki](https://github.com/irontec/sngrep/wiki#frequent-asked-questions)\n\n## License\n    sngrep - SIP Messages flow viewer\n    Copyright (C) 2013-2018 Irontec S.L.\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    In addition, as a special exception, the copyright holders give\n    permission to link the code of portions of this program with the\n    OpenSSL library under certain conditions as described in each\n    individual source file, and distribute linked combinations\n    including the two.\n    You must obey the GNU General Public License in all respects\n    for all of the code used other than OpenSSL.  If you modify\n    file(s) with this exception, you may extend this exception to your\n    version of the file(s), but you are not obligated to do so.  If you\n    do not wish to do so, delete this exception statement from your\n    version.  If you delete this exception statement from all source\n    files in the program, then also delete it here.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n\n","funding_links":[],"categories":["Contribution Guidelines","C","Monitoring and Capturing","\u003ca name=\"networking\"\u003e\u003c/a\u003eNetworking","Operations"],"sub_categories":["Stand-Alone Client Applications","Monitoring"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firontec%2Fsngrep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firontec%2Fsngrep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firontec%2Fsngrep/lists"}