CyberArmy University | Open Source Institute | CyberArmy Intelligence & Security | CyberArmy Services & Projects

[Library Index]

[View category: Internet Relay Chat] [Discuss Article]

Secure IRC - SSL with Stunnel

Article is yet to be rated
Author:      barnseyboy
Submitted:      28-Apr-2007 19:41:02
Imported From:      The CyberArmy University (original author: Barnseyboy)


I've been meaning to set up SSL for IRC for ages and I just got around to it, so I thought I'd share the knowledge on how to do it. This is for windows users only.
I've been meaning to set up SSL for IRC for ages and I just got around to it, so I thought I'd share the knowledge on how to do it. This is for windows users only.

1) Download stunnel .

2) Download ssl libraries .

3) Copy stunnel.exe into a directory of your choice > in my case c:stunnel .

4) Unzip and copy the ssl libraries into the windows/system32 directory.

5) Open a blank text file and save it called stunnel.conf in c:stunnel . (Note: When saving the file in a text editor with an extension other than .txt, you may have to put quotation marks around the file name: "stunnel.conf".)

6) Copy the following code straight into stunnel.conf and save.

verify = 0

output = stunnel.log

client = yes

[sslirc]

accept = localhost:+6697

connect = irc.cyberarmy.com:+6697

7) Different CAIRC servers may or may not be configured to accept SSL connections. Experiment and see what works for you.

8) Run stunnel.exe. You are now running stunnel, listening and waiting for connections on port +6697, when it gets an incoming connection it routes it through to the outbound server.

9) Open up your favorite IRC client (in my case mIRC) and type /server localhost:+6697 (in xchat type /server localhost +6697). This should connect to your local port, forward it through stunnel and onto the irc server. Your communications will now be taking place via SSL.

10) I now add stunnel in my startup so its always there and running for me.

11) Now you're securely connected. Type the following /ms send barnseyboy thanks for helping me get securely connected!

enjoy

bb
Written by Vice CinC barnseyboy

This article was originally published by CyberArmy.net in the CyberArmy Library.

You must be logged in to vote on an article

About Us | Privacy Policy | Mission Statement | Help