from Proxy import Proxy
Module defining classes encapsulating native proxies.
from Zorp import *
Module defining global constants, and interface entry points to the Zorp core.
This proxy implements the finger protocol as specified in rfc1288.
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.
Table 4-33. Attributes for class FingerProxy
max_hop_count | the maximum number of @ characters in the request |
max_username_length | the maximum length of the username part in the request |
max_line_length | the maximum number of characters in a single line |
strict_username_check | if enabled usernames are checked strictly [a-zA-Z0-9_] |
Initialize a FingerProxy instance.
__init__ ( self, session ) |
Create and set up a FingerProxy instance.
Table 4-34. Arguments for FingerProxy.__init__()
self | this instance |
session | session this instance belongs to |