Commit Graph

158 Commits

Author SHA1 Message Date
Joecowboy
f365fa90eb Changed the variable name to dhcpleaseinlocaltime from timeformatchange per jim-p request and moved xml tag into dhcpd. 2012-02-25 16:57:50 -06:00
Joecowboy
6215694a47 Added check box for changing from UTC time to local time display on DHCP leases. 2012-02-25 15:17:51 -06:00
Pierre POMES
a3de8b9eef Ticket #1917: fix typos, fix domain-search for dhcpv6 2012-02-25 11:12:56 -05:00
Pierre POMES
42a3cbab84 Ticket #1917 - DHCP server support for multiple domains in search list 2012-02-23 22:56:18 -05:00
Anthony Wrather
a2578c2747 Updated DHCP IPv4 and IPv6 to allow global and host based filename and root-path. 2011-12-01 17:33:27 +00:00
Evgeny Yurchenko
51cd7a1e31 Bug#1688. DHCP server subnet input validation needs to check config.xml, not ifconfig. 2011-07-19 21:01:54 -04:00
jim-p
8b6313a4d3 Merge remote-tracking branch 'upstream/master'
Conflicts:
	etc/inc/easyrule.inc
	etc/inc/filter.inc
	etc/inc/interfaces.inc
	etc/inc/services.inc
	etc/inc/xmlrpc_client.inc
	usr/local/www/fbegin.inc
	usr/local/www/services_dhcp.php
2011-07-12 19:57:42 -04:00
Scott Ullrich
45d1024db3 Do not check to see if gateay falls within a null value. Resolves #1664 2011-07-10 12:04:34 -04:00
Scott Ullrich
7988ce7581 Do not check to see if gateay falls within a null value. Resolves #1664 2011-07-10 12:03:50 -04:00
Evgeny Yurchenko
9bc59815c6 Bug #1641 fix. DHCP server default gateway needs input validation. 2011-07-07 18:10:40 -04:00
Bill Marquette
e5770bc233 DHCP only knows about IPv4
don't allow admins to shoot themselves with v6 addresses in the config
2011-05-26 22:52:26 -05:00
jim-p
4b08378cdf No need to set this here anymore. We set it higher by default. 2011-01-18 10:38:54 -05:00
Erik Fonnesbeck
3440de729d Change appearance of fields for saved "Additional BOOTP/DHCP Options" to be consistent with other fields on the page. 2010-12-22 07:58:39 -07:00
Erik Fonnesbeck
1452fa5788 Use correct names for integer and boolean types in DHCP options and fix typo in hexadecimal validation for strings. Fixes #962 2010-11-22 01:33:52 -07:00
Erik Fonnesbeck
f02f0675cc Ensure this is an array before entering the foreach loop. Fixes #1012 2010-11-16 18:38:44 -07:00
Erik Fonnesbeck
bddc88183a Form image buttons are submit buttons and thus default buttons, causing unwanted behavior with the enter key. Use links instead, where possible. 2010-11-12 22:44:11 -07:00
Scott Ullrich
dd5bf424c1 Fix XSS issues 2010-11-12 11:36:20 -05:00
Erik Fonnesbeck
678dfd0fa8 Add a setting for the data type of values used with DHCP option numbers and input validation for each type. Fixes #962 2010-11-09 05:14:29 -07:00
jim-p
5e693f58a6 Break after the first error. 2010-10-21 17:11:13 -04:00
jim-p
630d702581 Prevent the DHCP range from being changed to include static mapping entries. Fixes #964. 2010-10-21 17:08:58 -04:00
Ermal
9dea60d146 Ticket #834. Check if the passed value is an url too. Seem they are valid inputs for tftp cases. 2010-08-31 12:20:30 +00:00
Scott Ullrich
2c7497cb68 Avoid the error: Warning: Invalid argument supplied for foreach() in /usr/local/www/services_dhcp.php on line 256 2010-08-30 14:42:18 -04:00
Renato Botelho
e73b001e25 Merge remote branch 'mainline/master'
Conflicts:
	usr/local/www/diag_smart.php
	usr/local/www/firewall_rules_edit.php
	usr/local/www/interfaces.php
	usr/local/www/load_balancer_pool_edit.php
	usr/local/www/pkg_mgr_settings.php
