Results 1 to 5 of 5

Thread: Testing Access Method using Sockets (SSH,TELNET)

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2007
    Posts
    26

    Testing Access Method using Sockets (SSH,TELNET)

    I need to parse a list of IPaddresses and determin if they are using SSH (port 22) or telnet (port 23). The best way I can think to do this is by attempting to open a socket (not the full connection). If port 22 is refused it's not SSH, then try port 23. The big problem is that there are 5000 entries in this list and I can't wait for the default timeout for each socket to determine the access method. That would be a total of 10,000 connection attempts and a complete waste of the users day!

    Any help would be greatly appreciated.

    P.S. I'm using VB 2005
    Last edited by Tonyf84; Mar 12th, 2007 at 03:09 PM. Reason: Adding Language

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width