fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.9K
active users

#libpcap

0 posts0 participants0 posts today
T_X<p>And on another good news, got some sign of life from a <a href="https://chaos.social/tags/tcpdump" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tcpdump</span></a> / <a href="https://chaos.social/tags/libpcap" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>libpcap</span></a> maintainer. Hopefully the <span class="h-card" translate="no"><a href="https://social.freifunk.net/@batadv" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>batadv</span></a></span> dissector for libpcap will be merged eventually... It's been more than 4 years already with only eventual feedback from upstream... This would really help with debugging network issues, especially on <a href="https://chaos.social/tags/embedded" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>embedded</span></a> devices, and capturing only the data you need with minimal performance overhead.</p>
T_X<p>Also: My pull-request for <a href="https://chaos.social/tags/tcpdump" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tcpdump</span></a> / <a href="https://chaos.social/tags/libpcap" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>libpcap</span></a> to add <a href="https://chaos.social/tags/batman_adv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>batman_adv</span></a> support to it is now four years old. "Happy" birthday! :loading: ...<br><a href="https://github.com/the-tcpdump-group/libpcap/pull/980" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/the-tcpdump-group/l</span><span class="invisible">ibpcap/pull/980</span></a></p>
Anton Ohorodnyk<p>I’ve posted the simple example in <a href="https://fosstodon.org/tags/go" class="mention hashtag" rel="tag">#<span>go</span></a>, <a href="https://fosstodon.org/tags/libpcap" class="mention hashtag" rel="tag">#<span>libpcap</span></a> <a href="https://fosstodon.org/tags/pcap" class="mention hashtag" rel="tag">#<span>pcap</span></a></p><p><a href="https://aohorodnyk.com/post/2024-08-31-golang-traffic-capturer/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">aohorodnyk.com/post/2024-08-31</span><span class="invisible">-golang-traffic-capturer/</span></a></p>
T_X<p>Updated my patch for <a href="https://chaos.social/tags/tcpdump" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tcpdump</span></a> / <a href="https://chaos.social/tags/libpcap" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>libpcap</span></a> to add <a href="https://chaos.social/tags/batman_adv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>batman_adv</span></a> support. The patch is nearing 3 years of getting no full review... and I have no clue why that is.</p><p>This patch allows to filter for specific batman-adv packet types. And allows to filter within a packets payload by adjusting offsets, like "tcpdump ... 'batadv 15 bcast and arp' ". Very handy for debugging, especially on devices with limited resources, as libpcap uses <a href="https://chaos.social/tags/BPF" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BPF</span></a> on <a href="https://chaos.social/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a>.</p><p><a href="https://github.com/the-tcpdump-group/libpcap/pull/980" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/the-tcpdump-group/l</span><span class="invisible">ibpcap/pull/980</span></a></p><p><a href="https://chaos.social/tags/mesh" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mesh</span></a> <a href="https://chaos.social/tags/meshnetwork" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>meshnetwork</span></a> <a href="https://chaos.social/tags/BATMAN" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BATMAN</span></a></p>
bitkeks<p>finally got around to write a PoC for a <a href="https://eupublic.social/tags/rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rust</span></a>-based <a href="https://eupublic.social/tags/libpcap" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>libpcap</span></a> analysis/interceptor tool. But since <a href="https://crates.io/crates/pcap" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="">crates.io/crates/pcap</span><span class="invisible"></span></a> uses unsafe rust to wrap around the native libpcap library, there's no way to build the binary statically, right? The target system on which the binary shall be executed on must provide the libpcap.so?</p><p>I also used <a href="https://www.tcpdump.org/linktypes.html" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://www.</span><span class="">tcpdump.org/linktypes.html</span><span class="invisible"></span></a> as reference fyi</p>