Project

General

Profile

Actions

Bug #3814

closed

Multiple devices with same MAC, each assigned DHCP-IP-add & a limiter queue

Added by Ashfaq Ali about 11 years ago. Updated about 11 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Captive Portal
Target version:
-
Start date:
08/19/2014
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1.x
Affected Architecture:

Description

Hi,
recently while trying to create a hotsopt i end up with the following problem. a related thread in forums is at:
https://forum.pfsense.org/index.php?topic=80237.msg437605

(*)Setup:
PfSense with captive portal and freeradius. a main access-point (tp-link TL-WA901ND) is connected to an interface (named PUBLIC) in access-point mode with no security(open access). another router (tp-link TL-WR740N) is connected to the main access-point as in wireless bridge with WDS enabled.

each devices that ends up at captive portal is authenticated by freeradius by its MAC address and given access. a limiter assigned to the PUBLIC interface distributes bandwidth equally to all devices.

(*)Issue:
Access-request packets recvd by freeradius from any device that connects from behind the WDS-bridged-router has the same MAC address, i.e. the MAC address of the WDS-bridged-router. so they are authenticated by freeradius, while each device is assigned a seperate session, IP & limiter queue in PfSense.

so instead of a single access given per MAC we give access to multiple devices, without any control over it.

(*) what it should be (in my opinion):
one of the following should be the behavior of pfsense:
(a) if pfsense is considering each device as seperate and assigning different session to each then it should forward the device's MAC to radius in access-request.
(b) if same MAC is provided for each device then pfsense should consider it a single session and thus assign a single IP, queue, bandwidth etc to ALL the devices behind the WDS-bridged-router.

captive portal snapshot file is attached.

Regards
Ashfaq


Files

captive-portal.jpg (37.9 KB) captive-portal.jpg multiple sessions against a single MAC Ashfaq Ali, 08/19/2014 06:43 AM
Actions #1

Updated by Chris Buechler about 11 years ago

  • Status changed from New to Rejected

There isn't a bug here, your wireless bridge is doing MAC translation, so you have to disable MAC filtering. Everything described as "should be" is how things actually work.

Actions #2

Updated by Ashfaq Ali about 11 years ago

Thanks Chris for the clarification,
initially i thought so as well for this to a problem in the wireless bridge(TL-WA740N). but then the reason i put it up as a bug is the fact that this bridge device is not in my control, and since anyone can just use one to misuse the MAC-based-authentication-system there must be something that we (pfsense) can do to take things back in our control.

one question though:
this MAC filtering thing u asked me to disable, is it part of PfSense ?? or is it suppose to be in the wireless-bridge device ?

Thanks again.

Actions

Also available in: Atom PDF