https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=12075

--- Comment #10 from Guy Harris <g...@alum.mit.edu> ---
(In reply to Jörg Mayer from comment #8)
> Created attachment 15332 [details]
> Capture opening multiple interfaces
> 
> jmayer@newegg:~/firmatmp/2017kw11vwfs$ dumpcap -i
> rpcap://[10.122.4.12]:2002/wifi1 -i rpcap://[10.122.4.12]:2002/wifi0
> Capturing on 'rpcap://[10.122.4.12]:2002/wifi1' and
> 'rpcap://[10.122.4.12]:2002/wifi0'
> File:
> /var/folders/p2/81x5c_q12t37tttmv0ch0drw0000gn/T//
> wireshark_2_interfaces_20170312104930_nSoNDP.pcapng
> dumpcap: Error while capturing packets: bind(): Address already in use (code
> 125)

So this is a client running on macOS (presumably talking to a Linux server,
given the names "wifi0" and "wifi1")?

That's a bit odd, given that EADDRINUSE is 48, not 125, on macOS.

(I'm trying to figure out what the heck is going on; it's beginning to look as
if the attempt to bind a socket to an IPv4 address/port pair of INADDR_ANY/2002
is failing with EADDRINUSE because there's already an *IPv6* address/port pair
of {the IPv6 equivalent of INADDR_ANY}/2002, but it's not particularly obvious,
from looking at the XNU IPv4/IPv6 code, why that should happen, nor is it
obvious why an OS *should* behave that way.)

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to