On Wed, 27 Aug 2003, Bob Riddle wrote:
I have a question related to running an iperf server. Suppose I want
to have a iperf server continously available for quick infrastructure
testing. Suppose I don't trust folks not to abuse this continously
running server ... suppose I don't want to honor any client request with
"-t" greater than ... a couple of seconds and any bandwidth test where
"-b" is greater than ... 12mbps ... is there any way I can ensure that
no matter what parms the iperf client chooses my iperf server won't go
beyond X seconds and Y bandwidth?
Well this is not really an easy request. First if you are using TCP there
is no way to limit speed on client or server side effectively. It would be
easy to react to the configuration parameters that are sent using the
newer code (post 1.7), but if you really do not trust folks to not edit
their source to abuse that as well then you could get in trouble. If the
clients are windows machines then you have no recourse because windows
does not properly listen to ICMP messages saying a UDP connection is
closed or not available. If any of these approaches sounds beneficial let
me know.
Kevin