core91: Add changed pppsetup.cgi and language files
[ipfire-2.x.git] / src / patches / strongswan-5.3.0-stroke-Increase-stroke-buffer-size-to-8k.patch
CommitLineData
ffe32bf7
MT
1From 4b59d129fd1026bab37256af0df9ae7ace39e7ba Mon Sep 17 00:00:00 2001
2From: Michael Tremer <michael.tremer@ipfire.org>
3Date: Mon, 27 Apr 2015 18:49:45 +0200
4Subject: [PATCH] stroke: Increase stroke buffer size to 8k
5
6Complicated connections can have lots of arguments
7for the ike= and esp= directives in the ipsec.conf
8configuration file. strongSwan wouldn't import those
9because the size of the message that is send from
10stroke to charon exceeded the limit of 4k.
11
12This patch increases the size of the buffer that
13can be passed to charon to 8k which should be enough
14even for connections with longer configurations.
15---
16 src/stroke/stroke_msg.h | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/src/stroke/stroke_msg.h b/src/stroke/stroke_msg.h
20index c2b923f6db9a..c391efa00105 100644
21--- a/src/stroke/stroke_msg.h
22+++ b/src/stroke/stroke_msg.h
23@@ -32,7 +32,7 @@
24 */
25 #define STROKE_SOCKET IPSEC_PIDDIR "/charon.ctl"
26
27-#define STROKE_BUF_LEN 4096
28+#define STROKE_BUF_LEN 8192
29
30 typedef enum list_flag_t list_flag_t;
31
32--
332.1.0
34