
RouterStats History
===================

4.7   02 Nov 2008        Moved experimental telnet to its own Telnet Tab:  (Tested extensively with D-Link DSL-2640b and 2740b).

                           Added options to change telnet port, telnet prompt, chipset and command-set. 

                           Added option to disable HTTP access entirely and use an independent telnet IP address.
                             Rx Noise on Icon,  Rx Noise & Rx Sync on Toolbar and WAN IP address obtained from telnet in this case.

                           Added option to force RouterStats to display 255 or 510 tones (ADSL or ADSL2+) on bits/tone graph.

                         Added optional marker points to telnet SNR graph (Easier to click on for Tone details panel).

                         Regional decimal separator now detected automatically (with option to override).

                         User-defined graphs now handle comma decimal separator better.

                         Modified Logging code so that log entry format is consistent across http and telnet.

                         Fixed bug in Bits/Tone graph causing details panel to show one tone out.

                         Fixed bug causing "Capture Now" to reset the scheduled capture page counter.



4.6e   26 oct 2008       Mainly cosmetic: Improved the Scheduled Capture configuration by eliminating the 'Never' radio button.

4.6d   26 Oct 2008       Added Downstream and Upstream Max Rate figures to Telnet Summary Page (DG834(G) v4  and DG834GT).
                         Added Font selection for Telnet Summary page and terminal window.
                         Changed code for telnet summary page and terminal windows. Now only display scrollbars if required.
                         Added option to capture a daily one-off single page of the selected graphs at a specified time.
                         Camera Icons for scheduled and one-off times added to telnet graphs.
                         Fixed "floating"  Extended Stats checkbox when RouterStats was resized.


4.6c   24 Oct 2008       Added option to set the font size for the Noise Margin value on the SysTray Icon.

                         Changed code around telnet graphs' vertical axes to allow zero to be more clearly visible above the bottom
                          baseline.

                         Fixed bug causing 'invalid floating point operation' when a time value was chosen as marked text.


4.6b   09 Oct 2008       Fixed bug causing an 'invalid floating point operation' error in some circumstances.
                         
                         Fixed bug preventing graphs being plotted when router doesn't respond (regardless of checkbox setting).

                         Fixed bug in 'Expected profile' when Connection Speed was at band edges.

                         Delayed Telnet plotting by one sample. This "spreads the cpu load" and prevents a zero value being plotted
                           as the first point (which was upsetting the average value on the telnet popup menu).

                         Telnet Connect/Disconnect works with better co-ordination between main Start/Stop buttons  and 'manual' telnet
                           connect/disconnect buttons.

                         Default experimental telnet username ('root') can now be changed via an input box instead of
                           editing the INI file.
    


4.6a   06 Oct 2008       (Withdrawn - buggy) 

4.6    06 Oct 2008       Added the option to plot average values for Rx Noise, Rx Sync and the two user-defined graphs. The averages
                           are "rolling averages" over an adjustable number of samples.  

                         The rolling average value on the popup menu is now based on the number of samples configured here.
                           (Config-> Graphs -> Extras)

                         Added option to automatically adjust the vertical axes of the Rx Noise and Rx Sync Speed graphs in addition
                           to the two User-defined graphs.

                         Cosmetic changes: Graphs' popup menu shows 'dB' or 'Kbps' where appropriate.
                                           Added 'Configure Graphs' to popup menu. Duplicates 'Configure' button but always opens
                                            configuration on the graphs configuration page.


4.5c   02 Oct  2008      Fixed bug introduced in v 4.5 which prevented the HTML "Get Page" display from accepting valid marked text.

4.5b   02 Oct  2008      Changing the configuration IP address of any one of: Login URL, LogOut URL or ReBoot URL, automatically
                          changes the other two.

4.5a   29 Sept 2008      Added "Expected IP profile" to Downstream Connection Speed popup menu.



4.5    21 Sept 2008      Added a second "Use source" checkbox which retrieves the stats page source code differently. May
                         be useful as an alternative "Mark Text" page and enables RouterStats to work with additional routers.


