mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
radius: a server may be a name, and the port is taken as written (#1027)
The port was promised by the man page but never parsed: a server address with a port was refused, and only the default 1812 could be used. The address is parsed with parsehost() now, as nserver and authnserver are, so a name is resolved when the configuration is read, an IPv6 address may be written in brackets, and the port is the one authentication is asked on, the accounting of the same server going to the port after it. The man page says which name servers resolve the name.
This commit is contained in:
1 parent
ab78b0bf69
commit
44b9e344e1
3 files changed
+48
-3
No files matched your search
+4
-1
@@ -607,7 +607,10 @@ network conditions. Applies to the services started after it.
|
||||
\fI<NAS_SECRET>\fR \fI<radius_server_1\fR[:\fIport\fR][/\fIlocal_address_1\fR]\fR \fI<radius_server_2\fR[:\fIport\fR][/\fIlocal_address_2\fR]\fR
|
||||
.br
|
||||
Configures RADIUS servers to be used for logging and authentication (log and auth types
|
||||
must be set to radius). port and local address to use with given server may be specified.
|
||||
must be set to radius). A server is a name or an address, resolved when the
|
||||
configuration is read. port and local address to use with given server may be specified:
|
||||
the port named is the one authentication is asked on, and the accounting requests of
|
||||
the same server go to the port after it (1812 and 1813 by default).
|
||||
.br
|
||||
Attributes within request: User-Name, Password: (username and password if presented by client),
|
||||
Service Type: Authenticate-Only,
|
||||
|
||||
Reference in new issue
Block a user