Wireshark-bugs: [Wireshark-bugs] [Bug 1116] Can't capture on an IP-over-InfiniBand interface in
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1116
guy@xxxxxxxxxxxx changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
Summary|Can't capture on an IP-over-|Can't capture on an IP-over-
|InfiniBand interface |InfiniBand interface in RHEL
| |4
------- Comment #1 from guy@xxxxxxxxxxxx 2006-09-20 17:47 GMT -------
This is because of a bug in Red Hat Enterprise Linux 4:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180980
(*no* program using libpcap can capture on IP-over-IB interfaces).
The change that broke this isn't in the mainstream Linux kernel - it's only in
the kernel in RHEL 4.
According to the Red Hat Bugzilla entry above, they'll be fixing that in a
future RHEL 4 version. To work around the problem, either change the first
piece of code handling SIOCGIFHWADDR in net/core/dev.c to
case SIOCGIFHWADDR:
if (!dev->addr_len)
memset(ifr->ifr_hwaddr.sa_data, 0, sizeof
ifr->ifr_hwaddr.sa_data);
else
memcpy(ifr->ifr_hwaddr.sa_data, dev->dev_addr,
min(sizeof ifr->ifr_hwaddr.sa_data,
(size_t) dev->addr_len));
ifr->ifr_hwaddr.sa_family = dev->type;
return 0;
or just upgrade to a more recent kernel, such as 2.6.10, which *already* works
like that.
--
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.