Commit Graph

131 Commits

Author SHA1 Message Date
N0YB
f1a347906c Hostnames are not case restrictive. 2014-06-14 17:36:53 -07:00
Warren Baker
1e2c88215a Also reconfigure Unbound here 2014-04-28 22:16:22 +02:00
jim-p
bd5737dc22 Make sure that the DNS Forwarder/Resolver is actually capable of accepting queries on localhost before using it as a DNS server. 2014-04-23 10:16:15 -04:00
ayvis
8cd558b61b xhtml Compliance
replaced <br>, <br/> and </br> with <br />
2014-03-14 21:24:03 +01:00
Phil Davis
0c8cc91517 Remove old webguiport code
webguiport is managed in system_advanced_admin.php these days, not here in system.php. This validation is never executed, so might a well clean up old unused code.
2014-02-19 04:53:48 -08:00
Phil Davis
df4471e228 Improve processing of DNS server changes
What a pain this was. The user can blank out a DNS server from a position in the middle of the list. e.g. they had all 4 entries previously filled, and then they blank out DNS server #3. The way the DNS servers are stored in the config, they are just the defined ones in an "un-indexed" array. So actually entries 1, 2 and 4 on the screen become 1st, 2nd and 3rd in the config. The selected gateways for 1, 2 and 4 then have to end up in positions 1, 2 and 3 to match the stored DNS servers.
This fixes all that up, as well as allowing the user to leave a gateway selected against a blanked-out DNS server entry - in that case the whole entry is "removed/ignored".
2014-02-15 08:04:28 -08:00
Phil Davis
52acb1ff90 Enhanced validation of general DNS servers and gateways 2014-02-14 04:04:06 -08:00
David P Hilton
8adb814b30 /usr/local/www/system.php: strip excess whitespace from ntp field before processing 2013-12-12 04:21:17 -07:00
Renato Botelho
1e9b461124 Remove call-time pass by reference for do_input_validation, helps ticket #2565 2013-09-12 11:28:14 -03:00
Warren Baker
3efa7976c4 fix text - add space between sentences. This got lost in another commit 2013-08-05 19:06:27 +02:00
N0YB
3903d524ba Update system.php
fix text - s/by/be
Conflicts:
	usr/local/www/system.php
2013-08-05 07:18:38 -03:00
N0YB
9191b2f6d1 Update system.php
fix text - add space between sentences.
2013-08-05 11:07:19 +02:00
Colin Fleming
925020e7d2 Tidy up System:General Setup XHTML
Close INPUT tags
Tidy up HTML boolean operators
2013-03-07 20:32:27 +00:00
jim-p
744306c6bd Fix up tcpdump for pflog stop/start a little, consolodate code, and restart tcpdump for pflog when saving log settings. 2012-09-04 11:58:38 -04:00
smos
13ea7caa6b Make sure that we only perform validation if the GW name is filled as well as a IP address 2012-05-25 21:16:59 +02:00
smos
020ba5fe8f Clarify the error message to something useful 2012-05-25 20:18:37 +02:00
smos
96cd928ba2 Allow saving on system.php if the gateways are down. 2012-05-20 20:57:05 +02:00
smos
d008a24ed5 Unbreak the system general DNS settings, it would not work anymore when set to none. 2012-04-20 22:08:01 +02:00
smos
e617e9b1c1 Do not throw a address family error when there is just 1 gateway.
Fix the input logic for ticket #1662
2012-04-13 13:58:57 +02:00
Vinicius Coque
3e139f90ad Adding multi-language support to WebGUI 2012-02-27 20:58:53 -03:00
smos
cfbfd9412b The function split() is replaced by the function explode(). Starting with PHP 5.3 this is deprecated and with version 6 gone.
Replacing it surpresses all the warnings
2012-01-19 20:33:41 +01:00
jim-p
c61ed3db61 Clarify text 2011-08-30 14:23:42 -04:00
jim-p
8ca95ed86f Move the option to exclude localhost as a DNS server under System > General so it is grouped with other system DNS options in a more logical location. 2011-08-30 13:32:36 -04:00
Seth Mos
9d8ee15bcc Fix the address family check to skip empty DNS gateway fieldS 2011-08-24 10:47:28 +02:00
Seth Mos
d623f2da17 Change the DNS interface code to DNS gateway code. This will need upgrade code for existing configs. 2011-08-24 10:29:04 +02:00
Vinicius Coque
d1d0a1ad1b makes correct use of printf and gettext
removes variables names and replace it with '%s'
2011-07-18 14:33:20 -03:00
Seth Mos
c271c485ea enlarge various address fields for IPv6 addresses 2011-03-17 12:45:09 +01:00
Ermal
b829290395 Fix braindead code! 2010-09-17 13:27:39 +00:00
Erik Fonnesbeck
ea6be4a752 Remove extra quotes that were added around some strings when adding printf+gettext in some areas. 2010-08-11 18:21:07 -06:00
Erik Fonnesbeck
3a3fb8eaba Fix printf/sprintf mixups. 2010-08-11 16:15:13 -06:00
Larry Gilbert
22a11a582f Fix some errors in spelling, punctuation, grammar, etc. 2010-06-12 17:07:52 -07:00
Renato Botelho
f49a012cf8 gettext fixes 2010-04-30 10:02:10 -03:00
Renato Botelho
c8aa6bdd94 gettext cannot deal with string concatenation 2010-04-30 08:05:50 -03:00
Renato Botelho
ad5b5f6183 Fix gettext() 2010-04-29 16:20:47 -03:00
Carlos Eduardo Ramos
29645da68d Fix gettext issues 2010-04-29 16:10:13 -03:00
Carlos Eduardo Ramos
f0d1af931a Fix gettext issues 2010-04-29 14:53:19 -03:00
Vinicius Coque
38fb1109ce Fixing gettext() implementation for required fields 2010-04-28 12:45:21 -03:00
Renato Botelho
79eaddf458 Fix : for translations 2010-04-27 17:26:59 -03:00
Vinicius Coque
e454bcd361 Rwviewing gettext() 2010-04-27 10:08:14 -03:00
Carlos Eduardo Ramos
7465d12c91 Implement gettext() 2010-04-27 09:43:59 -03:00
gnhb
b324b619aa Add a few more examples to the list of domain examples. 2010-04-06 14:25:28 +07:00
gnhb
10e41b741b Don't use "local" as a domain. It breaks DNS resolution for hosts running mDNS.
The "local" search domain signifies to local hosts that are running
mDNS (bonjour or avahi) that mDNS is to be used to look up local hosts
instead of doing a normal DNS query to the server listed in
/etc/resolv.conf on the local host.

Also, hosts running bonjour or avahi can not ping or reach *any* other
host by name if it is not running some mDNS implementation.
Essentially, if DHCP tells the local host that it's search domain is
"local" then hosts running mDNS will not query the pfsense DNS server
for any local lan DNS lookups.

See here on apple's website:
http://support.apple.com/kb/TA20999?viewlocale=en_US

Quote from above link:
"To indicate that the name should be looked up using local multicast
instead of a standard DNS query, all Bonjour host names end with the
extension ".local."
2010-04-06 14:24:38 +07:00
Chris Buechler
7321c93c81 fix for disabled theme selection 2009-12-21 03:29:04 -05:00
Chris Buechler
8b289232ec add ability to hide theme selection 2009-12-17 16:45:08 -05:00
sullrich
5c1f3ed270 Remove GMT time zone items which are actually reversed and confusing. Resolves #176 - http://www.freebsd.org/cgi/query-pr.cgi?pr=24385 2009-11-28 14:13:51 -05:00
Scott Ullrich
7a927e67a5 Require filter.inc and shaper.inc 2009-11-21 19:28:00 -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
Ermal Luçi
27b07eda60 Make this ressemble other pages for style 2009-07-10 12:44:10 +00:00
Ermal Luçi
985fc0fb97 Append several functions the filter_ prefix to know they are part of filter.inc as any other function in this file.
Remove a call to system_routing_configure on filter_configure_sync since these should have been taken care from the respective subsystem.
2009-07-08 16:11:48 +00:00
Ermal Luçi
0027de0a54 * Create two new functions lock($subsystem)/unlock() to have more reliable locking using semaphores.
This function can sleep till the resource is free and can help find not well behaving code.
* Remove most of the config_lock/config_unlock logics on the whole scripts/pages it is an abuse of this.
	If any sybsytem wants to lock can do so with its own lock.
* Lock the config when doing a filter reload to avoid parallell recursion on this function, since it is not reentrant.
	This compenstates for the removal of lock aquiring from the scripts/pages.
* config_lock/config_unlock are now compate shims that do nothing. They are preserved since packages 'abuse' them too.
2009-05-08 18:42:37 +00:00