On Jan 23, 2007, at 8:06 AM, Daniel Stenberg wrote:

Hey

Since we're not yet having our own SSH test server, does anyone have any good idea on how to slow down the response/transfer from a SSH server? In order to try my non-blocking code really good, it would be nice to have a server that responds with only a few bytes/second so that almost every socket- reading call
would be affected...


At least on FreeBSD, and I am guessing similar can be done with Linux, you can use the firewall. Using "ipfw" and traffic shaping you could write rules to force a max data rate and/or delays. http:// www.freebsd.org/cgi/man.cgi? query=ipfw&apropos=0&sektion=0&manpath=FreeBSD+6.2- RELEASE&format=html#TRAFFIC+SHAPER

Jim

--

/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
 X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
[EMAIL PROTECTED]      http://www.FreeBSD.org     The Power to Serve
[EMAIL PROTECTED]  http://www.TheHousleys.net
---------------------------------------------------------------------
In theory there is no difference between theory and practice.
In practice there is no similarity.
      -- From the "I wish I'd said that" archives.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to