Captive Portal idle timeout is not functioning
CP's idle timeout isn't working on 2.0, as stated in the thread above. The following error shows up in the system logs:
php: /services_captiveportal.php: The command '/sbin/ipfw -f delete set 1' returned exit code '69', the output was 'ipfw: rule 16777217: setsockopt(IP_FW_DEL): Invalid argument'
Possibly related, the last activity time is shown as before the session start time.
#2 Updated by Abdsalem Chaoui over 9 years ago
Hi Ermal, Ive tested again with fresh install on a different box, I used a snapshot from 20 apr and gitsyncd from that point onwards.
I can reproduce the same symptoms on this new box.
1. CP user logs in
2. I check Status > CP status page (start time column shows correct time logged in)
3. Clicking on the "show last activity" button on the same page reveals the incorrect timestamp for "last activity".
IP address MAC address Username Session start Last activity 10.0.5.150 00:1d:72:xx:xx:xx test 04/21/2010 16:38:12 04/21/2010 16:17:08
It appears to me that the "last activity" column is showing the system uptime instead of the users last activity.
The contents of captiveportal.db if that helps
Im not sure what other information I can provide to help you pinpoint the error, just let me know and Ill be happy to assist.