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, master, updated. 2de6c6499478531367c663b5d8f7410fe49af3aa Date: Thu, 14 Feb 2013 22:12:20 +0100 Message-ID: <20130214211220.6F8C1200BB@argus.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1586065025040872408==" List-Id: --===============1586065025040872408== 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, master has been updated via 2de6c6499478531367c663b5d8f7410fe49af3aa (commit) via b34fdcae83378e193a89e7a3ea6329321c5dab08 (commit) via 37dd0cd2a2fcfa7c2b65c53ab5627cb7a4a37b40 (commit) from 40d3e729561e650bafa22b28f33da5bac813899e (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 2de6c6499478531367c663b5d8f7410fe49af3aa Author: Timo Eissler Date: Thu Feb 14 22:08:30 2013 +0100 backupiso: serveral small improvements. =20 fixes #10233 commit b34fdcae83378e193a89e7a3ea6329321c5dab08 Author: Arne Fitzenreiter Date: Thu Feb 14 19:33:37 2013 +0100 proxy: allow access to IPFire itself if nets are blocked. =20 This fixes missing pictures on blocking pages. fixes #10138 commit 37dd0cd2a2fcfa7c2b65c53ab5627cb7a4a37b40 Author: Arne Fitzenreiter Date: Thu Feb 14 18:59:42 2013 +0100 readhash: allow % character in config files. ----------------------------------------------------------------------- Summary of changes: config/rootfiles/core/66/filelists/files | 1 + html/cgi-bin/proxy.cgi | 10 ++++----- src/scripts/backupiso | 38 ++++++++++++++++++++----------= -- src/scripts/readhash | 2 +- 4 files changed, 31 insertions(+), 20 deletions(-) mode change 100755 =3D> 100644 html/cgi-bin/ovpnmain.cgi Difference in files: diff --git a/config/rootfiles/core/66/filelists/files b/config/rootfiles/core= /66/filelists/files index a7f3664..e139bb0 100644 --- a/config/rootfiles/core/66/filelists/files +++ b/config/rootfiles/core/66/filelists/files @@ -38,6 +38,7 @@ srv/web/ipfire/cgi-bin/services.cgi srv/web/ipfire/cgi-bin/updatexlrator.cgi srv/web/ipfire/cgi-bin/vpnmain.cgi usr/bin/watch +usr/local/bin/backupiso usr/local/bin/makegraphs usr/local/bin/readhash usr/local/bin/scanhd diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi old mode 100755 new mode 100644 diff --git a/html/cgi-bin/proxy.cgi b/html/cgi-bin/proxy.cgi index 0b28c2a..cc7416a 100644 --- a/html/cgi-bin/proxy.cgi +++ b/html/cgi-bin/proxy.cgi @@ -2,7 +2,7 @@ ############################################################################= ### # = # # IPFire.org - A linux based firewall = # -# Copyright (C) 2007-2012 IPFire Team = # +# Copyright (C) 2007-2013 IPFire Team = # # = # # This program is free software: you can redistribute it and/or modify = # # it under the terms of the GNU General Public License as published by = # @@ -3556,15 +3556,15 @@ if ($delaypools) { =20 if ($proxysettings{'NO_PROXY_LOCAL'} eq 'on') { - print FILE "#Prevent internal proxy access to Green\n"; - print FILE "http_access deny IPFire_green_servers !IPFire_green_network\n\n= "; + print FILE "#Prevent internal proxy access to Green except IPFire itself\n"; + print FILE "http_access deny IPFire_green_servers !IPFire_ips !IPFire_green= _network\n\n"; } =20 if ($proxysettings{'NO_PROXY_LOCAL_BLUE'} eq 'on') { - print FILE "#Prevent internal proxy access from Blue\n"; + print FILE "#Prevent internal proxy access from Blue except IPFire itself\n= "; print FILE "http_access allow IPFire_blue_network IPFire_blue_servers\n"; - print FILE "http_access deny IPFire_blue_network IPFire_servers\n\n"; + print FILE "http_access deny IPFire_blue_network !IPFire_ips IPFire_server= s\n\n"; } =20 print FILE < `basename ${ISO}= .iso`-${TS}.iso + -c boot/isolinux/boot.catalog backupiso.${TS} > $(basename ${ISO= } .iso)-${TS}.iso =20 echo "Cleaning up" rm -rf backupiso.${TS} diff --git a/src/scripts/readhash b/src/scripts/readhash index cc063a7..bffc93f 100644 --- a/src/scripts/readhash +++ b/src/scripts/readhash @@ -13,7 +13,7 @@ VARNAME=3D'[A-Za-z_][A-Za-z0-9_]*' =20 # For the assigned value we only accept a limited number of characters - none # of which are shell metachars -VARCHARS=3D'A-Za-z0-9=3D/,.:_@#+-' +VARCHARS=3D'A-Za-z0-9=3D/,.:%_@#+-' VARVAL=3D"[${VARCHARS}]*" =20 sed -ne "s/\(${VARNAME}\)=3D\(${VARVAL}\)$/\1=3D\2/p" $1 hooks/post-receive -- IPFire 2.x development tree --===============1586065025040872408==--