I'm trying to determine where connectivity to an external host using a specific TCP port is being blocked. Tracert for Windows only uses ICMP, and telnet will only tell me that the port is blocked and not where. Does anyone know of a Windows utility similar to tracert that will acheive this?
|
feedback
|
|
You can use If you want to test a specific port, you can use
If you're interested in a graphical tool, you can use zenmap, which also displays topology maps based on traceroute output.
| ||||
|
feedback
|
|
You can find a number of links googleing or, more effectively on http://en.wikipedia.org/wiki/Tcptraceroute. Among the other references there is a simple python script that can be used also specifing the port one needs to probe: http://www.thomas-guettler.de/scripts/tcptraceroute.py.txt | ||||
|
feedback
|
|
Scapy has a tcp trace route function described in this Scapy tutorial. Scapy can be installed on Windows, here are the instructions. I am not positive that his function is available in the Windows version, but it might be. It will help to know python, or at least some knowledge of OO (Object Oriented) programing, but you might not need it just to follow the tutorial I linked to. Scapy also assumes you have basic understanding of the OSI model I think. | |||
|
feedback
|
|
I'm not aware of any traceroute tool for windows which lets you define the port. The ICMP protocol is designed for this sort of route diagnosis; other protocols are not. It's likely that, if the host itself if not refusing the connection, somewhere along the route is a firewall which simply drops the packets without returning any other information to the source, in which case no utility would work for your situation. You could try firing up Wireshark, and then telnetting on your desired port to the target system. You might (but probably will not) get a Good luck. | |||
|
feedback
|
|
There are a couple of Windows alternatives to the UNIX favourite LFT. Unfortunately neither of those that spring to mind are free. But they are pretty good. Unfortunately, if you are using WinXP SP2~, then you may have trouble performing any TCP tracerouting. This is due to the removal of raw socket support. | |||
|
feedback
|
|
Try NETSCAN http://www.softperfect.com/products/networkscanner It does more that just scan one device, you can get it to check a range of IP address and ports and it is free. | |||
|
feedback
|
