Commit Graph

551 Commits

Author SHA1 Message Date
Kaian
1bfbf691d1 Regression. Fix IPv6 support. 2015-05-26 17:39:15 +02:00
Kaian
6c111e9826 Fix spaces in parsing regular expressions 2015-05-26 15:53:53 +02:00
Kaian
343a3c6f5a Dont handle non-IP packages 2015-05-25 20:16:54 +02:00
Kaian
573ba2f7d9 Fix no space between SIP headers Name:Value. Fixes #47 2015-05-21 14:01:42 +02:00
Kaian
7afa105c22 Check local interfaces have a valid address. Fixes #45 2015-05-18 16:46:56 +02:00
Kaian
822bf22444 Check local interfaces have a valid address. Fixes #45 2015-05-18 16:43:07 +02:00
Kaian
9b1c8c7ed9 Fixup unnecessary variable 2015-05-17 19:32:29 +02:00
Kaian
1d0e22644e Handle IP packet fragmentation offset
Also start using system tcp and udp structures
Force BSD flavour TCP/UDP structure fields
2015-05-17 15:31:20 +02:00
Kaian
140d203399 Update files for release 0.3.2 2015-05-17 12:17:25 +02:00
Kaian
02d6f6ca4e Add an option to toggle local address highlight in Call Flow 2015-05-17 12:14:25 +02:00
Kaian
1f730c68a9 Add reqresp value for all SIP Request Methods. Fixes #44 2015-05-17 12:02:21 +02:00
Kaian
3dcebef9bb Enable filter request methods by default
Added an option filter.methods to allow setting default request
methods
2015-05-16 16:05:43 +02:00
Kaian
d0ca369375 Columns selection with Enter key 2015-05-16 15:15:15 +02:00
Kaian
e0698a8898 Fix SIP From/To matching expression 2015-05-12 20:30:16 +02:00
Kaian
68ef688950 Highlight local addresses columns is call flow 2015-05-04 11:59:50 +02:00
Kaian
19e876f601 Improve SIP packet detection. Fixes #42
Some packets with payload with Call-Id headers were being considered
SIP packets, and that may no be true.

For example, homer packets or moving a sip pcap file to a NFS will
create packets with Call-Id in its payload. Improve the regexp for
matching METHOD and REQUEST CODE to ensure the payload is an actual
SIP message.
2015-04-30 14:26:01 +02:00
Kaian
42b6b589bd Pthread initialization for BSD systems 2015-04-24 12:46:49 +02:00
Kaian
2a108ae092 Fix Move to previous field keybinding 2015-04-22 11:06:23 +02:00
Kaian
e308d88dd4 Only use PTHREAD_MUTEX_RECURSIVE_NP when available 2015-04-14 20:26:59 +02:00
Kaian
07de29b543 Only use PTHREAD_MUTEX_RECURSIVE_NP when available 2015-04-14 20:10:07 +02:00
Kaian
b726f3e954 📝 Update doc for 0.3.1 2015-04-14 19:17:58 +02:00
Kaian
78708663f5 Implement configurable keybindings via sngreprc 2015-04-14 18:44:33 +02:00
Kaian
9e35ab249c Replace option: hint_key_alt -> hintkeyalt 2015-04-14 12:49:25 +02:00
Kaian
0c7faf4f0a 📝 Add configuration link to wiki 2015-04-14 12:46:15 +02:00
Kaian
091753ed8b Add an option to toggle def/alt key in hint bar
Option is hint_key_alt and default value is off. If enabled the
second assigned keybinding will be display as hint in bottom
toolbar
2015-04-09 13:41:50 +02:00
Kaian
74f64ae6bb Remove compiler warnings 2015-04-09 13:15:52 +02:00
Kaian
263f4f484e 🔁 Recoded screens to handle Actions instead of keys 2015-04-09 13:14:10 +02:00
Kaian
ccc24ce8fd Add action for confirming dialogs 2015-04-08 21:23:27 +02:00
Kaian
4205b6aa3e Action <=> keybind functions 2015-04-08 21:21:11 +02:00
Kaian
3fb2e806b3 Action keybindings for Call List 2015-04-08 21:16:49 +02:00
Kaian
f901f083a6 📝 Updated documentation 2015-04-08 18:32:46 +02:00
Kaian
45e7eec488 Replace sip.ignoreincomplete option for a flag 2015-04-08 18:19:01 +02:00
Kaian
c6c7cc5965 Replace call state values for defines 2015-04-08 17:54:26 +02:00
Kaian
e5223f3bbe Replace sip.calls option for a flag 2015-04-08 17:48:50 +02:00
Kaian
b61cf6f450 Add --keyfile argument to --help output 2015-04-08 17:43:05 +02:00
Kaian
7a0f5f7e4d Add -N and -q arguments to --help output 2015-04-08 14:14:30 +02:00
Kaian
56e80167c6 Added -N and -q command line arguments
* -N, --no-interface will not initialize ncurses interface
 This can be useful if you're only interesed in capturing SIP dialogs into
 a pcap file. It will print the parsed dialogs unless --quiet option is
 specified

* -q, --quiet will not print output to stdout while interface is not enabled

Also, packets can now be saved to another file (using -O argument) during
offline capture, which allows parsing pcap files and dumping only full SIP
dialog that match expressions or filters (if any)
2015-04-08 14:04:13 +02:00
Kaian
c30f461c54 Restored Ingore directives process 2015-04-08 14:02:27 +02:00
Kaian
2a1976e9aa 🔁 Refactored SIP parsing code
* Replaced Attribute Linked List for an array
 Attribute list has a max known value and it isn't very high so an array
 with empty positions can replace the linked list. This makes code more
 simple and allows accessing to attributes directly (by array index)

* Replaced Request/Response Code parsing and storing
 We avoid string comparissons for Method that are chedked *A LOT*.
 This should be a great improve in performance.
2015-04-08 13:17:00 +02:00
Kaian
bc44695c48 Suppress eclipse warnings for case options without break 2015-04-07 18:18:45 +02:00
Kaian
5fddd4f0f1 📝 Add configurable keybindings to TODO 2015-04-07 18:00:06 +02:00
Kaian
4390a08767 Add extra keybidings combinations. Fixes #41 2015-04-07 17:56:09 +02:00
Kaian
1cf96ffd89 RTP Detection support 2015-03-27 16:19:05 +01:00
Kaian
dd440e9c35 📝 Add IPv6 support line to version info 2015-03-26 19:54:14 +01:00
Kaian
51a121a617 Avoid setting options while parsing getopts values 2015-03-26 19:24:01 +01:00
Kaian
e36d733b5d Implement resize for ui_call_list 2015-03-26 19:04:05 +01:00
Kaian
9ecece65a9 Fix overflow while getting message call-id 2015-03-26 16:17:31 +01:00
Kaian
c3b94e6f6f Fix a crash in SIP message creating 2015-03-26 16:10:28 +01:00
Kaian
e6e58ff7b4 Remove timeval/bpf_timeval structs 2015-03-26 13:52:15 +01:00
Kaian
91d4b557b9 Fix capture includes for OpenBSD #40 2015-03-25 19:54:32 +01:00