For about a week now, users on my chat have been able to connect using the same IRC account (same nickname) with up to three simultaneous sessions, for example on a computer, on a mobile device, and another one in case of a ping timeout bug or similar issue.
However, I am facing a problem: the connection process is very slow because users rejoin channels they have already joined before, which is unnecessary. Removing this behavior from my system would take too much time, so I am considering implementing a solution using fake lag, or increasing the flood limits and block class settings.
Here is my client class:
What values would you recommend for sendq and recvq?class clients
{
pingfreq 180;
maxclients 1000;
sendq 300k;
recvq 8000;
};
Here is the profile of my IRC server.
The server is hosted on a dedicated machine with 32 GB of RAM and up to 600 users connected simultaneously at peak times.
At connection time, the IRC server applies security checks. It primarily allows users coming from the web-based applet in the browser. These users have an ident starting with "o-*", and this prefix is protected by a module called Authpass, which requires sending a SHA-256 password based on the nickname and the server password.
IRC clients such as mIRC, AdiIRC, and similar are very rare. There are around five users per day using such clients.
As for cloners or spammers, they cannot do anything from mIRC, AdiIRC, or any non-web applet. The port 6667 is disabled, and they cannot join any channel because all channels are set to +I (capital i), with extended ban exceptions that allow idents starting with "o-*" and registered users, but no one else.
In short, any significant flooding can only come from users connected through the web applet, or from the few mIRC users. What configuration would you recommend for blo