mxcl/homebrew — Issue #10328: tcptraceroute: libnet_write failed?  Attempted to write 40 bytes, only wrote -1
Author: tsuna
Created: 2012-02-19 19:41:42+00:00
State: open

I can install tcptraceroute from brew just fine (see full log [in this Gist](https://gist.github.com/1865324)) but it fails to work:

```
$ sudo tcptraceroute 8.8.8.8 80
Selected device en1, address 192.168.42.204, port 65386 for outgoing packets
Tracing the path to 8.8.8.8 on TCP port 80 (http), 30 hops max
libnet_write failed? Attempted to write 40 bytes, only wrote -1

$ ll `which tcptraceroute`
lrwx--x--x 1 tsuna admin 50 Feb 19 11:32 /usr/local/bin/tcptraceroute -> ../Cellar/tcptraceroute/1.5beta7/bin/tcptraceroute

$ ldd `which tcptraceroute`
/usr/local/bin/tcptraceroute:
/usr/local/lib/libnet.1.dylib (compatibility version 7.0.0, current version 7.0.0)
/usr/lib/libpcap.A.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)

$ uname -a
Darwin nowwhat 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64
```