BasicPolicySample Policy File
This policy file allows access to known devices into the network and will place them in the global default vlan defined in the config table and accessible via the conf object. If an unknown device connects to the network, it will be denied.
Located in /etc/policy1.php (line 21)
Common | --Policy | --BasicPolicy
This function will provide an interface to change the current decision.
This can prove useful for hub detection tests. At the moment it doesn't do anything in particular, it is here only for completeness' sake.
The postconnect method is used by the postconnect daemon.
It updates information for PORTS and HOSTS This method writes to the database, so it shouldn't be called from a slave server.
The preconnect method is used by vmpsd_external.
Here we define how to handle devices with different status
This method logs to syslog the decision taken so far.
Inherited From Policy
Policy::postconnect()
Policy::preconnect()
Inherited From Common
Common::__construct()
Common::getConnection()
Common::htmlescape()
Common::log2db()
Common::real_escape_string1()
Common::sqlescape()
Documentation generated on Mon, 06 Oct 2008 01:10:36 +0200 by phpDocumentor 1.4.0