Project

General

Profile

Actions

Bug #8807

closed

HA sync : files voucher_{$cpzone}.cfg and voucher_{$cpzone}.public are not created on save in /var/save when enabling vouchers on master.

Added by A FL about 6 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
Captive Portal
Target version:
Start date:
08/19/2018
Due date:
% Done:

100%

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

Description

When HA and vouchers are enabled, vouchers can't be used on the slave because the files used by /usr/local/bin/voucher are not created (despite public and private keys being trnsfered to the slave)

This has strong "side effects" on the slave :

  • When retriving a voucher roll, the generated CSV is empty on slave.
  • Also, testing a voucher from the "Status->CaptivePortal" page give "invalid magic !"
  • When vouchers do expire, slave does not consider the expiry
  • Users are not able to login from the slave.

Clicking on "save" on the slave voucher page solve this issue, but I think it would be better to automatically generate these two files on the slave when captiveportal sync is ensabled in System-> High Avaliablity settings

Actions #1

Updated by A FL about 6 years ago

Ooops

I meant these two files are not created on *salve in */var/etc

and also despite public and private keys being *transfered to the slave

Sorry for the mistake

Pull request : https://github.com/pfsense/pfsense/pull/4150

Actions #2

Updated by Jim Pingle over 4 years ago

  • Status changed from New to Pull Request Review
Actions #3

Updated by Renato Botelho over 4 years ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • Target version set to 2.5.0
  • % Done changed from 0 to 100

PR has been merged. Thanks!

Actions #4

Updated by Anonymous almost 4 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF