Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
Add required Bootstrap 4 and jQuery 3.3.1 versions.
Also add Font Awesome 5.0.6 since Bootstrap decided to remove Glyphicons.
|
|
|
|
|
|
|
|
The parameter field will take the focus and its edges will turn red. This will
be cleared up if the reset button is hit or if the field is changed.
|
|
|
|
The timeout can be specified in seconds with the ['timeout'] array index
within the router configuration. The default value is 30 seconds.
|
|
Get only AAAA or A record based on the router config if provided.
|
|
Remove the global options to disable/enable IPv6 or IPv4. These options can
now be used on the router configuration level, which seems more appropriate.
|
|
When disabling IPv6 or IPv4, the looking glass will not try to use both
IP protocol versions when looking for an AS routes or when pinging or
tracerouting.
If an IP address of a disabling IP version is used, the user will have an
error in return of its command. This error will tell him that the IP version
he is trying to use is disabled.
Please note that when trying to ping or traceroute a hostname from a Cisco or
a Juniper device, this looking glass will not prevent the device to use a
disabled IP version when executing its command.
This commit also contains some small changes with HTML tags.
|
|
|
|
Add configuration variable to set the path to a file containing a peering
policy. This file must be readable by the webserver and must contain HTML
formatted text (on which CSS rules will be applied).
If the variable is set to null, no peering policy will be displayed.
|
|
|
|
An AS path regex will be considered as invalid if any of the ; and "
characters are used. These characters could be used to inject arbitrary
command due to the router command line interpretation.
This is a temporary fix for issue #13 while waiting for something better.
|
|
|
|
|
|
|
|
|
|
Rename FQDN to hostname which seems more appropriate.
Refactor match_fqdn / match_hostname function to use a more accurate way of
checking a potential hostname.
|
|
|
|
With ping only the options can be changed to match what the user wants.
With traceroute the options and the binary can be changed (some people prefer
to use mtr instead of traceroute).
Please refer to the documentation to see how it works.
|
|
|
|
|
|
|
|
|
|
Use $config['frontpage']['header_link'] to give a link to be used
when the header is clicked. The default value is null and means that
no link will be used.
|
|
Set $config\['output'\]\['show_command'\] to true or false to show
or hide the command in the output.
Also fix ping/traceroute without FQDN on BIRD, Quagga and Cisco.
|
|
|
|
Some can be set to 'null' to avoid displaying some info.
|
|
|
|
|
|
|
|
The format for each log can be configured with the configuration
option defined by $config['logs']['format']. %D is for
the time, %R is for the requester IP address, %H is for the host on
which the command has been executed and %C is for the command.
Warning! The configuration option to choose the logs file has been
moved from $config['misc']['logs'] to $config['logs']['file'].
|
|
Fix filters that could lead to filtered HTML output.
Do not remove empty lines anymore, except for the last line.
Do not try to loop over each line of the output if no filter are
defined.
|
|
|
|
|
|
|
|
|
|
|
|
Basically this can work with all Linux boxes. It gets A and AAAA
records from DNS and decide if it can uses IPv6 or IPv4 to ping or
to traceroute. IPv6 is always preferred of course.
|
|
|
|
|
|
values that aren't :)
|
|
|
|
The defaults can be overriden in the config.php file but some of
them are fine as defaults. This will help in having a config.php
file as short as we can.
Also move utils.php to the includes directory.
|
|
|