 Router Tester
 A test application for HTML-enabled routers.
 Version 1.02
 Copyright (c) 2002-2007, Nol DANJOU. All rights reserved.
 ----------------------------------------------------------------------------


  What is the goal of the program?
  --------------------------------

   This is an experimental application which is designed to automatically
   find the path to the status page of the router (or any other page which
   shows the assigned external IP address.)

   The initial goal is to help users find the status page accurately so that
   their routers can then be supported in DynSite.

   If you successfully find the status page of your router and if this one
   is not in the list of supported routers in DynSite, please e-mail me your
   router brand and model and the exact path to its status page. I will add
   it in a next update.



  How it works?
  -------------

   This identification is done by parsing all the HTML pages of the routers
   which can be accessed, somewhat like search-engine robots do with the web.

   Before the scan begins the program obtains the external IP address from a
   remote detection script. Next it scans all the HTML pages of the router
   that it can reach from links on each page and search for that IP address.

   Once a match is found the path is displayed and the scan goes on up to
   when there is no more page to scan.

   Note: because of the way it works, the program may lead the router to 
   hang-up, redial, request a new IP address and to other such random
   behaviors. Only use it on test systems.



  How to use it?
  --------------

   The program appars as a property sheet with 4 property pages.


   Click the "Router" tab and enter the information about your router.

   If your router only takes a password and no login, try to put %20 in
   the login box.

   Tick the "Send authentication in clear text" only if this is needed and
   any other test fails.

   In the "IP address" box enter the local IP address of your router.
   Change the port number only if your router does not listen on the default
   HTTP port (80).


   Now click the "Status" tab.

   If you have a firewall, make sure ports 81, 85, 88, 7777 and 8245 are
   opened for outgoing TCP traffic.

   When you are online and your router is active, click the Run button.
   The test begins. While the test runs, the "Run" button is changed to a 
   "Cancel" button and the "parses parsed" status is updated. The test may
   take a few minutes. When it completes the "Cancel" button is changed
   back to a "Run" button and a message is shown.

   If the test fails it means that the program is unable to identify a
   status page and that the external IP address does not show on any of
   the pages parsed. This does not necessarily means that your router
   does not have a status page but simply the program was unable to 
   auto-detect it. (Make sure to test at least twice.)

   If the test succeeds, you can select the path found in the "Path to 
   status page" list and try the polling test.

   To run the polling test, select the Polling tab. If you selected a path
   in the Status page, it appears at the top of the Polling page. 

   If the status page of your router shows a gateway IP address, you may
   have to specify some IP addresses or IP address ranges to exclude from
   detection. 
   
   The syntax is the same as in DynSite (http://noeld.com/dldynsite.htm). 
   For example:

     65.1.2.3.4
     Excludes only this IP address.

     194.24.135.*
     Excludes all addresses between 194.24.135.0 and 194.24.135.255.

     215.117.58.1-215.117.58.10
     Excludes all addresses between 215.117.58.1 and 215.117.58.10.

     *.*.*.254
     Excludes all addresses which end with 254.

     169.*.*.254
     Excludes all addresses which begin with 169 and end with 254.



   To have a look at the status page of the router in your default browser
   click the Open button.

   Click the Poll button to start the test.

   The polling test queries the router every minute and displays the IP
   address that it could get from the status page of the router.



  History
  -------

  ---------------------------------------------------------------------------
   Date          | Version            | Comments
  ---------------------------------------------------------------------------
   Mar. 26, 2007 | V1.02 (build 15.1) | Maintenance update and minor fixes
   Jan. 28, 2005 | V1.01 (build 12.5) | Some enhancements to the spider
   Oct.  2, 2003 | V1.0  (build 10.4) | fixed a possible caching issue
   Mar. 27, 2003 | V1.0  (build 9.4)  | Strip /../ and /./ from relative paths
   Mar. 21, 2003 | V1.0  (build 8.5)  | List of detection scripts updated
   Nov.  8, 2002 | V1.0  (build 7.5)  | Initial release
  ---------------------------------------------------------------------------



   I hope you will find this program useful. Thank you for your interest.

   Please consider making a donation so that I can keep enhancing my programs
   and provide them to you.

   Nol DANJOU (DynSite's author, Freelance Software Engineer)
   webmaster@noeld.com
