Hello, developers of cl-irc
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.
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.
Stephan
PS: How do I enable IPv6 support?
Hi Stephan,
On 4/29/07, Stephan Maka stephan@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.