summaryrefslogtreecommitdiff
path: root/includes/utils.php
AgeCommit message (Collapse)Author
2014-11-17Code format. Always use () for functions.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-03Add config to disallow the use of private and reserved IP ranges.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-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.