Hello,

        I'm stumped, I've looked, I've read, I've tried, and I am stumped. 
I'm evaluating radiator and I have had absolutely no success getting 
MaxSessions to function. Below is my config and debug information. 

        I am testing this config with the radpwtst tool and the following 
arguments:
partisan:/usr/local/radiator# radpwtst -user admin -password admin 
Called-Station-Id=1234 -s 127.0.0.1 -nostop

        I would expect, with my config and the command above, the second 
time the command is issued radiator would deny my login because of the 
"-nostop" argument and not having received a stop argument for the 
previous login. This does not appear to be the case. 

        I have noticed one thing. If I I set MaxSessions 1 to MaxSession 0 
then it will deny the login. Below is the debug output from 2 tests with 
the above command.

        I don't mean to grovel but... please help :)

        -Jared

My config:

radius.cfg:
Foreground
LogStdout
DbDir           .
LogDir          .

<Client localhost>
        Secret   mysecret
</Client>

<Realm>
        MaxSessions 1

<AuthBy FILE>
        Filename /usr/local/radiator/users
</AuthBy>
</Realm>


users file:
#one line, very simple
admin   User-Password = "admin"

Debug Output:

partisan:/usr/local/radiator# ./radiusd -log_stdout -trace 4
Mon Jan 15 15:43:57 2001: DEBUG: Reading users file 
/usr/local/radiator/users
This Radiator license will expire on 2001-03-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/radiator/ordering.html

Mon Jan 15 15:43:57 2001: INFO: Server started: Radiator 2.17.1 on 
partisan (DEM
O)
Mon Jan 15 15:44:23 2001: DEBUG: Packet dump:
*** Received from 127.0.0.1 port 1035 ....
Code:       Access-Request
Identifier: 68
Authentic:  1234567890123456
Attributes:
        User-Name = "admin"
        Service-Type = Framed-User
        NAS-IP-Address = 203.63.154.1
        NAS-Port = 1234
        NAS-Port-Type = Async
        User-Password = 
"<152><239>2<196><193>\<4><246><188>8<9><160><216>}x<153
>"
        Called-Station-Id = "1234"

Mon Jan 15 15:44:23 2001: DEBUG: Handling request with Handler 'Realm='
Mon Jan 15 15:44:23 2001: DEBUG:  Deleting session for admin, 
203.63.154.1, 1234
Mon Jan 15 15:44:23 2001: DEBUG: Handling with Radius::AuthFILE
Mon Jan 15 15:44:23 2001: DEBUG: Radius::AuthFILE looks for match with 
admin
Mon Jan 15 15:44:23 2001: DEBUG: Radius::AuthFILE ACCEPT:
Mon Jan 15 15:44:23 2001: DEBUG: Access accepted for admin
Mon Jan 15 15:44:23 2001: DEBUG: Packet dump:
*** Sending to 127.0.0.1 port 1035 ....
Code:       Access-Accept
Identifier: 68
Authentic:  1234567890123456
Attributes:

Mon Jan 15 15:44:23 2001: DEBUG: Packet dump:
*** Received from 127.0.0.1 port 1035 ....
Code:       Accounting-Request
Identifier: 69
Authentic:  <170><241><201>S{3<210><132>{1<254>w3<147>6<235>
Attributes:
        User-Name = "admin"
        Service-Type = Framed-User
        NAS-IP-Address = 203.63.154.1
        NAS-Port = 1234
        NAS-Port-Type = Async
        Acct-Session-Id = "00001234"
        Acct-Status-Type = Start
        Called-Station-Id = "1234"

Mon Jan 15 15:44:23 2001: DEBUG: Handling request with Handler 'Realm='
Mon Jan 15 15:44:23 2001: DEBUG:  Adding session for admin, 203.63.154.1, 
1234
Mon Jan 15 15:44:23 2001: DEBUG: Handling with Radius::AuthFILE
Mon Jan 15 15:44:23 2001: DEBUG: Accounting accepted
Mon Jan 15 15:44:23 2001: DEBUG: Packet dump:
*** Sending to 127.0.0.1 port 1035 ....
Code:       Accounting-Response
Identifier: 69
Authentic:  <170><241><201>S{3<210><132>{1<254>w3<147>6<235>
Attributes:

Mon Jan 15 15:44:28 2001: DEBUG: Packet dump:
*** Received from 127.0.0.1 port 1035 ....
Code:       Access-Request
Identifier: 73
Authentic:  1234567890123456
Attributes:
        User-Name = "admin"
        Service-Type = Framed-User
        NAS-IP-Address = 203.63.154.1
        NAS-Port = 1234
        NAS-Port-Type = Async
        User-Password = 
"<152><239>2<196><193>\<4><246><188>8<9><160><216>}x<153
>"
        Called-Station-Id = "1234"

Mon Jan 15 15:44:28 2001: DEBUG: Handling request with Handler 'Realm='
Mon Jan 15 15:44:28 2001: DEBUG:  Deleting session for admin, 
203.63.154.1, 1234
Mon Jan 15 15:44:28 2001: DEBUG: Handling with Radius::AuthFILE
Mon Jan 15 15:44:28 2001: DEBUG: Radius::AuthFILE looks for match with 
admin
Mon Jan 15 15:44:28 2001: DEBUG: Radius::AuthFILE ACCEPT:
Mon Jan 15 15:44:28 2001: DEBUG: Access accepted for admin
Mon Jan 15 15:44:28 2001: DEBUG: Packet dump:
*** Sending to 127.0.0.1 port 1035 ....
Code:       Access-Accept
Identifier: 73
Authentic:  1234567890123456
Attributes:

Mon Jan 15 15:44:28 2001: DEBUG: Packet dump:
*** Received from 127.0.0.1 port 1035 ....
Code:       Accounting-Request
Identifier: 74
Authentic:  <232>]=N]D<172>hf<181><206>+.W<156><207>
Attributes:
        User-Name = "admin"
        Service-Type = Framed-User
        NAS-IP-Address = 203.63.154.1
        NAS-Port = 1234
        NAS-Port-Type = Async
        Acct-Session-Id = "00001234"
        Acct-Status-Type = Start
        Called-Station-Id = "1234"

Mon Jan 15 15:44:28 2001: DEBUG: Handling request with Handler 'Realm='
Mon Jan 15 15:44:28 2001: DEBUG:  Adding session for admin, 203.63.154.1, 
1234
Mon Jan 15 15:44:28 2001: DEBUG: Handling with Radius::AuthFILE
Mon Jan 15 15:44:28 2001: DEBUG: Accounting accepted
Mon Jan 15 15:44:28 2001: DEBUG: Packet dump:
*** Sending to 127.0.0.1 port 1035 ....
Code:       Accounting-Response
Identifier: 74
Authentic:  <232>]=N]D<172>hf<181><206>+.W<156><207>
Attributes:


===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to