Page 1 of 1

line probleme help me

Posted: Tue Sep 26, 2006 4:37 pm
by cryptopsy
i still have the probleme whit the line and i have read the document 5 times


This defines a port for the ircd to bind to, to
* allow users/servers to connect to the server.
* Syntax is as follows:
* listen (ip number):(port number)
* {
* options {
* (options here);
* };
* };
* or for a plain
* listen: listen (ip):(port);
*
* NOTICE: for ipv6 ips (3ffe:b80:2:51d::2 etc), use listen [ip]:port;
*
* That works also.
*/

/* Options for listen:
OLD | NEW
S serversonly
C clientsonly
J java
s ssl
* standard
*/

/* NOTE ON SSL PORTS: SSL ports are pretty non-standardized,
* besides numerous high-SSL ports, some people say you should run
* it at 994 because that's the official SSL port.. but that
* requires root! Besides, port 194 is the official irc port and
* have you ever seen an ircd running on that?
* So, our suggestion is to use port 6697 for SSL, this is used by
* quite some networks and is recognized by for example StunTour.
* You are free to open up as many SSL ports as you want, but
* by (also) using 6697 you help the world standardize a bit ;).
*/
listen *:6697
{
options
{
ssl;
clientsonly;
};
};

listen *:8067;
listen *:6667;

please help me

Posted: Wed Sep 27, 2006 5:33 pm
by JanisB
This defines a port for the ircd to bind to, to
* allow users/servers to connect to the server.
/*This defines a port for the ircd to bind to, to
* allow users/servers to connect to the server.

Posted: Wed Sep 27, 2006 11:37 pm
by static-x
do you need to open a port? if so heres a lil help

/* users port */
listen 127.0.0.0:6667 {
options {
clientsonly;
};
};

/* server */

listen 127.0.0.0:6667 {
options {
servers;
};
};

Posted: Thu Sep 28, 2006 12:56 pm
by Jobe
static-x if you're going to have 2 listen blocks for the same port one with clientsonly and the other with serversonly youd be better off with just one for the port without either clientsonly or serversonly. For example:

Code: Select all

listen 127.0.0.1:6667;

Re: line probleme help me

Posted: Fri Sep 29, 2006 1:39 am
by White_Magic
cryptopsy wrote: listen *:6697
{
options
{
ssl;
clientsonly;
};
};
your brackets r in the wrong place

Code: Select all

listen         *:6697 {
	options  {
		ssl;
		clientsonly;
	};
};

Posted: Fri Sep 29, 2006 12:31 pm
by Jobe
Although i may be wrong as far as i am aware the opening {'s dont need to be on the same line. But like i say i may be wrong.

Posted: Fri Sep 29, 2006 12:34 pm
by White_Magic
agreed jobe, likewise i maybe wrong,but the conf example and docs dont show it ever being that way so i tend to think " its wrong if it is " my bad haha

Posted: Fri Sep 29, 2006 12:37 pm
by Jobe
I must admit out of habbit i put them on the same line too anyway.