tcpdump mailing list archives
Re: libpcap: patches required for OpenSolaris/SXCE
From: Guy Harris <guy () alum mit edu>
Date: Mon, 30 Nov 2009 00:11:47 -0800
On Nov 29, 2009, at 11:43 PM, Darren Reed wrote:
Doing some further testing of DLT lists, get_dlt_list() needs some further work. On an OpenSolaris host with ethernet and a tunnel created, they're visible here: # dladm show-link LINK CLASS MTU STATE BRIDGE OVER igb0 phys 1500 up -- -- e1000g0 phys 1500 up -- -- e1000g1 phys 1500 up -- -- igb1 phys 1500 up -- -- vnic0 vnic 1500 up -- e1000g0 tun0 iptun 65515 down -- --
What does "ifconfig tun0" print? libpcap should ignore interfaces that don't have IFF_UP set.
# tcpdump -L Data link types (use option -y to set): IPNET (Solaris IPNET) RAW (Raw IP)
What does "tcpdump -D" print?
When there is no network interface specified with -i, what I expect from "tcpdump -L" is for tcpdump to list all of the DLTs that are available for selection with -y.
What you *should* expect is all the DLTs *that are available for the default interface*. "All of the DLTs that are available for selection with -y" is meaningless without specifying an interface - you can't select an DLT until you've first selected an interface, and if you don't select an interface, the first interface available in the "tcpdump -D" list is chosen by default.
- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- libpcap: patches required for OpenSolaris/SXCE build >= 125 Darren Reed (Nov 24)
- Re: libpcap: patches required for OpenSolaris/SXCE build >= 125 Michael Richardson (Nov 24)
- Re: libpcap: patches required for OpenSolaris/SXCE Darren Reed (Nov 25)
- Re: libpcap: patches required for OpenSolaris/SXCE build >= 125 Guy Harris (Nov 25)
- Re: libpcap: patches required for OpenSolaris/SXCE build >= 125 Guy Harris (Nov 25)
- Re: libpcap: patches required for OpenSolaris/SXCE Darren Reed (Nov 27)
- Re: libpcap: patches required for OpenSolaris/SXCE Darren Reed (Nov 29)
- Re: libpcap: patches required for OpenSolaris/SXCE Guy Harris (Nov 30)
- Re: libpcap: patches required for OpenSolaris/SXCE Darren Reed (Nov 30)
- Re: libpcap: patches required for OpenSolaris/SXCE Guy Harris (Dec 01)
- Re: libpcap: patches required for OpenSolaris/SXCE Sebastien Roy (Dec 01)
- Re: libpcap: patches required for OpenSolaris/SXCE Darren Reed (Dec 01)
- Re: libpcap: patches required for OpenSolaris/SXCE Guy Harris (Dec 01)
- Re: libpcap: patches required for OpenSolaris/SXCE Darren Reed (Dec 01)
- Re: libpcap: patches required for OpenSolaris/SXCE Sebastien Roy (Dec 01)
- Re: libpcap: patches required for OpenSolaris/SXCE Guy Harris (Dec 01)
- Re: libpcap: patches required for OpenSolaris/SXCE Guy Harris (Dec 01)
- Re: libpcap: patches required for OpenSolaris/SXCE build >= 125 Guy Harris (Nov 25)
- Re: libpcap: patches required for OpenSolaris/SXCE build >= 125 Michael Richardson (Nov 24)
- Re: libpcap: patches required for OpenSolaris/SXCE Guy Harris (Dec 01)