4.4    20 Sep 2008       Added checkbox to allow router to login to telnet, bypassing the Netgear "debug" method. 
                         Allows telnet to work with some other routers.

                         Added code to help problem with RouterStats appearing "off screen" when switching computer from dual
                         to single monitor. RouterStats now always opens on Primary monitor.

                         Fixed bug preventing "manual" User-defined graphs maximum going beyond 100.



4.3    26 Aug 2008       The two User-defined graphs can either plot the "raw" data extracted from the router or plot the 
                         difference between successive sample values. This will allow  "value per sample" to be plotted
                         instead of simply a cumulative total. Option settable via Radio Buttons when initially "Marking"
                         
                         Added support for DGTeam firmware (tested with the GT) which requires a separate telnet login. Currently,
                         the bits/tone graph is not plotted and the "Adjust Target SNR" feature seems none too accurate.

                         Added simple maintenance for logfile:  Trim to a specified number of lines, daily at a specified time.


4.2    14 Aug 2008       Added optional Max and Min settings for the y-axes of the two User-defined graphs with checkboxes
                         to select "Auto".

4.1    20 Jul 2008       Added new alarm triggers:  Noise Margin has dropped below an adjustable average of the last xx samples.
                                                 Noise Marging has risen above an adjustable average of the last xx samples.
                                                 'xx' is configurable from 10 to 1000 samples.
                                                 (These alarms should ignore gradual expected changes in SNR such as at night
                                                   and in the morning but will trigger on sudden unexpected changes)
                                                 
                                                 For Netgear DG834 series:  Alarm when PPP session has dropped.

                         Added new alarm action:    Write to Log.  As every sample is no longer (necessarily) written to the
                                                 log (see below), this facility has been added to log data when an alarm occurs.

                         Added new log functions:   Data can be logged at intervals other than at the default setting of every sample.
                                                  (Adjustable between 1 and 120 minutes).

                                                 Log Noise Margin changes +/- a percentage of the average value of xx samples.

                                                 For Netgear DG834 series:  Log dropped PPP sessions.

                         Added a "Splash Screen" as RouterStats now has a lot of configuration data to load from the INI file before
                         it appears on the monitor screen.
  
                         Trapped errors if logfile folder doesn't exist.


4.0c    01 Jul 2008   Fixed bug preventing emailed daily log from updating to current day.

4.0b    24 Jun 2008   Fixed issue with "Extended Stats" when no 'ppp0' port exists.

4.0a    23 Jun 2008   Fixed anomaly in how Telnet reports "Trellis" status with ADSL2+

4.0     23 Jun 2008   The Netgear DG834 series of routers can use a new precise search function built into RouterStats to
                      retrieve the Downstream and Upstream Noise Margins and Connection Speeds.

                         The DG834 should be detected automatically but a new checkbox on the System configuration Tab
                         allows the DG834 to be selected manually.

                         This new function will eliminate the issue with the the DG834 where RouterStats loses track
                         of the marked text as numerical values increase in "length".  (FAQ Q1)
                                   

                      Fixed bug preventing Telnet Rx Sync graph from plotting above 10,000 in some circumstances.
                      Fixed bug where SNR per Tone wasn't always plotted correctly (DG834 v4).
                      Fixed code where colour-change indicates Tx/Rx boundary in Bits per Tone graph with ADSL2+ (DG834 v4).


3.1g    (Beta)        Some computers don't dispaly the Telnet stats very well. This version uses slightly different Telnet
                      code. I don't get the problem so it's difficult to fix!

                      Added 'Select All' and 'Copy' to Search Text source code window.

3.1f    14 Jun 2008   Fixed bug preventing negative SNR values being plotted.
                      Fixed bug causing graph axis error.
                      Added FAQ to helpfile.

3.1e    13 Jun 2008   Added Log to webserver and ability to create a basic blocked list for unwanted IP addresses.

                      Added checkbox to System Configuration for when the router uses the period (.) as the decimal
                       separator but the Windows regional setting uses a comma.

3.1d    02 Jun 2008   Fixed bug causing FAST mode to be not detected in DG834GT.

