TCP mode fails on Mac OS X
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mtr |
New
|
Undecided
|
Unassigned |
Bug Description
mtr quits with a bind() error when started in tcp mode on Mac OS X (10.9). The following command works as expected for UDP mode
dtruss output is below.
mtr installed with 'brew install mtr'
-------
$ sudo mtr -r --tcp 8.8.8.8
Start: Fri Jun 6 00:35:08 2014
bind(): Invalid argument
-------
$ sudo dtruss mtr -r --tcp 8.8.8.8
open_nocancel(
read_nocancel(0x9, "\366\353\
close_nocancel(0x9) = 0 0
workq_kernretur
workq_kernretur
socket(0x2, 0x2, 0x0) = 9 0
socket(0x1E, 0x2, 0x0) = 10 0
setsockopt(0x9, 0xFFFF, 0x20) = 0 0
setsockopt(0xA, 0xFFFF, 0x20) = 0 0
select(0xB, 0x7FFF5C704960, 0x0, 0x0, 0x7FFF5C7048A0) = 0 0
kevent64(0x8, 0x7FFF73ABF130, 0x1) = -1 Err#4
Looks like the same issue at the bottom of this report: /github. com/traviscross /mtr/issues/ 28
https:/