Dear All,

Hi,

Today I am very happy because I am succeeded to test radiator, I dial
authenticate from radius (/etc/shadow)  and log  maintain on radius
server and also in oracle server.

It is working fine upto this ..

Now I have three problems

1-  I have user named saeed I wants to allocate him static IP e.g.
210.56.8.106
    each time whenever reconnects, he should got this IP. I have tried
but not succeeded.
    note: I am running radiator on solaris and use UNIX file /etc/shadow
for authentication.

2- For an other user login name is  sdtfg    I wants to maximum session
3 (concurrent login session)

3-  Please look into accounting logs

Thu Jun 17 14:49:00 1999
        NAS-IP-Address = 210.56.8.100
        NAS-Port = 9
        NAS-Port-Type = Async
        User-Name = "arsaeed"
        Acct-Status-Type = Stop
        Acct-Authentic = RADIUS
        Service-Type = Framed-User
        Acct-Session-Id = "00000033"
        Framed-Protocol = PPP
        Framed-IP-Address = 210.56.8.102
        Acct-Input-Octets = 2338
        Acct-Output-Octets = 151
        Acct-Input-Packets = 28
        Acct-Output-Packets = 7
        Acct-Session-Time = 43
        Acct-Delay-Time = 0
        Timestamp = 929648940

I am unable to understand Timestamp= 929648940
for billing purpuse wants to use header      Thu Jun 17 14:49:00 1999
how can I store "Thu Jun 17 14:49:00 1999"   in accounting table as time
stamp  ....?

Is it possible to maintain log in flate file as in TACACS+   ..?   for
example:

Thu Jun 17 20:32:00 1999        210.56.8.40     dailydin        Async13
async
start   task_id=1784    service=ppp
Thu Jun 17 20:32:02 1999        194.133.50.7    jilanee Async5  async/
start
task_id=944     timezone=UTC    service=ppp
Thu Jun 17 20:32:03 1999        210.56.8.40     dailydin        Async13
async
update  task_id=1784    service=ppp     protocol=ip
addr=210.56.9.106
Thu Jun 17 20:32:13 1999        210.56.8.39     erichbr Async12 async
stop
task_id=576     service=ppp     protocol=ip     addr=210.56.9.87
bytes_in
=102573 bytes_out=689177        paks_in=1720    paks_out=1825
elapsed_time=152
6


Note: I am using this radius.cfg file, Please guide me in
details.......  Advance Thanks.


# Set this to the directory where your logfile and details file are to
go
LogDir /var/log/radius
LogFile /var/log/%Y-radius.log
DbDir /usr/local/etc/raddb
<Client 210.56.8.100>
        Secret   comsatsinternet123
               DupInterval 0
</Client>
<Realm DEFAULT>
AuthByPolicy ContinueUntilAccept
 <AuthBy SQL>
  DBSource
dbi:Oracle:(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=211.26.18.24)(POR
T=1521))(CONNECT_DATA=(SID=orcl)))
  DBUsername     radiator
  DBAuth        rdffrss
  AuthSelect
  AccountingTable       ACCOUNTING
  AcctColumnDef USERNAME,User-Name
  AcctColumnDef TIME_STAMP,Timestamp,integer
  AcctColumnDef ACCTSTATUSTYPE,Acct-Status-Type
  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
  AcctColumnDef NASIDENTIFIER,NAS-Identifier
  AcctColumnDef NASPORT,NAS-Port,integer
  AcctColumnDef FRAMEDIPADDRESS,Framed-IP-Address
 </AuthBy>
        <AuthBy UNIX>
                Filename /etc/shadow
                AddToReply Service-Type = Framed-User,\
                        Framed-Protocol = PPP,\
                        Framed-IP-Netmask = 255.255.255.255,\
                        Framed-Routing = None,\
                        Framed-MTU = 1500,\
                        Framed-Compression = Van-Jacobson-TCP-IP
        </AuthBy>
        AcctLogFileName ./detail
</Realm>




Best Regards.

COMSATS Internet Servives





===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to