[zorp-hu] packetStats()

Balazs Scheidler bazsi@balabit.hu
Mon, 11 Nov 2002 10:48:55 +0100


Sziasztok!

A 2-es zorpban atszerveztem a plug/pssl/pssl2 mukodeset, ezert a
packetStats() megvalositasa jelenlegi formaban nem trivialis, es egyszeru
kompatibilitasi okokbol nem szivesen raknam vissza.

A kerdes az, hogy kozuletek hasznalja-e valaki a Plug ill a Pssl packetStats
esemenyet. Emlekeztetokent a packetStats() leirasa:

        def packetStats(self, client_bytes, client_pkts, server_bytes, server_pkts):
                """Function called when the packet_stats_interval is elapsed.

                This function is called whenever the time interval elapses
                (or as currently implemented the given number of
                packets were transmitted). this event receives packet
                statistics as parameters.

                It's useful for terminating connections with excessive
                bandwidth requirements (for instance to limit the impact of
                the covert channel opened when using plug instead of a
                protocol specific proxy).
                

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1