Yang Tse
ed2aa87e63
Set socket option SO_REUSEADDR=true on stunnel accept'ing port
2009-12-01 15:36:34 +00:00
Yang Tse
1fc32d866a
Use different log files for each protocol
2009-11-28 05:06:19 +00:00
Yang Tse
a240f4d1df
Attempt to enhance stunnel 3.X logging
2009-11-27 19:52:56 +00:00
Yang Tse
6f273b1a5f
Prevent running stunnel unless its version can be determined.
2009-11-27 13:01:10 +00:00
Yang Tse
c713627412
To allow remote log inspection avoid redirecting messages to stderr.
...
Set 0600 file permissions on certificate pem files.
2009-11-27 12:00:53 +00:00
Yang Tse
9cbf69ca0b
Log info for start up failures.
2009-11-26 22:07:47 +00:00
Daniel Stenberg
b96f11f7ec
comment the "stunnel exited with [num]" stuff since this is now happen
...
in normal tests and is annoying
2009-09-01 17:05:24 +00:00
Daniel Stenberg
e73fe837a8
- Peter Sylvester made the HTTPS test server use specific certificates for
...
each test, so that the test suite can now be used to actually test the
verification of cert names etc. This made an error show up in the OpenSSL-
specific code where it would attempt to match the CN field even if a
subjectAltName exists that doesn't match. This is now fixed and verified
in test 311.
2009-08-11 21:48:58 +00:00
Yang Tse
aa330b8240
improve stunnel version detection
2009-04-13 03:47:16 +00:00
Dan Fandrich
9cd30c2012
Use getcwd() to get the directory, which works even if one of the directory
...
components doesn't have read permission set.
2007-12-22 18:25:43 +00:00
Yang Tse
9b86eecb94
Fix trying to return outside of a subroutine
2007-11-21 17:50:30 +00:00
Dan Fandrich
1bfa7dfe39
Added test infrastructure to support basic FTPS tests. This currently
...
supports only ftps:// URLs with --ftp-ssl-control specified, which
implicitly encrypts the control channel but not the data channels. That
allows stunnel to be used with an unmodified ftp server in exactly the
same way that the test https server is set up.
Added test case 400 as a basic FTPS test.
2007-03-08 02:38:49 +00:00
Dan Fandrich
cd6c58216a
Use /usr/bin/env to invoke perl like the other test scripts.
2006-08-23 21:20:00 +00:00
Daniel Stenberg
c212ebbdda
output the exit code from stunnel to stderr in case it is non-zero
2006-04-10 13:10:25 +00:00
Daniel Stenberg
0334509754
Stop using stunnel.pm, we pass in the path from the main script instead.
...
Also made it easier to stop the test suite with control-c.
2003-10-29 16:27:43 +00:00
Daniel Stenberg
8b0668b99e
skip the chmod
2003-01-21 15:09:20 +00:00
Daniel Stenberg
5796a1b282
runtests.pl now passes the sourcedir path to the httpsserver.pl script
2003-01-21 10:14:25 +00:00
Daniel Stenberg
c27c9f80d2
kromJx@crosswinds.net made it run properly with stunnel >=4.0
2002-10-23 14:07:34 +00:00
Daniel Stenberg
822f02313d
changed the PEM path
2001-09-17 08:41:01 +00:00
Daniel Stenberg
4ddb3fbbf4
new tests, new server invoke system
2001-04-24 21:09:53 +00:00