Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 78543

Summary: libnet errors with net-analyzer/packit.
Product: Gentoo/Alt Reporter: Lina Pezzella (RETIRED) <j4rg0n>
Component: Mac OSXAssignee: Gentoo for Mac OS X <ppc-macos>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lina Pezzella (RETIRED) gentoo-dev 2005-01-18 10:37:14 UTC
Error: Unable to retreive local IP address: libnet_get_ipaddr4(): ioctl(): Can't assign requested address

Darwinports has customized headers it seems. This will not be an option for us until pathspec.
Should we pull the keywords from both packit and libnet (and anything dependent on libnet)?
Can someone please confirm this error?

Reproducible: Always
Steps to Reproduce:
1. emerge libnet
2. emerge packit
3. Try: packit -e -i {en0 || en1}
Comment 1 Fabian Groffen gentoo-dev 2005-08-26 11:36:03 UTC
using:
net-libs/libnet-1.1.2.1-r1
net-analyzer/packit-1.0

% sudo packit -e -i en0            
Warning: You cannot specify an ethernet address on this operating system.
Mode:  Packet Injection using device: en0

Error: No destination IP address defined

using the example from the man page:
% sudo packit -m cap 'tcp and not port 22'

it appears to work fine (that is, it sees my IRC channel traffic and not my ssh
traffic without complaining)


Hence, I think the problem is local, and close the bug for now.