Table of contents Index

Module Ftp

class FtpDataConnect # Helper class for FtpProxy to build data connections.
class FtpDataProxy(PlugProxy) # Proxy to be stacked into FTP data connections.
class FtpProxy(Proxy) # Wrapper class for the FTP proxy built in Zorp.
class FtpProxyAllow(FtpProxy) # An ftp proxy which allows everything, even unknown commands.
class FtpProxyMinimal(FtpProxy) # An FTP proxy which allows minimal set of commands
string AuthException = 'Authenticated failed'
string DACException = 'DAC policy violation'
int FALSE = 0
int FTP_ANS_ABORT = 3
int FTP_ANS_ACCEPT = 1
int FTP_ANS_CHANGE = 4
int FTP_ANS_POLICY = 2
int FTP_CMD_ABORT = 3
int FTP_CMD_ACCEPT = 1
int FTP_CMD_DENY = 0
int FTP_CMD_POLICY = 2
int FTP_DATA_ACTIVE = 2
int FTP_DATA_KEEP = 0
int FTP_DATA_PASSIVE = 1
string FTP_DEBUG = 'ftp.debug'
string FTP_ERROR = 'ftp.error'
string FTP_POLICY = 'ftp.policy'
int FTP_SIDE_CLIENT = 0
int FTP_SIDE_SERVER = 1
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__ = './Ftp.py'
string firewall_name = 'zorp'
dictionary settings = {}
list zones = []

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