Configuring SSL

These are old archives. They are kept for historic purposes only.
thekey
Posts: 15
Joined: Fri Feb 18, 2005 11:48 pm

Configuring SSL

Post by thekey »

Hi,
I'm trying to configure SSL ports on my network, I do the following:

- I've added a listen block:

Code: Select all

listen         69.90.159.99:6697
{
    options
    {
	 clientsonly;
         ssl;
    };
};
- I recompiled the Unreal with SSL support.

Do I need anything else? Because by the moment it doesn't work (I'm afraid I need a lot of things else :))

Thanx!
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

What do you mean by "it doesn't work"? What's the exact error?
thekey
Posts: 15
Joined: Fri Feb 18, 2005 11:48 pm

Post by thekey »

Dukat wrote:What do you mean by "it doesn't work"? What's the exact error?
So when I do: /server myserver:+6697
I get: *** Unable to connect (Connection timed out)

I've heard about some SSL certificated, but I don't know if I need one or it's optional. What else do I need?
Matridom
Posts: 296
Joined: Fri Jan 07, 2005 3:28 am

Post by Matridom »

thekey wrote:
Dukat wrote:What do you mean by "it doesn't work"? What's the exact error?
So when I do: /server myserver:+6697
I get: *** Unable to connect (Connection timed out)

I've heard about some SSL certificated, but I don't know if I need one or it's optional. What else do I need?
does your client support ssl properly? (i know mirc requires seperate DLL downloads to work with SSL)
thekey
Posts: 15
Joined: Fri Feb 18, 2005 11:48 pm

Post by thekey »

Matridom wrote:
thekey wrote:
Dukat wrote:What do you mean by "it doesn't work"? What's the exact error?
So when I do: /server myserver:+6697
I get: *** Unable to connect (Connection timed out)

I've heard about some SSL certificated, but I don't know if I need one or it's optional. What else do I need?
does your client support ssl properly? (i know mirc requires seperate DLL downloads to work with SSL)
Yes, I'm using mirc v 6.16 and I've downloaded the necessary dll files to make that work... but it still doesn't :(
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Post by jewles »

i suggest doing a stat P and seeing if your ssl port is open
(15:58:17) -elmo.yatesdev.com- *** Listener on 10.10.1.1:6667, clients 1. is PERM clientsonly SSL

if it is, good, then you did everything correctly. If not then please produce the error preventing you from connectioning...
(16:00:11) * Connecting to 10.10.1.1 (6667)
(16:00:11) * [10053] Software caused connection abort
(16:00:11) * Disconnected
which is me attempting to connect to a ssl port from a non-ssl supported client.
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
thekey
Posts: 15
Joined: Fri Feb 18, 2005 11:48 pm

Post by thekey »

jewles wrote:i suggest doing a stat P and seeing if your ssl port is open
(15:58:17) -elmo.yatesdev.com- *** Listener on 10.10.1.1:6667, clients 1. is PERM clientsonly SSL

if it is, good, then you did everything correctly. If not then please produce the error preventing you from connectioning...
(16:00:11) * Connecting to 10.10.1.1 (6667)
(16:00:11) * [10053] Software caused connection abort
(16:00:11) * Disconnected
which is me attempting to connect to a ssl port from a non-ssl supported client.
Ok, it's working now! :D The configuration was ok, maybe it was a client error.

-irc.DjBots.org- *** Listener on 69.90.159.99:6697, clients 1. is PERM clientsonly SSL

Thank you all ;)
thekey
Posts: 15
Joined: Fri Feb 18, 2005 11:48 pm

Post by thekey »

Erm, ok, I won't open another thread because my question is still about SSL.

The thing is, what is SSL exactly used for? I've read the help file and I know that a SSL connection encrypts data and protects against scans, etc. but I mean, should everyone be able to use a SSL connection? I think I don't get the point of this :roll:
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Post by jewles »

SSL is a secure stock layer. It encrypts data between the server and the client... or server to server... It is always a good idea to allow clients the ability to use SSL and it should be a priority linking servers althou most people don't care to use SSL... but it's always good practice to use it...
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

stock? I thought it was secure sockets layer ;P
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

Indeed, hmm.. I thought there was another comment here a la "why bother encrypting" but perhaps I'm confused with another thread. Anyway..

The Internet is a public network, this means that if I connect to your IRC server my traffic usually goes trough like 10-20 IP devices (and in fact, many more "hidden" ones), all of these devices might get hacked or for whatever reason a bad guy might control them, in which case (s)he can "sniff" your traffic (== look at everything that comes by) including all your personal conversations about/with your girlfriend and whatnot :p.
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

Yeah, why do you think *nix has chucked telnet in favor of SSH :) .
Syzop wrote:your personal conversations about/with your girlfriend.
or lack thereof :/

Though I guess if you're the kind of person that tends not to have such personal discussions on IRC you might feel that SSL is unnecessary but then realize that you have your nickserv/ircop passwords to worry about, etc :) .
thekey
Posts: 15
Joined: Fri Feb 18, 2005 11:48 pm

Post by thekey »

Ok, I understand the point of this, but still don't know why do I need some certificate (for example from CACert.org) for my IRCd. Is there any difference between connecting without some certificate and connecting with it? Is the encryption then different?
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Your server needs a certificate because that's how SSL works.

You should probably do some reading...
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

thekey wrote:Ok, I understand the point of this, but still don't know why do I need some certificate (for example from CACert.org) for my IRCd. Is there any difference between connecting without some certificate and connecting with it? Is the encryption then different?
SSL is more than just encryption. SSL provides identity verification. Let me try to explain it this way. You go click on a link which takes you to somebank.com and it says it uses SSL. You immediately assume "it's encrypted, I'm safe." However, As it turns out, this link didn't really take you to somebank.com, it took you to hackersite.com/somebank which is setup to look very much like somebank.com. Now, given flaws in many browsers, this fact can be hidden from you. But, not with SSL. With SSL, the certificate will show that hackersite.com does not match somebank.com. Therefore, it will reject the certificate as forged.

The idea is, it proves you are who you say you are. So where does CACert (and other CAs) fit in? They do the verification. They are considered a "trusted" third party. It uses a "network of trust" type system. For example, I trust CACert, and you trust CACert. CACert says "He really is codemastr" and they also say "He really is thekey." Now since we both trust CACert, it means that you believe I really am codemastr, and I believe you really are thekey. Therefore, CACert has proven we are who we said, and therefore we can trust eachother.

Without a certificate, the identity verification is impossible. A certificate is basically your digital fingerprint, it proves your identity. If you don't have this fingerprint, then no one can know for sure who you are.
-- codemastr
Post Reply