openssl/demos
Geoff Thorpe beb23252a6 Some minor changes to the "tunala" demo.
* Seal off some buffer functions so that only the higher-level IO functions
  are exposed.

* Using the above change to buffer, add support to tunala for displaying
  traffic totals when a tunnel closes. Useful in debugging and analysis -
  you get to see the total encrypted traffic versus the total tunneled
  traffic. This shows not only how much expansion your data suffers from
  SSL (a lot if you send/receive a few bytes at a time), but also the
  overhead of SSL handshaking relative to the payload sent through the
  tunnel. This is controlled by the "-out_totals" switch to tunala.

* Fix and tweak some bits in the README.

Eg. sample output of "-out_totals" from a tunnel client when tunneling a brief
"telnet" session.

Tunnel closing, traffic stats follow
    SSL (network) traffic to/from server;     7305 bytes in,     3475 bytes out
    tunnelled data to/from server;            4295 bytes in,      186 bytes out
2000-12-20 19:30:19 +00:00
..
asn1 Merge from the ASN1 branch of new ASN1 code 2000-12-08 19:09:35 +00:00
bio Rename SSLeay_add_all_algorithms() et al to 2000-02-04 14:01:38 +00:00
eay Updated some demos. 1999-05-27 23:52:31 +00:00
maurice Updated some demos. 1999-05-27 23:52:31 +00:00
pkcs12 Two new PKCS#12 demo programs. 2000-09-07 23:14:26 +00:00
prime Updated some demos. 1999-05-27 23:52:31 +00:00
sign Reformat and "modernise" the sign.c demo. 1999-06-09 23:33:48 +00:00
ssl John Denney <jdenney@ca.mdis.com> reports that we forgot to convert 2000-10-18 19:36:27 +00:00
state_machine Oops! Read a full buffer instead of some spurious number from elswhere. 2000-11-21 21:37:48 +00:00
tunala Some minor changes to the "tunala" demo. 2000-12-20 19:30:19 +00:00
b64.c There have been a number of complaints from a number of sources that names 2000-06-01 22:19:21 +00:00
b64.pl Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
privkey.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
README Submitted by: 1999-04-24 00:53:29 +00:00
selfsign.c Modernise 'selfsign.c' to use new X509_NAME code 2000-02-13 00:28:26 +00:00
spkigen.c Change #include filenames from <foo.h> to <openssl.h>. 1999-04-23 22:13:45 +00:00

NOTE: Don't expect any of these programs to work with current
OpenSSL releases, or even with later SSLeay releases.

Original README:
=============================================================================

Some demo programs sent to me by various people

eric