<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<STYLE type=text/css>DIV {
MARGIN: 0px
}
</STYLE>
<META name=GENERATOR content="MSHTML 8.00.6001.19019"></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>It sounds like the original request "<FONT size=3
face="Times New Roman">I need to add the time spend for a particular Flow to a
Logfile" wants to track the 'login time' in milliseconds. I suppose one
could track the time from receiving the original request to sending the
authentication - or receiving the accounting packet after authentication..
but I seriously doubt the added granularity would have any real meaning.
</FONT></FONT><FONT size=2 face=Arial>(References gettimeofday(2) for the
seriously nerdy)</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Sounds like you'd need to write your own additions
to FreeRadius and submit them as an enhancement. (I doubt the result would
be worth the effort.)</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Cheers,</FONT></DIV>
<DIV><FONT size=2 face=Arial>-craig</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=ramon@rcastillo.net href="mailto:ramon@rcastillo.net">Ramon J.
Castillo</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeradius-users@lists.freeradius.org
href="mailto:freeradius-users@lists.freeradius.org">FreeRadius users mailing
list</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, February 09, 2011 8:40
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: How to get fractions of
seconds?</DIV>
<DIV><BR></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt">
<DIV><FONT class=Apple-style-span size=2 face="arial, helvetica, sans-serif">I
see it useful too, when specifying for example "response_window" that
instead of be 1 "One second" could be 1200 as in "twelve
hundred milliseconds".</FONT></DIV>
<DIV><FONT class=Apple-style-span size=2
face="arial, helvetica, sans-serif"> I have found some devices that time
out in 3 seconds , in these cases you still want to retry at least once . Of
course here the network delay is kept under 300 milliseconds
end to end.</FONT></DIV>
<DIV
style="FONT-FAMILY: arial, helvetica, sans-serif; COLOR: black; FONT-SIZE: 10pt"><BR>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px"><FONT
size=2 face=Tahoma>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Alan DeKok
<aland@deployingradius.com><BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B> FreeRadius users mailing list
<freeradius-users@lists.freeradius.org><BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wed, February 9, 2011 11:38:11
AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: How to get
fractions of seconds?<BR></FONT><BR>Stefan A. wrote:<BR>> Best would be to
have something like '%l', but in a resolution of<BR>>
milliseconds.<BR><BR> This is impossible.<BR><BR> The dates and
elapsed times in RADIUS have a resolution down to one<BR>second, but no
more.<BR><BR> It's possible to "fake" adding milliseconds, but they will
bear little<BR>relation to the actual session times. Network delays,
processing<BR>delays, etc. will all affect the results.<BR><BR> Alan
DeKok.<BR>-<BR><SPAN>List info/subscribe/unsubscribe? See <A
href="http://www.freeradius.org/list/users.html"
target=_blank>http://www.freeradius.org/list/users.html</A></SPAN><BR></DIV></DIV>
<DIV
style="POSITION: fixed; FONT-FAMILY: arial, helvetica, sans-serif; COLOR: black; FONT-SIZE: 10pt"></DIV></DIV><BR><BR>__________
Information from ESET Smart Security, version of virus signature database 5858
(20110209) __________<BR><BR>The message was checked by ESET Smart
Security.<BR><BR><A href="http://www.eset.com">http://www.eset.com</A><BR>
<P>
<HR>
<P></P>-<BR>List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html<BR><BR><BR>__________ Information
from ESET Smart Security, version of virus signature database 5858 (20110209)
__________<BR><BR>The message was checked by ESET Smart
Security.<BR><BR>http://www.eset.com<BR><BR></BLOCKQUOTE><BR>
<BR>
__________ Information from ESET Smart Security, version of virus signature database 5859 (20110209) __________<BR>
<BR>
The message was checked by ESET Smart Security.<BR>
<BR>
<A HREF="http://www.eset.com">http://www.eset.com</A><BR>
</BODY></HTML>