summaryrefslogtreecommitdiff
path: root/includes
AgeCommit message (Collapse)Author
2018-02-02Support a config item for the length of the routers listNat Lasseter
2018-01-30Release 2.0.1.looking-glass-2.0.1Guillaume Mazoyer
2018-01-28Release 2.0.0looking-glass-2.0.0Guillaume Mazoyer
2018-01-28Remove custom bootstrap theme config.Guillaume Mazoyer
2018-01-28Start to work with Bootstrap 4.Guillaume Mazoyer
Add required Bootstrap 4 and jQuery 3.3.1 versions. Also add Font Awesome 5.0.6 since Bootstrap decided to remove Glyphicons.
2018-01-01Copyright updated to 2018.Guillaume Mazoyer
2017-05-21Add variable for repository URL.Guillaume Mazoyer
2017-01-03Copyright updated to 2017.Guillaume Mazoyer
2016-12-22Focus on and highlight the parameter field if no parameter was given.Guillaume Mazoyer
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.
2016-08-28Release 1.3.0looking-glass-1.3.0Guillaume Mazoyer
2016-08-24Add configuration option to change connection timeout.Guillaume Mazoyer
The timeout can be specified in seconds with the ['timeout'] array index within the router configuration. The default value is 30 seconds.
2016-06-13Fix hostname_to_ip_address.Guillaume Mazoyer
Get only AAAA or A record based on the router config if provided.
2016-06-13Per router options to disable/enable IP versions.Guillaume Mazoyer
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.
2016-06-12Add new configuration options to enable/disable IPv6 or IPv4.Guillaume Mazoyer
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.
2016-05-20Everybody wants IPv6 first right?Guillaume Mazoyer
2016-03-14Peering Policy configuration options.Guillaume Mazoyer
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.
2016-02-18Release 1.2.1.Guillaume Mazoyer
2016-02-18Reject AS path regex containing ; and ".Guillaume Mazoyer
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.
2016-02-16Release 1.2.0.looking-glass-1.2.0Guillaume Mazoyer
2015-11-08Fix derp, typo.Guillaume Mazoyer
2015-11-08Fix derp. AAA is not a valid DNS record type.Guillaume Mazoyer
2015-11-08Ensure hostname is not an IP address.Guillaume Mazoyer
2015-07-23Rework hostname parameter check.Guillaume Mazoyer
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.
2015-07-18Change some errors messages.Guillaume Mazoyer
2015-07-17Add config variables to change ping and traceroute options.Guillaume Mazoyer
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.
2015-02-09Forgotten 'parameters'.Guillaume Mazoyer
2015-01-15Update copyrights.Guillaume Mazoyer
2015-01-13FQDN are usable for ping and traceroute.Guillaume Mazoyer
2014-12-23Release 1.1.0.looking-glass-1.1.0Guillaume Mazoyer
2014-12-18Option to configure the header's link.Guillaume Mazoyer
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.
2014-12-13Option to hide commands.Guillaume Mazoyer
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.
2014-12-10Release 1.0.0.looking-glass-1.0.0Guillaume Mazoyer
2014-12-08Define more default values.Guillaume Mazoyer
Some can be set to 'null' to avoid displaying some info.
2014-11-17Code format. Always use () for functions.Guillaume Mazoyer
2014-09-25Start documentation for the configuration options.Guillaume Mazoyer
2014-09-25Add documentation section in README.md.Guillaume Mazoyer
2014-09-24Log format can be configured.Guillaume Mazoyer
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'].
2014-09-08Improve output filters.Guillaume Mazoyer
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.
2014-09-03Add config to disallow the use of private and reserved IP ranges.Guillaume Mazoyer
2014-08-10Fix typo.Guillaume Mazoyer
2014-08-10Add ability to use another Bootstrap theme.Guillaume Mazoyer
2014-08-10Add config option to enable/disable the bootstrap theme.Guillaume Mazoyer
2014-08-06Start some functions documentation.Guillaume Mazoyer
2014-08-06Add ping/traceroute for FQDN on BIRD and Quagga.Guillaume Mazoyer
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.
2014-08-06Reminder of the command in the help modal.Guillaume Mazoyer
2014-08-05Add a disclaimer to the top of the config.default.php.Guillaume Mazoyer
2014-08-05adding a disclaimer to example config file and moving out some defaults ↵Romain Boissat rboissat
values that aren't :)
2014-08-05Add blank line.Guillaume Mazoyer
2014-08-05Add config.defaults.php to set default configuration options.Guillaume Mazoyer
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.
2014-06-10Move CSS to a dedicated directory css/Guillaume Mazoyer