Kaian
d30e1c2879
Add a state attribute to track calls states
...
Like wireshark does in its VoIP calls dialog, track call state in one attribute.
Also add this column to CallList by default.
2015-01-13 17:25:44 +01:00
Kaian
c4ab94a883
Parse messages when captured
2015-01-13 16:26:44 +01:00
Kaian
2e53c21dea
Correct forward declaration for structs
2015-01-13 13:13:47 +01:00
Kaian
cfc5b5970c
Fixed segfault when no HOME variable exists
2015-01-13 12:41:28 +01:00
Kaian
d901d05769
Moved call list lock inside call list header structure
2015-01-13 12:41:01 +01:00
Kaian
51c5a993d6
Updated Call List with default columns widths
2015-01-12 19:42:57 +01:00
Kaian
f7276c0c7f
Move attributes logic to new source file
2015-01-12 18:27:37 +01:00
Kaian
f65ce0b809
Check topmost panels belongs to a UI before refreshing
2015-01-12 17:48:11 +01:00
Kaian
1712e8d4b7
Proper ui refresh locking
2015-01-12 17:29:31 +01:00
Kaian
e2d85cafe0
Fix call counter when destroying calls
2015-01-12 14:48:41 +01:00
Kaian
a0c00b0c64
Create a calls list header structure
...
This header structure improves adding new calls and counting current calls number.
There is no need to loop through all the list to get the last node anymore.
2015-01-12 14:30:10 +01:00
Kaian
cf055b1f93
Fix memory leaks while reading program options
2015-01-12 13:04:30 +01:00
Kaian
ce84bd7f24
Improve Capture limit check
...
Pcap handler should not be removed until program exits because we need that handler to save packets in another file.
Capture limit will be used to ignore packets insted of breaking packet capture loop. This way, capture can continue after limit has reached when clearing current calls.
2015-01-12 12:19:24 +01:00
Kaian
31e97db669
Remove call from calls list when destroyed
2015-01-12 11:58:49 +01:00
Kaian
568a6ba8b0
Removed unnecessary locking
...
UI replace can only be used due to user interaction.
All user interactions are already protected by refresh_lock
2015-01-12 11:24:47 +01:00
Kaian
a9118f4123
Remove unused variables
2015-01-12 11:24:14 +01:00
Kaian
46c0485fb3
CallFlow: Swap keybinding D -> d , d -> D
2015-01-09 12:09:46 +01:00
Kaian
1d8e348f2f
Fix Color by CSeq mode in Call Raw
...
Also improve message color selection. There is no need to store color by call anymore. Still, no color toggle while displaying raw.
2015-01-08 18:17:32 +01:00
Kaian
b9e0b37a8c
Properly close pcap handler
2015-01-08 17:45:19 +01:00
Kaian
a867fc3c1f
Fixed segfault when closing pcap while still capturing
2015-01-08 17:39:45 +01:00
Kaian
a1b2ff5d81
Move capture thread creation to a function
...
Also, wait to capture thread to finish when closing online capture
2015-01-08 17:32:49 +01:00
Kaian
5a8782bb10
Init interface before creating capture thread.
...
If first SIP message request UI update while initscr is initializating
ncurses, panel_below will segfault.
2015-01-08 17:11:14 +01:00
Kaian
b4e103bfa5
Fix segfault when clearing Call List
...
If a Call List is being cleared while a new message request interface refresh
the draw funtion may loop through a list that is being actually destroyed.
User action processing is now wrapped around refresh_lock that guarantees the ui
will not be updated while the key is processed.
2015-01-08 16:01:17 +01:00
Kaian
3d2b539ff8
Fix Color by CSeq mode in Call Flow
2015-01-07 19:48:44 +01:00
Kaian
41a2fab546
Remove debian packaging files
2015-01-07 19:14:32 +01:00
Kaian
f74ea2a344
Updated Autotools files
2015-01-07 14:33:39 +01:00
Kaian
8e0d3f312e
Fixed multiple typos
...
* insted -> instead
* writting -> writing
2015-01-07 13:30:56 +01:00
Kaian
6b4105c9ae
Added man page
2015-01-07 13:30:12 +01:00
Kaian
40d99300a7
Updating README with wiki links
2014-12-10 11:26:25 +01:00
ialonso
b2afc526b3
Changes for fulfill debian policy
2014-12-05 14:26:30 +01:00
Kaian
f546a6ea34
Added changelog and version numbers for 0.2.0 release
2014-12-04 20:39:04 +01:00
Kaian
e43231e47f
Add libssl optional dependency to README
2014-12-04 20:30:16 +01:00
Kaian
3509192e59
Added travis-ci configuration
2014-12-04 20:19:53 +01:00
Kaian
cb3ba696c8
Merge branch 'master' of https://github.com/irontec/sngrep
...
Conflicts:
src/capture.c
2014-12-04 20:17:38 +01:00
Kaian
1660c17a6a
Add keybinding info to compare messages
2014-12-04 20:13:54 +01:00
Kaian
6622c31b59
Add compatibility with old libpcap versions
2014-11-13 11:10:41 +01:00
Kaian
d5057e1929
Add a message header on top of ui_msg_diff
2014-11-13 11:06:14 +01:00
Kaian
0305a0d113
Change highlight array from int to char
2014-11-03 19:20:34 +01:00
Kaian
9ce191901c
Initial Message Diff UI
2014-11-03 18:39:20 +01:00
Kaian
5bc9caa849
Display filtering keybinding for Invite
2014-11-03 17:02:28 +01:00
Kaian
27cc9b6c68
Added MSG_DIFF_PANEL sources
2014-10-29 20:57:27 +01:00
Kaian
836796543b
Initial Ui for message comparison
2014-10-29 20:56:04 +01:00
Kaian
45237edc40
Fixed a bug with failed parsed messages in Call Flow panel
2014-10-29 19:01:06 +01:00
Kaian
360332ffd7
Fixed a crash when closing online capture
2014-10-29 18:10:31 +01:00
Kaian
8007e36d03
Fix some form fields index values
2014-10-29 17:39:36 +01:00
Kaian
d5f48c0dab
Fixed displaying resolved addresses in all panels
2014-10-29 16:47:43 +01:00
Kaian
fcb116990f
Fixed Raw window heigth in Call Flow panel
2014-10-29 13:45:54 +01:00
Kaian
4b49cd0fa9
Add keybinding to toggle hostnames
2014-10-29 13:43:10 +01:00
Kaian
a506575030
Validate ProtocolVersion and CipherSuite
...
Also fix a memory overflow in P_hash
2014-10-28 20:46:16 +01:00
Kaian
84bc3117f1
Fix multiples memory leaks
2014-10-27 18:07:40 +01:00