Yesterday, I lost my main hard disk and have had to rebuild
my radius server from tape. I've also used this opportunity
to upgrade from Redhat 6.0 to 7.2. I can get Radiator to
run but it gets the following error. I would appreciate
any help in getting this problem sorted out. I'm running
the 2.14 Radiator. I'm happy to upgrade to the latest
Radiator but need to be reminded of my password.
Tue Jan 1 08:22:39 2002: NOTICE: Request from unknown client 203.63.235.10: ignored
Tue Jan 1 08:22:44 2002: DEBUG: Packet dump:
*** Received from 203.63.235.10 port 8003 ....
Code: Accounting-Request
Identifier: 90
Regards. Paul
# livingCompat.cfg
#
# This is a simple Radiator config file that allows you
# to continue using a bog standard Livingston or
# similar users file with Radiator, It implements the
# Auth-Type="System" check item by using AuthBy UNIX
#
# You will probably want to change the definitions of
# DbDir, LogDir and the Filename parameters
#
# Author: Mike McCauley ([EMAIL PROTECTED])
# Copyright (C) 1997 Open System Consultants
# $Id: livingCompat.cfg,v 1.3 1999/07/12 02:01:35 mikem Exp $
#Foreground
#LogStdout
Trace 4
DbDir /etc/raddb
LogDir /var/log/radacct
DictionaryFile /etc/raddb/dictionary
RewriteUsername s/^.*\\|@.*$|^\s+|\s+$//g
# This clause defines a single client to listen to
# You will probably want to change localhost and mysecret
# to suit your site.
<Client 203.63.235.10>
Secret XXX
</Client>
<Client dm1>
Secret XXX
</Client>
<Client pm1>
Secret XXX
</Client>
<Client 203.63.235.9>
Secret XXX
</Client>
# This clause means we will handle any real that arrives
<Realm DEFAULT>
### AuthByPolicy ContinueWhileIgnore
<AuthBy RADMIN>
# Change DBSource, DBUsername, DBAuth for your database
# See the reference manual. You will also have to
# change the one in <SessionDatabse SQL> below
# so its the same
DBSource dbi:mysql:radmin
DBUsername radmin
DBAuth tud349
#
# Set the Idle Timeout using the Radmin database
#
AuthSelect select PASS_WORD, STATICADDRESS, TIMELEFT, MAXLOGINS,
MAXIDLETIME, FRAMED_FILTER_ID, FRAMED_NETMASK, (%t - ADDEDDATE)/86400, SERVICENAME,
FRAMEDROUTE from RADUSERS where USERNAME='%n' and SERVICESTATE != 'SUSPENDED'
AuthColumnDef 0,Idle-Timeout,reply
AuthColumnDef 1,Filter-Id,reply
AuthColumnDef 2,Framed-IP-Netmask,reply
AuthColumnDef 3,Days-Since-Added,reply
AuthColumnDef 4,Service-Name,reply
AuthColumnDef 5,Framed-Route,reply
# You can add to or change these if you want, but you
# will probably want to change the databse schema first
AccountingTable RADUSAGE
AcctColumnDef USERNAME,User-Name
AcctColumnDef TIME_STAMP,Timestamp,integer
AcctColumnDef ACCTSTATUSTYPE,Acct-Status-Type,integer
AcctColumnDef ACCTDELAYTIME,Acct-Delay-Time,integer
AcctColumnDef ACCTINPUTOCTETS,Acct-Input-Octets,integer
AcctColumnDef ACCTOUTPUTOCTETS,Acct-Output-Octets,integer
AcctColumnDef ACCTSESSIONID,Acct-Session-Id
AcctColumnDef ACCTSESSIONTIME,Acct-Session-Time,integer
AcctColumnDef ACCTTERMINATECAUSE,Acct-Terminate-Cause,integer
AcctColumnDef FRAMEDIPADDRESS,Framed-IP-Address
AcctColumnDef NASIDENTIFIER,NAS-Identifier
AcctColumnDef NASIDENTIFIER,NAS-IP-Address
AcctColumnDef NASPORT,NAS-Port,integer
AcctColumnDef DNIS,Called-Station-Id
AcctColumnDef TXSPEED,Acc-Connect-Tx-Speed
AcctColumnDef RXSPEED,Acc-Connect-Rx-Speed
AcctColumnDef CALLINGFROM,Calling-Station-Id
AcctColumnDef CALLINGTO,Called-Station-Id
#
# This updates the time and octets left for this user
#
AcctSQLStatement update RADUSERS set
TIMELEFT=TIMELEFT-0%{Acct-Session-Time},
OCTETSINLEFT=OCTETSINLEFT-0%{Acct-Input-Octets},
OCTETSOUTLEFT=OCTETSOUTLEFT-0%{Acct-Output-Octets} where USERNAME='%n'
#
# #
# # These are the classic things to add to each users
# # reply to allow a PPP dialup session. It may be
# # different for your NAS. This will add some
# # reply items to everyone's reply
# #
#
AddToReply Framed-Protocol = PPP,\
Framed-Routing = None,\
Framed-MTU = 1500,\
Acc-Callback-CBCP-Type = CBCP-None,\
Framed-Compression = Van-Jacobson-TCP-IP
</AuthBy>
# PostAuthHook sub { my $reply = ${$_[1]};
\
# my $reqst = ${$_[0]};
\
# my $status = ${$_[2]};
\
# if ( $reqst->code eq 'Access-Request' )
\
# {
\
# print "Code = ", $reqst->code, " ";
\
# print "User = ", $reqst->get_attr('User-Name'), " ";
\
# print "Group = ", $reply->get_attr('Service-Name'), " ";
\
# print "Days = ", $reply->get_attr('Days-Since-Added'),
" "; \
# print "\n";
\
# }
\
# }
<AuthBy FILE>
Filename /etc/raddb/users
</AuthBy>
<AuthBy UNIX>
Filename /etc/shadow
</AuthBy>
# Log accounting to the detail file in LogDir
AcctLogFileName /var/log/radacct/dm1/detail
PasswordLogFileName /var/log/radacct/pwlog
ExcludeFromPasswordLog root paulb pat work
</Realm>
<SessionDatabase SQL>
# This database spec usually should be exactly the same
# as in <AuthBy RADMIN> above
DBSource dbi:mysql:radmin
DBUsername xxx
DBAuth xxx
</SessionDatabase>
# This clause defines an authorisation method that will be used
# by any users in the database with Auth-Type="System". It will
# match the "Identifier System"
<AuthBy UNIX>
Identifier System
Filename /etc/shadow
</AuthBy>