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 e3c5d22a6f1c8b4e1443550f0480a0208bb3ed42 (commit) from 451a2f6806e4bc1c0b8c2b47e205916df509ed3f (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 e3c5d22a6f1c8b4e1443550f0480a0208bb3ed42 Author: Arne Fitzenreiter arne_f@ipfire.org Date: Fri May 14 16:55:13 2010 +0200
Convert ipsec.conf for strongswan at core38 updater.
-----------------------------------------------------------------------
Summary of changes: config/rootfiles/core/38/update.sh | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-)
Difference in files: diff --git a/config/rootfiles/core/38/update.sh b/config/rootfiles/core/38/update.sh index d15b829..cc424b5 100644 --- a/config/rootfiles/core/38/update.sh +++ b/config/rootfiles/core/38/update.sh @@ -175,7 +175,18 @@ if [ -e /var/ipfire/qos/enable ]; then fi # # -# Todo convert ipsec.conf from open to strongswan... +# convert ipsec.conf from openswan to strongswan... +mv /var/ipfire/vpn/ipsec.conf /var/ipfire/vpn/ipsec.conf.org +cat /var/ipfire/vpn/ipsec.conf.org | \ +grep -v "disablearrivalcheck=" | \ +grep -v "leftfirewall=" | \ +grep -v "charonstart=" | \ +grep -v "aggrmode=" > /var/ipfire/vpn/ipsec.conf +sed -i "s|ipsec[0-9]=||g" /var/ipfire/vpn/ipsec.conf +sed -i "s|^conn [A-Za-z].*$|&\n\tleftfirewall=yes|g" /var/ipfire/vpn/ipsec.conf +sed -i "s|^config setup$|&\n\tcharonstart=no|g" /var/ipfire/vpn/ipsec.conf +chown nobody:nobody /var/ipfire/vpn/ipsec.conf +chmod 644 /var/ipfire/vpn/ipsec.conf # # # Start Sevices
hooks/post-receive -- IPFire 2.x development tree