[cl-irc-devel] Support for IRC+SSL
Erik Huelsmann
ehuels at gmail.com
Sun Apr 29 18:11:55 UTC 2007
Hi Stephan,
On 4/29/07, Stephan Maka <stephan at spaceboyz.net> wrote:
> Encrypting IRC connections with SSL is supported by almost any common
> IRC client and is used in many small IRC nets. I would love to see that
> in cl-irc.
It's really coincidental that I've had some thoughts about enabling
SSL in cl-irc. Although that was related to DCC sessions. I don't
think the IRC protocol lends itself for secure communications, but
well, since I already figured out how to do it for DCC, I thought I'd
add it for normal IRC connections too.
> The attached file contains a connect-ssl function which is a big code
> duplication of connect from command.lisp. There should be a cleaner way,
> but it already works and I'm still a bloody Lisp beginner.
Thanks for providing the patch. To prevent the duplication, I did it
somewhat differently. See
http://trac.common-lisp.net/cl-irc/changeset/203 for how I did it.
Anyway, for how to use it:
(require :cl-irc)
(require :cl+ssl)
(connect :server <your server>
:port <port num>
:connection-security :ssl)
That's all!
> Stephan
>
> PS: How do I enable IPv6 support?
No idea. Which Lisp implementation are you using? (Not all of them
support IPv6 (yet?))
bye,
Erik.
More information about the cl-irc-devel
mailing list