Project

General

Profile

Actions

Bug #3369

closed

Captive vouchers expire too quickly

Added by Todor K almost 11 years ago. Updated over 8 years ago.

Status:
Not a Bug
Priority:
Normal
Category:
Captive Portal
Target version:
-
Start date:
12/18/2013
Due date:
% Done:

0%

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

Description

It happens that one week vouchers bagan to expire in less than 24h after their activation.
That's all I see in the logs:
Dec 11 09:10:06 logportalauth[27110]: FAILURE: f8336cb2, , x.x.x.x, voucher expired
Dec 11 09:10:06 logportalauth[27110]: f8336cb2 (0/223) already used and expired
Dec 10 17:23:58 logportalauth[43722]: TIMEOUT: f8336cb2
Dec 10 16:15:07 logportalauth[47535]: Voucher login good for 10080 min.: f8336cb2

There is also forum topic here http://forum.pfsense.org/index.php/topic,70292.0.html

I believe this is an important issue caused by typo or some other little thing messed in the code.

Actions #1

Updated by Ermal Luçi almost 11 years ago

  • Project changed from 3 to pfSense
Actions #2

Updated by Wolfgang Niggl over 10 years ago

I have the same problem. No solution or is it solved in 2.1.1 ?
Where in the code could be this bug?

Actions #3

Updated by Nick L over 10 years ago

Wolfgang Niggl wrote:

I have the same problem. No solution or is it solved in 2.1.1 ?
Where in the code could be this bug?

2.1.4 and the problem still exists..

Actions #4

Updated by maz nos over 10 years ago

I am facing same issue today
pfsense 2.1.3-RELEASE

Actions #5

Updated by maz nos over 10 years ago

I might found what is the reason behind force expire the active vouchers
in my case it is started exactly after I changed the download speed from captive portal.

Actions #6

Updated by maz nos over 10 years ago

Every time this issue occur, I find the following in the "Portal Auth" log:

Aug 14 20:14:45     logportalauth[23740]: FAILURE: 7, b8:a3:ef:ff:a0:ff, 10.0.10.245
Aug 14 20:14:49     logportalauth[23740]: CONCURRENT LOGIN - REUSING OLD SESSION: abc5899841, b8:a3:ef:ff:a0:ff, 10.0.10.245
Aug 14 20:14:49     logportalauth[23740]: Voucher login good for 43200 min.: abc5899841, b8:a3:ef:ff:a0:ff, 10.0.10.245
Actions #7

Updated by maz nos about 10 years ago

I have a ready virtualbox image with this bug affecting the system.

who wants to check it out?

Actions #8

Updated by Chris Buechler about 10 years ago

maz: if you can upload that image somewhere, I'll check it out.

Actions #9

Updated by maz nos about 10 years ago

Chris Buechler wrote:

maz: if you can upload that image somewhere, I'll check it out.

I will upload it ASAP as it is a bit big (92mb rar)

btw, it looks that it happens to roll #0.

Thanks Chris

Actions #10

Updated by maz nos about 10 years ago

I have sent you the link through your email Chris cmb(at)pfsense

please do not share the image publicly as its keys are in production.

regards

Actions #11

Updated by Chris Buechler about 10 years ago

  • Category set to Captive Portal

Thanks maz, got it. One follow-up question sent via email.

Actions #12

Updated by Chris Buechler about 10 years ago

  • Assignee set to Chris Buechler

mine for further testing when time permits

Actions #13

Updated by maz nos about 10 years ago

Chris Buechler wrote:

mine for further testing when time permits

good luck :)

Actions #14

Updated by Chris Buechler over 8 years ago

  • Status changed from New to Not a Bug
  • Priority changed from High to Normal
  • Affected Version deleted (2.1)

appears to be a date/time issue within the VM in this case

Actions

Also available in: Atom PDF