Commit Graph

13552 Commits

Author SHA1 Message Date
Renato Botelho
2df3a71fe6 On Virtual IPs, the ip is stored on subnet xml tag, use it to compare with external-address. 2010-04-13 11:01:50 -03:00
Renato Botelho
0e7dded1ad source address is been checked 2 times and destination address no one, fix this 2010-04-13 10:27:15 -03:00
Ermal
676b4a3988 Remove bandwidth tags from default config they are not used. 2010-04-12 22:24:44 +00:00
Ermal
077d5702a2 Actually disable flowtables support by default. 2010-04-12 22:23:57 +00:00
jim-p
a84eb83859 Perform more strict validation on CA and Cert names before proceeding in the wizard. 2010-04-12 17:32:34 -04:00
jim-p
6f8b8ed05b Prevent duplication of CA names and Cert names in the OpenVPN wizard. Ticket #500. 2010-04-12 16:40:30 -04:00
jim-p
916fae48c6 OpenVPN Wizard: Fix CA Cert selection for Local auth. Fix descriptions and some backend bits for RADIUS. Ticket #500. 2010-04-12 16:12:51 -04:00
jim-p
99a00640c0 Fixup OpenVPN wizard LDAP settings. Ticket #500. 2010-04-12 15:03:43 -04:00
jim-p
c062a71114 Fix wizard handling of password fields. Ticket #500. 2010-04-12 15:00:16 -04:00
jim-p
5ce63c3e8e Add/fix wording of descriptions in OpenVPN wizard.
While I'm here, convert leading spaces to tabs.
2010-04-12 13:55:29 -04:00
gnhb
eca1f1ead8 Merge branch 'master' of rcs.pfsense.org:pfsense/mainline 2010-04-12 22:43:33 +07:00
gnhb
d32a40c1c6 Revert changes as requested by Ermal 2010-04-12 22:41:44 +07:00
Renato Botelho
00c827829b Simplify logic implemented on commit 673d29c0 2010-04-12 09:49:40 -03:00
thompsa
cfcaabfb60 Simplify "isset($rule['l7container']) and ..." as its already evaluated
above and sets $l7present.
2010-04-12 12:10:10 +12:00
thompsa
06e2a55d70 Initialise the correct array if empty. 2010-04-12 12:06:08 +12:00
Chris Buechler
1e027f7bf1 remove pfsense references, make generic 2010-04-11 17:16:06 -04:00
gnhb
541ba27e48 Fix enable STP checkbox as detailed in http://forum.pfsense.org/index.php/topic,24230.0.html 2010-04-11 14:23:50 +07:00
gnhb
b4974cf480 Make PPP redial when the connection is dropped. Also, fix PPP uptime display. 2010-04-11 09:56:52 +07:00
Chris Buechler
e4b8da19a4 allow hostname for TFTP server 2010-04-10 14:12:58 -04:00
gnhb
18e9b77efe Remove unnecessary variables. 2010-04-10 22:19:53 +07:00
gnhb
632921995c Implement reporting and logging of historical PPP uptime with data persistent through reboot.
Also, change the way uptime is captured. The mpd console is no longer used to
get PPP uptime data, which will prevent spamming of PPP logs with console access messages.
This means we no longer have to write out mpd_<interface>.query files to /var/etc.
Now, a simple calculation of the age of the /tmp/<interface>up file is used. This
gives the same data within the second as the console data so it seems acceptable.

