Project

General

Profile

Actions

Bug #1317

closed

Voucher database synchronization

Added by Stefan baldus over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Captive Portal
Target version:
Start date:
03/02/2011
Due date:
% Done:

0%

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

Description

I have 2 pfsense, one in the DMZ and one in LAN.

The LAN manages the vouchers,
on the page -> status_captiveportal_test.php I did the test

LAN shows:
sjQKqhaQPY3 (1/16) good for 1440 Minutes
Access granted for 1440 Minutes in total.

DMZ shows:
sjQKqhaQPY3 (1/16) good for 1440 Minutes
Access granted for 1440 Minutes in total.

so far so good, but when I actually use the voucher over the pfsense in the DMZ I can see in the log:

DMZ
System log -> Captive Portal
logportalauth32176: Voucher login good for 1 min.: sjQKqhaQPY3, , ip_addr

log also shows this:
php: /index.php: CaptivePortalVoucherSync XMLRPC reload data success with http://LAN_IP_ADDR:8080:8080 (pfsense.exec_php).

My portal runs on 8080 (not 80) , I disabled https for now. Strange is, it shows the port nr twice. Not sure if this is just a log bug tho, as it seams to work correctly, except for the 1min duration instead of 1440.

any idear? The sync seams to work fine, but the time period seams odd to me. Also the user gets logged out after one minute, which is kinda to short of course

both boxes run the same Version

2.0-RC1 (i386)
built on Mon Feb 28 18:12:00 EST 2011

Actions

Also available in: Atom PDF