Package ioids :: Module snortdb_extension
[hide private]
[frames] | no frames]

Module snortdb_extension

source code

Provides functionality for accessing information from the IOIDS SnortDB extension.

Inter-Organisational Intrusion Detection System (IOIDS)


Author: Michael Pilgermann

Contact: mailto:mpilgerm@glam.ac.uk

License: GPL (General Public License)

Classes [hide private]
  SnortDBMessageWrapper
  SnortDB_DBConnector
Standard DB connector - work on XML RPC database.
  SnortDBPreXMLDictCreator
Functions [hide private]
SnortDBMessageWrapper
getMessageWrapper()
Singleton implementation.
source code
 
getDBConnector()
Singleton implementation.
source code
DataEngine
getPreXMLDictCreator()
Singleton implementation.
source code
Variables [hide private]
  _snortDBMessageWrapper = None
  _dbConnector = None
  _preXMLDictCreator = None
  DATATYPES = {'agent.agent_class_id': 'bigint', 'agent.agent_id...
Function Details [hide private]

getMessageWrapper()

source code 
Singleton implementation.
Returns: SnortDBMessageWrapper
The instance for the snort db message wrapper class

getPreXMLDictCreator()

source code 
Singleton implementation.
Returns: DataEngine
The instance for the data engine

Variables Details [hide private]

DATATYPES

Value:
{'agent.agent_class_id': 'bigint',
 'agent.agent_id': 'bigserial',
 'agent.agent_name': 'text',
 'agent.comp_id': 'bigint',
 'agent_class.agent_class_dscr': 'text',
 'agent_class.agent_class_id': 'serial',
 'agent_class.agent_class_name': 'varchar(3)',
 'comp_type.comp_type_id': 'serial',
...