File/bin/postconnect.php

Description

/opt/nac/bin/postconnect.php

Long description for file: FUNCTION:

  • Update the "last seen" entry for a specific MAC address.
  • If the system is new, insert new Users, Ports, Switches, System as appropriate
  • and send an email alert.
  • Automatically recognise and allow GWPs.
This function is called for any errors or messages sent to stdout/err. The idea is to catch all such messages and send them to syslog, this this is a daemon normally detached from the console

PHP version 5

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.

Includes
 require_once ("../lib/exceptions.php") (line 38)

Load exceptions

 require_once ("./funcs.inc.php") (line 41)
 require_once ("$policy_file") (line 51)

Load the policy file

Documentation generated on Mon, 06 Feb 2012 01:10:54 +0100 by phpDocumentor 1.4.0