pf::Switch::Cisco::Catalyst_2960_http - Object oriented module to parse and manage Catalyst 2960 with http redirect
Developped and tested on IOS 15.0(2)SE5
Called when a ReAssignVlan trap is received for a switch-port in Wired MAC Authentication.
This is called when we receive a http request from the device and return specific attributes:
client mac address SSID client ip address redirect url grant url status code
What RADIUS Attribute (usually VSA) should the role returned into.
Overide to support the captive portal special RADIUS accept
Sends a RADIUS Disconnect-Request to the NAS with the MAC as the Calling-Station-Id to disconnect.
Optionally you can provide other attributes as an hashref.
Uses pf::util::radius for the low-level RADIUS stuff.
Redefinition of pf::Switch::parseRequest due to specific attribute being used for webauth
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.