Figured out
need username
and Nas-Port
 
P
----- Original Message -----
Sent: Thursday, February 24, 2005 9:29 AM
Subject: Bare Minimum Accounting Required

Hi
 
I am designing a perl script to read netflow data, and write the in and out octets to radius accounting (using radclient).
 
I get Accounting-Response packet when I do start acct.
but when I do stop acct, I do not get anything back, and it keeps on retrying to send.
 
I also do not get anything for the auth start in my log (using postgresql db), but with normal dialup server i get start &stop rec fine
 
What are the bare minumum I need to pass to get logged:
 
Thanks
Peter
 
[EMAIL PROTECTED] peter]# echo "User-Name = peter,Acct-Status-Type = Start,Acct-Session-Id = 00134537" | radclient 127.0.0.1:1646 acct testing123 -x
Sending Accounting-Request of id 40 to 127.0.0.1:1646
        User-Name = "peter"
        Acct-Status-Type = Start
        Acct-Session-Id = "00134537"
rad_recv: Accounting-Response packet from host 127.0.0.1:1646, id=40, length=20
[EMAIL PROTECTED] peter]# echo "User-Name = peter,Acct-Status-Type = Stop,Acct-Session-Id = 00134537" | radclient 127.0.0.1:1646 acct testing123 -x
Sending Accounting-Request of id 43 to 127.0.0.1:1646
        User-Name = "peter"
        Acct-Status-Type = Stop
        Acct-Session-Id = "00134537"
Re-sending Accounting-Request of id 43 to 127.0.0.1:1646
        User-Name = "peter"
        Acct-Status-Type = Stop
        Acct-Session-Id = "00134537"

--------------------------------------------------------------------------
The information transmitted is intended only for the person to whom it is 
addressed and may contain confidential and/or privileged material.

Although SCDS / Venturenet scans incoming and outgoing emails and email 
attachments for viruses we cannot guarantee a communication to be free of 
all viruses nor accept any responsibility for viruses. 

Although SCDS / Venturenet monitors incoming and outgoing emails for 
inappropriate content, we cannot be held responsible for the views or 
expressions of the author. 

The views expressed may not necessarily be those of SCDS / Venturenet and 
as such, cannot be held responsible for any loss or injury resulting from 
the contents of a message. 
--------------------------------------------------------------------------




No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 2005/02/22

--------------------------------------------------------------------------
The information transmitted is intended only for the person to whom it is
addressed and may contain confidential and/or privileged material.

Although SCDS / Venturenet scans incoming and outgoing emails and email
attachments for viruses we cannot guarantee a communication to be free of
all viruses nor accept any responsibility for viruses.

Although SCDS / Venturenet monitors incoming and outgoing emails for
inappropriate content, we cannot be held responsible for the views or
expressions of the author.

The views expressed may not necessarily be those of SCDS / Venturenet and
as such, cannot be held responsible for any loss or injury resulting from
the contents of a message.
--------------------------------------------------------------------------



Reply via email to