Combined 'detail' file
Kevin Kadow (kadokev@ripco.com)
Fri, 7 Feb 1997 23:33:31 -0600 (CST)
Lee Kuo wrote:
> Hey I followed your example there and it works great -- that is symbolic
> linking all the detail files into one. I am wondering about the
> Client-Port-Id = X, entry however. Currently, it will report the SX
> port that is being logged in. With 2+ portmasters, there probably be
> duplicates of these. Have you encountered any problems with this
> configuration? Thanks for any replies in advance.
The current version of RADIUS/ComOS logs 'NAS-IP-Address' which is the
address of the portmaster originating the accounting packet. If you're using
combined logfiles, you need to track this along with the port number.
In 'lineparser.pl', I combine this with the 'Acct-Session-Id' to get a unique
key for a specific session on a specific portmaster- handy for discarding
duplicate records. (Yes, sometimes it gets the same accounting packet twice).