<<

NAME

pf::vlan::filter - handle the authorization rules on the vlan attribution

DESCRIPTION

pf::vlan::filter deny, rewrite role based on rules.

SUBROUTINES

new
test

Test all the rules

dispatchRule

Return the reference to the function that parses the rule.

dispatchAction

Return the reference to the function that call the api.

evalParam

evaluate action parameters

_match_rule_against_hash

Matches the rule against a hash

_match_rule_against_value

Matches the rule against a value

node_info_parser

Parse the node_info attribute and compare to the rule. If it matches then perform the action.

radius_parser

Parse the RADIUS request attribute and compare to the rule. If it matches then perform the action.

owner_parser

Parse the owner attribute and compare to the rule. If it matches then perform the action.

switch_parser

Parse the switch attribute and compare to the rule. If it matches then return true.

ifindex_parser

Parse the ifindex value and compare to the rule. If it matches then return true.

mac_parser

Parse the mac value and compare to the rule. If it matches then return.

connection_type_parser

Parse the connection_type value and compare to the rule. If it matches then return true.

username_parser

Parse the username value and compare to the rule. If it matches then return true.

ssid_parser

Parse the ssid valus and compare to the rule. If it matches then return true.

time_parser

Check the current time and compare to the period

readVlanFiltersFile - vlan_filters.conf

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.

<<