Commit Graph

14227 Commits

Author SHA1 Message Date
gnhb
ba7b2b86cc Merge branch 'master' of rcs.pfsense.org:pfsense/mainline 2010-06-06 10:34:01 +07:00
gnhb
6598286810 Some $config variable referencing $if but $if is not defined.
Change $if to $ifdescr to restore normal functionality.
2010-06-06 07:48:33 +07:00
Ermal
5523fa3d2d Fixes #632. Actually pass the interface and not the vip configuration to the function. 2010-06-04 16:34:14 +00:00
Ermal
956950dea4 Fixes #374. Actually reload teh dhcpleases utility whenever the hosts files is regenerated to avoid problems. 2010-06-04 15:57:08 +00:00
Ermal
922693e929 Silence is better for this command. 2010-06-03 20:41:31 +00:00
Ermal
6d5446a2cb Add some missing code to convert_real_interface_to_friendly_interface_name. There is no need to go through all the interfaces just to find out if an interface has a gateway or not and is the same for finding the real interface name of a friendly interface. Also while here do not rely on stristr for finding if an interface exists rather do a proper matching on interface name otherwise wrong results might come up. 2010-06-03 19:56:42 +00:00
jim-p
f81cfcc92e Use require_once instead of require, in case these files have been loaded previously. Fixes #631 2010-06-03 15:40:34 -04:00
Ermal
ae9618afa8 Return the gateway status only for gateways apinger knows about instead of assuming that all gateways are down, which might give consecuences. Also prepend 'filter_' to the function used to kill states for down gateways in filter.inc to be consistent. 2010-06-03 18:22:13 +00:00
Scott Ullrich
b72eb6c8cc Show when Padlock is active 2010-06-02 23:47:26 -04:00
Erik Fonnesbeck
60ce86ea1e For settings that exist in the configuration but are blank, only consider it true when associated with a checkbox. 2010-06-02 18:02:20 -06:00
Ermal
b554f7bf1e Fix logic. 2010-06-02 23:01:08 +00:00
Ermal
6ef98d296d Mute this command so people do not think something went wrong. 2010-06-02 22:55:33 +00:00
Ermal
d538b8fa7e Correct ifconfig syntax 2010-06-02 17:20:10 +00:00
Ermal
3d0633917f Use the module functions to set/remove/test interface capabilities. 2010-06-02 17:17:55 +00:00
Ermal
bf444c344e Use the new functions on CP code too. 2010-06-02 16:56:46 +00:00
Ermal
b29d9c8ea3 Start sshd early on boot so it is availble as soon as the first ip is configured. 2010-06-02 16:50:54 +00:00
Ermal
871768cf8a Use the functions from the pfSense module to configure interfaces on interfaces.inc. 2010-06-02 16:40:15 +00:00
jim-p
2d99dce73b Don't kill ssh, it will stop the rest of the process when done from ssh. Instead, do not shut down network interfaces before a reboot. The original motive for doing this may no longer be necessary. Fixes #626 2010-06-02 12:27:24 -04:00
jim-p
79d87198e5 Remove this line, it is not needed. 2010-06-02 12:26:48 -04:00
jim-p
3dd81dea7a Ensure that monitor IP stays blank when editing a system dynamic gateway. 2010-06-02 11:26:58 -04:00
jim-p
41d984713b Default to "dynamic" for a dynamic gateway. 2010-06-02 11:13:32 -04:00
jim-p
b9b9b4d8d8 Add status links to shaper pages. 2010-06-02 10:42:11 -04:00
jim-p
af1e20319e Add status link to Interfaces 2010-06-02 10:34:29 -04:00
jim-p
14e9606693 Remove auth logs tab, since it is handled by the log link above. 2010-06-02 10:27:21 -04:00
jim-p
5633ab302b Add status/log links to Captive Portal pages 2010-06-02 10:23:54 -04:00
jim-p
3cceb5d5eb Add status/log links to Firewall rules 2010-06-02 10:04:24 -04:00
jim-p
02ca24c9d2 Add status links to gateway/route pages. 2010-06-02 09:58:31 -04:00
jim-p
e234921a79 Add status/log links to LB pages. 2010-06-02 09:51:51 -04:00
Ermal
ac8ff0a4f3 When an interface spoofs its mac address change the mac address of all vlans having it as parent. Remove such code from the vlan configuration phase since this is way the mac change will always get propagated and its faster. 2010-06-01 23:19:34 +00:00
Ermal
634e520652 Remove spurious call to mute console. 2010-06-01 23:13:20 +00:00
Scott Ullrich
3fb8caf258 Do not nuke /tmp/ on livecd's 2010-06-01 19:05:22 -04:00
Ermal
155e343b82 Do not use netstat to fetch default gateway interface but other faster commands to avoid problems on large interface setups. 2010-06-01 22:23:58 +00:00
Ermal
f73be85cfd Use sockstat, netstat might take to long under certain circumstances. 2010-06-01 22:13:32 +00:00
Ermal
eb15decbf7 Provide a default error message on error pages if there is none provided by other means. 2010-06-01 21:09:44 +00:00
Ermal
b90996c504 Add forgotten newlines. 2010-06-01 20:49:21 +00:00
Ermal
e06b7fa20e Do not overwrite previous rules. 2010-06-01 20:33:58 +00:00
Ermal
4d349edec5 Free ipfw ruleno so it can be reused. Propperly delete passthrough mac entries that are not used. 2010-06-01 20:31:56 +00:00
Ermal
3bf8eb9345 Use correct array to iterate. 2010-06-01 20:22:30 +00:00
jim-p
5224b8e7d2 Add status/log icons to DHCP page. 2010-06-01 16:03:05 -04:00
jim-p
e85858df66 Remove Logs tab from OpenVPN, as it is no longer needed. 2010-06-01 15:35:35 -04:00
jim-p
6deedfde64 Add status/log icons to IPsec pages. 2010-06-01 15:33:17 -04:00
jim-p
e70869840c Remove logs tab from OpenVPN, since it is now replaced by the Log icon. 2010-06-01 15:28:43 -04:00
jim-p
efe2be8159 Add status and log urls to OpenVPN pages. 2010-06-01 15:27:08 -04:00
jim-p
c2e23f7b4b Add a way to show status/log icons by the help icon. Define $statusurl and/or $logurl in the same manner as $pgtitle and if the variables are defined and not empty, the shortcut icons will appear. Ticket #623. 2010-06-01 15:24:27 -04:00
jim-p
67252466b8 Fix images. 2010-06-01 15:19:09 -04:00
jim-p
dcc9beef95 Add some simple Log and Status icons. Part of ticket #623 2010-06-01 14:55:53 -04:00
jim-p
0c88fc1ee2 Fix disabled setting for OpenVPN CSC entries, which was causing them to disapper. (Disable was handled inconsistently, as with normal OpenVPN entries.) Fixes #633. 2010-06-01 13:06:56 -04:00
jim-p
1e68a58b7e Fix upgrade code for disable bit on OpenVPN CSC entries. 2010-06-01 13:06:17 -04:00
jim-p
99f4210976 Send TERM to sshd during shutdown/reboot to ensure that client sessions are kicked properly. Fixes #626. 2010-06-01 12:50:03 -04:00
jim-p
651e77c6f7 Don't kill login here. When this happens from ssh is also resets the console menu. Kill $PPID instead which should have the same intended effect. 2010-06-01 12:50:03 -04:00