public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. d38ed86f8b56436e420eb5f89dcb2393450939e4
@ 2017-03-15 13:08 git
  0 siblings, 0 replies; only message in thread
From: git @ 2017-03-15 13:08 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 3792 bytes --]

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  d38ed86f8b56436e420eb5f89dcb2393450939e4 (commit)
      from  373c0c7bed5f24762285ce0e31858a2bc79bcdc8 (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 d38ed86f8b56436e420eb5f89dcb2393450939e4
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Wed Mar 15 12:56:05 2017 +0000

    strongswan: Disable IPv6 by default
    
    IPFire 2 does not have IPv6 connectivity with exception of a
    few systems for testing where IPsec connections become a little
    bit unstable when trying to connect over IPv6.
    
    Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 .../{oldcore/106 => core/110}/filelists/strongswan |  0
 lfs/strongswan                                     |  1 +
 src/patches/strongswan-disable-ipv6.patch          | 24 ++++++++++++++++++++++
 3 files changed, 25 insertions(+)
 copy config/rootfiles/{oldcore/106 => core/110}/filelists/strongswan (100%)
 create mode 100644 src/patches/strongswan-disable-ipv6.patch

Difference in files:
diff --git a/config/rootfiles/core/110/filelists/strongswan b/config/rootfiles/core/110/filelists/strongswan
new file mode 120000
index 0000000..90c727e
--- /dev/null
+++ b/config/rootfiles/core/110/filelists/strongswan
@@ -0,0 +1 @@
+../../../common/strongswan
\ No newline at end of file
diff --git a/lfs/strongswan b/lfs/strongswan
index 0af9e9d..fffa9af 100644
--- a/lfs/strongswan
+++ b/lfs/strongswan
@@ -78,6 +78,7 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+	cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/strongswan-disable-ipv6.patch
 	cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/strongswan-ipfire.patch
 
 	cd $(DIR_APP) && ./configure \
diff --git a/src/patches/strongswan-disable-ipv6.patch b/src/patches/strongswan-disable-ipv6.patch
new file mode 100644
index 0000000..e459941
--- /dev/null
+++ b/src/patches/strongswan-disable-ipv6.patch
@@ -0,0 +1,24 @@
+diff --git a/conf/plugins/socket-default.opt b/conf/plugins/socket-default.opt
+index 483a0f03d584..6fc7c2db47a7 100644
+--- a/conf/plugins/socket-default.opt
++++ b/conf/plugins/socket-default.opt
+@@ -7,5 +7,5 @@ charon.plugins.socket-default.set_source = yes
+ charon.plugins.socket-default.use_ipv4 = yes
+ 	Listen on IPv4, if possible.
+ 
+-charon.plugins.socket-default.use_ipv6 = yes
++charon.plugins.socket-default.use_ipv6 = no
+ 	Listen on IPv6, if possible.
+diff --git a/src/libcharon/plugins/socket_default/socket_default_socket.c b/src/libcharon/plugins/socket_default/socket_default_socket.c
+index ba22b0c2bdb6..da6989d81d7a 100644
+--- a/src/libcharon/plugins/socket_default/socket_default_socket.c
++++ b/src/libcharon/plugins/socket_default/socket_default_socket.c
+@@ -748,7 +748,7 @@ static bool use_family(int family)
+ 						"%s.plugins.socket-default.use_ipv4", TRUE, lib->ns);
+ 		case AF_INET6:
+ 			return lib->settings->get_bool(lib->settings,
+-						"%s.plugins.socket-default.use_ipv6", TRUE, lib->ns);
++						"%s.plugins.socket-default.use_ipv6", FALSE, lib->ns);
+ 		default:
+ 			return FALSE;
+ 	}


hooks/post-receive
--
IPFire 2.x development tree

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-15 13:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-15 13:08 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. d38ed86f8b56436e420eb5f89dcb2393450939e4 git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox