Use newer radius port 1812 by default
1645 has been marked as "old-radius" for a long time.
This commit is contained in:
parent
f9e2045b38
commit
71a60411a1
6 changed files with 8 additions and 8 deletions
|
|
@ -77,7 +77,7 @@
|
|||
</div>
|
||||
</dd>
|
||||
<dt><code>primary_radius_port</code> (short); <code>secondary_radius_port</code> (short)</dt>
|
||||
<dd><p>Sets the authentication ports for the primary and secondary RADIUS servers. The accounting port is one more than the authentication port. If no RADIUS ports are given, the authentication port defaults to 1645, and the accounting port to 1646.</p>
|
||||
<dd><p>Sets the authentication ports for the primary and secondary RADIUS servers. The accounting port is one more than the authentication port. If no RADIUS ports are given, the authentication port defaults to 1812, and the accounting port to 1813.</p>
|
||||
</dd>
|
||||
<dt><code>radius_accounting</code> (boolean)</dt>
|
||||
<dd><p>If set to true, then RADIUS accounting packets will be sent. This means that a Start record will be sent when the session is successfully authenticated, and a Stop record will be sent when the session is closed.</p>
|
||||
|
|
|
|||
|
|
@ -318,8 +318,8 @@ separate identifier).
|
|||
Sets the authentication ports for the primary and secondary RADIUS
|
||||
servers.
|
||||
The accounting port is one more than the authentication port.
|
||||
If no RADIUS ports are given, the authentication port defaults to 1645,
|
||||
and the accounting port to 1646.
|
||||
If no RADIUS ports are given, the authentication port defaults to 1812,
|
||||
and the accounting port to 1813.
|
||||
.PP
|
||||
\f[B]radius_accounting\f[R] (boolean)
|
||||
.PP
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ should be set by a line like: set configstring \"value\" set ipaddress
|
|||
: Sets the authentication ports for the primary and secondary RADIUS
|
||||
servers. The accounting port is one more than the authentication
|
||||
port. If no RADIUS ports are given, the authentication port defaults
|
||||
to 1645, and the accounting port to 1646.
|
||||
to 1812, and the accounting port to 1813.
|
||||
|
||||
`radius_accounting` (boolean)
|
||||
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ The following `variables` may be set:
|
|||
|
||||
**primary\_radius\_port** (short), **secondary\_radius\_port** (short)
|
||||
|
||||
Sets the authentication ports for the primary and secondary RADIUS servers. The accounting port is one more than the authentication port. If no RADIUS ports are given, the authentication port defaults to 1645, and the accounting port to 1646.
|
||||
Sets the authentication ports for the primary and secondary RADIUS servers. The accounting port is one more than the authentication port. If no RADIUS ports are given, the authentication port defaults to 1812, and the accounting port to 1813.
|
||||
|
||||
**radius\_accounting** (boolean)
|
||||
|
||||
|
|
|
|||
|
|
@ -27,9 +27,9 @@ set secondary_dns 10.0.0.2
|
|||
|
||||
# Can have multiple radius server entries, but ony one radius secret
|
||||
set primary_radius 10.0.0.3
|
||||
#set primary_radius_port 1645
|
||||
#set primary_radius_port 1812
|
||||
#set secondary_radius 0.0.0.0
|
||||
#set secondary_radius_port 1645
|
||||
#set secondary_radius_port 1812
|
||||
set radius_secret "secret"
|
||||
|
||||
# Acceptable authentication types (pap, chap) in order of preference
|
||||
|
|
|
|||
2
l2tpns.h
2
l2tpns.h
|
|
@ -105,7 +105,7 @@
|
|||
#define ACCT_TIME 3000 // 5 minute accounting interval
|
||||
#define ACCT_SHUT_TIME 600 // 1 minute for counters of shutdown sessions
|
||||
#define L2TPPORT 1701 // L2TP port
|
||||
#define RADPORT 1645 // old radius port...
|
||||
#define RADPORT 1812 // radius port
|
||||
#define DAEPORT 3799 // DAE port
|
||||
#define PKTARP 0x0806 // ARP packet type
|
||||
#define PKTIP 0x0800 // IPv4 packet type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue