[Fwd: SSL encryption patch.]

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 02 Apr 2000 14:46:42 +0200

The following arrived some days ago on the development list.

--
Henrik Nordstrom
Squid hacker

attached mail follows:


Hi,

I've written a patch against squid 2.4-DEVEL2 that allows Squid to do SSL
encryption.

Why, you ask?

For http acceleration mode, mainly. We're using squid as a caching
accelerator for some work we're doing, where we wanted to be able to
offload the SSL encryption.

This required some messing about with some of the guts of squid. The
main change I made is that I added a read_method and a write_method
field to the fde struct, and changed all calls to read() and write() to
calls to those methods. Then I overrode the methods for the SSL case.

The patch is available at:
        http://netizen.com.au/~benno/squid-ssl-patch.tar.gz

It requires OpenSSL 0.9.4 or later to build.

All comments, criticisms and the like appreciated.

-- 
Benno Rice                                      "No, no. We're *sweet* and
XNFP Aries Dark Subculture-                      *innocent* evil bastards."
friendly Internet Geek
benno@netizen.com.au                                      "Defend your joy"
Received on Mon Apr 03 2000 - 09:43:21 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:38 MST