Module Finger

Imported modules

Class FingerProxy

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

Table 4-33. Attributes for class FingerProxy

max_hop_countthe maximum number of @ characters in the request
max_username_lengththe maximum length of the username part in the request
max_line_lengththe maximum number of characters in a single line
strict_username_checkif enabled usernames are checked strictly [a-zA-Z0-9_]

Constructor __init__

Initialize a FingerProxy instance.

Synopsis

__init__ ( self,  session )

Description

Create and set up a FingerProxy instance.

Arguments

Table 4-34. Arguments for FingerProxy.__init__()

selfthis instance
sessionsession this instance belongs to