mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Document that an IPv6 nserver address needs square brackets
nserver and authnserver parse their argument with parsehost(), which reads the first colon as the address/port separator, so a bare IPv6 address picks up a bogus port number. Document the bracket form in 3proxy.cfg(5) and in both HOWTOs. Refs #1275, #460 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3bd7cee5b7
commit
a07665c01f
4 files changed
+18
-3
No files matched your search
@@ -514,6 +514,13 @@ system routines for name resolution is
|
||||
used. Optional port number may be specified.
|
||||
If optional /tcp is added to IP address, name resolution is
|
||||
performed over TCP.
|
||||
An IPv6 address has to be enclosed in square brackets:
|
||||
.br
|
||||
\fBnserver 1.1.1.1\fR
|
||||
.br
|
||||
\fBnserver [2001:4860:4860::8844]\fR
|
||||
.br
|
||||
\fBnserver [2001:4860:4860::8844]:5353/tcp\fR
|
||||
|
||||
.br
|
||||
.BR authnserver
|
||||
|
||||
Reference in new issue
Block a user