Can't figure out how to allow more users
Can't figure out how to allow more users
I have installed UnrealIRCD 3.2 at my FreeBSD server, however:
/lusers gives:
Current Local Users: 1 Max: 10
Current Global Users: 1 Max: 2
It just does not allow more clients than 10 (they connect from different IP's).
I need to allow many more users and I can't figure out how. The conf file says this:
class clients
{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};
class servers
{
pingfreq 90;
maxclients 100; /* Max servers we can have linked at a time */
sendq 1000000;
connfreq 100; /* How many seconds between each connection attempt */
};
It is probably very simple, but I just can't figure out how to fix it...
/lusers gives:
Current Local Users: 1 Max: 10
Current Global Users: 1 Max: 2
It just does not allow more clients than 10 (they connect from different IP's).
I need to allow many more users and I can't figure out how. The conf file says this:
class clients
{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};
class servers
{
pingfreq 90;
maxclients 100; /* Max servers we can have linked at a time */
sendq 1000000;
connfreq 100; /* How many seconds between each connection attempt */
};
It is probably very simple, but I just can't figure out how to fix it...
The "maximum" in /lusers means the user record (i.e. highest connection count), not the maximum of users your server allows.
By default your server can hold 1024 connections (unless the os enforces a limit).
http://www.vulnscan.org/UnrealIrcd/faq/#46
( http://www.vulnscan.org/UnrealIrcd/faq/#11 - but that's not your problem I guess )
By default your server can hold 1024 connections (unless the os enforces a limit).
http://www.vulnscan.org/UnrealIrcd/faq/#46
( http://www.vulnscan.org/UnrealIrcd/faq/#11 - but that's not your problem I guess )
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
- Coleman Hawkins
No it is very strange, I might want to take a look at my client since that might be the problem, allthought the error I get is something like "Server full, no more connections allowed".Dukat wrote:The "maximum" in /lusers means the user record (i.e. highest connection count), not the maximum of users your server allows.
By default your server can hold 1024 connections (unless the os enforces a limit).
http://www.vulnscan.org/UnrealIrcd/faq/#46
( http://www.vulnscan.org/UnrealIrcd/faq/#11 - but that's not your problem I guess )
its depands with other connection from TCP users connected through the network or shell that has a limited connection.
GreenRoom SEC - Main Coder & CoMaster (http://www.wiramaster.com)
DataServ IRC Services - Main Coder
AirChat Network - Main Coder (http://www.airchat.org)
WebMAS Network - Main Team (http://www.webmas.net)
DataServ IRC Services - Main Coder
AirChat Network - Main Coder (http://www.airchat.org)
WebMAS Network - Main Team (http://www.webmas.net)
I don't see how it could be UnrealIRCd when I run one on a FreeBSD box and don't have this problem.
Give that a shot.
Code: Select all
allow
{
ip *;
hostname *;
class clients;
maxperip 20;
};
Jopiek when you installed unreal what was the amount of file descriptors allowed? If this was changed from the default of 1024 to something like 1 or 2 then no one can connect aside from 1 or 2 clients or servers. The amount of file descriptors unreal uses determines how many ports to can be opened to the server so that users can connect to it.
I tried it, it doesn't help. I used Mirc to connect 8+ clients. The 9th client says: "unable to connect". I suspect it has to do with "max global users" or so. I don't see an other reason why it doesn't work. My server just allows all connections, no firewall etc (it's on intranet only).Syzop wrote:"no more connections allowed" means the fd limit from ./Config is reached, so see SpaceDoG's reply.
So it is very strange that those clients cannot connect. After about 7 mirc clients it says "server full" and doesn't allow to connect anymore.Jobe1986 wrote:if by Max Globa Users you mean the count like these:then that is only the maximum number of users that has been connected to the network and not the maximum allowed to connect. Same applies for the Local User count as above.Current Local Users: 1 Max: 4
Current Global Users: 19 Max: 22
Here is the unrealircd.conf: http://83.247.66.125/unrealircd.conf
in the ./Config: How many file descriptors (or sockets) can the IRCd use?
[2048] -> 2048
However it does say in the config that follows after that FD_SETSIZE is not large enough to support 2048 connections.
I put it back to 1024 and now: checking if FD_SETSIZE is large enough to allow 1024 file descriptors... yes
I just did a test:
20 users is max...
mIRC says:
* Connect retry #1 pzirc.jksoft.nl (6667)
-
-pzirc.jksoft.nl- *** Looking up your hostname...
-
-pzirc.jksoft.nl- *** Couldn't resolve your hostname; using your IP address instead
-
pzirc.jksoft.nl 6667 Please use this Server/Port instead
-
Closing Link: joepie323[172.16.132.57] (This server is full.)
Code: Select all
/* Passworded allow line */
allow {
ip *@*;
hostname *@*;
class servers;
/* password "f00Ness"; */
maxperip 5;
};
Otherwise all your clients end up in your servers class which has a maxclients of 20.