On Wed, Oct 26, 2011 at 3:07 PM, tonimanel <antoniofernandez@fabergames.com> wrote:
Now, I don't have clear why configuring proxy.conf and implementing copy-acct-to-home-server, accounting packets have different times(I know that these are using different timestamp).
That's the way it is.
You have said that this is possible changing sql quieries, is not exist another solution for do that?
Short answer: unless your NAS sends Event-Timestamp, then no. Long answer: When a NAS sends Event-Timestamp, freeradius will use that as packet timestamp. You should get the same timestamp no matter how many tiimes the request is proxied. See https://github.com/alandekok/freeradius-server/commit/1fa94b7 When a NAS does NOT send Event-Timestamp, the only way to guess when the packet was first received is by using the current timestamp and Acct-Delay-Time. Current approach taken by the default sql queries (see sql/mysql/dialup.conf for example) is to record both attributes in different columns. If you don't like this you can change the query. -- Fajar