(RADIATOR) Authentication to radius with Flat File

Wong, Janice janice.wong at reach.com
Wed Aug 1 06:23:01 CDT 2001


hi all,

I need to create a client to be authenticated using a fixed ip address. I
have created a flat file containing user information to assign the framed ip
address function for a specific user. But I do not seem to get
authentication and it always give me a handler error msg trying to reach
203.63.154.1

This is my configuration on Radius.cfg

 
# Framed ip address testing
<Client 202.75.127.17>
        Secret xxxxx
        IgnoreAcctSignature
</Client>

# allow all clients to use the same secret
<Client DEFAULT>
        Secret xxxxx
</Client>


<Realm 202.75.127.17>
        AcctLogFileFormat file:"/usr/local/radiator/LogFormat"
        AcctLogFileName /usr/local/radiator/radacct/usage.testingrealm
        #RewriteUsername s/^([^@]+).*/$1/
        <AuthBy FILE>
                Filename %D/testuser
        </AuthBy>
</Realm>


The user file : 

bob12                   User-Password = "forpccw",
                        Service-Type = Framed-User
                        Framed-Protocol = PPP,
                        Framed-IP-Address = 202.79.95.17,
                        Framed-IP-Netmask =
255.255.255.255,
                        Framed-Routing = None,
                        Framed-MTU = 1500,
                        Framed-Compression = Van-
Jacobson-TCP-IP

radpwtst logfile error:

Code:       Accounting-Request
Identifier: 67
Authentic:  }<163>kN$<220>T<150><142>U<188><193><183><245><234><15>
Attributes:
        User-Name = "bob12 at 202.75.127.17"
        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 = Stop
        Acct-Delay-Time = 0
        Acct-Session-Time = 1000
        Acct-Input-Octets = 20000
        Acct-Output-Octets = 30000

Wed Aug  1 19:11:00 2001: WARNING: Bad authenticator in request from DEFAULT
(203.63.154.1)

Attributes:
        User-Name = "bob12 at 202.75.127.17"
        Service-Type = Framed-User
        NAS-IP-Address = 203.63.154.1
        NAS-Port = 1234
        NAS-Port-Type = Async
        User-Password = "<163>N<220><236><150>y<14><238>k(<135>Fp73<140>"

Wed Aug  1 19:10:50 2001: DEBUG: Check if Handler Realm=xxxx.net.sg should
be used to handle this request
Wed Aug  1 19:10:50 2001: WARNING: Could not find a handler: request is
ignored
Wed Aug  1 19:10:55 2001: DEBUG: Packet dump:

Am I missing any commands or configuration to enable the authentication?

Janice
===
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