SSL problem and 1 line config problem

These are old archives. They are kept for historic purposes only.
Post Reply
R4v3n
Posts: 3
Joined: Sat Nov 24, 2007 8:17 pm

SSL problem and 1 line config problem

Post by R4v3n »

Hi,
I use Unreal 3.2.7 on Debian etch.
In "normal" mode (without SSL) the server is launching, I can connect on,it's working great, but I have 2 messages at startup saying error on 1 line (I will past them with ssl error).

Now I want to use SSL, I think I set up correctly all settings, then I start unreal and he give it to me :
* Loading IRCd configuration ..
* unrealircd.conf:693: Ignoring extra data
* unrealircd.conf:693: Ignoring extra data
* unrealircd.conf:464: unknown directive ciphers
* Configuration loaded without any problems ..
* Loading tunefile..
* Initializing SSL.
* Dynamic configuration initialized .. booting IRCd.
With this, I can always connect without SSL, but it's impossible with SSL.
Then I don't understand the numbers after *unrealircd.conf:XXX: because it's not correspondent with interessesting lines in configuration file.
And I don't understand why he said "unknow directive ciphers" because in my config the ciphers line is correct (normally) :
ciphers "DHE-RSA-AES256-SHA";

If you can help me, Thanks.

If you can't help me, thanks for reading :p
nate
Posts: 148
Joined: Fri Jul 29, 2005 10:12 am
Location: Johnstown, Pa
Contact:

Re: SSL problem and 1 line config problem

Post by nate »

The numbers after unrealircd.conf:###: are usually the line numbers that it encountered the issue at, however errors such as 'ignoring extra data' usually mean something before it wasn't closed properly if I recall, so double check all your closing blocks, make sure everything has gotten the proper }; closing and that you haven't double closed a block perhaps by having an extra }; (though in that case it would be an unexpected EOF I believe)

This is most likely the reason you are getting the 'unknown directive ciphers' error also as something isn't closed before-hand, or is closed too quickly, and its only seeing ciphers, not the proper link::ciphers since thats where the ciphers directive is supposed to be specified.
R4v3n
Posts: 3
Joined: Sat Nov 24, 2007 8:17 pm

Re: SSL problem and 1 line config problem

Post by R4v3n »

Thanks for your answer. I rechecked all, and specifically the two lines quoting at launching, but all is ok, and when I change a think a the specified line, when I launch there's always the error, even if I less the line blank.

So at line 464 there's this :
ulines {
services.***.fr;
stats.***.fr;
};

and around 693 :
options {
hide-ulines;
/* You can enable ident checking here if you want */
/* identd-check; */
show-connect-info;
};

And if I comment this lines, I'm getting always the same errors :/
Have you an idea ?
R4v3n
Posts: 3
Joined: Sat Nov 24, 2007 8:17 pm

Re: SSL problem and 1 line config problem

Post by R4v3n »

finally it's ok, there was some syntax error in the config file.
Thanks for help ;)
Post Reply