/bin/vmpsd_external.php/opt/nac/bin/vmpsd_external
Long description for file: FUNCTION: "external" program called by the vmps daemon "vmpsd". This program decides what to do, in real time, when access is requested by a Switch for a MAC address. Since its is real time perfomance is important, so some jobs such as document what was last seen, where, or recognising Infnet PCs, is done in the vmps_lastseen script, which is not real time.
Important: this script writes to stdout and is captured by vmpsd. So send debugging output to syslog, not stdout. Or just start directly from the commandline to check for classical PHP syntax problems. Do not log to the DB either (with log2db()), because this program can also run on a secondary and should NOT write to any other tables than vmpsauth, which is not replicated.
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.
require_once
("../lib/exceptions.php")
(line 64)
Load exceptions
require_once
("$policy_file")
(line 80)
Load the policy file
require_once
("./funcs.inc.php")
(line 69)
Load settings and common functions
Documentation generated on Mon, 06 Feb 2012 01:11:05 +0100 by phpDocumentor 1.4.0