3.1c    02 Jun 2008   Reworked code around snr/tones graph - now updates automatically with main sample timer.


3.1b    28 May 2008   Added code for ADSL2+ to bits/tone graph parsing.
                   

3.1     19 May  2008  Telnet - Netgear V4:  Added Interleave Depth to Summary Page.
                                            Added facility to set Target SNR. (was in later 3.0 Betas)
                                            Added new Tab to graph Bits/Tone and SNR/Tone.
                                            

3.0 (Beta)  12 May    Increased maximum Sync Speed to 50,000.

                      Telnet: Netgear v4: Can now read and plot error totals at intervals of 15 mins, 24 hours or
                              since reboot.
                      Telnet: Netgear v1,2 & 3: I've tried to add a similar facility as in the v4.


2.9b    29 Apr 2008   Fixed "Access Violation" bug on Telnet summary page popup menus.
                      Added Down Arrow option to Run button to provide two types of delayed start.

2.9a    25 Apr 2008   Added additional option to "Capture graphs when RouterStats Closes" checkbox to only capture
                        if more than a configurable number of points have been plotted.

2.9     25 Apr 2008   Added Telnet support for DG834(G) version 4  and DG834GT series routers. (includes ability to
                         set target SNR (v4 and GT only))

                      Fixed bug causing telnet Rx Noise graph to pop up the wrong menu.

                      Added checkbox on System Tab to always use UTC/GMT. ('UTC' appears on captured graphs).
                      Added 'Copy To Clipboard' to graphs' pop-up menu.
                      Added 'Select All' to Image Viewer popup menu.

                      


2.8j	15 Feb 2008   Minor cosmetic changes.

2.8i    27 Jan 2008     Fixed bug where Tx Sync and Rx Sync weren't being saved correctly.
			Slightly changed TX Noise search-text code to accomodate a "difficult" router.

2.8h	09 Dec  Fixed bug introduced in version 2.8g preventing telnet working.

2.8g	05 Dec	Fixed bug causing error when RouterStats closes.
		Added LinksysWAG200G and Zoom X5v to Helpfile.

2.8f	22 Nov	Fixed bug introduced in last version where graphs were captured in rapid succession after the
		  first full graph.

		Added option to capture the part-page graphs when RouterStats is closed between full page captures.


2.8e	16 Nov	Added checkbox to web server to prevent web access to server's subfolders.


2.8d	15 Nov	Added facility to show Rx-Noise value on System Tray and main application Icons.
		Stopped "Router Stats Page"  updating continually because of an apparent memory leak.
		Reworked code so RouterStats makes JPegs without saving temporary bitmaps.
		Trapped more potential errors if the router provides incorrect values.

2.8c	11 Nov	Fixed bug causing "Address violation" error.
		Added progress bar during "save configuration" operation.               


2.8b	8 Nov	Added checkbox to force image filenames to lowercase for web server.
		Reduced chances of errors caused by webserver and sample timer accessing images at the same time.

2.8	6 Nov   Added facility to only trigger alarm once during a prolonged alarm condition.
		Hopefully fixed bug causing an alarm to be triggered when the alarm condition was
		   shorter than its delay timer.

		Added new WebServer facility to allow graphs to be viewed remotely on the internet.


        March - October: Moving House!
                       I've moved to a house with a bad and very viariable Downstream SNR so I may, finally, be
                       able to spend some more time on the alarm facilities in RouterStats and debug other issues
                       which may become apparent when the router disconnects umpteen times within 20 minutes.


2.7h/i	11 Jan 2007    Prevented illegal characters (as filenames) being used in User-defined labels.


2.7g	09 Dec	The Help file is no longer deleted when RouterStats closes.

2.7f	07 Dec	Added current WAN Uptime to StatusBar  (Netgear DG834(G)).
		Added "Save" buttons to save configuration at any time without closing RouterStats.

2.7d	20 Nov	Corrected 'typo' in Telnet Summary. Was showing 'Connection Rate' text twice although displayed value was correct.

2.7c	14 Nov	Changed the way window size and position is saved when RouterStats closes.

