Captive Portal logging user twice
-
Hi folks!
Im using PF Release-1 as CP and a freeradius + mysql box to store users names, passwords and accounting logs.
Freeradius dialup-admin interface shows that user has 2 open sessions, what is weird ´cause username appears only 1 time in "Online Users" both in Diaulup-Admin and PFsense CP StatusChecking detail file in freeradius box I found out that PFsense is logging the user twice as logged below.
Two logs with same date occured at the same time.So, that´s the question:
Why Pfsense CP is logging users twice and sending this information to freeradius?
Thnx in advance
Thu Oct 26 15:41:52 2006
NAS-IP-Address = 192.168.253.2
NAS-Identifier = "pfsense.hnauth.net"
User-Name = "antonieta.s"
Acct-Status-Type = Start
Acct-Authentic = RADIUS
Service-Type = Login-User
NAS-Port-Type = Ethernet
NAS-Port = 12
Acct-Session-Id = "04c04ba7ca392f89"
Framed-IP-Address = 192.168.30.248
Called-Station-Id = "00:14:2a:1c:2a:c5"
Calling-Station-Id = ""
Client-IP-Address = 192.168.253.2
Acct-Unique-Session-Id = "b90a52bc33ecd8b1"
Timestamp = 1161888112Thu Oct 26 15:41:52 2006
NAS-IP-Address = 192.168.253.2
NAS-Identifier = "pfsense.hnauth.net"
User-Name = "antonieta.s"
Acct-Status-Type = Start
Acct-Authentic = RADIUS
Service-Type = Login-User
NAS-Port-Type = Ethernet
NAS-Port = 12
Acct-Session-Id = "04c04ba7ca392f89"
Framed-IP-Address = 192.168.30.248
Called-Station-Id = "00:14:2a:1c:2a:c5"
Calling-Station-Id = ""
Client-IP-Address = 192.168.253.2
Acct-Unique-Session-Id = "b90a52bc33ecd8b1"
Timestamp = 1161888112 -
if you look at Acct-Session-Id = "04c04ba7ca392f89" and at Acct-Unique-Session-Id = "b90a52bc33ecd8b1"
you see that it is the same request
that is resend -
thnx for replying jeroen234!!!
:)so… is it a normal action?
-
At least the radius server should not count it twice as it is a duplicate of the same information.
-
Hi all,
I'm facing the same problem as Richthofen. Does anyone know what could be the problem that causes the duplication and how to solve it?
Thanks in adv. :)
-
u only get a open session if the user chanches from ip
but normal this will will almost never happen -
Thanks for your reply. Sorry, but I don't quite get what you mean. My problem is that, the pfsense sent two similar accounting records to the Radius server eventhough only ONE user logged in. Is there a way to solve this?
Any help is appreciated, Thanks!
-
This probably is best adressed at the m0n0 mailinglist. The CP is just a port of their code. Please verify this behaviour with a recent m0n0 before posting there.