Table of contents Index

class FtpDataProxy - Proxy to be stacked into FTP data connections.

Declared in module Ftp

Inheritance hierarchy:

Ftp.FtpDataProxy
  Plug.PlugProxy

Synopsis

class FtpDataProxy(PlugProxy):
    def Ftp.FtpDataProxy.config(self)
    def Ftp.FtpDataProxy.shutDown(self)

    # Inherited from Zorp.ZorpProxy
    def Zorp.ZorpProxy.__init__(self, name, session_id, client_stream) # Initialize a low level proxy instance.

    # Inherited from Proxy.Proxy
    def Proxy.Proxy.__init__(self, name, session) # Initializes a Proxy instance.
    def Proxy.Proxy.addPolicy(self, klass) # Adds a policy to the proxy.
    def Proxy.Proxy.connectServer(self, host, port) # Callback method called when a connection established

    # Inherited from Plug.PlugProxy
    def Plug.PlugProxy.__init__(self, session) # Initialize a PlugProxy instance.
    def Plug.PlugProxy.requestStack(self) # Query if something is to be stacked into this plug.
    def Plug.PlugProxy.stackProxy(self, client_fd, server_fd) # Stack a proxy instance within this plug.

Description

This class ensures one way data connections by setting the appropriate copy_to_* variable in Plug.



Ftp.FtpDataProxy.config(self)

None



Ftp.FtpDataProxy.shutDown(self)

None


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