-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathconfig.php
33 lines (27 loc) · 1.07 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
//phpdhcpd config file
//Location of dhcpd.leases file
$dhcpd_leases_file = "/var/lib/dhcp3/dhcpd.leases";
//If password is left blank, NO authentication will
//be required and the page will be visible to anyone.
//However, if it is NOT blank, the only
//way to view the page is by entering the correct password.
//This password is in cleartext, if other people can access
//this file, this is NOT secure. For true security, use
//Apache digest authentication or other methods such as
//an htaccess file.
$password = "";
//Run MAC address vendor check
//Note: this can be taxing on systems with a large leases file
$mac_vendor = true;
//Save MAC vendor hits to cache file
//If this is enabled, it will search this smaller file first for the vendor.
//If it's not found, it then switches over to the main larger file. The
//purpose of this is for extremely large lease files, this speeds up
//the lookup time considerably. It writes to the cache file any results
//that it finds.
$cache_vendor_results = true;
//phpdhcpd version
//You don't have to change this
$version = "0.7";
?>