From: Alan T. DeKok Date: Tue, 28 Feb 2017 18:23:26 +0000 (-0500) Subject: document IPv6 addresses X-Git-Tag: release_3_0_13~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9eea764a3e920b216f531b58292909dfc5f264f;p=thirdparty%2Ffreeradius-server.git document IPv6 addresses --- diff --git a/man/man1/radclient.1 b/man/man1/radclient.1 index 630541113ac..b40c9bb3e8e 100644 --- a/man/man1/radclient.1 +++ b/man/man1/radclient.1 @@ -1,4 +1,4 @@ -.TH RADCLIENT 1 "28 March 2014" "" "FreeRADIUS Daemon" +.TH RADCLIENT 1 "28 February 2017" "" "FreeRADIUS Daemon" .SH NAME radclient - send packets to a RADIUS server, show reply .SH SYNOPSIS @@ -125,6 +125,15 @@ accounting packets, and \fBradius\fP for all other requests. If a service is not found in \fI/etc/services\fP, 1813 and 1812 are used respectively. +If a host name is specified, then radclient will do a DNS lookup, and +use the A record to find the IP address of the RADIUS server. If +there is no A record, then radclient will look for an AAAA record. If +there is no AAAA record, an error will be produced. + +IPv6 addresses may be specified by surrounding it in square brackets. +For example, [2002:c000:0201:0:0:0:0:0], or with a port, +[2002:c000:0201:0:0:0:0:0]:18120. + The RADIUS attributes read by \fIradclient\fP can contain the special attribute \fBPacket-Dst-IP-Address\fP. If this attribute exists, then that IP address is where the packet is sent, and the \fBserver\fP