Commit Graph

59 Commits

Author SHA1 Message Date
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
jim-p
8a85ab907d Apparently RFC 1123 overrides RFC 952 and hostnames can start with digits these days. 2011-08-06 21:20:58 -04:00
jim-p
49e4ebf834 Fix start/end test for an IP in DHCP pool. Resolves #1280 2011-02-13 19:19:39 -05:00
Scott Ullrich
225a2f0b46 Bring in XSS id fixes from m0n0wall 2010-11-12 11:03:51 -05:00
jim-p
ab8d138dcd Reject DHCP static mappings that are inside of the DHCP range. Fixes #966 2010-10-21 16:58:40 -04:00
Erik Fonnesbeck
392687e563 Fix hyphen validation for host name on Services: DHCP: Edit static mapping page. 2010-09-07 19:47:23 -06:00
Scott Ullrich
4c8a86531b Forced commit to note that should have read RFC952 2010-08-31 12:29:48 -04:00
Scott Ullrich
2d99467213 Forced commit to note that should have read RFC952 2010-08-31 12:29:07 -04:00
Scott Ullrich
d0ce82a3da Do not allow a numeric starting character or an ending hyphen in DHCP hostnames according to RFC1123 2010-08-31 12:27:08 -04:00
Ermal
d6d50244df Fixes #764. Import the patch in the ticket to allow per-host netboot file on dhcpd settings. 2010-08-24 10:08:59 +00:00
Renato Botelho
f16ba51e6d Merge remote branch 'mainline/master'
Conflicts:
	usr/local/www/services_dhcp_edit.php
