From 28bf462793fc9c15e70b73d3eb2223f6328abb84 Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Sun, 12 Jun 2016 23:21:48 +0200 Subject: Add new configuration options to enable/disable IPv6 or IPv4. 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. --- docs/configuration.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/configuration.md') diff --git a/docs/configuration.md b/docs/configuration.md index 9335a51..2483713 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -220,6 +220,16 @@ $config['misc']['allow_reserved_ip'] = true; If set to true, allows reserved the use of IPv4 addresses (0.0.0.0/8, 169.254.0.0/16, 192.0.2.0/24 and 224.0.0.0/4) as parameters. +```php +$config['misc']['disable_ipv6'] = false; +``` +If set to true, disable the use of IPv6. + +```php +$config['misc']['disable_ipv4'] = false; +``` +If set to true, disable the use of IPv4. + ### Tools The tools that are used by this software are **ping** and **traceroute** for -- cgit v1.2.3