Bug #2957
closedstop/start accounting Captive Portal
0%
Description
I have encountered the following problem: the captive portal always sends the same number of bytes in each session when configured with stop / start accounting and the acctsessiontime, I mean version 2.1 BETA 1, the radius log reports me the following: Error : rlm_radutmp: Logout for NAS captivateportal port 2001, but no Login record
The architecture with which work is AMD64.
I would appreciate your prompt help to solve the problem. thanks
`radacct` VALUES ('705', 'cd5f5609dbd06648', '', 'prueba', '', '', '172.23.2.6', '2001', 'Ethernet', '2013-04-19 21:29:05', '2013-04-19 22:10:48', '2503', 'RADIUS', '', '', '122810', '1155611', '172.23.2.6', '00:13:72:3f:27:6a', 'NAS-Request', '', '', '172.23.2.3', '0', '0', '');
`radacct` VALUES ('706', 'cd5f5609dbd06648', '', 'prueba', '', '', '172.23.2.6', '2001', 'Ethernet', '2013-04-19 21:29:28', '2013-04-19 22:10:48', '2503', 'RADIUS', '', '', '122810', '1155611', '172.23.2.6', '00:13:72:3f:27:6a', 'NAS-Request', '', '', '172.23.2.3', '0', '0', '');
`radacct` VALUES ('707', 'cd5f5609dbd06648', '', 'prueba', '', '', '172.23.2.6', '2001', 'Ethernet', '2013-04-19 21:30:29', '2013-04-19 22:10:48', '2503', 'RADIUS', '', '', '122810', '1155611', '172.23.2.6', '00:13:72:3f:27:6a', 'NAS-Request', '', '', '172.23.2.3', '0', '0', '');
`radacct` VALUES ('708', 'cd5f5609dbd06648', '', 'prueba', '', '', '172.23.2.6', '2001', 'Ethernet', '2013-04-19 21:31:29', '2013-04-19 22:10:48', '2503', 'RADIUS', '', '', '122810', '1155611', '172.23.2.6', '00:13:72:3f:27:6a', 'NAS-Request', '', '', '172.23.2.3', '0', '0', '');
`radacct` VALUES ('709', 'cd5f5609dbd06648', '', 'prueba', '', '', '172.23.2.6', '2001', 'Ethernet', '2013-04-19 21:32:30', '2013-04-19 22:10:48', '2503', 'RADIUS', '', '', '122810', '1155611', '172.23.2.6', '00:13:72:3f:27:6a', 'NAS-Request', '', '', '172.23.2.3', '0', '0', '');
`radacct` VALUES ('710', 'cd5f5609dbd06648', '', 'prueba', '', '', '172.23.2.6', '2001', 'Ethernet', '2013-04-19 21:33:30', '2013-04-19 22:10:48', '2503', 'RADIUS', '', '', '122810', '1155611', '172.23.2.6', '00:13:72:3f:27:6a', 'NAS-Request', '', '', '172.23.2.3', '0', '0', '');
`radacct` VALUES ('711', 'cd5f5609dbd06648', '', 'prueba', '', '', '172.23.2.6', '2001', 'Ethernet', '2013-04-19 21:34:31', '2013-04-19 22:10:48', '2503', 'RADIUS', '', '', '122810', '1155611', '172.23.2.6', '00:13:72:3f:27:6a', 'NAS-Request', '', '', '172.23.2.3', '0', '0', '');
`radacct` VALUES ('712', 'cd5f5609dbd06648', '', 'prueba', '', '', '172.23.2.6', '2001', 'Ethernet', '2013-04-19 21:35:31', '2013-04-19 22:10:48', '2503', 'RADIUS', '', '', '122810', '1155611', '172.23.2.6', '00:13:72:3f:27:6a', 'NAS-Request', '', '', '172.23.2.3', '0', '0', '');
`radacct` VALUES ('713', 'cd5f5609dbd06648', '', 'prueba', '', '', '172.23.2.6', '2001', 'Ethernet', '2013-04-19 21:36:32', '2013-04-19 22:10:48', '2503', 'RADIUS', '', '', '122810', '1155611', '172.23.2.6', '00:13:72:3f:27:6a', 'NAS-Request', '', '', '172.23.2.3', '0', '0', '');
Updated by Chris Buechler almost 11 years ago
- Project changed from pfSense Packages to pfSense
- Subject changed from stop/start accounting Captive Portal + Freeradius2 + MYSQL PROBLEM to stop/start accounting Captive Portal
- Category set to Captive Portal
- Priority changed from Urgent to Normal
looks like a potential CP issue so updating accordingly.
Updated by A FL over 5 years ago
This Bug has been resolved in https://github.com/pfsense/pfsense/commit/ab225849ced6756452b0244abb9d42db4830b68f
And https://github.com/pfsense/pfsense/pull/2487
Root cause of this issue : Accounting-start request has been recieved before Accounting-stop request (see #2164 for details)
+
An error in captiveportal_prune_old () that caused stop time to be incorrect