Commit Graph

11 Commits

Author SHA1 Message Date
Vadim Yanitskiy 04ac475170 sock_events.c: also track child file descriptors
In some applications, such as OsmocomBB, a single UNIX socket
can be used by multiple processes (i.e. a server and multiple
clients). Previously this caused a segmentation fault.

Let's modify both sock_ev_accept() and sock_ev_accept4() in order
to handle such connections properly, by using both socket path
and dissector from the parent.
2018-10-31 19:18:41 +07:00
Vadim Yanitskiy 0578d751b1 utils.h: share 'sock_state' struct from 'utils.c' 2018-10-31 19:14:20 +07:00
Vadim Yanitskiy 6424fba52d utils.c: use udtrace_sstate_by_fd() 2018-10-31 19:06:30 +07:00
Vadim Yanitskiy 642b9e483b utils.c: drop 'const' qualifier from udtrace_sstate_by_fd() 2018-10-31 19:05:37 +07:00
Harald Welte e041c4f4a9 Add reference to unixdump by stealth 2018-04-18 09:54:46 +02:00
Martin Hauke 5e82cb7d63 misc fixes
* only link against ttcn3-dynamic when you build with ENABLE_TITAN
* obey CFLAGS
* fix typos
2018-04-02 11:42:55 +02:00
Harald Welte a9b94bd8b9 MNCC_EncDec.cc: Fix decoding of speech versions in bearer capabilities 2018-03-26 20:52:27 +02:00
Harald Welte 1945a75292 add README.md 2018-03-26 19:33:09 +02:00
Harald Welte 670659c28c add TITAN support for MNCC/PCU interface decoding 2018-03-26 19:02:08 +02:00
Harald Welte 75e9578917 prepare for different payload dissectors 2018-03-26 18:21:03 +02:00
Harald Welte 4bbf70b9f3 initial checkin of unix domain socket tracer 2018-03-26 16:46:52 +02:00