When troubleshooting network problems it helps to be able to run ping
and traceroute
(tracert
) commands from remote servers. There is number of such public servers available on www.traceroute.org.
If you need to run such server yourself on Microsoft IIS, you face a hard time, thought. I was unable to find decent, modern and free implementation of web ping and trace. So I wrote one myself.
IIS Network Diagnostic Tools is set of three HTTP handlers written in .NET: one cares for the ping command, second for the traceroute and third displays simple user friendly HTML form to use them both. Above these handlers stands one handler factory, which switches them according to requested operations.
Therefore you are able to register single handler (the factory) using single DLL and you are all set.
Altairis.IisNetDiag.dll
assembly to bin
folder fo your web site.Altairis.IisNetDiag.ToolsHandlerFactory
class in handler section. You may use any path name for registration, default and recommended is IisNetDiag.axd
. Example for registration for both IIS 6.0 (Windows 2003 and below) and 7.x (Windows 2008 and above) can be found in web.config
file in this folder.http://www.example.com/IisNetDiag.axd
) and you'll see the form.Copyright © Michal A. Valášek - Altairis, 2010
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Full text of the GNU General Public License may be seen at http://iisnetdiag.codeplex.com/license