Sergey Safarov
c0979e198c
src/curses/ui_call_flow.c: fixed unsed var
2020-09-28 17:18:11 +02:00
Sergey Safarov
8e3ae7a4b6
src/curses/ui_settings.c: fixed compile warning "may be used uninitialized"
2020-09-28 17:18:11 +02:00
Sergey Safarov
65363f57b3
src/curses/ui_filter.c: fixed compile warning "may be used uninitialized"
2020-09-28 17:18:11 +02:00
Sergey Safarov
3f1af8dfc8
src/curses/ui_call_flow.c: removed unused vars
2020-09-28 17:18:11 +02:00
Sergey Safarov
3dab88ebe8
src/curses/ui_settings.c: removed not used var
2020-09-28 17:18:11 +02:00
Sergey Safarov
45fe35d29a
src/sip.c: removed not used vairables
2020-09-28 17:18:11 +02:00
Sergey Safarov
4b932edb56
source archive name now more friendly. Before v1.4.7.zip, now sngrep-1.4.7.tar.gz
2020-09-28 17:18:11 +02:00
Kaian
eb9b59b1d6
cr: display ipv6 addresses in backets #330
2020-09-28 17:06:17 +02:00
Kaian
ed41e9e1cc
core: add max length for variable sscanf inputs #327
...
Update sscanf use to limit the max input length, preventing
buffer overflows while storing fixed size buffers.
2020-09-17 12:13:35 +02:00
Kaian
5d2e28f9ac
rtp: skip RTP streams when parsing RTCP packets. #325
2020-09-17 10:29:16 +02:00
Liviu Chircu
8e88df6e13
Remove unused variable
2020-06-26 09:55:16 +02:00
Jeroen Roovers
2bdec5294d
Fix building against ncurses with separate tinfo (termcap) library
...
The linker fails to resolve some symbols when libtinfo is installed as a
separate termcap library.
Fix this by checking a prominent symbol in the wide and non-wide cases.
2020-06-12 11:00:44 +02:00
Jeroen Roovers
1789d262c0
Fix setting LDFLAGS back to sngrep_save_LDFLAGS
...
In m4/sngrep.m4, the value of LDFLAGS is temporarily saved to the
sngrep_save_LDFLAGS variable but is then restored to the empty value of
the unset variable save_LDFLAGS, leaving LDFLAGS empty.
Fix this by prefixing save_LDFLAGS as it was apparently intended.
2020-06-10 14:31:06 +02:00
Kaian
b132ce99ea
doc: update ChangeLog for 1.4.7 release
2020-05-21 11:48:47 +02:00
Kaian
60b9fbf463
sip: add support for KDMQ method
2020-05-21 11:39:06 +02:00
Andreas Heil
4064f1b8e0
make pcap buffer size configurable
2020-04-27 10:17:37 +02:00
Andreas Heil
40ae8f7843
update manpage and comments in example config
2020-04-22 08:53:51 +02:00
Andreas Heil
b42b6e4892
support multiple devices in sngreprc and on cmdline
2020-04-20 15:31:49 +02:00
Andreas Heil
2e4288327e
fix compiler warnings about using wrong src for bounds in strncpy and removed the then redundant memset calls
2020-04-20 15:30:48 +02:00
Andreas Heil
d037bd4f56
fix typo in memcpy call
2020-04-20 11:03:34 +02:00
Kaian
e7937f2d2d
pcre: apply matching expression to whole payload #305
2020-04-07 15:59:27 +02:00
Roman Romanchenko
09f00cec17
cr: message screen header line can show alias instead of ip:port
2020-02-19 17:59:37 +01:00
Roman Romanchenko
75522876fd
- add aliasport option to configuration.
...
- If this option is enabled, aliases will take port into account but not only address.
2019-12-04 18:12:22 +01:00
Rosen Penev
564ad9264e
openssl: Fix compilation without deprecated OpenSSL APIs
2019-12-02 13:30:38 +01:00
Kaian
a9636ff17c
sip: update DIVERTED call status valid response codes #283
2019-10-31 18:28:11 +01:00
Kaian
f51e99cb40
openssl: calculate key material size based used cipher
2019-10-15 11:27:53 +02:00
Kaian
65ae515f38
sip: avoid crash while parsing media formats #276
...
Ignore packets with invalid body and fix a buffer
overflow crash while parsing media formats.
2019-07-22 09:24:50 +02:00
Kaian
6487541f09
hep: update parser to handle chunks in any order #270
2019-05-04 19:18:55 +02:00
tuxiqae
7628a704be
Update sngrep.8
2019-02-06 07:22:10 +01:00
Liviu Chircu
c474a2dd04
sip: Do not crash on invalid CSeq values
...
Bad CSeq headers such as:
CSeq: 115211521152 INVITE\r\n
... would immediately cause a crash.
2018-12-09 13:32:26 +01:00
Liviu Chircu
222fae630a
code comments: Fix typos
2018-12-09 13:27:06 +01:00
Kaian
9cae52024a
Merge pull request #262 from micmac1/master
...
capture: fix typo in FILE object
2018-11-04 17:44:57 +01:00
Sebastian Kemper
604f6d0ce2
capture: fix typo in FILE object
...
FILE *fstdin is defined, but when calling freopen() stdin is used instead
of fstdin.
This causes the compile to fail:
CC sngrep-capture.o
capture.c: In function 'capture_offline':
capture.c:194:21: error: assignment of read-only variable 'stdin'
if (!(stdin = freopen("/dev/tty", "r", stdin))) {
^
make[5]: *** [Makefile:519: sngrep-capture.o] Error 1
This commit fixes the typo.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-11-04 16:58:02 +01:00
Kaian
372df4977c
doc: update docs for version 1.4.6
2018-10-31 17:32:53 +01:00
Kaian
32dd890e0d
sdp: add support for UDP proto in m= lines #219
2018-10-31 17:32:53 +01:00
Kaian
5f3cce300d
capture: reopen tty after reading pcap data from stdin #260
2018-10-31 16:38:00 +01:00
Kaian
e6eeed4316
sip: make sip parser more tolerant to invalid request uris
2018-10-10 17:45:52 +02:00
Kaian
064ed5a3b1
capture: wait for pcap threads cancellation before exit #253
2018-07-24 13:38:44 +02:00
Kaian
33cf5b74d5
call_flow: properly limit column addresses length #250
2018-07-18 17:22:37 +02:00
Kaian
ea8302facd
ui_filter: create checkbox for new filter methods #249
2018-07-18 16:55:32 +02:00
Kaian
4a68744fff
capture: cancel pcap capture threads when exiting #251
...
We must cancel the thread here instead of joining because, according to
pcap_breakloop man page, you can only break pcap_loop from within the same
thread.
https://www.tcpdump.org/manpages/pcap_breakloop.3pcap.html
2018-07-18 16:29:52 +02:00
Kaian
ef5883e14b
sip: allow INFO, REFER and UPDATE as method for initial requests #249
2018-07-10 17:03:55 +02:00
Kaian
aaebd2d801
group: improve flow view performance for one call groups
2018-06-07 20:52:59 +02:00
Kaian
d4a41b26fa
sip: fixed a crash with malformed status lines
2018-06-07 20:16:19 +02:00
Kaian
45491d39df
cf: improve arrow visibility when src/dst column is the same
2018-05-11 12:41:01 +02:00
Victor Seva
8c038c7658
support custom Call-ID correlation header via sip.xcid setting
...
* default value: 'X-Call-ID|X-CID' as previously
fixes #218
2018-04-11 19:31:19 +02:00
Kaian
c5f6b4e31a
cf: fix buffer overflow with long response-text #240
2018-04-11 15:32:16 +02:00
Kaian
731b15eb15
cr: replace non-ascii characters with a configurable character #211
...
Although sngrep has Unicode support for ncurses, the SIP message payload
is printed character by character using mvwaddch
This commit adds a new configurable setting cr.nonascii that defaults to .
to replace not printable characters.
2018-04-05 12:13:43 +02:00
Kaian
61f5dbd421
cl: avoid buffer overflow while triming display filter #225
2018-04-04 21:02:24 +02:00
Kaian
f20a90b056
ui: add support for ncurses compiled with opaque structures #239
2018-04-03 20:54:22 +02:00