line probleme help me

These are old archives. They are kept for historic purposes only.
Post Reply
cryptopsy
Posts: 13
Joined: Sun Sep 24, 2006 1:15 am

line probleme help me

Post 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
JanisB
Posts: 128
Joined: Fri Apr 22, 2005 9:05 am
Location: LV
Contact:

Post 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.
static-x
Posts: 28
Joined: Sat Jul 23, 2005 2:43 am

Post 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;
};
};
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post 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;
White_Magic
Posts: 267
Joined: Tue Jan 18, 2005 3:24 pm
Location: Scotland - United Kingdom

Re: line probleme help me

Post 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;
	};
};
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict :D
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post 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.
White_Magic
Posts: 267
Joined: Tue Jan 18, 2005 3:24 pm
Location: Scotland - United Kingdom

Post 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
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict :D
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post by Jobe »

I must admit out of habbit i put them on the same line too anyway.
Post Reply