#17257 closed defect (invalid)
tcptraceroute does not work on a Leopard Intel Macbook with Ports version 1.6
Reported by: | simon@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | broken | Cc: | |
Port: | tcptraceroute |
Description
I'm having the same problem as in Ticket #7972 which has been closed. With a fresh install of ports on a MacTel machine and having just installed tcptraceroute:
$ uname -r 9.5.0 $ port --version MacPorts 1.600 $ port installed The following ports are currently installed: libnet11 @1.1.2.1_1 (active) tcptraceroute @1.5beta7_0 (active) $ sudo tcptraceroute bbc.co.uk 80 199 Selected device en1, address 192.168.1.64, port 49990 for outgoing packets Tracing the path to bbc.co.uk (212.58.224.138) on TCP port 80 (http), 30 hops max, 199 byte packets libnet_write failed? Attempted to write 199 bytes, only wrote -1
Is this a driver issue? Is this a libnet issue? PEBKAC?
Change History (5)
comment:1 Changed 16 years ago by jmroot (Joshua Root)
comment:2 Changed 16 years ago by blb@…
Hard to tell what's going on, it works for me as well on a MBP, 10.5.5, Xcode 3.1.1, both with MacPorts from trunk and 1.6. The trunk MacPorts linked against the libpcap port, but the 1.6 MacPorts linked against the system libpcap; other than that, it just links against standard libraries.
I take it en1 is the right interface for it to be using?
comment:3 Changed 16 years ago by simon@…
After just having a dig around I found that the problem was PEBKAC, I had tried to compile it from source and I had a rogue binary in my path :S
Sorry about that, works fine now.
$ which tcptraceroute /opt/local/bin/tcptraceroute $ tcptraceroute bbc.co.uk Selected device en1, address 192.168.1.64, port 51575 for outgoing packets Tracing the path to bbc.co.uk (212.58.224.138) on TCP port 80 (http), 30 hops max 1 192.168.1.254 2.996 ms 99.929 ms 99.825 ms 2 * * * 3 bbc-gw0-linx.prt0.thdoe.bbc.co.uk (195.66.224.103) 35.599 ms 40.867 ms 58.115 ms 4 212.58.238.153 24.903 ms 24.743 ms 25.394 ms 5 * * * 6 virtual-vip.thdo.bbc.co.uk (212.58.224.138) [open] 26.111 ms [unknown, ACK] 25.020 ms 25.118 ms
comment:4 Changed 16 years ago by blb@…
Resolution: | → invalid |
---|---|
Status: | new → closed |
Ah, good to hear it's working now.
FWIW, that command succeeds for me on a machine that matches your described configuration.