tcpdump mailing list archives
Re: Add Sigfox support to libpcap
From: Guy Harris <gharris () sonic net>
Date: Tue, 8 Jan 2019 10:56:12 -0800
On Jan 8, 2019, at 9:15 AM, <jannisohms () aol com> <jannisohms () aol com> wrote:
Currently, I am extending a Sigfox demodulator https://github.com/Jeija/renard-phy. I already added a function to export the demodulated frames. During my work, I ran into a problem with the Linktype. Sigfox works directly on layer 2 to avoid misinterpretation of my packets I used one of the user Linktypes (DLT_USER0). Would it be possible to reserve a Linktype for Sigfox? I took a quick look at libpcap would there be anything else to do than to add another define to pcap-common.c?
There's "adding a new link-layer header type for pcap and pcapng files" and there's "adding a module to libpcap that
can capture from a new capture source".
"reserve a Linktype for Sigfox" is the former; "add a libpcap module that controls a software-defined radio,
demodulates Sigfox signals, and supplies packets to callers, so that any program that uses libpcap, such as tcpdump or
Wireshark, can directly capture Sigfox packets" is the latter.
If you're talking about the former, it would be possible, but the first step would be to provide a detailed description
of the packets. See the second item in the bulleted list at the top of
http://www.tcpdump.org/linktypes.html
for more details on the process, as well as
https://github.com/the-tcpdump-group/libpcap/blob/master/doc/DLT_ALLOCATE_HOWTO.md
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers
Current thread:
- Add Sigfox support to libpcap jannisohms (Jan 08)
- Re: Add Sigfox support to libpcap Guy Harris (Jan 08)
- <Possible follow-ups>
- Re: Add Sigfox support to libpcap jannisohms (Jan 08)
- Re: Add Sigfox support to libpcap Guy Harris (Jan 08)
- Re: Add Sigfox support to libpcap Jeija (Jan 10)
- Re: Add Sigfox support to libpcap Guy Harris (Jan 10)
- Re: Add Sigfox support to libpcap Guy Harris (Jan 08)
