Commit Graph

961 Commits

Author SHA1 Message Date
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
Kaian 2214d279e2 capture: use IP header payload length for reassembly #142 2016-09-05 11:26:10 +02:00
Kaian f02a242f67 Avoid inifite loops sorting by timestamps. #141 2016-09-02 10:52:50 +02:00
Kaian e3bb5fd07c cf: fix display of arrows with same timestamp. #141 2016-08-30 18:41:18 +02:00
Kaian d89397387f rtp: improve reverse stream detection. #135 2016-08-10 13:39:45 +02:00
Kaian e643a4911b options: make getcwd buffer static. #136 2016-08-09 16:21:28 +02:00
Kaian 7c56e4ebbb options: more compatible current dir getter. Fixes #136 2016-08-09 14:12:36 +02:00
Kaian 07797cc61e doc: Fix tabs and spaces in ChangeLog file 2016-08-08 11:02:17 +02:00
Kaian 80a5d27c61 doc: prepare sources for 1.4.0 2016-08-08 10:58:07 +02:00
Kaian 14bcdb42b7 options: set default savepath to current directory 2016-08-05 12:02:03 +02:00
Kaian a140032554 cl: Print header information of command line filters 2016-08-05 11:32:27 +02:00
Kaian 5504b858b2 capture: never rotate displayed dialogs #132 2016-08-04 14:03:39 +02:00
Kaian 5e6de5e45a md: avoid buffer overflow when comparing messages. Fixes #134 2016-08-04 13:40:33 +02:00
Kaian 93d7215e9d sip: improve retransmission detection performance 2016-08-03 13:24:29 +02:00
Kaian 35a51311df rtp: Restore reverse stream detection logic 2016-08-03 12:49:53 +02:00
José Luis Millán 53b225b545 fix rtp stream creation on SDP parsing
- properly create and configure RT[C]P streams for each 'm=' line
- remove reversal rtp stream creation. Only streams offerered by SDP
  should be created
2016-08-03 12:47:43 +02:00
Kaian dc0a00930f cf: rework how RTP arrow are displayed.
Now SIP message arrows store their source and destination columns.

For the RTP arrow, if the RTP packets addresses matches the source
address of the messages that contains the SDP that configured that
stream, that column will be used. If not, any column with that
displays the IP address will be used.
2016-08-02 14:51:09 +02:00
Kaian 7baa0a0c44 Merge pull request #129 from jmillan/rtp_rtcp_dissection
rtp: properly dissect RTP and RTCP packets
2016-07-13 09:13:40 +02:00
José Luis Millán 9e8dc05960 rtp: properly dissect RTP and RTCP packets
Do not rely on the incoming port number being even or odd in order to
identify data as RTP or RTCP respectively.
2016-07-12 22:38:45 +02:00
Kaian 789c85aa40 Merge pull request #128 from miconda/master
Get rid of compile warning for clang and added tags/vim swap files to git ignore
2016-07-08 15:17:04 +02:00
Daniel-Constantin Mierla 250b48a0c0 added vim swap files to gitignore list 2016-07-08 13:13:00 +02:00
Daniel-Constantin Mierla 1177e18fba get rid of clang compile warning for array address comparison
- compiler output:

setting.c:194:23: warning: address of array 'sett->value' will always
evaluate to 'true' [-Wpointer-bool-conversion]
if (sett && sett->value) {
             ~~ ~~~~~~^~~~~
             1 warning generated.
2016-07-08 13:10:13 +02:00
Daniel-Constantin Mierla f2e311e139 added tags files to gitignore
- they are generated by tools/ide like 'ctags -R .' to facilitate the
  navigation through source code
2016-07-08 13:08:42 +02:00
Kaian 7359a48f72 cf: highlight current arrow timestamp #126 2016-07-07 15:38:05 +02:00
Kaian d13c1fc0b8 Merge pull request #125 from roramirez/comment_fix
fix typo otptions -> options
2016-06-25 01:16:22 +02:00
Rodrigo Ramírez Norambuena 80362bc3d8 little fix comment word 2016-06-24 17:02:32 -04:00
Kaian b2f6ebf288 eep: add configurable setting capture id 2016-05-30 18:08:21 +02:00
Kaian d6d5665394 htable: Custom hashtable implementation 2016-05-30 17:02:37 +02:00
Kaian 03a0ebc7d0 Allow extra configuration from custom file 2016-05-30 13:15:36 +02:00
Kaian a3f884a324 Fix help message description tabs 2016-05-30 11:49:00 +02:00
Kaian 38e6951341 capture: Implement basic capture rotation. #94 2016-05-29 13:48:41 +02:00
Kaian c4fad21ccd gnutls: Remove the need for OpenSSL compatibility headers 2016-05-29 13:15:35 +02:00
Kaian 47da6f6e5f tests: Increase timeout to 60 secs #81 2016-05-29 12:42:23 +02:00
Kaian 805152b619 Improve disabled command line options error messages #120
When using a command line option that must be enabled using
configure flags, display an error message to give a hint that
the given options is not enabled.
2016-05-29 12:36:44 +02:00
Kaian 44b33f3ced openssl: Add OpenSSL error message for invalid keyfile #121 2016-05-26 13:40:59 +02:00
Kaian 3c2737b8b5 call state: Fix handing 400 responses not for the initial INVITE 2016-05-25 13:03:26 +02:00
Kaian 2b6ca86f72 tls: fix connection encrypted flags #117
From now on connection is considered encrypted only when sngrep
captures change_cipher_spec message and has both client and server
cipher contexts.

Before gathering all that information, all application_data messages
will be ignored.
2016-05-04 20:41:52 +02:00
Kaian 19af2ac5cb Allow SIP Responses Status-Line without Reason-Phrase. #116 2016-05-02 18:23:09 +02:00
Kaian 6d596fe0ca Fix crash with malformed From/To headers. #114 2016-05-02 16:16:05 +02:00
Kaian 7ee4deab13 Update version to 1.3.1 2016-04-28 11:49:29 +02:00
Kaian 6514122dee Fixed a crash with long To: or From: headers 2016-04-27 17:05:43 +02:00