I removed some "rm -f" calls from ppp-linkdown as there was already code in interfaces.inc
interface_bring_down function that unlinks the <interface>up and <interface>_router files.
There is still the rm -r nameserver_<interface> call in the linkdown script. Maybe this should
be moved to the interfac_bring_down function for consistency? Also, I commented out the
ngctl shutdown <interface>: call. I think it's probably not necessary any more.
2010-04-10 22:07:48 +07:00
gnhb
73ee49f204 Rework interface_bring_down function a bit. Remove un-needed unlink calls to mpd.links
Moved three "unlink_if_exists" calls to happen after calling kill_by_pid for mpd processes.
The unlinked files are useful during the process of brining down the mpd interfaces
for calculating the link uptime in the "linkdown" script.
2010-04-10 20:28:59 +07:00
Renato Botelho
673d29c002 When delete a filter rule that is associated with a nat rule, cleanup the association 2010-04-09 14:46:48 -03:00
Renato Botelho
664742f78d The sum of % for table size should be 100%, fixing it 2010-04-09 10:12:08 -03:00
gnhb
ba5d826352 Merge branch 'master' of rcs.pfsense.org:pfsense/mainline 2010-04-09 18:19:15 +07:00
gnhb
4aa64f79f0 Configure interface when changing settings, and fix init string field.
The interface configure function is called after "write_config()" because
we must write the new data to the config before reading the config to
bring up the interface with the new settings.
2010-04-09 18:16:32 +07:00
Renato Botelho
2818123711 Add a new global option, disablehelpicon, to hide help icon from all pages 2010-04-08 14:49:33 -03:00
gnhb
a3fa7aaccd Merge branch 'master' of rcs.pfsense.org:pfsense/mainline
Conflicts:
	usr/local/www/system.php
2010-04-06 14:29:39 +07: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
gnhb
81035b9687 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:16:39 +07:00
Chris Buechler
221f5d17b6 don't display disabled tunnels on diag_ipsec.php
fix up L2TP text
2010-04-05 18:06:18 -04:00
Chris Buechler
c67bbe0480 restore double click to edit 2010-04-04 01:02:16 -04:00
jim-p
a2a7f74df4 Check for an empty <config/> as the first setting for a given package's config. When present, this breaks saving for certain packages (namely Squid's caching tab). 2010-04-04 00:58:08 -04:00
jim-p
bef28e2d56 Fix sortable to handle sorting of IP address columns properly. Resolves #469 2010-04-03 18:18:48 -04:00
Chris Buechler
8b69a3e14f fix text 2010-04-03 17:27:51 -04:00
Chris Buechler
12980094ca must use -f with pkill to find updaterrd.sh 2010-04-03 17:12:54 -04:00
Chris Buechler
0ad76ac860 fix editing of PARP ranges reverting to single entries, and duplicate "selected" in subnet_bits 2010-04-03 16:38:39 -04:00
Scott Ullrich
af5d9af284 Add iPad support 2010-04-03 16:03:44 -04:00
Chris Buechler
c42276dbdd switch these back to no state until sloppy is fixed 2010-04-03 15:10:49 -04:00
Ermal
3f115d0ed3 Use ipfw for deleting unused pipes too. 2010-04-02 15:28:29 +00:00
Ermal
d41e63b6ee Use ipfw to create the pipes/queues for pf dummynet rules, until we can catch up with dummynet v3. 2010-04-02 01:24:03 +00:00
Chris Buechler
703539b6ae fix text 2010-04-01 12:45:43 -04:00
Ermal
33c017b25a Remove update_dns_cache.sh it seems to have been used for hostnames in the filter ruleset which now is handled quite differently. 2010-03-31 23:08:17 +00:00
Ermal
87f2868788 Micro-optimization, no need to fork here just to get the file contents. 2010-03-31 21:16:36 +00:00
Ermal
9af4b31b7a Use stristr as a microoptimization. 2010-03-31 21:16:36 +00:00
Ermal
b42edc09fa Remove now unused code. 2010-03-31 17:45:59 +00:00
Ermal
534e5344ad Fix packages rule generation. 2010-03-31 17:43:38 +00:00
Ermal
2f678757bf Do not create faulty gateway entires with just defaultgw set it breaks logic. 2010-03-31 10:33:54 +00:00
Ermal
79afe4e471 Use new arguments passing style for dhcpleases. Ticket #374. 2010-03-31 09:51:20 +00:00