From 34e1fabf1146162092bc935dd74a75ebe97be111 Mon Sep 17 00:00:00 2001 From: Vladimir Dubrovin <3proxy@3proxy.ru> Date: Sat, 21 Nov 2026 14:42:59 +0300 Subject: [PATCH] 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. --- man/3proxy.cfg.5 | 5 ++++- src/conf.c | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/man/3proxy.cfg.5 b/man/3proxy.cfg.5 index 2f23a4e..974adf5 100644 --- a/man/3proxy.cfg.5 +++ b/man/3proxy.cfg.5 @@ -493,7 +493,10 @@ network conditions. \fI\fR \fI