(RADIATOR) IPV6 support added

Mike McCauley mikem at open.com.au
Fri Feb 20 21:47:33 CST 2004


Hi all,


On Fri, 20 Feb 2004 10:31 am, Mike McCauley wrote:
> Hello Wim,
>
> I have sent a patch to the authors of Socket6 that should fix this problem
> in future releases.

The author of Socket6 has rolled our patch in and released Socket6-0.16. It 
should be available on CPAN soon. I have confiirmed it Radiator IPV6 works 
fine with this version on Linux, FreeBSD and Solaris.

Cheers.

>
>
> Just in case you want it early:
>
>
> --- Socket6-0.14.orig/aclocal.m4        2004-01-04 22:03:04.000000000 +1000
> +++ Socket6-0.14/aclocal.m4     2004-02-20 10:18:24.000000000 +1000
> @@ -120,7 +120,7 @@
>  ], [dnl
>    AC_CHECK_LIB(socket, $1, [dnl
>      AC_DEFINE_UNQUOTED($ac_tr_lib)
> -    LIBS="$LIBS -lsocket"
> +    LIBS="$LIBS -lsocket -lnsl"
>      ac_cv_lib_inet6_$1=no
>    ], [dnl
>      AC_MSG_CHECKING([whether your system has IPv6 directory])
>
> You would have to run autoconf after this patch, then
> perl Makefile.PL;make;make install
>
>
> Cheers.
>
> On Wed, 18 Feb 2004 11:26 am, Mike McCauley wrote:
> > Hello Wim,
> >
> > thanks for reporting this.
> >
> > On Wed, 18 Feb 2004 10:11 am, Wim Biemolt wrote:
> > > On Thu, Feb 12, 2004 at 12:19:16PM +1100, Mike McCauley wrote:
> > > > Thanks for reporting this.
> > > > We have made a change so that IPV4 addresses received over IPV6 are
> > > > treated exactly as they were before. It is available in the 3.8
> > > > patches area.
> > >
> > > Thanks for the patch. It fixed my problem. On what platforms does
> > > Radiator support IPv6 transport? After the successful upgrade on
> > > a FreeBSD based server I was less successful on Solaris 8 :-(
> > >
> > >   The STDERR output was Socket6::inet_pton not implemented on this
> > >   architecture at /usr/local/bin/radiusd line 474.
> >
> > This problem is due to the fact that when Socket6 builds on Solaris 8 and
> > 9, it looks in the wrong place for inet_pton and inet_ntop, and wrongly
> > concludes they are not available.
> >
> > You can fix this by editing the config.h in Socket6 and adding the
> > following lines:
> >
> > /* Sol 8 and 9 really do have these in libnsl */
> > #define HAVE_INET_NTOP 1
> > #define HAVE_INET_PTON 1
> >
> > and running
> > make;make install
> > again
> >
> > Alas, Solaris does not implement the IPV6 gethostbyname2. We have now
> > released a patch for Radiator so the absence of this function does not
> > cause a croak.
> >
> > Cheers.
> >
> > > Cheers,
> > >
> > > -Wim -/- SURFnet
> > > ===
> > > Archive at http://www.open.com.au/archives/radiator/
> > > Announcements on radiator-announce at open.com.au
> > > To unsubscribe, email 'majordomo at open.com.au' with
> > > 'unsubscribe radiator' in the body of the message.

-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
9 Bulbul Place Currumbin Waters QLD 4223 Australia   http://www.open.com.au
Phone +61 7 5598-7474                       Fax   +61 7 5598-7070

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP etc on Unix, Windows, MacOS etc.

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list