pf::Switch::Mikrotik
The pf::Switch::Mikrotik module manages access to Mikrotik APs
Should work on CAPsMAN enabled APs, tested on v6.18
Return the reference to the deauth technique or the default deauth technique.
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
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.
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
deauthenticate a MAC address from wireless network
Right now the only way to do it is from the CLI (through SSH).
Inverse inc. <info@inverse.ca>
Copyright (C) 2005-2015 Inverse inc.
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.