tcpdump mailing list archives
Re: RFC: a loadable plugin framework for external capture backends
From: Guy Harris <gharris () sonic net>
Date: Mon, 12 Oct 2026 03:22:25 -0700
On Oct 9, 2026, at 3:12 PM, Denis Ovsienko <denis () ovsienko info> wrote:
In this case each plugin would be able to crash, hang, run OOM, set and trip setrlimit(2), configure, receive and handle signals, set timers and atexit(3) handlers, override standard library calls, link with 3rd-party libraries, experience/mitigate/fix its own vulnerabilities, elevate and drop privileges, run containerised, under debugger/strace/profiler etc. -- all entirely at its end of the "socket".
So the plugin is an executable running in a process separate from the process using libpcap rather than a loadable object running in the process using libpcap? This sounds similar to Wireshark extcaps, although those are oriented towards the captured packets being consumed by reading a file. That works for Wireshark and TShark, but it wouldn't work for all applications (and doesn't work very well for TShark being run without writing to a file, i.e. capture packets and print the dissection, like tcpdump without -w). Either that, or the plugin is loaded into the address space, but just sets up the external process, or sets up the external process and passes the packets it delivers to libpcap's caller. _______________________________________________ tcpdump-workers mailing list -- tcpdump-workers () lists tcpdump org To unsubscribe send an email to tcpdump-workers-leave () lists tcpdump org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Current thread:
- Re: RFC: a loadable plugin framework for external capture backends, (continued)
- Re: RFC: a loadable plugin framework for external capture backends Guy Harris (Oct 01)
- Re: RFC: a loadable plugin framework for external capture backends Michael Richardson (Oct 02)
- Re: RFC: a loadable plugin framework for external capture backends Avinash H. Duduskar (Oct 02)
- Re: RFC: a loadable plugin framework for external capture backends Denis Ovsienko (Oct 09)
- Re: RFC: a loadable plugin framework for external capture backends Robin Jarry via tcpdump-workers (Oct 12)
- Re: RFC: a loadable plugin framework for external capture backends Guy Harris (Oct 12)
- Re: RFC: a loadable plugin framework for external capture backends Vadim Goncharov (Oct 12)
- Re: RFC: a loadable plugin framework for external capture backends Robin Jarry via tcpdump-workers (Oct 12)
- Re: RFC: a loadable plugin framework for external capture backends Vadim Goncharov (Oct 18)
- Re: RFC: a loadable plugin framework for external capture backends Robin Jarry via tcpdump-workers (Oct 26)
- Re: RFC: a loadable plugin framework for external capture backends Robin Jarry via tcpdump-workers (Oct 12)
- Re: RFC: a loadable plugin framework for external capture backends Denis Ovsienko (Oct 12)
- Re: RFC: a loadable plugin framework for external capture backends Denis Ovsienko (Oct 12)
- Re: RFC: a loadable plugin framework for external capture backends Robin Jarry via tcpdump-workers (Oct 13)
- Message not available
- Re: RFC: a loadable plugin framework for external capture backends Denis Ovsienko (Oct 13)
- Re: RFC: a loadable plugin framework for external capture backends Robin Jarry via tcpdump-workers (Oct 17)
- Re: RFC: a loadable plugin framework for external capture backends Vadim Goncharov (Oct 18)
- Re: RFC: a loadable plugin framework for external capture backends Robin Jarry via tcpdump-workers (Oct 26)
