diff --git a/etc/inc/config.lib.inc b/etc/inc/config.lib.inc index 1e584f298b..c527fd7a3b 100644 --- a/etc/inc/config.lib.inc +++ b/etc/inc/config.lib.inc @@ -479,8 +479,12 @@ function write_config($desc="Unknown", $backup = true) { * for now, since it was preventing config saving. */ // $config = parse_config(true, false, false); + /* Comment this check out for now. There aren't any current issues that + * make this problematic, and it makes users think there is a problem + * when one doesn't really exist. if($g['booting']) log_error("WARNING! Configuration written on bootup. This can cause stray openvpn and load balancing items in config.xml"); + */ $username = empty($_SESSION["Username"]) ? "(system)" : $_SESSION['Username']; diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 450155e9f5..00a3600e1a 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -2294,6 +2294,15 @@ pass in on \${$oc['descr']} proto udp from any port = 68 to {$oc['ip']} port = 6 pass out on \${$oc['descr']} proto udp from {$oc['ip']} port = 67 to any port = 68 label "allow access to DHCP server" EOD; + if($config['dhcpd'][$on]['failover_peerip'] <> "") { + $ipfrules .= << $natent) { if ($natent['subnet'] == 32) - $natent['source'] = array("address" => $natent['internal']); + $config['nat']['onetoone'][$nidx]['source'] = array("address" => $natent['internal']); else - $natent['source'] = array("address" => $natent['internal'] . "/" . $natent['subnet']); + $config['nat']['onetoone'][$nidx]['source'] = array("address" => $natent['internal'] . "/" . $natent['subnet']); - $natent['destination'] = array("any" => true); + $config['nat']['onetoone'][$nidx]['destination'] = array("any" => true); - unset($natent['internal']); - unset($natent['subnet']); + unset($config['nat']['onetoone'][$nidx]['internal']); + unset($config['nat']['onetoone'][$nidx]['subnet']); } unset($natent); diff --git a/etc/version b/etc/version index 0bd2631c99..813dceea4c 100644 --- a/etc/version +++ b/etc/version @@ -1 +1 @@ -2.0-BEAT5 +2.0-BETA5 diff --git a/usr/local/www/diag_packet_capture.php b/usr/local/www/diag_packet_capture.php index 835b99b1ba..8a9cb414a9 100644 --- a/usr/local/www/diag_packet_capture.php +++ b/usr/local/www/diag_packet_capture.php @@ -117,8 +117,18 @@ include("fbegin.inc"); +
+      - + +



diff --git a/usr/local/www/system_firmware_settings.php b/usr/local/www/system_firmware_settings.php index 793b8fc8ce..492c34b068 100755 --- a/usr/local/www/system_firmware_settings.php +++ b/usr/local/www/system_firmware_settings.php @@ -157,11 +157,11 @@ function enable_altfirmwareurl(enable_over) { - + />
- +