[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    Re: [Kopete-devel] [Bug 63457] SSL support for IRC
From:       Thiago Macieira <thiago.macieira () kdemail ! net>
Date:       2004-02-08 23:46:20
Message-ID: 200402082146.34999.thiago.macieira () kdemail ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Jason Keirstead wrote:
>But could you do what I proposed? Use a UNIX socket in between the
> Socks layer and OpenSSL ? Seems to me that it would work fine.
>
>Like..
>
>API::write() -> OpenSSL::write() -> write() on UNIX Socket ->
> API::unixRead() -> Socks::write()
>
>API::read() -> OpenSSL::read() -> read() on UNIX socket ->
> API::unixWrite() -> Socks::read()
>
>it seems like at a fundamental level it would work, except for the
> select() calls would get tricky.

[My turn to do ewwwww :-) ]

It's possible but I don't like this overmuch. I'd rather get OpenSSL to 
work as a "filter" instead of "sink". Maybe if we asked OpenSSL 
developers nicely...

How do other implementations work? Do they do something like your trick 
or do they use a file descriptor?

-- 
  Thiago Macieira  -  Registered Linux user #65028
   thiagom (AT) mail (dot) com
    ICQ UIN: 1967141   PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #5 (application/pgp-signature)]

_______________________________________________
Kopete-devel mailing list
Kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic