Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410819 - net-libs/libpcap-1.2.1 with kernel 3.3.0 - tcpdump: Can't open netlink socket 93:Protocol not supported
Summary: net-libs/libpcap-1.2.1 with kernel 3.3.0 - tcpdump: Can't open netlink socket...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Netmon project
URL: https://build.opensuse.org/package/vi...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-04-04 20:56 UTC by Tony Murray
Modified: 2012-06-19 20:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libpcap-1.2.1-netfilter-dont-fail-on-EPROTONOSUPPORT.patch (file_410819.txt,1.10 KB, patch)
2012-04-04 20:59 UTC, Tony Murray
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Murray 2012-04-04 20:56:49 UTC
Since updating to 3.3.0 (maybe sooner) I cannot capture packets through libpcap with tcpdump or wireshark.  I get this error:

tcpdump: Can't open netlink socket 93:Protocol not supported

I applied the linked patch from OpenSUSE and it is working now.

Please apply the patch to libpcap-1.2.1. 

Reproducible: Always

Steps to Reproduce:
1. Install latest kernel.
2. Install tcpdump.
3. Run tcpdump.
Actual Results:  
tcpdump: Can't open netlink socket 93:Protocol not supported

Expected Results:  
Packet capture.
Comment 1 Tony Murray 2012-04-04 20:59:16 UTC
Created attachment 307835 [details, diff]
libpcap-1.2.1-netfilter-dont-fail-on-EPROTONOSUPPORT.patch

Attach patch in case link goes away.
Comment 2 parafin 2012-05-07 00:14:57 UTC
I can confirm the bug and the fix.
This report has been open for over a month...
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-19 20:41:03 UTC
Friday  March 30, 2012/June 10, 2012.  mcr@sandelman.ca
Summary for 1.3.0 libpcap release
...
Linux: Don't fail if netfilter isn't enabled in the kernel.
...