2010-08-12 12:55:32 -03:00
Renato Botelho
16457bdd94 gettext fixes 2010-08-12 10:32:15 -03:00
Erik Fonnesbeck
3a3fb8eaba Fix printf/sprintf mixups. 2010-08-11 16:15:13 -06:00
Scott Ullrich
282f7bfc20 No need to set sortable class for this page, it ends up with a javascript error 2010-08-05 15:43:36 -04:00
Renato Botelho
4daa45d861 Merge remote branch 'mainline/master' into 4_load_balancer_and_services
Conflicts:
	usr/local/www/services_captiveportal_ip_edit.php
	usr/local/www/services_captiveportal_mac_edit.php
	usr/local/www/services_dhcp_edit.php
	usr/local/www/services_rfc2136.php
	usr/local/www/services_snmp.php
2010-08-03 11:11:57 -03:00
jim-p
073a2697dd Prevent enabling static ARP if there are static map entries that lack IP addresses. 2010-08-03 09:37:50 -04:00
jim-p
09f11c7196 Ensure static ARP is configured each time the DHCP service is configured. Previously, it was not enabled after bootup, but was if saved from the GUI. Fixes #782 2010-08-02 15:02:52 -04:00
Carlos Eduardo Ramos
6c235a30d5 Corrections gettext implementation on services_dhcp.php 2010-07-20 16:23:13 -03:00
Carlos Eduardo Ramos
a4510ca090 Corrections gettext implementation on services_dhcp.php 2010-07-20 10:44:34 -03:00
Carlos Eduardo Ramos
44d01644a4 Corrections gettext implementation on services_dhcp.php 2010-07-15 16:27:21 -03:00
Rafael Lucas
40ad67e0b5 Implement gettext() calls on services_dhcp.php 2010-07-13 14:24:53 -03:00
Chris Buechler
b9546722a1 this page is status, not diag. 2010-06-14 00:08:50 -04:00
jim-p
5224b8e7d2 Add status/log icons to DHCP page. 2010-06-01 16:03:05 -04:00
jim-p
de792e62e3 Fix whitespace while I'm here. 2010-05-21 13:45:24 -04:00
jim-p
6d1af0e9d8 Preserve DHCP numbered options when there is an input error. Fixes #494 2010-05-21 13:31:33 -04:00
Erik Fonnesbeck
9603306327 Various fixes to usage of ip2long, long2ip, and negated subnet masks, mostly affecting 64-bit. Ticket #459 2010-05-20 10:55:02 -06:00
Chris Buechler
e4b8da19a4 allow hostname for TFTP server 2010-04-10 14:12:58 -04:00
Erik Fonnesbeck
01fdb2d38a To pick the starting tab on Services: DHCP server, use the same logic as used for creating tabs to make sure the first tab really gets selected. 2010-03-20 07:17:41 -06:00
Ermal
f19651d15b Get up to improvements. 2010-03-17 10:48:00 +00:00
Chris Buechler
55e52bc6bd fix text 2010-02-22 02:07:19 -05:00
Chris Buechler
93c3b51923 fix text 2010-02-06 23:37:50 -05:00
Ermal Luçi
51e43abc8d Ticket #274. Propperly handle custom options. 2010-01-18 11:57:18 +00:00
Ermal Luçi
a0d1dc5634 Ticket #207. Show the dhcp server tab for the interface that have a previous dhcpd configuration. 2010-01-12 13:39:55 +00:00
Ermal Luçi
0c87f8fab5 Simplify some code. 2010-01-12 13:21:34 +00:00
Chris Buechler
11de5c3da2 fix deletion of additional DHCP options. Resolves #273 2010-01-04 15:21:15 -05:00
Chris Buechler
f915024922 clarify input_error 2009-12-13 17:21:36 -05:00
Ermal Luçi
7dfa60fa23 Check if item is set before foraching. 2009-12-11 09:47:03 +00:00
sullrich
2c75b451be Disallow virtual IP addresses withing the range Ticket #50 2009-12-02 19:59:34 -05:00