John Townsend wrote:
> 
> I'm looking for a basic HTTPS client program that will compile and run under NT
> (preferably with VC++).  If it can just GET a page from a named HTTPS server
> with authentication and echo it to standard output, that would be perfect.  I've
> looked at several examples already (including the ssl/cli.cpp and bio/sconnect.c
> examples in the OpenSSL distribution and the SSL gadget at Darkspell), but
> haven't quite found what I'm looking for.  The biggest problem is probably that
> I'm a UNIX programmer, not an NT programmer, and am having various problems
> getting some of these to port.  If someone could send or direct me to a better
> example, I'd be most grateful.  Thanks!

Our group has written an SSL based client which we heavily use
in stress testing HTTPS as well as HTTP servers. This client is
implemented in C on RHLinux 6.1. You may have to modify the part
which uses pthreads and make it use WinThreads. I don't think this
would take lot of time/effort.
This client can simulate any number of test clients which you
want. You need to supply it a file containing all the URLs to be
fetched from the web server. Following options can be provided to
this tool from command line:

-a retries      No. of times connects are retried before giving up
-b buffer_size  I/O buffer size in KB
-c cipher_suite cipher suite to use
-d MIN:MAX      Random delay in milliseconds between successive 
                requests with min and max in milliseconds
-e loglevel     Logging level : Default -None, 1 - data, 2 - SSL
-f script_file  file containing URLs to be fetched
-h              Prints this help
-i iterations   number of iterations per client
-j              establish sessions without any data transfer
-l log_file     file in which logs are to be dumped
-n numClients   Number of concurrent clients to be activated
-p port         Port number of the server
-r              reuse the session ID for one set of requests
-s IPAddress    IP address of the server
-t bandwidth    Bandwidth throttling in KBPS
-v              turn the client verification ON
-u              Plain HTTP connection, SSL is not used

Let me know if you are interested in using this tool, we would
be happy to release this tool under GPL.

-- 

Bye
Shridhar.
--------------------------------------------------------------------
Shridhar Bhat.                                 [EMAIL PROTECTED]
PSPL,"Panini", 2A Senapati Bapat Rd.,Pune -16  Tel: 5676700 #ext 561
--------------------------------------------------------------------
Quote for the day:
McLaughlin's Law
The length of any meeting is inversely proportional to the length of 
the agenda for that meeting.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to