From mboxrd@z Thu Jan 1 00:00:00 1970 From: git@ipfire.org To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 13585cc922d6836d2a908ff4a9f0a7024b086876 Date: Sat, 01 Mar 2014 16:59:54 +0100 Message-ID: <20140301155955.1DAF521068@argus.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4169300300305680108==" List-Id: --===============4169300300305680108== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, next has been updated via 13585cc922d6836d2a908ff4a9f0a7024b086876 (commit) via 5c3de120aabfaf150aa7303c4c3c92e3072da809 (commit) via a0a5c14f8525a2885e985b56d8ac360358b4c726 (commit) via 2513ae737d195c220aa82f08945c67ba6fdb6c1e (commit) via bb3834231ec78a2d7b0bc4201906467c47ea7aa4 (commit) via 60fb533157f92fdfe630fd8e76d2ca5f4644ad5d (commit) via 1db04adbef997af2fba8356ef14e31db252a5cc2 (commit) via 3e5e8a4a88727c3ab3871fa683b97beb0e307684 (commit) from d0ff84a67542250eac49661ff97dfaf1c6181b1c (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 13585cc922d6836d2a908ff4a9f0a7024b086876 Merge: 5c3de12 d0ff84a Author: Michael Tremer Date: Sat Mar 1 16:59:32 2014 +0100 Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next commit 5c3de120aabfaf150aa7303c4c3c92e3072da809 Author: Michael Tremer Date: Sat Mar 1 16:51:03 2014 +0100 openvpnctrl: Allow ICMP error messages to pass the transfer net. commit a0a5c14f8525a2885e985b56d8ac360358b4c726 Author: Michael Tremer Date: Sat Mar 1 16:44:05 2014 +0100 firewall: Make sure that only packets that go through the tunnel are pass= ing OVPNBLOCK. commit 2513ae737d195c220aa82f08945c67ba6fdb6c1e Author: Michael Tremer Date: Sat Mar 1 16:04:01 2014 +0100 firewall: Allow access to the entire GREEN/BLUE/ORANGE subnets. =20 This includes the firewall itself as well. commit bb3834231ec78a2d7b0bc4201906467c47ea7aa4 Author: Michael Tremer Date: Sat Mar 1 15:02:42 2014 +0100 firewall: Sort order in which chains are initialized. =20 This has been some real trouble because multiple rules could not be properly inserted into the rule chains in the kernel because the chains did not exist, yet. commit 60fb533157f92fdfe630fd8e76d2ca5f4644ad5d Author: Michael Tremer Date: Sat Mar 1 15:01:58 2014 +0100 firewall: rules.pl: Don't reload custom firewall rules here. commit 1db04adbef997af2fba8356ef14e31db252a5cc2 Merge: 3e5e8a4 c6f9675 Author: Michael Tremer Date: Sat Mar 1 14:19:26 2014 +0100 Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next commit 3e5e8a4a88727c3ab3871fa683b97beb0e307684 Author: Michael Tremer Date: Thu Feb 27 20:53:25 2014 +0100 firewall: Fix firewall policy table if only RED, GREEN + BLUE are present. ----------------------------------------------------------------------- Summary of changes: config/firewall/firewall-policy | 12 ++++++++++++ config/firewall/rules.pl | 1 - html/cgi-bin/firewall.cgi | 8 +++++--- src/initscripts/init.d/firewall | 14 +++++++------- src/misc-progs/openvpnctrl.c | 7 ++++++- 5 files changed, 30 insertions(+), 12 deletions(-) Difference in files: diff --git a/config/firewall/firewall-policy b/config/firewall/firewall-policy index bd1e40d..faf177c 100755 --- a/config/firewall/firewall-policy +++ b/config/firewall/firewall-policy @@ -52,6 +52,8 @@ case "${CONFIG_TYPE}" in ;; esac =20 +HAVE_OPENVPN=3D"true" + # INPUT case "${FWPOLICY2}" in REJECT) @@ -61,6 +63,16 @@ case "${FWPOLICY2}" in iptables -A POLICYIN -j REJECT --reject-with icmp-host-unreachable -m comm= ent --comment "DROP_INPUT" ;; *) # DROP + # OpenVPN + # Allow direct access to the internal IP addresses of the firewall + # from remote subnets if forward policy is allowed. + case "${HAVE_OPENVPN},${POLICY}" in + true,MODE1) ;; + true,*) + iptables -A POLICYIN -i tun+ -j ACCEPT + ;; + esac + if [ "${DROPINPUT}" =3D "on" ]; then iptables -A POLICYIN -m limit --limit 10/minute -j LOG --log-prefix "DROP= _INPUT" fi diff --git a/config/firewall/rules.pl b/config/firewall/rules.pl index 40ca824..845da1f 100755 --- a/config/firewall/rules.pl +++ b/config/firewall/rules.pl @@ -112,7 +112,6 @@ if($param eq 'flush'){ }elsif($fwdfwsettings{'POLICY'} eq 'MODE2'){ &p2pblock; system ("/usr/sbin/firewall-policy"); - system ("/etc/sysconfig/firewall.local reload"); } } } diff --git a/html/cgi-bin/firewall.cgi b/html/cgi-bin/firewall.cgi index ce8d0f3..7b75765 100644 --- a/html/cgi-bin/firewall.cgi +++ b/html/cgi-bin/firewall.cgi @@ -2792,14 +2792,16 @@ END $Lang::tr{'orange'} ($Lang::tr{'fwdfw pol block'}) +END + } + + print < $Lang::tr{'green'} ($Lang::tr{'fwdfw pol block'}) + END - } - - print""; } =20 print <