2010-08-03 10:54:45 -03:00
jim-p
01292dc2e4 Fix this variable name and error message (It's Static ARP not Static map) 2010-08-03 09:16:44 -04:00
Rafael Lucas
8ffadf76d9 Implement gettext() calls on services_dhcp_edit.php 2010-07-13 14:38:51 -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
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
Erik Fonnesbeck
bb9689bd9d Ticket #343. Move sorting of DHCP static mappings to after the item is set. Previous behavior caused the wrong entry to get overwritten. 2010-03-10 17:25:30 -07:00
pierrepomes
556917a68d Sort dhcp mapping array once, only before writing config. Ticket #343 2010-02-08 19:18:28 -05:00
Chris Buechler
407f6220fe clarify what is valid for input errors on hostname 2009-11-28 23:41:55 -05:00
pierrepomes
46c5b763ef Fix hostname checking when entering a dhcp static mapping and replace "." with "_" when writing "host-name" option in dhcpd.conf. Resolves #159 2009-11-27 16:57:48 -05:00
Scott Ullrich
07ab492630 Update fieldname, it should be hostname and not host Ticket #159 2009-11-22 20:02:39 -05:00
Scott Ullrich
1d333258dc Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on 2009-09-14 21:49:40 -04:00
jim-p
f28a9efd04 Fix error when attempting to add a DHCP static mapping. Fixes #29 2009-07-08 19:35:11 -04:00
Ermal Lui
0d64af5975 Clear guiconfig from all sort junk functions and put them on the specific pages where they are needed.
Remove some sort functions not used.
2009-06-30 18:16:09 +00:00
Ermal Lui
a368a026db * Reorganize the 'apply' button infrustructure in the GUI.
- Present three new functions is/mark/clear_subsystem_dirty('name_of_subsystem'). This makes easier to create such things without needing to introduce new globals.
	- Convert all pages to the new infrustructure
	- This improves a lot the control on this notification
2009-06-30 17:15:22 +00:00
Ermal Lui
a55e9c701c * Hide interfaces internals to other code and use the propper interfaces.
Basically use get_interface*() functions instead of accessing fields like 'ipaddr'/'descr' etc...
* Make get_interfaces_with_gateway less heavyweight by getting information from the configuration stored in config.xml
* Some other missed custom interface list building and substituing with propper get_configured_interface*()
NOTE: This should give indipendce on dynamic interfaces on some services that before could not be used on top of this type of interfaces.
2009-03-30 00:38:36 +00:00
Ermal Luçi
4b559908a1 Bring back dhcp server static mappings. 2008-11-06 22:09:07 +00:00
Scott Ullrich
2ee0410f9e Honor $g['services_dhcp_server_enable'] 2008-10-29 03:15:42 +00:00
Scott Ullrich
e22987a41b Add CSS header 2008-08-30 20:03:08 +00:00
Matthew Grooms
6b07c15ad8 Rewrite the pfsense privilege system with the following goals in mind ...
1) Redefine page privileges to not use static urls
2) Accurate generation of privilege definitions from source
3) Merging the user and group privileges into a single set
4) Allow any privilege to be added to users or groups w/ inheritance
5) Cleaning up the related WebUI pages
2008-08-01 06:30:34 +00:00
Scott Ullrich
9401053278 Allow reserved IP addresses to fall within the DHCP Server range. DHCPD
does not barf with these changes, so why not?
2008-02-03 04:23:09 +00:00
Scott Ullrich
d88c6a9fdf Switch over to array style page titles. Obtained-from: m0n0wall 2007-11-16 00:48:53 +00:00
Scott Ullrich
f15f4b4d41 Relax the ip address check and allow duplicate ip address entries. 2007-10-19 20:46:05 +00:00
Scott Ullrich
87e629404e Relax the ip address check and allow duplicate ip address entries. 2007-10-19 20:39:10 +00:00
Seth Mos
b5c7850109 Fixing css layout 2007-09-01 20:47:31 +00:00
Scott Ullrich
0baa37c501 When Enable Static ARP entries is enabled, do not allow entries that lack an ip address from being added. Currently we do not have any type of dhcp server hooks to automatically add the arp address to the arp table to make this work otherwise. 2007-05-08 18:58:32 +00:00
Scott Ullrich
a4f15b52b3 MFC 17270
Fix hostname check when hostname field is blank
2007-03-29 17:35:31 +00:00
Scott Ullrich
cfc5a09094 Back out last commit, it removes the hostname check and is not the correct fix.
Ryan will be investigating the issue further since he added this feature.
2007-03-29 17:17:42 +00:00
Scott Ullrich
c229a1d824 Sync w/ m0n0wall 2007-03-29 17:10:52 +00:00
Bill Marquette
6a01ea44fb MFC [15285]
add dhcpd static mappings to dns forwarder
2006-11-11 17:52:40 +00:00
Scott Ullrich
e54d4de6d5 Remove #!/usr/local/bin/php 2006-01-02 23:46:18 +00:00
Bill Marquette
e4da84d08c Do it the right way and lock the config file before restarting dhcpd 2005-09-17 13:42:31 +00:00
Bill Marquette
e358460d5a Restart dhcp on change 2005-09-17 13:40:06 +00:00
Scott Ullrich
608ef5e716 If static arp is enabled, make the changes. 2005-09-16 16:19:17 +00:00
Scott Ullrich
7477df4f99 Changes submitted by databeestje which adds links to dhcp and other pages
that display mac easily allowing the addition of the item to the WOL db.
2005-08-23 17:36:42 +00:00
Scott Ullrich
43c9a1ddc2 Uppdate english
Update Ticket #381
2005-08-18 16:55:10 +00:00
Scott Ullrich
9c748b70a2 Do not dirty the path. We reload anyways.
Ticket #369
2005-08-16 21:39:41 +00:00
Scott Ullrich
6e707d609b Remove topbar. Red is not its color. 2005-08-03 16:52:07 +00:00
Scott Ullrich
3a32590b7f Correctly fill in mac address
Ticket #281
2005-08-01 22:48:47 +00:00
Bill Marquette
ef97ce1bf9 More screens inherit rounded tabletops 2005-07-03 19:17:51 +00:00