Table of contents Index

Module Proxy

class DatagramProxy(ZorpProxy) # Base class for datagram based protocols.
class Proxy(ZorpProxy) # Base class for the proxies.
def proxyLog(self, type, level, msg) #  Log a proxy message.
string AuthException = 'Authenticated failed'
string DACException = 'DAC policy violation'
int FALSE = 0
string InternalError = 'Internal error occured'
string MACException = 'MAC policy violation'
string ServiceException = 'Service'
int TRUE = 1
int Z_ACCEPT = 1
int Z_CRITICAL = 8
int Z_DEBUG = 128
int Z_DENY = 2
int Z_ERROR = 4
int Z_INFO = 64
int Z_MESSAGE = 32
int Z_REJECT = 3
int Z_UNSPEC = 0
int Z_WARNING = 16
string ZoneException = 'Zone not found'
string __file__ = './Proxy.py'
string firewall_name = 'zorp'
dictionary settings = {}
list zones = []


proxyLog(self, type, level, msg)

Log a proxy message.

self
should be a Proxy derivative
type
log class
level
message verbosity level
msg
msg to log

Log messages about proxies. Automatically put session_id into each message.


Copyright © 2000 BalaBit IT Ltd.
Written by: Balázs Scheidler