Re: (RADIUS) radius detail file structure

Larry Halley (larry@richmond.net)
Thu, 16 Apr 1998 16:52:18 -0400

My logic is that I ignore all start records, the stop has everything you need
including stop time and seconds used (start=stop-timeused). I finally decided that
start records without stop records were meaningless so I just ditch them and write off
the loss. HOWEVER; maybe you can help me, I have a "sed" script in Unix that breaks
each stop record into a comma delimited file but my problem is that the input and
output octets are not always written to in the stop record. What ends up happening is
that my fields get all out of line. Does anyone have a suggestion for a fix?

Dick wrote:

> I have created programs to do billing with the detail file and I think
> that you can be sure that *if* you get a start and a stop record then you
> will always have the start first.
>
> The problem is not the order it is that you will find start without stop
> records and stop without start records. At least that is what we see. If
> someone knows for sure that the setup can cause this and that this is not
> always the case please let me know.
>
> On Thu, 16 Apr 1998, qcislands net gated newsgroup feed wrote:
>
> > I am writing a little routine to detail an individual port's activity;
> > something like:
> > session ID user name start time end time duration protocol term cause
> >
> > My question is, are the records for any given Port *always* sequential? That
> > is, is there ever a possibility that a start record for a port might PRECEED
> > the stop record for that same port from the previous session?
> >
> > If I can be assured that this could never happen it will simplify my program
> > logic.
> > --------------------------------------------------------------------------------
> > Jim Pazarena, webmaster - qcislands.net mailto:paz@qcislands.net
> > Box 550 - 405 2nd Avenue http://www.qcislands.net/paz
> > Queen Charlotte BC
> > CANADA V0T 1S0 (250) 559 4443
> >
> > -
> > To unsubscribe, email 'majordomo@livingston.com' with
> > 'unsubscribe portmaster-radius' in the body of the message.
> > Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>
> >
>
> Richard B. Stuplich
> President, DataWave Technologies
> ----------------------------------------------------------------------------
> DataWave, Wausau's first local ISP to have a direct connection to the
> midwest NAP, a full T1, high speed terminal servers, wireless connections,
> Frame Relay, ISDN, x2, k56Flex and all digital modem connections.
>
> Experience the integrity, innovation and dedication of DataWave 715-843-7823
> ----------------------------------------------------------------------------
>
> -
> To unsubscribe, email 'majordomo@livingston.com' with
> 'unsubscribe portmaster-radius' in the body of the message.
> Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>

-
To unsubscribe, email 'majordomo@livingston.com' with
'unsubscribe portmaster-radius' in the body of the message.
Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>