EFForg / OpenWireless

The official home of the EFF OpenWireless Project
Other
732 stars 80 forks source link

On dashboard page device counts under PrivateWiFi and LAN are not always correct. #273

Closed Rangak closed 9 years ago

Rangak commented 9 years ago

This was caused because count was based on information returned by iptaccount. Changed device count computation so it is based on dhcp lease information. DHCP leases have 24h lifetimes, so the count will tend to overestimate the number of devices actively connected to the router. Despite that use of DHCP lease information now provides a consistent meaning to the count. In the future look into estimating device count based on recent activity rather than DHCP lease information.