OSTU: tcping with Windows (by Tony Fortunato)

Embed Size (px)

DESCRIPTION

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.

Citation preview

  • 1. tcping with Windows QuickStart Tony Fortunato, Network Performance Specialist The Technology Firm
  • 2. 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.
  • 3. 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
  • 4. 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 FortunatoDesktopofficecping>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. 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 wouldnt trust this part of the utility until I can figure out the time calculations
  • 6. tcping interval option -i
    • The i option will tcping at the provided interval value
  • 7. tcping interval option -d
    • The d option will display the date and time
    • Great for batch files
  • 8. 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
  • 9. 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
  • 10. 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
  • 11. In Closing
    • Pros
    • Able to check TCP port numbers
    • Has time display option
    • Like the beep
    • Interval option
    • Cons
    • 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 Cons
  • 12. tcping with Windows QuickStart Thank you Tony Fortunato, Network Performance Specialist The Technology Firm
  • 13.
    • For additional educational videos on Open Source Network Tools, please click on the following
    • http://www.lovemytool.com/blog/ostu.html
    LoveMyTool.com Community for Network Tools