coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
518 stars 260 forks source link

Duplicated Access-Request(s) from Coovachilli #411

Open attybro opened 6 years ago

attybro commented 6 years ago

Hi, I am facing a problem with Coovachilli 1.4. I am using freeRadius as Radius and it manages authorization-authentication-accounting. The problem is that Coovachilli sends multiple requests to the radius and il looks like it is not waiting the response (even if radius responds properly). So I find 2 Access-Request(s) and so also 2 Accounting-Request(s). These are some parts of the radius log where is possible to see the requests from Coovachilli. Is this a bug? Or is it possible to implement an interval between request?

This is the first Access-Request that is sent from Coovachilli

(4) Received Access-Request Id 4 from 10.0.14.89:3999 to 10.0.10.109:1812 length 260
(4)   CoovaChilli-Version = "1.4"
(4)   User-Name = “xxxx”
(4)   User-Password = “yyyy”
(4)   Service-Type = Framed-User
(4)   Acct-Session-Id = "5a32a90100000001"
(4)   Framed-IP-Address = 10.105.0.4
(4) Finished request

This is the second Access-Request that is sent from Coovachilli

(5) Received Access-Request Id 5 from 10.0.14.89:3999 to 10.0.10.109:1812 length 260
(5)   CoovaChilli-Version = "1.4"
(5)   User-Name = “xxxx”
(5)   User-Password = “yyyy”
(5)   Service-Type = Framed-User
(5)   Acct-Session-Id = "5a32a90100000001"
(5)   Framed-IP-Address = 10.105.0.4
(5) Finished request

This is the first Accounting-Request that is sent from Coovachilli

(6) Received Accounting-Request Id 6 from 10.0.14.89:3999 to 10.0.10.109:1813 length 215
(6)   CoovaChilli-Version = "1.4"
(6)   CoovaChilli-Acct-View-Point = CoovaChilli-Client-View-Point
(6)   Event-Timestamp = "Dec 14 2017 17:38:37 CET"
(6)   User-Name = "xxxx"
(6)   Acct-Status-Type = Start
(6) Finished request

This is the second Accounting-Request that is sent from Coovachilli

(7) Received Accounting-Request Id 7 from 10.0.14.89:3999 to 10.0.10.109:1813 length 215
(7)   CoovaChilli-Version = "1.4"
(7)   CoovaChilli-Acct-View-Point = CoovaChilli-Client-View-Point
(7)   Event-Timestamp = "Dec 14 2017 17:38:37 CET"
(7)   User-Name = "xxxx"
(7)   Acct-Status-Type = Start
(7) Finished request
SplashNets commented 6 years ago

Pretty sure this is a bad NAS implementation(Bug). I have seen this for a long time with coova and sadly still exists.

sjbeskur commented 5 years ago

Wondering if anyone has an update on this issue. Is it really a bug? It seems to manifest itself on larger networks leaving devices in a dnat state and the default bandwidth profile with no ability to pass traffic. I have not been able to duplicate the issue in a lab environment. @sevan, @wlanmac ?

xsh2047 commented 4 years ago

I'm experiencing the same issue. Any updates on this?

Gidro76 commented 2 years ago

has anyone been able to solve this problem? on version 1.5-4 the same problem

predators46 commented 1 year ago

@sevan

this problem still exists in version 1.6