---------- Forwarded Message ----------
Subject: BOUNCE [EMAIL PROTECTED]: Non-member submission from ["Matis, Jan"
<[EMAIL PROTECTED]>]
Date: Thu, 25 Jan 2001 01:40:54 +1100 (EST)
From: [EMAIL PROTECTED]
>From mikem Thu Jan 25 01:40:48 2001
Received: by oscar.open.com.au (8.9.0/8.9.0) id BAA13104
for [EMAIL PROTECTED]; Thu, 25 Jan 2001 01:40:48 +1100 (EST)
>Received: from bdcxms.surfeu.com ([212.197.128.69]) by perki.connect.com.au with
>ESMTP id BAA21376
(8.8.8/IDA-1.7 for <[EMAIL PROTECTED]>); Thu, 25 Jan 2001 01:22:24 +1100 (EST)
Received: from bdcxms.surfeu.com ([212.197.128.69]) by perki.connect.com.au with ESMTP
id BAA21376
(8.8.8/IDA-1.7 for <[EMAIL PROTECTED]>); Thu, 25 Jan 2001 01:22:24 +1100 (EST)
Received: by BDCXMS with Internet Mail Service (5.5.2653.19)
id <Z50XG82M>; Wed, 24 Jan 2001 15:22:24 +0100
Message-ID: <154050AB5198D311888F005004EC47FE7935F0@BDCXMS>
From: "Matis, Jan" <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: problems with accounting forwarding
Date: Wed, 24 Jan 2001 15:22:13 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
charset="iso-8859-1"
Hallo,
I have 2 radius processes on machine. (one for authentification and one for
accounting)
btw. Is that a good idea ? (to have 2 processes)
My problem is that accounting which I'm trying to send to the Extaccounting
doesn't work. External radius server doesn't receive accounting requests.
or receive, but only sometimes.
Jan
here is auth.conf:
AuthPort 31645
AcctPort
LogDir /disk3/logs/radius
DbDir /etc/radiator
PidFile /var/run/radiusd.pid
SocketQueueLength 100000
# load the clients
include %D/clients.cfg
<AuthBy FILE>
Identifier Defuser
Filename %D/defuser
</AuthBy>
<AuthBy SQL>
Identifier SqlPassword
DBSource dbi:mysql:host=xxxxxxxxxxxxxx;database=xxxxxxxxx
DBUsername xxxxxxxx
DBAuth xxxxxxxxxx
AuthSelect SELECT pw FROM user WHERE email='%n@xxxxxxxxxx'
</AuthBy>
<Realm DEFAULT>
AuthByPolicy ContinueWhileReject
AuthBy Defuser
AuthBy SqlPassword
AcctLogFileName
</Realm>
and here is acct.conf:
AuthPort
AcctPort 31646
LogDir /disk3/logs/radius
LogFile %L/accounting-logfile
DbDir /etc/radiator
PidFile /var/run/radiusd-acct.pid
# load the clients
include %D/clients.cfg
<AuthBy SQL>
Identifier Log
DBSource dbi:mysql:host=xxxxxxxxxxxxxxx;database=xxxxxxx
DBUsername xxxxxxxx
DBAuth xxxxxxxxxx
AuthSelect
AccountingStartsOnly
AcctSQLStatement UPDATE user SET lastlogin='%f-%g-%i %j:%k:%p' WHERE
email='%n@xxxxxxxxxx'
Timeout 180
FailureBackoffTime 300
</AuthBy>
<AuthBy RADIUS>
Identifier Extaccounting
Host xxxxxxxxxxxxxxx
Secret xxxxxxxxxx
NoForwardAuthentication
AcctPort 1813
RetryTimeout 15
</AuthBy>
<Realm DEFAULT>
AuthBy Log
AuthBy Extaccounting
AcctLogFileName %L/detail
</Realm>
mail from Extaccounting admin:
this ist what I got as last request:
-------------- snipp --------------------------
Cleaning up request ID 154 with timestamp 00000000
Nothing to do. Sleeping until we see a request.
rad_recv: Accounting-Request packet from host 212.197.144.34:1057, id=155,
lengt
h=96
User-Name = "dedo"
Service-Type = Framed-User
NAS-IP-Address = 203.63.154.1
NAS-Port-Id = 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
Attr-103 = ":n\3274"
preacct: Timeweb
accounting: Timeweb
IP: 0.0.0.0, CSI: , STATUS: 2, Identifier: 00:00:00:00:00:00
Sending Accounting-Response of id 155 to 212.197.144.34:1057
Finished request
Going to the next request
Nothing to do. Sleeping until we see a request.
-------------- snipp --------------------------
After that I do not receive any packets for 1 minute or longer.
Have you any idea?
-------------------------------------------------------
--
I am travelling at the moment, and there may be dalays in our correspondence.
Mike McCauley, Open System Consultants, [EMAIL PROTECTED], www.open.com.au
===
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.