Project

General

Profile

Bug #9933

Captive Portal + Voucher not keeping auto-added "Pass-through MAC Auto Entry"

Added by Johan DEVELON 9 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Captive Portal
Target version:
Start date:
11/28/2019
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.4.4-p3
Affected Architecture:
All

Description

With Captive Portal, the "Enabled Pass-through MAC Auto Entry" should normally keep definitvly the MAC address into table. Regarding documentation there is only one way to delete it: manually.
But in version 2.4.4p3, the auto-added Mac is deleted in same time than Voucher expiration.

Correction find with Forum and Gertjan help.
https://forum.netgate.com/topic/148464/captive-portal-voucher-not-keeping-auto-added-pass-through-mac-auto-entry/4

the captiveportal.inc file , function captiveportal_prune_old_automac() has a block to remove MAC from list.

Solution:
Keeping log Voucher is expired, remove code about deleting rules and table auto-added line.

Also available in: Atom PDF