Project

General

Profile

Actions

Bug #2957

closed

stop/start accounting Captive Portal

Added by Alberto Palau almost 11 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Captive Portal
Target version:
-
Start date:
04/19/2013
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:
amd64

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', '');

Actions #1

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.

Actions #2

Updated by Chris Buechler almost 10 years ago

  • Target version deleted (2.1)
Actions #3

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

Actions #4

Updated by Jim Pingle over 5 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF