1821644 Members
2832 Online
109633 Solutions
New Discussion юеВ

tcptraceroute for HPUX

 
Bernard Teo
New Member

tcptraceroute for HPUX

My site uses a socks-server to connect to the outside world, and this has been preventing the use of traceroute and ping, which does not appear to be socksify-able.

I have heard that there is a tcp version of traceroute. Would appreciate if someone could point me to a source or binary for a HPUX version. I am running HPUX-11 on a J6700 workstation.
2 REPLIES 2
S.K. Chan
Honored Contributor

Re: tcptraceroute for HPUX

Bernard Teo
New Member

Re: tcptraceroute for HPUX

Thanks! I got the package downloaded, together with the supporting libraries. However when I execute it, it seems to have problems creating the sockets. Debug switch gives me the following:-

debug: Debugging enabled, for what it's worth
debug: Determined source address of 141.183.17.2 to reach 141.183.17.2
debug: ifreq buffer set to 1024
debug: successfully retrieved interface list
debug: ignoring non-AF_INET interface ni0
debug: ignoring non-AF_INET interface ni1
debug: Discovered interface lo0 with address 127.0.0.1
debug: Discovered interface lan0 with address 141.183.17.2
debug: Interface lan0 matches source address 141.183.17.2
debug: errno == 13
socket allocation: Permission denied


I've checked the usual suspects like permissions on /var/spool/sockets and it seems writeable.

Also checked the source, and it seems like the error is generated from the libnet call:


if ((sockfd = libnet_open_raw_sock(IPPROTO_RAW)) < 0)
pfatal("socket allocation");


Any ideas?