提交 ca024045 编写于 作者: G Guillaume Nault 提交者: Dmitry Kozlov

l2tp: Unset ephemeral ports by default

Disable use of ephemeral ports by default since it poses problems with
NAT and wasn't used in earlier versions of accel-ppp.
Signed-off-by: NGuillaume Nault <g.nault@alphalink.fr>
上级 cafc6f2c
...@@ -462,7 +462,7 @@ AVPs that support it). ...@@ -462,7 +462,7 @@ AVPs that support it).
Specifies if an arbitrary source port is used when replying to a tunnel Specifies if an arbitrary source port is used when replying to a tunnel
establishment request. When this option is deactivated, the destination establishment request. When this option is deactivated, the destination
port of the incoming request (SCCRQ) is used as source port for the port of the incoming request (SCCRQ) is used as source port for the
reply (SCCRP). Default value is 1. reply (SCCRP). Default value is 0.
.SH [radius] .SH [radius]
.br .br
Configuration of RADIUS module. Configuration of RADIUS module.
......
...@@ -52,7 +52,7 @@ int conf_verbose = 0; ...@@ -52,7 +52,7 @@ int conf_verbose = 0;
int conf_hide_avps = 0; int conf_hide_avps = 0;
int conf_avp_permissive = 0; int conf_avp_permissive = 0;
static int conf_port = L2TP_PORT; static int conf_port = L2TP_PORT;
static int conf_ephemeral_ports = 1; static int conf_ephemeral_ports = 0;
static int conf_timeout = 60; static int conf_timeout = 60;
static int conf_rtimeout = 5; static int conf_rtimeout = 5;
static int conf_retransmit = 5; static int conf_retransmit = 5;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册