Project

General

Profile

Actions

Bug #7813

closed

Missing download statistics on captive portal with MAC filtering enabled

Added by Caio Plumbeo over 6 years ago. Updated over 6 years ago.

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

100%

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

Description

I'm testing the captive portal on 2.4 RC (updated to today) and I noticed that when MAC filtering is enabled the bytes received count is always 0. It works as expected when MAC filtering is disabled.

Inspecting the ipfw tables on the firewall shows:

--- table(test_auth_up), set(0) ---
10.0.0.11/32 08:00:27:bd:f8:bc 2208 2804 337280 1503655700
10.0.0.12/32 08:00:27:af:77:0c 2210 21611 2902308 1503662597

--- table(test_auth_down), set(0) ---
10.0.0.11/32 08:00:27:bd:f8:bc 2209 0 0 0
10.0.0.12/32 08:00:27:af:77:0c 2211 0 0 0

FWIW, reapplying 5f6825bbac6373a909651c90e8ca268242f6eedc ("Do not associate IP and MAC on down table"), which was reverted in e14c441bf9e1c922001180ff6cc02e0b4ef91723 ("Make rules that deal with IP+MAC pairs to be layer2 only") seems to fix the issue.

Actions

Also available in: Atom PDF