XHTML Compliance
Services - DHCP Server
Fix #3113, fix multiple english spell errors s/seperet/separat/
DHCP Server enable/disable change needs filter_configure
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 integration
. 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:...
Notify user that static arp will be configured even if DHCP server is disabled
Add checks to make sure CP hard timeout is less or equal DHCP server default lease time. It fixes #2899
Initialize $a_pools to fix warnings when saving dhcp settings whith no extra pools
Add header to DHCP and DHCPv6 static mappings tables
Ensure DHCP main range, pools ranges and static IP addresses don't overlap each other. It should fix #2773
Move is_inrange() to util.inc and rename it to is_inrange_v4()
Fix logic of is_inrange()
Remove call-time pass-by-reference
Fix indent and whitespaces issues
Update usr/local/www/services_dhcp.php
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, 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 #2733
ARP Table Static Entries from Individual DHCP Static Mappings
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.
Remove this now-irrelevant comment.
Fix test to see if DHCP Relay is enabled.
Safety belt
Add support for multiple DHCP pools within the interface's subnet, and allow 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.
Allow/deny access to DHCP by partial MAC matching.
Activate new shortcuts/status in the rest of the areas that are currently setup.
Changed the variable name to dhcpleaseinlocaltime from timeformatchange per jim-p request and moved xml tag into dhcpd.
Added check box for changing from UTC time to local time display on DHCP leases.
Ticket #1917: fix typos, fix domain-search for dhcpv6
Ticket #1917 - DHCP server support for multiple domains in search list
Updated DHCP IPv4 and IPv6 to allow global and host based filename and root-path.
Bug#1688. DHCP server subnet input validation needs to check config.xml, not ifconfig.
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
Do not check to see if gateay falls within a null value. Resolves #1664
Bug #1641 fix. DHCP server default gateway needs input validation.
DHCP only knows about IPv4don't allow admins to shoot themselves with v6 addresses in the config
No need to set this here anymore. We set it higher by default.
Change appearance of fields for saved "Additional BOOTP/DHCP Options" to be consistent with other fields on the page.
Use correct names for integer and boolean types in DHCP options and fix typo in hexadecimal validation for strings. Fixes #962
Ensure this is an array before entering the foreach loop. Fixes #1012
Form image buttons are submit buttons and thus default buttons, causing unwanted behavior with the enter key. Use links instead, where possible.
Fix XSS issues
Add a setting for the data type of values used with DHCP option numbers and input validation for each type. Fixes #962
Break after the first error.
Prevent the DHCP range from being changed to include static mapping entries. Fixes #964.
Ticket #834. Check if the passed value is an url too. Seem they are valid inputs for tftp cases.
Avoid the error: Warning: Invalid argument supplied for foreach() in /usr/local/www/services_dhcp.php on line 256
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
gettext fixes
Fix printf/sprintf mixups.
No need to set sortable class for this page, it ends up with a javascript error
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...
Prevent enabling static ARP if there are static map entries that lack IP addresses.
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
Corrections gettext implementation on services_dhcp.php
Implement gettext() calls on services_dhcp.php
this page is status, not diag.
Add status/log icons to DHCP page.
Fix whitespace while I'm here.
Preserve DHCP numbered options when there is an input error. Fixes #494
Various fixes to usage of ip2long, long2ip, and negated subnet masks, mostly affecting 64-bit. Ticket #459
allow hostname for TFTP server
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.
Get up to improvements.
fix text
Ticket #274. Propperly handle custom options.
Ticket #207. Show the dhcp server tab for the interface that have a previous dhcpd configuration.
Simplify some code.
fix deletion of additional DHCP options. Resolves #273
clarify input_error
Check if item is set before foraching.
Disallow virtual IP addresses withing the range Ticket #50
Show correct availavble usable range and disallow using network or broadcast address. Ticket #145
Do not allow broadcast or the network address in the range
fix up text
Set maximum memory to 64M for this page. Fixes #113
Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on
Make sortable
Hide Additional BOOTP/DHCP Options behind an advanced button like other items
Change size of columns to 10 and 55 for the number option rowhelper
Misc comments
Use intval()
Make sure entered # is a integer and use htmlspecialchars()
Add URL to custom BOOTP and DHCP options page hosted at iana.org
Reduce colspan to 3
Do not turn the fields red when restoring previously saved items
Add rowhelper field which allows defining custom dhcp option numbers. Sponsored-by: BSD Perimeter Commercial Support
Clear guiconfig from all sort junk functions and put them on the specific pages where they are needed.Remove some sort functions not used.
Fix a couple minor bugs in DHCP lease deletion.1. When deleting a lease, if you were viewing all leases, it should now retain that view.2. When checking for leases to clean, bail if there is no leases file. Otherwise there is an ugly error about not being able to open the dhcpd.leases file.
Remove DHCP leases for MAC addresses that now have static/fixed addresses. If these are not cleared, DHCP complains in the logs about duplicate leases.
Honor $g['services_dhcp_server_enable']
Do not hard code white
Add some check if we are working with arrays and fix the check for not allowing dhcpd to be configured on nonstatic ip interfaces.