Table of contents Index
class FingerProxy - Wrapper class for the Finger protocol proxy implemented by Zorp.
Declared in module Finger
Inheritance hierarchy:
Finger.FingerProxy
Proxy.Proxy
Synopsis
class FingerProxy(Proxy):
def Finger.FingerProxy.__init__(self, session) # Initialize a FingerProxy instance.
# 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
Description
This proxy implements the finger protocol as specified in rfc1288.
Usage
You can limit username length and response length by setting
various attributes. Finger proxy also has the capability
of limiting the number of hosts in a request, like:
finger bazsi@balabit@tudor which normally results in fingering bazsi@tudor performed by
the host balabit. By default this proxy strips off everything
after and including the first `@' character, you can change
this behaviour by setting max_hop_count to a nonzero value.
Attributes:
-
max_hop_count
- max_username_length --
max_line_length --
strict_username_check -
-
max_username_length
- max_line_length --
strict_username_check -
-
max_line_length
- strict_username_check --
Finger.FingerProxy.__init__(self, session)
Initialize a FingerProxy instance.
- self
- this instance
- session
- session this instance belongs to
Create and set up a FingerProxy instance.
Copyright © 2000 BalaBit IT Ltd.
Written by: Balázs Scheidler