Difference between revisions of "SSL"

From Chat4AllFAQ
Jump to: navigation, search
m (= Install)
m (Connect)
Line 41: Line 41:
 
There, select the Chat4All server from the server list (or add it yourself with the ADD button), and hit the ''Edit'' button.<br />
 
There, select the Chat4All server from the server list (or add it yourself with the ADD button), and hit the ''Edit'' button.<br />
 
It will probably read something like:<br />
 
It will probably read something like:<br />
[[Image:http://www.fixato.co.uk/projects/tutorials/images/performB2.png]]<br />
+
http://www.fixato.co.uk/projects/tutorials/images/performB2.png <br />
 
although the exact names and ports listed might be a little different.<br />
 
although the exact names and ports listed might be a little different.<br />
 
Now you can edit the port-range to either also include the +7001 port, or just replace all of the ports listed there with +7001 (again, don't forget the plus-sign).<br />
 
Now you can edit the port-range to either also include the +7001 port, or just replace all of the ports listed there with +7001 (again, don't forget the plus-sign).<br />

Revision as of 16:35, 25 January 2006

SSL

SSL stands for Secure Socket Layer. Short explanation: it is more secure way of establishing a connection to a server.
It is based on encrypting all data-traffic with an encryption key.
SSL only works if all involved parties support SSL connections, because else one of the involved parties would not understand what was 'said' by the other. Since the Chat4All chatserver supports SSL connections as of 2004, you can now also connect to us with an SSL capable client on port +7001.

Benefits

In general chatters would not really need SSL most of the time, unless they have the need for some extra privacy, or suspect that someone on the 'subnet' is eavesdropping, especially if it concerns exchanging passwords (for instance when logging into nickserv or chanserv).

With normal connections, anyone who has 'hacked' your computer, or is on the same subnet, can 'listen' to all packages that are sent over your line in your network with utilities such as Ethercap and Ethereal and read them just as the plain text that is sent over it; thus having the possibility to hijack your passwords and accounts.
Example result using Ethereal on a non-encrypted connection:
http://www.chat4all.org/~rafe/mirc/ssl2.png

However, when someone is eavesdropping on your line while you use SSL, they will only be able to see the encrypted data, which will just look like mumblejumble to them, since they have no easy way to decrypt it.
Example result using Ethereal on an encrypted-SSL-connection:
http://www.chat4all.org/~rafe/mirc/ssl.png

mIRC description

Let's quote mIRC.com for some more detailed description:

«Why the need for secure connections? mIRC is used by many organizations that need to communicate over secure connections, everything from corporate to governmental. Various educational organizations that provide online teaching also require communications to be secure for privacy purposes. Apart from that, many individuals around the world also depend on secure communications, whether for political, business, or other reasons. At the end of the day, it really depends on your own personal needs. If it’s not something that you think you need, then you probably don’t!»

Howto

In this section we will describe you you can install OpenSSL support on your pc and set it up in your client, and how to connect to our SSL capable port on our server.

Install

How to use SSL depends on the client you use.
Since most people on our network seem to use mIRC, I'll explain what is needed to get mIRC working with SSL.
First download the latest release of mIRC, which at time of writing is 6.16.
You now also need the OpenSSL libraries libeay32.dll and ssleay32.dll
You can either get them by installing OpenSLL from http://www.shininglightpro.com/products/Win32OpenSSL.html or by getting the two needed loose DLL files from: [My Chat4All Page]
Then you should place the two DLL-files that are in the archive, inside your Windows/System32 directory if you want to have them globally available to all SSL supporting applications, or in your mIRC directory (probably c:\program files\mIRC\) if you want them available just to mIRC.
When you now (re)start mIRC, an extra TAB with SSL information should've appeared under connect > options

Connect

To connect to our server now, you can do it in two ways.
The first is by the direct command:

 /server irc.chat4all.net +7001

Which will connect to our server at port 7001 (don't forget the +sign though, since that indicates it is a SSL port.)

The second way is to edit the server information.
From the File-menu, you should select the Select Server (alt-e) option, which will open the mIRC Options at the Select Server tab.
There, select the Chat4All server from the server list (or add it yourself with the ADD button), and hit the Edit button.
It will probably read something like:
http://www.fixato.co.uk/projects/tutorials/images/performB2.png
although the exact names and ports listed might be a little different.
Now you can edit the port-range to either also include the +7001 port, or just replace all of the ports listed there with +7001 (again, don't forget the plus-sign).
Another way is to instead of Editting, Adding a new serverlisting which you can name something like Chat4All_ServerSSL and which will have just the +7001 port and the same group-name as your regular Chat4all connection.
When finished adding or editting, hit the Connect button to connect to the server :)

Extras

When you are connected using a SSL connection, you can now join channels that have the channelmode +z
If a channel has the channelmode +z, it means that only people using a SSL connection, can join that channel.
A channelowner can set his room to +z (when no non-SSL-connected users are in the channel) with

 /mode #channel +z

You will also receive the usermode +z, which means you are on a SSL connection.

Written by FiXato on 16:12, 25 January 2006 (CET) Based on Rafe`s article on his blog.

Last edit: FiXato 16:34, 25 January 2006 (CET)