Commit Graph

801 Commits

Author SHA1 Message Date
Thomas Petazzoni
a2bfe0e1cc src/Makefile.am: don't use VPATH
VPATH is a mechanism used to allow out-of-tree build, not to use source
code from a different directory. For this purpose, one should simply use
the "subdir-objects" AUTOMAKE_OPTIONS, and reference the source code of
the sub-directory in the <prog>_SOURCES variable.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-03-05 11:59:57 +01:00
Kaian
5c9845112e tcp: improve tcp reassembly with multimessage packets #174
For TCP it was supported than a packet may content only a part of
the SIP message, that continued in other packets.

In this case, the given pcap contains packets with multiples SIP
messages each.

This patch is far from perfect. For each of this packets, we
only handle the first message, and keep the rest in the reassembly
queue for later process. This means than, if the last packet of
the stream contains more than one SIP message, the last message
will not be handled never...
2017-02-28 16:10:48 +01:00
Daniel-Constantin Mierla
9ce3fb3ab8 set no_argument for -F option 2017-02-17 12:05:55 +01:00
Daniel-Constantin Mierla
d27777f9e1 added -F option to skip loading default config file
- long option: --no-config
2017-02-17 10:44:39 +01:00
Lonnie Abelbeck
e8ce622b5d Add parentheses around assignments in conditionals to silence 'clang' warnings 2017-02-06 11:14:45 +01:00
Lonnie Abelbeck
04fa090b91 Use sng_malloc() for rcfile string buffers instead of fixed stack based buffers 2017-02-06 11:14:45 +01:00
Lonnie Abelbeck
08cb4dc7ca help screen, label F8/o to 'Show Settings' 2017-02-01 15:27:39 +01:00
Lonnie Abelbeck
3d582f932f Add 'SNGREPRC' environment variable support to optionally specify the user configuration file 2017-02-01 12:33:50 +01:00
Kaian
494f96e1cd cf: add support for deselecting arrows
Use the same keybinding ACTION_CLEAR that is used in call list
to deselect rows (default Cltr+W).
2017-01-26 13:38:38 +01:00
Kaian
9a08a8a46e sip: SIP 600 responses will set call state to BUSY. #165 2017-01-05 12:55:35 +01:00
Kaian
159cc432f0 capture: fix ip assembly with more than two fragments. #164 2017-01-04 12:09:04 +01:00
Kaian
298e16071d pkg: fix rpm version to 1.4.2 in spec file 2016-12-28 11:59:42 +01:00
Kaian
fbc5c7c17d pkg: Fix debian changelog format 2016-12-28 11:43:54 +01:00
Kaian
da791185ca pcap: Add compatibility with latest libcap versions in OpenBSD #163 2016-12-20 18:45:50 +01:00
Kaian
8d5e638f58 doc: Version bump to 1.4.2 2016-12-19 15:05:50 +01:00
Kaian
4aacd31211 cf: Add a keybinding to only display active RTP streams
We consider an active RTP stream those that have received a RTP packet
in the last STREAM_INACTIVE_SECS seconds (which defaults to 3). This is
a bit adhoc display that requires testing.
2016-12-19 13:43:55 +01:00
Kaian
b7fb904b40 cf: Fix scrolling while displaying SDP info in each msg arrow 2016-12-19 12:02:57 +01:00
Kaian
ff754ba451 capture: getting interface address/netmask is not longer a must 2016-12-19 12:02:57 +01:00
Kaian
ca66daefbb Merge pull request #162 from jungle-boogie/patch-1
bump autoconf/automake for openbsd
2016-12-15 01:40:01 +01:00
jungle-boogie
eb349111cb bump autoconf/automake for openbsd
now matches freebsd and bootstrap works on openbsd.
2016-12-14 11:18:50 -08:00
Kaian
fed8f0f410 cl: Add new setting to select default sorting options #161 2016-12-14 15:23:13 +01:00
Kaian
4f7ef13e2e Merge pull request #159 from fzipi/add-spec
pkg: Updated sngrep.spec with support for building using openssl
2016-11-23 11:39:16 +01:00
Kaian
a077db311d Merge pull request #160 from fzipi/fix-build-epel5
pkg: Fix build with OpenSSL support on epel5
2016-11-23 11:38:36 +01:00
Felipe Zipitría
3daea8d8c6 include hmac explicitly 2016-11-22 16:06:02 -03:00
Felipe Zipitría
7fb9137ba7 fix compatibility with older openssl
Older openssl installations, like in centos 5, have a openssl < 0.9.8f where this symbol was introduced.
2016-11-22 16:06:02 -03:00
Felipe Zipitría
f26bc31c22 renamed directory as suggested 2016-11-22 15:24:30 -03:00
Felipe Zipitría
3683e9a196 Updated sngrep.spec with support for building using openssl
There is the possibility of building using openssl building with option --with openssl using rpmbuild or mock.
2016-11-22 12:00:23 -03:00
Kaian
46e281eff4 pkg: compile debian packages using gnutls 2016-11-08 15:31:35 +01:00
Kaian
21ecead9c3 doc: Include install instructions for OpenWRT/LEDE. Fixes #151 2016-11-07 14:50:18 +01:00
Kaian
caf2970e9f tls: remove unneeded gnutls hearders 2016-11-04 11:30:08 +01:00
Kaian
0598f2707e tls: make compatible with old libgcrypt versions 2016-11-04 11:11:24 +01:00
Kaian
a5583a7efa tls: gnutls-openssl abstract compatibility is no longer required 2016-11-04 10:46:48 +01:00
Kaian
686be4b140 tls: fixed a crash while looking for ssl connection info 2016-11-03 18:03:27 +01:00
Kaian
a37845573a tls: Initial support for GCM cipher modes 2016-11-03 12:34:11 +01:00
Kaian
e5b43b46a0 ssl: Add support for ClientHello Handshake in SSLv2 2016-11-02 17:28:31 +01:00
Kaian
827e86f69d group: Avoid crash when adding empty call to a group 2016-11-02 11:10:00 +01:00
Kaian
57baa4b16d doc: prepare sources for 1.4.1 2016-10-28 11:26:57 +02:00
Kaian
14de68df38 Merge pull request #155 from khoegh/master
Include busy and diverted calls in Stats Information
2016-10-28 10:55:50 +02:00
Kristian Høgh
eeafde121e Include busy and diverted calls in Stats Information 2016-10-28 09:06:14 +02:00
Kaian
56f6c8afdd Merge pull request #154 from khoegh/master
Add callstate (and color) for busy and diverted calls.
2016-10-25 11:20:40 +02:00
Kristian Høgh
39c2484651 Add callstate (and color) for busy and diverted calls.
Diverted calls were shown as in call and busy calls as rejected.
2016-10-25 11:00:02 +02:00
Kaian
93246b8bfc ip: rework how IP packets are assembled #152 2016-10-24 16:02:28 +02:00
Kaian
9f0600c96d capture: Increase capture snaplen for live captures #150 2016-10-24 11:23:33 +02:00
Kaian
b764ec6722 filter: Add setting to configure filter payload #149
Added a configurable setting for sngreprc file to change default
filters screen payload field. This field can contain a POSIX or
PCRE compatible expression.
2016-09-26 12:48:09 +02:00
Kaian
1e82e6807c sip: Add support for Warning code header #148
It will be printed as a new column (call attribute), so only one
per call will be stored (the last one received).
2016-09-26 12:23:41 +02:00
Kaian
0f67e24c5c cl: Fix list positioning while selecting sort column
Bug introduced when we increased the header from two to three lines.
Displaying the sort menu using '<' or '>' keybindings, was redrawing
the call list in the original position where header was two lines
height.
2016-09-26 11:37:54 +02:00
Kaian
68e23c98ad sip: Add support for Reason header text #138
It will be printed as a new column (call attribute), so only one
per call will be stored (the last one received).
2016-09-26 11:21:23 +02:00
Kaian
1e0ee528d0 Merge pull request #147 from linuxmaniac/vseva/fix_typo
fix typos thanks to lintian
2016-09-19 14:51:35 +02:00
Victor Seva
89422dbafb fix typos thanks to lintian
> I: sngrep: spelling-error-in-binary usr/bin/sngrep arround around
> I: sngrep: spelling-error-in-binary usr/bin/sngrep hightlight highlight
2016-09-19 14:27:15 +02:00
Kaian
93fe872c2e sip: Add support for any kind of URI scheme. #143 2016-09-07 16:12:59 +02:00