tcpdump mailing list archives
Sniffing a network interface with libpcap in a Solaris Zone
From: Joseph Freemaker <joseph_freemaker () yahoo com>
Date: Tue, 7 Aug 2012 07:53:19 -0700 (PDT)
Using libpcap 1.3.0. libpcap had a patch applied in October of 2011 for the Solaris Zone. However when libpcap is used with a C program (that is very similar to tcpdump - makes the same calls) that is run in a Solaris Zone (Solaris 10) the following message is received: A network mask lookup for ce0 could not be completed due to a 'SIOCGIFADDR: ce0: No such device or address' error condition. Is anyone familiar with what the procedure is to use libpcap for a Solaris Zone? The Solaris snoop utility can open the network interface and sniff the packet flow. Thanks in advance.Joe- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- Sniffing a network interface with libpcap in a Solaris Zone Joseph Freemaker (Aug 07)
- Re: Sniffing a network interface with libpcap in a Solaris Zone Guy Harris (Aug 07)