summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/softether-devel/Makefile2
-rw-r--r--security/softether-devel/files/patch-increase-nat-sessions11
-rw-r--r--security/softether/Makefile2
-rw-r--r--security/softether/files/patch-increase-nat-sessions11
4 files changed, 24 insertions, 2 deletions
diff --git a/security/softether-devel/Makefile b/security/softether-devel/Makefile
index 98f4bda90798..721a19db9bc5 100644
--- a/security/softether-devel/Makefile
+++ b/security/softether-devel/Makefile
@@ -2,7 +2,7 @@
PORTNAME= softether
DISTVERSION= 4.34-9745-beta
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security net-vpn
MASTER_SITES= https://www.softether-download.com/files/softether/v${DISTVERSION}-2020.04.05-tree/Source_Code/
PKGNAMESUFFIX= -devel
diff --git a/security/softether-devel/files/patch-increase-nat-sessions b/security/softether-devel/files/patch-increase-nat-sessions
new file mode 100644
index 000000000000..d4113bd6d54a
--- /dev/null
+++ b/security/softether-devel/files/patch-increase-nat-sessions
@@ -0,0 +1,11 @@
+--- src/Cedar/Cedar.h.orig2 2020-07-25 22:58:57.344813000 +0900
++++ src/Cedar/Cedar.h 2020-07-25 23:00:25.740997000 +0900
+@@ -208,7 +208,7 @@
+
+ #define SERVER_MAX_SESSIONS 4096 // Maximum number of sessions that the server supports
+ #define SERVER_MAX_SESSIONS_FOR_CARRIER_EDITION 100000 // Maximum number of sessions that the server supports (Carrier Edition)
+-#define NAT_MAX_SESSIONS 4096 // Maximum number of sessions that are supported by NAT
++#define NAT_MAX_SESSIONS 20000 // Maximum number of sessions that are supported by NAT
+ #define NAT_MAX_SESSIONS_KERNEL 65536 // Maximum number of sessions that are supported by NAT (In the case of kernel-mode NAT)
+ #define MAX_HUBS 4096 // The maximum number of virtual HUB
+ #define MAX_HUBS_FOR_CARRIER_EDITION 100000 // The maximum number of virtual HUB (Carrier Edition)
diff --git a/security/softether/Makefile b/security/softether/Makefile
index 7e9ba4537049..4a0ef040e1d3 100644
--- a/security/softether/Makefile
+++ b/security/softether/Makefile
@@ -2,7 +2,7 @@
PORTNAME= softether
DISTVERSION= 4.34-9745
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security net-vpn
MASTER_SITES= https://www.softether-download.com/files/softether/v${DISTVERSION}-rtm-2020.04.05-tree/Source_Code/
DISTNAME= ${PORTNAME}-src-v${DISTVERSION}-rtm
diff --git a/security/softether/files/patch-increase-nat-sessions b/security/softether/files/patch-increase-nat-sessions
new file mode 100644
index 000000000000..d4113bd6d54a
--- /dev/null
+++ b/security/softether/files/patch-increase-nat-sessions
@@ -0,0 +1,11 @@
+--- src/Cedar/Cedar.h.orig2 2020-07-25 22:58:57.344813000 +0900
++++ src/Cedar/Cedar.h 2020-07-25 23:00:25.740997000 +0900
+@@ -208,7 +208,7 @@
+
+ #define SERVER_MAX_SESSIONS 4096 // Maximum number of sessions that the server supports
+ #define SERVER_MAX_SESSIONS_FOR_CARRIER_EDITION 100000 // Maximum number of sessions that the server supports (Carrier Edition)
+-#define NAT_MAX_SESSIONS 4096 // Maximum number of sessions that are supported by NAT
++#define NAT_MAX_SESSIONS 20000 // Maximum number of sessions that are supported by NAT
+ #define NAT_MAX_SESSIONS_KERNEL 65536 // Maximum number of sessions that are supported by NAT (In the case of kernel-mode NAT)
+ #define MAX_HUBS 4096 // The maximum number of virtual HUB
+ #define MAX_HUBS_FOR_CARRIER_EDITION 100000 // The maximum number of virtual HUB (Carrier Edition)