Commit Graph

957 Commits

Author SHA1 Message Date
Kaian 2f54030f7f doc: update ChangeLog for 1.5.0 release 2022-05-02 11:36:37 +02:00
Kaian 90d70b214d capture: check packet size after assembly #387 2022-05-02 10:29:03 +02:00
Kaian 429b60be48 capture: add capture thread function for offline pcap capture 2022-05-02 09:27:42 +02:00
Kaian 7ee20e58a8 capture: avoid pcap_breakloop for HEP capture threads 2022-05-02 09:23:37 +02:00
Kaian 0d48912646 hep: add support to command line dumper output #270 #396 2022-05-02 09:10:12 +02:00
Kaian cde88e7a4b capture: add support for custom capture functions threads 2022-05-02 09:08:49 +02:00
Fabrice Fontaine 4e1406ad0d src/capture_openssl.h: fix build with libressl >= 3.5.0
Fix the following build failure with libressl >= 3.5.0:

capture_openssl.c: In function 'P_hash':
capture_openssl.c:101:18: error: storage size of 'hm' isn't known
  101 |         HMAC_CTX hm;
      |                  ^~

Fixes:
 - http://autobuild.buildroot.org/results/f1e8cdb3ac35a30055ab79d41e6cc038e5339c37

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2022-05-02 08:40:08 +02:00
Kaian 3e56219ea7 doc: update ChangeLog for 1.4.10 release 2022-04-26 15:59:33 +02:00
Kaian d81bf00bbb build: ignore build directory from CLion 2022-04-26 15:51:16 +02:00
Kaian 3a63a0836c hep: support saving HEP packets to PCAP #270 2022-04-26 15:41:35 +02:00
TAKIFUJI Shigeo 803056d7a0 added ipv6frag.pcap contains IPv6 fragment packets 2022-03-28 12:14:25 +02:00
TAKIFUJI Shigeo 74795ddc23 Implement IPv6 packet fragmentation reassembly 2022-03-28 12:14:25 +02:00
Ozzyboshi 8fc1e5c9a3 Check tls handshake and LS 1.0, 1.1 or 1.2 connections 2022-03-28 12:11:02 +02:00
FIRST_NAME LAST_NAME 7ed9942c85 panel: reoder panel and window deallocation during destroy #389 2022-02-07 11:21:10 +01:00
FIRST_NAME LAST_NAME 5673f9ef0e ui: add KDMQ method checkbox to filter screen
Fixes #384
2022-01-17 12:05:03 +01:00
FIRST_NAME LAST_NAME 2cf842c9dd settings: increase max setting value to 500 chars 2022-01-17 12:02:39 +01:00
Evgeny Khramtsov f1492d8e41 capture: add support for IP-IP tunnel 2021-12-22 11:09:12 +01:00
FIRST_NAME LAST_NAME 0e96a6f81d pkg: update Alpine Linux packaging files for 1.4.10 2021-11-22 11:54:12 +01:00
FIRST_NAME LAST_NAME 60cc0a49ff doc: update ChangeLog for 1.4.10 release 2021-11-22 11:50:47 +01:00
Sergei Trofimovich d2f1187ec6 always use "%s"-style format for printf()-style functions
`ncuses-6.3` added printf-style function attributes and now makes
it easier to catch cases when user input is used in palce of format
string when built with CFLAGS=-Werror=format-security:

    curses/ui_msg_diff.c: In function 'msg_diff_draw_message':
    curses/ui_msg_diff.c:190:5: error: format not a string literal and no format arguments [-Werror=format-security]
      190 |     mvwprintw(win, 0, 0, sip_get_msg_header(msg, header));
          |     ^~~~~~~~~

Let's wrap all the missing places with "%s" format.
2021-11-19 10:47:36 +01:00
FIRST_NAME LAST_NAME 35a978e80e cc: remove possible truncation in call flow ports using IPv6 2021-11-19 10:44:30 +01:00
FIRST_NAME LAST_NAME d69d940ddf cc: remove format warnings using size_t for length 2021-11-19 10:37:05 +01:00
FIRST_NAME LAST_NAME da6d4b917a cc: properly escape % character in stats panel
Fixes #381
2021-11-19 10:35:49 +01:00
FIRST_NAME LAST_NAME ebc2066ff0 packet: properly set packet type on cloned packets
Sometimes during TCP assembly, a new packet is created
from one of the fragments, cloning its data.

The field type, used to print the Transport column was
not being properly copied from the original packet.

Fixes #378
2021-11-11 16:37:47 +01:00
Kaian 4bec989cf7 gcc: remove unused-variable compilation warnings 2021-10-25 16:29:18 +02:00
Kaian 4f1db81e27 gcc: remove format-truncation compilation warnings 2021-10-25 16:28:47 +02:00
Kaian c196bac61c ui: make src and dst filter fields dynamic #363 2021-06-09 16:11:25 +02:00
Roman Romanchenko 36de19bdbd options: aliasport feature now could match IP:PORT as well as IP only aliases
This allows to assign alias independent of port number
2021-06-09 16:08:04 +02:00
Kaian 5df4038318 doc: update documentation with Libera.chat IRC channel 2021-05-24 17:06:45 +02:00
Kaian 9755e15814 ui: replace ESCDELAY constant with set_escdelay function #360 2021-05-24 17:05:07 +02:00
Kaian 89d40264cf build: fix compatibility with ncurses-config scripts #360 2021-05-24 17:05:01 +02:00
Sergey Safarov efe41b9c3e pkg: add template files for Alpine Linux packaging 2021-05-24 11:04:56 +02:00
Kaian 03ddf5dc31 doc: update ChangeLog for 1.4.9 release 2021-05-20 09:04:54 +02:00
Kaian 9fa8f2fa82 sip: fix match array size during packet validation #354 2021-04-21 09:25:45 +02:00
Kaian 32aa76de0b ui: improve Extended callflow for B-leg dialogs 2021-04-12 10:43:49 +02:00
Stuart Henderson d69e7b2f49 remove OpenBSD workaround that doesn't work
This isn't really "old libpcap", it's a local OpenBSD change to make pcap files MI. Upstream libpcap does this differently by passing timevals around directly, and just converting in the file load/save routines instead. It's incorrect because the struct members are different sizes (64-bit for timeval.tv_sec, 32 for bpf_timeval.tv_sec).
2021-03-23 11:40:49 +01:00
Stuart Henderson 03065e129e repair msg_get_time for OpenBSD
msg_get_time() returns timevals obtained from libpcap directly, but in OpenBSD these are really bpf_timeval. Copy the struct members so the standard timeval manipulation functions can operate on them. Fixes hard loop when viewing INVITEs.
2021-03-18 09:47:20 +01:00
krote5k 333ce04ce4 Set default filter on startup 2021-02-05 10:12:28 +01:00
sanjay-cpu 010722a150 Travis-ci:added support for ppc64le 2020-12-17 09:21:42 +01:00
Andreas Heil 615ac3c2ef enable parsing of HEP3 packets in capture 2020-12-03 14:58:02 +01:00
Kaian 1ad248b022 doc: update ChangeLog for 1.4.8 release 2020-11-10 10:53:53 +01:00
Arnd Schmitter 50810af311 Rewrite snprintf usage 2020-10-20 09:30:18 +02:00
Arnd Schmitter 36376de15e Fix buffer overflow when on long sip request/response lines
This commit replaces calls to sprintf with snprintf to prevent a potential buffer overflow. This buffer overflow can happen, when a long request or response line (method) is present in a sip message.
2020-10-20 09:30:18 +02:00
Arnd Schmitter f71621f7ed Show malformed Invites with missing R-URI
Adjusted the regex for matching the method of sip message so invites without a R-URI show up.

Example of malformed Invite:

INVITE sip: SIP/2.0
...
2020-10-20 09:29:14 +02:00
Kaian 031151b3bb sdp: add support for IPv6 connection address #331 2020-09-30 11:55:48 +02:00
Sergey Safarov c98c865a83 src/sip_call.c: fixed unused var 2020-09-28 17:18:11 +02:00
Sergey Safarov 5d7ce59ba3 src/capture.c: removed unused var 2020-09-28 17:18:11 +02:00
Sergey Safarov 87804d980e src/curses/ui_call_list.c: fixed unused var 2020-09-28 17:18:11 +02:00
Sergey Safarov 3090eb6d0e src/curses/ui_call_list.c: fixed unsed vars 2020-09-28 17:18:11 +02:00
Sergey Safarov c0979e198c src/curses/ui_call_flow.c: fixed unsed var 2020-09-28 17:18:11 +02:00