[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tpop3d-discuss] tpop3d w/TLS
From: |
Ben Schumacher |
Subject: |
Re: [tpop3d-discuss] tpop3d w/TLS |
Date: |
Fri, 2 Nov 2001 11:49:10 -0700 (MST) |
Chris-
Here is the patch. I tried to cleanup the code a little bit, but it could
probably use some more work. I tried to make sure that everything that
was necessary only for use with SSL/TLS is wrapped in #ifdef's, but I
might have missed something.
The only gotcha is that since OpenSSL has builtin MD5 support, I had to
disable the bundled md5 code in tpop3d.
Let me know if you have any questions.
Ben
On Thu, 1 Nov 2001, Chris Lightfoot wrote:
> On Thu, Nov 01, 2001 at 10:57:50AM -0700, Ben Schumacher wrote:
> > After a couple late nights of hacking and a lot of beating my head against
> > the wall, I got TLS working with tpop3d. Right now, it only support STLS
> > -- starting TLS after an unencrypted connection has already been
> > established on 110 -- but I think it would be pretty simple to get it to
> > support pop3s, or SSL to start with over port 995.
> >
> > The code probably needs some cleanup and sanity checking, but I used
> > OpenSSL, so it should be fairly portable. I don't know a lot about setting
> > up autoconf scripts, so I haven't modified configure.in to have a
> > --with-openssl option, or the like.
> >
> > So far the code has only been configured to mbox, and not mdir. The
> > reason for this is that the send_message function expects a socket, so I
> > had to add a special tls_send_message function to mbox that accepts an
> > SSL type. If anybody's interested, I could diff what I have and post it to
> > the list for you.
> >
> > Just wanted to give everybody a heads up that it is possible and not all
> > that difficult to get TLS working with tpop3d!
>
> Wow. This is on the TODO list, but I didn't think I'd get
> around to it any time soon. I'd welcome a copy of the
> patch if you're happy to have your code in the
> distribution and I'll see what needs to be done to clean
> the interface up a bit.
>
> --
> In view of the fact that God limited man's intelligence,
> it is a pity that He did not also limit his stupidity (Adenauer)
>
> _______________________________________________
> tpop3d-discuss mailing list
> address@hidden
> http://lists.beasts.org/mailman/listinfo/tpop3d-discuss
>
tpop3d-1.3.5-ssl.patch
Description: Text document