(RADIATOR) Ipv6 and authport change on radiator on window xp
YF at uni-holding.com
YF at uni-holding.com
Sun Mar 19 06:45:38 CST 2006
Thanks!
I checked, and found 2 Radius software tested on this XP PC. IAS not
installed though.I disabled those radius service ,and use netstat -a to
check , port 1645 not in use any more,but it still gave me that error,"
Could not create authentication socket: Unknown error at (eval 4) line 541.
...caught at c:\Perl\bin\radiusd line 2. "
can you advise?Thanks!
C:\Program Files\Radiator>
C:\Program Files\Radiator>netstat -a
Active Connections
Proto Local Address Foreign Address State
TCP hw-4cf5e4c6e681:http hw-4cf5e4c6e681:0 LISTENING
TCP hw-4cf5e4c6e681:epmap hw-4cf5e4c6e681:0 LISTENING
TCP hw-4cf5e4c6e681:211 hw-4cf5e4c6e681:0 LISTENING
TCP hw-4cf5e4c6e681:microsoft-ds hw-4cf5e4c6e681:0 LISTENING
TCP hw-4cf5e4c6e681:gds_db hw-4cf5e4c6e681:0 LISTENING
TCP hw-4cf5e4c6e681:3306 hw-4cf5e4c6e681:0 LISTENING
TCP hw-4cf5e4c6e681:3389 hw-4cf5e4c6e681:0 LISTENING
TCP hw-4cf5e4c6e681:1025 hw-4cf5e4c6e681:0 LISTENING
TCP hw-4cf5e4c6e681:10110 hw-4cf5e4c6e681:0 LISTENING
TCP hw-4cf5e4c6e681:netbios-ssn hw-4cf5e4c6e681:0 LISTENING
UDP hw-4cf5e4c6e681:microsoft-ds *:*
UDP hw-4cf5e4c6e681:isakmp *:*
UDP hw-4cf5e4c6e681:4500 *:*
UDP hw-4cf5e4c6e681:ntp *:*
UDP hw-4cf5e4c6e681:1900 *:*
UDP hw-4cf5e4c6e681:ntp *:*
UDP hw-4cf5e4c6e681:netbios-ns *:*
UDP hw-4cf5e4c6e681:netbios-dgm *:*
UDP hw-4cf5e4c6e681:1900 *:*
C:\Program Files\Radiator>
C:\Program Files\Radiator>
C:\Program Files\Radiator>perl c:\Perl\bin\radiusd
Thu Mar 16 23:11:37 2006: DEBUG: Finished reading configuration file
'C:\Program
Files\Radiator\radius.cfg'
This Radiator license will expire on 2006-07-01
This Radiator license will stop operating after 1000 requests
To purchase an unlimited full source version of Radiator, see
http://www.open.com.au/ordering.html
To extend your license period, contact admin at open.com.au
Thu Mar 16 23:11:37 2006: DEBUG: Reading dictionary file './dictionary'
Thu Mar 16 23:11:37 2006: DEBUG: Creating authentication port ipv6::::1645
Could not create authentication socket: Unknown error at (eval 4) line 541.
...caught at c:\Perl\bin\radiusd line 2.
----- Original Message -----
From: "Hugh Irvine" <hugh at open.com.au>
To: <scottshaw at 163.com>
Cc: "Radiator" <radiator at open.com.au>
Sent: Thursday, March 16, 2006 5:19 AM
Subject: Re: (RADIATOR) Ipv6 and authport change on radiator on window xp
>
> Hello YF -
>
> The error shown below is due to some other program already listening on
> the port number(s) you have specified.
>
> On a Windows server this is usually the Microsoft radius server that must
> be disabled before you can run Radiator.
>
> regards
>
> Hugh
>
>
> On 16 Mar 2006, at 01:54, <scottshaw at 163.com> <scottshaw at 163.com> wrote:
>
>> Hugh, thanks! I installed socket6 on windows Xp,which supports IPv6.
>> Then I use the ipv6 sample in goodies , rename as radius.cfg and run
>> radiusd again, got the error of
>> "Could not create authentication socket: Unknown error at (eval 4) line
>> 541.
>> ...caught at c:\Perl\bin\radiusd line 2"
>> Can you advise?Thanks!
>> Rgds
>> YF
>>
>>
>> C:\>ppm install http://www.open.com.au/radiator/free-downloads/
>> Socket6.ppd
>> Installing package 'http://www.open.com.au/radiator/free-downloads/
>> Socket6.ppd'.
>> ..
>> Downloading http://www.open.com.au/radiator/free-downloads/MSWin32-
>> x86-multi-thr
>> ead/Socket6.ppm.tar.gz ...
>> Installing C:\Perl\site\lib\auto\Socket6\Socket6.dll
>> Installing C:\Perl\site\lib\auto\Socket6\Socket6.lib
>> Installing C:\Perl\site\lib\auto\Socket6\Socket6.exp
>> Installing C:\Perl\site\lib\auto\Socket6\Socket6.bs
>> Installing C:\Perl\site\lib\Socket6.pm
>>
>> C:\
>>
>> C:\Program Files\Radiator>perl c:\Perl\bin\radiusd -foreground
>> ....
>> Wed Mar 15 22:45:15 2006: DEBUG: Reading dictionary file './ dictionary'
>> Wed Mar 15 22:45:15 2006: DEBUG: Creating authentication port
>> ipv6::::1645
>> Could not create authentication socket: Unknown error at (eval 4) line
>> 541.
>> ...caught at c:\Perl\bin\radiusd line 2.
>>
>>
>> My config file:
>>
>> # ipv6.cfg
>>
>> Foreground
>> LogStdout
>> LogDir .
>> DbDir .
>> # User a lower trace level in production systems:
>> Trace 4
>>
>> # Listen for radius requests on all IPV6 and IPV4 addresses
>> BindAddress ipv6:::
>>
>> # Another example: listen on the IPV6 loopback address, and on a
>> specific IPV4 address:
>> #BindAddress ipv6:::1,203.63.154.29
>>
>> # You will probably want to add other Clients to suit your site,
>> # one for each NAS you want to work with
>>
>> # This will handle requests from the IPV6 loopback address only
>> <Client ipv6:::1>
>> Secret topsec
>> DupInterval 0
>> </Client>
>>
>> # This will handle requests from a specific IPV6 address only:
>> <Client ipv6:2001:720:1500:1::a100>
>> Secret mysecret
>> DupInterval 0
>> </Client>
>>
>> # This will handle requests from
>> <Client 192.168.2.121>
>> Secret topsec
>> DupInterval 0
>> </Client>
>>
>> <Realm DEFAULT>
>> <AuthBy FILE>
>> Filename ./users
>> </AuthBy>
>> # Log accounting to a detail file
>> AcctLogFileName ./detail
>> </Realm>
>>
>> # This proxies all users with a user name like username at proxy.com
>> # to an IPV6 server on loclahost
>> <Realm proxy.com>
>> <AuthBy RADIUS>
>> # This binds our outgoing proxy port to IPV6 any address. We need this
>> # if the main incoming radius port does not have an IPV6 BindAddress
>> # (the default in an IPV4 ANY address)
>> # In order to proxy to an IPV6 address, LocalAddress
>> # _must_ be bound to an IPV6 address
>> # LocalAddress ipv6:::
>>
>> # On the other hand if the main incoming BindAddress is ipv6,
>> # and you wish to proxy to an IPV4 address, you will need
>> LocalAddress 0.0.0.0
>>
>> # Proxy to localhost by IPV6
>> Host ipv6:::1
>>
>> AuthPort 1647
>> AcctPort 1648
>> </AuthBy>
>> </Realm>
>>
>> ----- Original Message ----- From: "Hugh Irvine" <hugh at open.com.au>
>> To: <YF at uni-holding.com>
>> Cc: "Radiator" <radiator at open.com.au>
>> Sent: Tuesday, March 14, 2006 4:06 AM
>> Subject: Re: (RADIATOR) Ipv6 and authport change on radiator on window
>> xp
>>
>>
>>>
>>>
>>> Hello YF -
>>>
>>> As shown in the error message (and in the manual) you will need to
>>> install Socket6 before you can use IPv6.
>>>
>>> See the example configuration file in "goodies/ipv6.cfg" in the
>>> Radiator 3.14 reference manual.
>>>
>>> Note that your operating system must also support IPv6.
>>>
>>> regards
>>>
>>> Hugh
>>>
>>>
>>> On 14 Mar 2006, at 01:17, <YF at uni-holding.com> <YF at uni- holding.com>
>>> wrote:
>>>
>>>> Dear friends,
>>>> I have installed the radiator on a windows XP, with basic test/
>>>> radtest works well,and with a NAS system.Now I changed it use port
>>>> 1812 for authentication and added IPv6 statement,But I got the error
>>>> as below:
>>>> 1.Could not bind authentication socket
>>>> 2.DEBUG: Creating authentication port :::1:1645
>>>> Can't locate Socket6.pm in @INC (@INC contains: . C:/Perl/lib C:/
>>>> Perl/site/lib
>>>> ) at C:/Perl/site/lib/Radius/Util.pm line 754
>>>>
>>>> can any of you advise?I will do an IPv6 testing with a Ipv6 router in
>>>> a few days,radiator will be on windows2003 server.Thanks!
>>>> YF
>>>>
>>>> C:\Program Files\Radiator>perl c:\perl\bin\radiusd -foreground
>>>>
>>>> Mon Mar 13 21:56:44 2006: DEBUG: Reading dictionary file 'c:/ Program
>>>> Files/Radi
>>>> tor/dictionary'
>>>> Mon Mar 13 21:56:45 2006: DEBUG: Creating authentication port
>>>> 0.0.0.0:1812
>>>> Could not bind authentication socket: Unknown error at (eval 4) line
>>>> 544.
>>>> ...caught at c:\perl\bin\radiusd line 2.
>>>>
>>>>
>>>> C:\Program Files\Radiator>perl c:\perl\bin\radiusd -foreground
>>>> Mon Mar 13 21:59:23 2006: DEBUG: Finished reading configuration file
>>>> 'C:\Progra
>>>> Files\Radiator\radius.cfg'
>>>>
>>>> Mon Mar 13 21:59:23 2006: DEBUG: Reading dictionary file 'c:/ Program
>>>> Files/Radi
>>>> tor/dictionary'
>>>> Mon Mar 13 21:59:23 2006: DEBUG: Creating authentication port :::
>>>> 1:1645
>>>> Can't locate Socket6.pm in @INC (@INC contains: . C:/Perl/lib C:/
>>>> Perl/site/lib
>>>> ) at C:/Perl/site/lib/Radius/Util.pm line 754.
>>>> ...caught at c:\perl\bin\radiusd line 2.
>>>>
>>>> C:\Program Files\Radiator>
>>>>
>>>>
>>>> The config file:
>>>>
>>>>
>>>> Foreground
>>>> LogStdout
>>>> LogDir c:/Program Files/Radiator
>>>> DbDir c:/Program Files/Radiator
>>>>
>>>> BindAddress :::1
>>>>
>>>> AuthPort 1812
>>>> AcctPort 1813
>>>>
>>>> # This will log at DEBUG level: very verbose
>>>> # User a lower trace level in production systems, typically use 3
>>>> Trace 4
>>>>
>>>> #
>>>>
>>>> <Client 192.168.2xx.121>
>>>> Secret xxxx
>>>> DupInterval 0
>>>> Identifier topsystem
>>>> </Client>
>>>>
>>>>
>>>> # Authenticate all realms with this
>>>> <Realm DEFAULT>
>>>> # Look up user details in a flat file
>>>> <AuthBy FILE>
>>>> # %D is replaced by DbDir above
>>>> Filename %D/users
>>>> </AuthBy>
>>>>
>>>> # Log accounting to a detail file. %D is replaced by DbDir above
>>>> AcctLogFileName %D/detail
>>>> </Realm>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> NB:
>>>
>>> Have you read the reference manual ("doc/ref.html")?
>>> Have you searched the mailing list archive (www.open.com.au/ archives/
>>> radiator)?
>>> Have you had a quick look on Google (www.google.com)?
>>> Have you included a copy of your configuration file (no secrets),
>>> together with a trace 4 debug showing what is happening?
>>>
>>> --
>>> Radiator: the most portable, flexible and configurable RADIUS server
>>> anywhere. Available on *NIX, *BSD, Windows, MacOS X.
>>> -
>>> Nets: internetwork inventory and management - graphical, extensible,
>>> flexible with hardware, software, platform and database independence.
>>> -
>>> CATool: Private Certificate Authority for Unix and Unix-like systems.
>>>
>>>
>
>
> NB:
>
> Have you read the reference manual ("doc/ref.html")?
> Have you searched the mailing list archive (www.open.com.au/archives/
> radiator)?
> Have you had a quick look on Google (www.google.com)?
> Have you included a copy of your configuration file (no secrets),
> together with a trace 4 debug showing what is happening?
>
> --
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. Available on *NIX, *BSD, Windows, MacOS X.
> -
> Nets: internetwork inventory and management - graphical, extensible,
> flexible with hardware, software, platform and database independence.
> -
> CATool: Private Certificate Authority for Unix and Unix-like systems.
>
>
>--
> 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.
--
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