OSTU: tcping with Windows (by Tony Fortunato)

3,444 views
3,243 views

Published on

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.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,444
On SlideShare
0
From Embeds
0
Number of Embeds
529
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

OSTU: tcping with Windows (by Tony Fortunato)

  1. 1. tcping with Windows QuickStart Tony Fortunato, Network Performance Specialist The Technology Firm
  2. 2. What is tcping? <ul><li>tcping is; </li></ul><ul><ul><li>Go get it at http://www.elifulkerson.com/projects/ </li></ul></ul><ul><ul><li>Portable, command line utility - no installation </li></ul></ul><ul><ul><li>Unlike other PING tools, tcping sends TCP SYN packets to the remote computer on specific TCP port numbers. </li></ul></ul>
  3. 3. Why use tcping? <ul><li>tcping can be used for the following tasks; </li></ul><ul><li>To check connectivity when; </li></ul><ul><ul><li>ICMP, or ping is not allowed to the destination </li></ul></ul><ul><ul><li>Multiple paths maybe used for different port numbers </li></ul></ul><ul><li>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. </li></ul><ul><li>Change the interval between tcping packets </li></ul><ul><li>You can even enable a beep to let you know when the destination is up, or down </li></ul>
  4. 4. Starting tcping <ul><li>To start the tcping utility you must open the folder in the command prompt. </li></ul><ul><li>If you have the Windows Powertoy, simply right click on the tcping folder and then open in command prompt. </li></ul><ul><li>Once the command prompt opens into the tcping folder, type tcping on the command line to view the options. </li></ul>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.
  5. 5. tcping Accuracy <ul><li>When I used the utility to tcping my local router and got over 1 millisecond, I had to double-check with my protocol analyzer </li></ul><ul><li>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 </li></ul>
  6. 6. tcping interval option -i <ul><li>The –i option will tcping at the provided interval value </li></ul>
  7. 7. tcping interval option -d <ul><li>The –d option will display the date and time </li></ul><ul><li>Great for batch files </li></ul>
  8. 8. tcping with Errors and Timeouts <ul><li>In the example below a tcping checking 10.44.10.1 for TCP port 23, which is not supported, resulting in Connection refused messages </li></ul>
  9. 9. tcping with Errors and Timeouts <ul><li>In the example below a tcping checking 10.44.10.11 for TCP port 23 </li></ul><ul><li>This host is not up, resulting in a Connection timed out message </li></ul>
  10. 10. tcping with Errors and Timeouts <ul><li>In the example below tcping checked host 10.44.10.108 for TCP port 80 </li></ul><ul><li>This webserver was up, but crashed, resulting in the following messages below </li></ul>
  11. 11. In Closing… <ul><li>Pro’s </li></ul><ul><li>Able to check TCP port numbers </li></ul><ul><li>Has time display option </li></ul><ul><li>Like the beep </li></ul><ul><li>Interval option </li></ul><ul><li>Con’s </li></ul><ul><li>Response time measurement not accurate </li></ul><ul><li>No ability to test UDP port numbers </li></ul><ul><li>Would I use it? </li></ul><ul><li>Yes, since I can not find a command line tool to ping tcp port numbers and live with the Con’s </li></ul>
  12. 12. tcping with Windows QuickStart Thank you Tony Fortunato, Network Performance Specialist The Technology Firm
  13. 13. <ul><li>For additional educational videos on Open Source Network Tools, please click on the following … </li></ul><ul><li>http://www.lovemytool.com/blog/ostu.html </li></ul>LoveMyTool.com – Community for Network Tools

×