Connection Limit Problem?
Posted: Thu Nov 13, 2008 9:14 pm
Hi,
I'm running version 3.2.7 on FreeBSD. Everything works great overall. However, I noticed that the number of connections I can have open to the server seems to be limited and the parameters in unrealircd.conf don't seem to have any impact when I changed them.
Here is my situation. I have 3 bots running and they connect from a single IP# (the same IP# as the server). I wanted to login with two clients (one via mIRC and one via Java) for testing, but noticed I couldn't login both at the same time. It's as though my number of connections per my IP# are limited to 4 - even though in my .conf file, I have raised them. Is there a bug which is keeping the server from properly allowing additional connections? If I kill one of my clients, then the other one can get on okay. But when I try to run them both (along with the 3 bots), it seems the 5th connection is not allowed. here is how I have some of my different settings. Anyone have any ideas what might be wrong or why my connections per IP# are being limited? The bots run under the bots class. Everyone else is under clients.
class clients
{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 30000;
// connfreq 10; /* How many seconds between each connection attempt */
};
class bots
{
pingfreq 300;
maxclients 10;
sendq 100000;
recvq 30000;
// connfreq 10; /* How many seconds between each connection attempt */
};
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 500;
};
allow {
ip *@*;
hostname *@*;
class bots;
maxperip 10;
};
/* Throttling: this example sets a limit of 3 connection attempts per 60s (per host). */
throttle {
connections 9;
period 30s;
};
I'm running version 3.2.7 on FreeBSD. Everything works great overall. However, I noticed that the number of connections I can have open to the server seems to be limited and the parameters in unrealircd.conf don't seem to have any impact when I changed them.
Here is my situation. I have 3 bots running and they connect from a single IP# (the same IP# as the server). I wanted to login with two clients (one via mIRC and one via Java) for testing, but noticed I couldn't login both at the same time. It's as though my number of connections per my IP# are limited to 4 - even though in my .conf file, I have raised them. Is there a bug which is keeping the server from properly allowing additional connections? If I kill one of my clients, then the other one can get on okay. But when I try to run them both (along with the 3 bots), it seems the 5th connection is not allowed. here is how I have some of my different settings. Anyone have any ideas what might be wrong or why my connections per IP# are being limited? The bots run under the bots class. Everyone else is under clients.
class clients
{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 30000;
// connfreq 10; /* How many seconds between each connection attempt */
};
class bots
{
pingfreq 300;
maxclients 10;
sendq 100000;
recvq 30000;
// connfreq 10; /* How many seconds between each connection attempt */
};
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 500;
};
allow {
ip *@*;
hostname *@*;
class bots;
maxperip 10;
};
/* Throttling: this example sets a limit of 3 connection attempts per 60s (per host). */
throttle {
connections 9;
period 30s;
};