Skip to content

[feature] Authorize view: allow receive called-station-id & calling-station-id, update Simultaneous-Use accordingly #648

@nemesifier

Description

@nemesifier

The authorize API view currently only accepts username and password.

It should also accept Calling-Station-Id and Called-Station-Id, which is a common attribute in RADIUS requests (typically the MAC address of the client device).

The change should be backward compatible: if Calling-Station-Id/Called-Station-Id are not provided, the API should continue to work as it does today.

We shall also modify the Simultaneous-Use check to exclude the current Calling-Station-Id/Called-Station-Id for counting open sessions (if the same client is trying to reauthenticate from the same client to the same NAS, we should not fail).

We'll need to update the installers to enable this:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    To do

    Status

    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions