OSTU: tcping with Windows (by Tony Fortunato) - Presentation Transcript
tcping with Windows QuickStart Tony Fortunato, Network Performance Specialist The Technology Firm
What is tcping?
tcping is;
Go get it at http://www.elifulkerson.com/projects/
Portable, command line utility - no installation
Unlike other PING tools, tcping sends TCP SYN packets to the remote computer on specific TCP port numbers.
Why use tcping?
tcping can be used for the following tasks;
To check connectivity when;
ICMP, or ping is not allowed to the destination
Multiple paths maybe used for different port numbers
Measures the time (in milliseconds) it takes for a packet to travel from your computer to a specified destination, with the accuracy of three decimal places.
Change the interval between tcping packets
You can even enable a beep to let you know when the destination is up, or down
Starting tcping
To start the tcping utility you must open the folder in the command prompt.
If you have the Windows Powertoy, simply right click on the tcping folder and then open in command prompt.
Once the command prompt opens into the tcping folder, type tcping on the command line to view the options.
C:Documents and SettingsTony FortunatoDesktopoffice cping>tcping -------------------------------------------------------------- tcping.exe by Eli Fulkerson Please see http://www.elifulkerson.com/projects/ for updates. -------------------------------------------------------------- Usage: tcping [-t] [-d] [-i interval] [-n times] server-address [server-port] -t : ping continuously until stopped via control-c -n 5 : for instance, send 5 pings -i 5 : for instance, ping every 5 seconds -d : include date and time on each line -b 1 : enable beeps (1 for on-down, 2 for on-up, 3 for on-change, 4 for always) If you don't pass server-port, it defaults to 80.
tcping Accuracy
When I used the utility to tcping my local router and got over 1 millisecond, I had to double-check with my protocol analyzer
Not sure how it calculates its response time, so I wouldn’t trust this part of the utility until I can figure out the time calculations
tcping interval option -i
The –i option will tcping at the provided interval value
tcping interval option -d
The –d option will display the date and time
Great for batch files
tcping with Errors and Timeouts
In the example below a tcping checking 10.44.10.1 for TCP port 23, which is not supported, resulting in Connection refused messages
tcping with Errors and Timeouts
In the example below a tcping checking 10.44.10.11 for TCP port 23
This host is not up, resulting in a Connection timed out message
tcping with Errors and Timeouts
In the example below tcping checked host 10.44.10.108 for TCP port 80
This webserver was up, but crashed, resulting in the following messages below
In Closing…
Pro’s
Able to check TCP port numbers
Has time display option
Like the beep
Interval option
Con’s
Response time measurement not accurate
No ability to test UDP port numbers
Would I use it?
Yes, since I can not find a command line tool to ping tcp port numbers and live with the Con’s
tcping with Windows QuickStart Thank you Tony Fortunato, Network Performance Specialist The Technology Firm
For additional educational videos on Open Source Network Tools, please click on the following …
Tony Fortunato is a Senior Network Specialist with more
Tony Fortunato is a Senior Network Specialist with experience in design, implementation, and troubleshooting of LAN/WAN/Wireless networks, desktops and servers since 1989. His background in financial networks includes design and implementation of trading floor networks. Tony has taught at local high schools, Colleges/Universities, Networld/Interop and many onsite private classroom settings to thousands of analysts. less
0 comments
Post a comment