pf::vlan::filter - handle the authorization rules on the vlan attribution
pf::vlan::filter deny, rewrite role based on rules.
Test all the rules
Return the reference to the function that parses the rule.
Return the reference to the function that call the api.
evaluate action parameters
Matches the rule against a hash
Matches the rule against a value
Parse the node_info attribute and compare to the rule. If it matches then perform the action.
Parse the RADIUS request attribute and compare to the rule. If it matches then perform the action.
Parse the owner attribute and compare to the rule. If it matches then perform the action.
Parse the switch attribute and compare to the rule. If it matches then return true.
Parse the ifindex value and compare to the rule. If it matches then return true.
Parse the mac value and compare to the rule. If it matches then return.
Parse the connection_type value and compare to the rule. If it matches then return true.
Parse the username value and compare to the rule. If it matches then return true.
Parse the ssid valus and compare to the rule. If it matches then return true.
Check the current time and compare to the period
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.