summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dhcp.php
Commit message (Collapse)AuthorAgeFilesLines
* Display any advanced DHCP server settingsPhil Davis2015-06-241-14/+14
| | | | | when the page is first displayed. This has annoyed me a few times and it annoyed me again just now. I had some settings in one of the advanced boxes that were no longer wanted, but when the services_dhcp page is shown the contents of advanced settings are not shown to the user - the user has to click on each advanced button to see if there are any settings already there. This change displays the settings automatically, if there is something already specified. It works the same way as the Firewall Rules advanced boxes.
* Code spacingPhil Davis2015-06-151-1/+1
| | | | | | | and other random stuff I noticed. I think this finishes messing with code style. The codebase should match the developer style guide closely enough that 99.9% of changes will not feel the need to also massage the formatting.
* Clarify DNS Forwarder and Resolver both apply in these places. partially ↵Chris Buechler2015-06-021-1/+1
| | | | Ticket #3730
* remove pointless filter on dhcp static mappings tableWill Boyce2015-05-301-2/+0
|
* Merge pull request #1679 from phil-davis/services_dhcpRenato Botelho2015-05-251-638/+786
|\
| * Code style services DHCPPhil Davis2015-05-231-638/+786
| |
* | Consistent clear_subsystem_dirty after unbound restartPhil Davis2015-05-231-1/+2
|/ | | | from services_dhcp. This looks like it is wanting curlies to put all clear_subsytem_dirty inside the "if".
* Merge pull request #1630 from phil-davis/patch-4Renato Botelho2015-04-271-1/+1
|\
| * Do not process dhcpd implementation if input errorsPhil Davis2015-04-231-1/+1
| | | | | | | | | | If I go to Service->DHCP Server, make some edits that are invalid (e.g. change range start or end to some invalid string) and press Save then the page comes back displaying the input error(s). But it also says: "The changes have been applied successfully." Actually, the changes (which were invalid) have not been applied to the config - all is well there - but dhcpd has been stopped and started and dnsmasq or unbound has been kicked... which is all unnecessary processing since the user has not yet provided valid values to save.
* | Remove the DHCP static lease overlap cleanup and associated function and ↵jim-p2015-04-241-49/+0
|/ | | | kill, as it can cause problems with failover scenarios.
* Make the DHCP network booting options line upPhil Davis2015-03-031-8/+34
| | | by putting the text and selection boxes into a 2-column table so that it can be rendered with the boxes lined up vertically.
* Welcome 2015Renato Botelho2014-12-311-1/+1
|
* Add missing BR tags and fix display with pfsense_ng_fs theme. It fixes #4115Renato Botelho2014-12-151-3/+3
|
* Clear dirty subsystem for hosts and staticmaps when unbound is enabledRenato Botelho2014-11-171-0/+2
|
* Don't show a big red "alarm"-looking message on every visit to the ↵Chris Buechler2014-11-161-4/+2
| | | | DHCP/DHCPv6 Server pages. Confuses people in that context, and it's not something that justifies highlighting in such a fashion. Move the message to show when you have no eligible interfaces.
* Change copyright statement to reflect realityJim Thompson2014-11-101-0/+1
|
* Merge pull request #1306 from phil-davis/patch-3Renato Botelho2014-10-201-3/+11
|\
| * Support up to 4 DNS Servers in DHCPPhil Davis2014-10-071-3/+11
| |
* | Manage dhcpleaseinlocaltime consistentlyPhil Davis2014-10-151-3/+16
|/ | | | | | | | | dhcpleaseinlocaltime is actually a global setting, but the setting is stored per-DHCP-enabled-interface. The display code in status_dhcp_leases already sorts this out - if any interface has the setting enabled then the displayed lease times are adjusted to local time. This fixes up the input of the setting. If dhcpleaseinlocaltime is checked on any interface, then it will now be shown checked whichever interface tab the user happens to have open. Whatever the user does to the checkbox, the setting is saved to all interfaces in the config - this is particularly neccesary when unchecking the box. The setting must be cleared in the config for all interfaces. The way this change works, there is no need to convert existing configs. The code correctly works with both old and new configs. This came up again in forum: https://forum.pfsense.org/index.php?topic=82881.msg0 It is an annoying "feature" so I think it is worth clearing it up on the UI.
* Do now call write_config() when click on Apply Changes because it was ↵Renato Botelho2014-09-181-30/+32
| | | | already done and it causes dhcpd to restart one more time on secondary nodes. It fixes #3797
* Replace Header() calls by lowercaseRenato Botelho2014-06-131-1/+1
|
* Tidy up "services_dhcp.php" XHTMLColin Fleming2014-05-181-11/+9
| | | | | | Change ONLICK to lower case Change P tags to BR tags Move opening TR tag inside the PHP IF statement
* Reconfigure unbound on dhcpv4 editWarren Baker2014-04-281-0/+4
|
* Tidy up "services_dhcp" XHTMLColin Fleming2014-04-041-89/+96
| | | | | | | | | | | | | Update alert message Add "closehead" variable and manually close HEAD Add CDATA sections to scripts Add summart to tables Update HTML Boolean operators Close INPUT Add missing closing P tag Remove empty TFOOT Add missing opening TR tag, closing TD tag and closing P tag Remove duplicate closing TR
* replaced uppercase html tags with lowercaseayvis2014-03-191-9/+9
| | | | js files saved as UTF-8 / LF language="JavaScript" deprecated, replaced with type="text/javascript"
* xhtml Complianceayvis2014-03-141-29/+29
| | | replaced <br>, <br/> and </br> with <br />
* Added support for UEFI booting to Network Booting configuration.Charlie Root2014-03-021-3/+14
| | | | | | modified: conf.default/config.xml modified: etc/inc/services.inc modified: usr/local/www/services_dhcp.php
* Enabling advanced RFC 2136 configuration for DHCPd serviceAndres Petralli2013-12-231-2/+22
| | | | | This change adds the ability to configure RFC 2136 domain name updates using a hmac-md5 keyname/key.
* Add DHCP without gateway capabilitytimdufrane2013-11-211-3/+3
|
* Fix #3113, fix multiple english spell errors s/seperet/separat/Renato Botelho2013-07-281-1/+1
|
* DHCP Server enable/disable change needs filter_configurePhil Davis2013-06-011-2/+14
| | | When DHCP Server is enabled or disabled on an interface, the filter rules should change to include or not mention DHCP.
* Fix dnsmasq host overrides and dhcp integrationRenato Botelho2013-05-011-2/+2
| | | | | | | | | | | . Do not execute following actions when dnsmasq is disabled: . Add host overrides to /etc/hosts . Register DHCP leases in DNS Forwarder . Register DHCP static mappings in DNS forwarder It should fix issue reported at following forum post: http://forum.pfsense.org/index.php?topic=58871
* Notify user that static arp will be configured even if DHCP server is disabledRenato Botelho2013-04-151-1/+1
|
* Add checks to make sure CP hard timeout is less or equal DHCP server default ↵Renato Botelho2013-03-221-1/+21
| | | | lease time. It fixes #2899
* Initialize $a_pools to fix warnings when saving dhcp settings whith no extra ↵Renato Botelho2013-01-291-0/+1
| | | | pools
* Add header to DHCP and DHCPv6 static mappings tablesjim-p2013-01-281-0/+4
|
* Ensure DHCP main range, pools ranges and static IP addresses don't overlap ↵Renato Botelho2013-01-241-3/+18
| | | | each other. It should fix #2773
* Move is_inrange() to util.inc and rename it to is_inrange_v4()Renato Botelho2013-01-241-8/+1
|
* Fix logic of is_inrange()Renato Botelho2013-01-241-1/+1
|
* Remove call-time pass-by-referenceRenato Botelho2013-01-241-1/+1
|
* Fix indent and whitespaces issuesRenato Botelho2013-01-231-5/+4
|
* Update usr/local/www/services_dhcp.phpframer992012-12-281-1/+1
| | | Inform user how the Primary/Secondary DHCPd process is determined in a failover pair so they don't end up with two secondary servers. For example, when using advskew=64 (and advskew=164 if using settings sync to peer for carp ips) on the carp master machine which they *think* will be the DHCP primary.
* Static mappings are not pool-specific. They exist independent of any pool, ↵jim-p2012-12-261-0/+2
| | | | and you can't actually add static mappings "inside" a pool range. So disable the static map list/controls if editing a pool, since they are "global" for an interface. Fixes #2370.
* Add description to additional DHCP pools. Implements #2733jim-p2012-12-261-3/+24
|
* ARP Table Static Entries from Individual DHCP Static MappingsN0YB2012-12-071-2/+8
| | | | | Assign individual DHCP static mappings as ARP table static entries. Useful / necessary for sending WoL magic packets from external services / sources, and for any other purpose that needs a static ARP table entry.
* Fix more tests for DHCP relay being enabled.jim-p2012-12-041-2/+2
|
* Remove this now-irrelevant comment.jim-p2012-12-041-5/+0
|
* Fix test to see if DHCP Relay is enabled.jim-p2012-12-041-12/+1
|
* Safety beltjim-p2012-09-171-0/+2
|
* Add support for multiple DHCP pools within the interface's subnet, and allow ↵jim-p2012-09-161-81/+242
| | | | most of the settings for the main range to be set specific inside the pool. (e.g. it allows setting different gateways and DNS for different pools). Still needs improved input validation to prevent overlapping ranges/pools.
OpenPOWER on IntegriCloud