2.7b	12 Nov	Improved router reboot routine.

2.7a	08 Nov	Added "Transparency" (Alpha-Blend) option.

2.7	03 Nov  Fixed bug causing "Send Now" (e-mail) not to work.
		Fixed bug causing Alarms to require Telnet to be checked for them to work.
		"Reboot Router" checkbox now remembered when RouterStats closes.
		More robust checking when sending e-mail before rebooting router. (Sending was sometimes
		  getting cut short when remote server was slow.
		Added "per day" radio button to max reboots counter.
		Added .cmd to permissible file extensions for script execution. Added Test button.
		Added a "System messages" Tab (with option to hide it). This Tab provides a log showing
		  RouterStats' internal "conversations" with itself. May assist future debugging.
		
		Included a new folder in the zip distribution. Currently contains a 'ready-to-run' .INI file
		  for the Draytek 2600 (Thanks to Mike for that one).



2.6d	02 Nov  Changed code to prevent invalid filename characters being entered when Date/Time formatting
		  is used as part of filename. (log and Capture).

2.6b	29 Oct  Modified x1000 scaling so only Rx Sync is scaled. (Tx Sync graph auto-adjusts the vertical axis)
		Fixed problem with Draytek routers using a blank password.

2.6a	25 Oct  Added Total Bytes Transferred to Telnet summary page.

2.6	19 Oct  Fixed bug causing telnet summary page and graphs to return incorrect values.
		
		Added "Netgear Search Text" Restore Defaults button.
		The System & Log tab was getting a bit crowded so I've given them a tab each.
		Marked text can be Time values - they won't be plotted on the graphs but will
                  appear on ther Toolbar.


2.5g	12 Oct	Added facility to use stats page souce code instead of HTML dispaly in order to 'mark'
		  search text values. Primarily, this is for use with routers which use JavaScript to display
		  their stats page.

2.5f	06 Oct	Added "Send Now" button to test e-mail facility.
		Updated Help file.

2.5e	05 Oct  Fixed bug preventing Rx sync graph plotting above 10,000

2.5d	04 Oct	Increased Rx-Sync maximum to 20,000.

2.5c	25 Sep  Added facility to show Login password in plain text to assist when having Login problems.
		Added facility to e-mail IP address if it changes (Netgear DG834(G) only).
		Optional "Mail" icon to notify when an e-mail has been sent.
		Option to open e-mail clent.

2.5b	24 Sep  Added facility to change graph drawing colour when the router doesn't respond. This will
		 allow "genuine" zero values to be distinguished from the router not responding.

2.5a	21 Sep  Fixed bug causing main window to grab focus and move in front of the configuration window.
		Fixed bug causing RouterStats to grab focus from other applications when "closed-to-systray".

		More work to the Login routines - added more error messages to assist finding login failures. 

2.5	19 Sep  Added checkboxes to overlay current Rx-Sync and Rx-Noise values to captured graphs (in addition 
                  to IP address).

		Added prompt for y-axis labels when marking user-defined graphs for "training".

		Moved telnet terminal window onto its own Telnet Tab.

		Removed default login password as this was causing confusion to first-time users.

		A few people seem to have a problem initially getting RouterStats to connect with the router so
		  I've spent some time trying to improve the login routines.

		The success of Telnet seems very variable and seems to depend on factors such as the speed of the
		computer and the ethernet hardware. There's no "handshaking" as such with Telnet so it can be difficult
		to know how the system is performing. I've taken the opportunity to try a few new techniques which
		might improve reliability.

		This is the first version which has had some limited testing with Windows Vista RC1 which seems to place
		higher demands on system hardware. I've included a few notes on using RouterStats with Vista in the
		helpfile.

2.4	10 Sep	Fixed bug causing 'Get Page' button to retrieve the wrong page!

2.3b	04 Sep	Added Telnet facility (Netgear DG834(G) only) to determine if ADSL MAX has Interleaving
		  'On' or 'Off'.

2.3a	03 Sep  Ongoing bug fix with negative Telnet Rx figure. (One occasion when a bad BT line would be
                  useful!)
		Router's Log now automatically scrolls to most recent entry.

2.3	02 Sep	Added Toolbar button to display the router's internal log. NETGEAR DG834(G) only.
		Bug Fix: Adjusted Telnet Rx Noise retrieval code to allow for router error.

2.2b	20 Aug	Added e-mail on alarm facility.

2.2a	20 Aug	Reworked code to try to correct Netgear's problem with negative dB values.

2.2	18 Aug	Added e-mail facility to e-mail a daily Log and the Rx Noise and Rx Sync Speed graphs.

2.1a	16 Aug	Added facility to start a new log each day.

2.0	13 Aug  Added facility to set number of points plotted per page.
		Add facility to expand and restore time axis.
		Fixed bug which caused unselected graphs to be captured if marked for scheduled capture.

1.9g	01 Aug	Added 'Start minimized' checkbox.

1.9f	15 Jul	Logout (if selected) added to application's Close routine.

1.9e	13 Jul	Fixed bug causing Tx Noise graph to always return 0.

1.9d	13 Jul	Minor bug fixes.
		Improved login procedure.

1.9c	11 Jul	Added facility to attempt to work with routers which have decimal and thousands
		  separators "reversed" by UK standards.
		Graphs can now be selected via menu item for adding to Log or not.
		Juggled with positions of "mark" buttons to make them correspond with graph's
		  tabs.  Upper tab and upper button = upload. Lower tab and lower button = download.


1.9	08 Jul	Fixed problem with dragging locked graphs causing system error.
		Added capture facilities to Telnet graphs. Scheduled capture is set using
		  a popup 'checkable' menu item.
		Added similar scheduled capture menu item to main graphs for compatibility and
		  convenience. This simply 'mimics' the existing checkboxes.
		Tightened some code which may improve cpu usage. Fixed bug where selected 
		  telnet graphs were being plotted even when Telnet was not selected.


1.8.1	06 Jul	Attempting to find on-going problem where RouterStats returns rubbish
		values under some conditions. Have re-worked http search code.
		IMPORTANT: Delete routerstats.ini and begin with default values.

1.8	06 Jul	Added Tx Sync Speed graph.
		various minor bug fixes.

1.7	03 Jul	Added 2nd User-defined graph.
		Added "Capture Now" to graph popup menus.
		Captured filenames now derived from y-axis lables.
		Date/time of captured filenames can be formatted.
		Fixed bug where viewer file list was not updating.
		Fixed bug preventing Tx Noise graph from scrolling.
		Added keyboard arrow navigation keys in viewer file list.
		Fixed bug preventing temp bitmap being deleted.
		

1.6c	01 Jul	Telnet Rx Sync Graph - y-axis title corrected.
		Log features added:	Date/time can be formatted.
					Values can be saved as CSV or TabSV.
		Tidied up some panel re-sizing problems.

1.6	30 Jun	Added Upstream (Tx) Noise Graph.
		Fixed problem with Sync Alarms ignoring Delay timers.
		Released as full version.

1.5e	28 Jun	Various cosmetic and small fixes.

1.5d	28 Jun	Tx Interleaved FEC and Tx Interlaeved HEC not remembering checkbox.


1.5c	26 Jun	Bug fixes: Cleared StatusBar filename when Log unchecked.
			   Clear StatusBar if IP lookup fails.
			   Fixed problem with 'camera' icons when form resized.

1.5b	25 Jun	Added IP address lookup.(hard coded via INI file)

1.5	??	Various bug fixed that I've forgotten.

1.4	??	Kept 1.3e as stable version and released 1.4 with Alarm facilities.

............................................


1.3e	21 Jun	Modified auto-scaling for user-defined and telnet graphs.

1.3c/d	2- Jun	Added more Telnet facilities.


1.2a	14 Jun	Increased user-defined upper limit to 2,000,000.

1.2	 8 Jun	Improved Login code. Three attempts to Log in to reduce failures.
		Added experimental Telnet window. ONLY for DG834 and DG834G


1.1	 4 Jun	Improved text search code.
		Added router's stats page to main window.

1.0	 2 Jun	First release version.