<<

NAME

pf::Switch::Mikrotik

SYNOPSIS

The pf::Switch::Mikrotik module manages access to Mikrotik APs

STATUS

Should work on CAPsMAN enabled APs, tested on v6.18

SUBROUTINES

getVersion - obtain image version information from switch
deauthTechniques

Return the reference to the deauth technique or the default deauth technique.

deauthenticateMacDefault

De-authenticate a MAC address from wireless network (including 802.1x).

New implementation using RADIUS Disconnect-Request.

This method has been kept since we will probably use this deauth method in the future

radiusDisconnect

Sends a RADIUS Disconnect-Request to the NAS with the MAC as the Calling-Station-Id to disconnect.

Has been tested with 6.18 Mikrotik OS version and doesn´t work yet

Uses pf::util::radius for the low-level RADIUS stuff.

returnRadiusAccessAccept

Overloading pf::Switch's implementation because Mikrotik have his own radius attributes.

Don't forget to fill /usr/share/freeradius/dictionary.mikrotik with the following attributes:

ATTRIBUTE Mikrotik-Wireless-VlanID 26 integer ATTRIBUTE Mikrotik-Wireless-VlanIDType 27 integer

deauthenticateMacSSH

deauthenticate a MAC address from wireless network

Right now the only way to do it is from the CLI (through SSH).

AUTHOR

Inverse inc. <info@inverse.ca>

COPYRIGHT

Copyright (C) 2005-2015 Inverse inc.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

<<