[bgd at icomag.de: Re: (RADIATOR) integer disconnect causes]
Hugh Irvine
hugh at open.com.au
Mon Nov 17 03:49:24 CST 2003
Hello Bogdan -
I have already responded to this question by suggesting you download
the source tarball to make sure you are running the correct code. I
would be interested to see the results and startup message when you do
this:
cd /your/Radiator/src/directory
perl radiusd -log_stdout -foreground -trace 4 -config_file
/your/config/file
The startup messages should show Radiator 3.7.1 of course.
regards
Hugh
On 17/11/2003, at 8:01 PM, Bogdan TARU wrote:
>
> Hi Hugh & all,
>
> Upgraded to Radiator-3.7.1, but still the same problem. When
> disconnecting, this is what I see in the log file:
>
> Fri Nov 14 10:50:47 2003: DEBUG: Packet dump:
> *** Received from 192.168.0.10 port 1646 ....
> Code: Accounting-Request
> Identifier: 188
> Authentic: <0>MM<181>t<188><30><24>,<243><11><138><160><12><242><206>
> Attributes:
> NAS-IP-Address = 192.168.0.10
> NAS-Port = 20010
> NAS-Port-Type = ISDN
> User-Name = "bgd at 1"
> Called-Station-Id = "5"
> Calling-Station-Id = "2214856890"
> Acct-Status-Type = Stop
> Acct-Authentic = RADIUS
> Service-Type = Framed-User
> Acct-Session-Id = "00001113"
> Framed-Protocol = PPP
> Framed-IP-Address = 192.168.12.193
> Ascend-Disconnect-Cause = 45
> Ascend-Pre-Input-Octets = 77
> Ascend-Pre-Output-Octets = 95
> Ascend-Pre-Input-Packets = 4
> Ascend-Pre-Output-Packets = 5
> Acct-Input-Octets = 1608
> Acct-Output-Octets = 1626
> Acct-Input-Packets = 26
> Acct-Output-Packets = 26
> Ascend-PreSession-Time = 1
> Acct-Session-Time = 26
> Ascend-Data-Rate = 64000
> Ascend-Xmit-Rate = 64000
> Acct-Delay-Time = 0
>
> I'm starting radiator-3.7.1 with the following command line:
>
> @/usr/local/radius/bin/radiusd -log_dir /usr/local/radius/var
> -log_file /usr/local/radius/var/log-`date +%Y-%m-%d` -config_file
> /usr/local/radius/etc/radius.cfg -dictionary_file
> /usr/local/radius/etc/dictionary -daemon -pid_file
> /usr/local/radius/var/radiusd.pid
>
> Of course, the dictionary file is the one shipped with
> Radiator-3.7.1.
>
> Anyone knows what the problem might be?
>
> bogdan
>
> PS. One other question, when I start Radiator (2.9 or 3.7.1), I get
> "Radiator version 3.6" in the log file -- For Both. Is that normal?
>
>
>
> On Fri, Nov 14, 2003 at 10:55:49AM +1100, Hugh Irvine wrote:
>>
>> Hello Bogdan -
>>
>> This should be fixed in the latest version Radiator 3.7.1.
>>
>> From the history file:
>>
>>
>> ??? Improvements to storage of VALUE in dictionary allows
>> decoding based on the attribute name rather than the number, which
>> allows
>> correct unpacking of attributes with synonyms, such as
>> Ascend-Disconnect-Cause. This involved changes to RDict::valNumToName.
>>
>> regards
>>
>> Hugh
>>
>>
>> On 13/11/2003, at 10:19 PM, Bogdan TARU wrote:
>>
>>>
>>>
>>> Hi everyone,
>>>
>>> I have a problem with a Cisco AS5300 and the disconnect causes. They
>>> appear as integers (Ascend-Disconnect-Cause = 45) in the log file,
>>> and they are inserted into the database as integers as well. The
>>> radiator is started with -dictionary-file pointing to the 'generic'
>>> dictionary file, and if I do a test with radpwtst using the same
>>> dictionary file and an attribute like Ascend-Disconnect-Cause = 45,
>>> the logged information is 'pppRcvTerminate' (correct).
>>>
>>> Any idea where the problem could be?
>>>
>>> Thank you,
>>> bogdan
>>>
>>> ===
>>> 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.
>>>
>>>
>>
>> NB: 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.
>
>
NB: 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.
More information about the radiator
mailing list