nofakelag

If your UnrealIRCd is up and running but you have a question about it, then use this forum.
(NOT for installation or connecting issues! Use the other forum instead.)

Moderator: Supporters

Post Reply
DeltaZed
Posts: 3
Joined: Sat May 26, 2018 3:29 am

nofakelag

Post by DeltaZed » Sat May 26, 2018 3:39 am

Hello,

I've recently installed and am running unrealircd v4.0.17. It's a private server and we share a lot of code snippets on it so we're looking to disable the imposed fake lag. I've recompiled by changing this line in config.h:

#define FAKELAG_CONFIGURABLE

and adding this to my class block for clients:

class clients
{
pingfreq 90;
maxclients 20;
sendq 1M;
recvq 32k;
options {
nofakelag;
};
};

Restarted the server, it takes the config with no complaints, but everyone is still rate-limited. After several lines the ~2-second delay kicks in. Even the /oper (me) experiences this problem. The client I'm testing with is irssi and hexchat.

I understand that turning off fake lag is undesirable in the wild but this is a private server so it's not an issue (and if it is we can pummel the person causing the problem in person).

Help? I'm a noob at being an IRC operator and I have only used IRC minimally over the years, but not enough to really have a deep understanding of the protocol or the different implementations of it.

Please let me know if there's any information I can provide. Your assistance is greatly appreciated!

-DeltaZed

Stealth
Head of Support
Posts: 2081
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: nofakelag

Post by Stealth » Sat May 26, 2018 5:00 am

You may also wish to check your client settings, as many clients have built-in rate limiting that gets in the way as well.

DeltaZed
Posts: 3
Joined: Sat May 26, 2018 3:29 am

Re: nofakelag

Post by DeltaZed » Sat May 26, 2018 7:21 pm

I definitely looked into irssi settings as well (which is why I tried the hexchat client, too) but couldn't find anything; well over two hours of googling and RTFMing.

Another odd tidbit: I'm using a third-party service to tie Slack into our IRC server, and the bot doesn't have the rate-limiting problem. That supports your suggestion that it could be the client. Like I said, I use IRC lightly but am not intimately familiar with it so I'm not aware of the more esoteric aspects of usage/config/etc.

I suppose I'll wander over to an irssi form and see what people there have to say.

Gottem
Posts: 152
Joined: Fri Aug 19, 2016 5:26 pm
Location: NL

Re: nofakelag

Post by Gottem » Sat May 26, 2018 8:04 pm

Also, unless you have funky operclasses then opers are already exempt from fakelag since all the default operclasses have the top-level privilege privacy. Is anyone connecting through ZNC perhaps? Because they also include "flood protection" to prevent you from getting killed for Excess Flood, amongst other things.
DeltaZed wrote:
Sat May 26, 2018 3:39 am
After several lines the ~2-second delay kicks in. Even the /oper (me) experiences this problem. The client I'm testing with is irssi and hexchat.
A quick Google for "irssi flood protection" gave me something that may be of interest. It seems it defaults to 5 commands (or "lines", since each line is actually one PRIVMSG command) per 2.2 seconds, so if your pals are getting that amount of lines at once that might the cause.
If you like my modules, pls consider donating (through PayPal) or becoming a monthly Patron ;];]

DeltaZed
Posts: 3
Joined: Sat May 26, 2018 3:29 am

Re: nofakelag

Post by DeltaZed » Sat May 26, 2018 8:19 pm

I got that operators should be exempt from rate limits which is why I posted it as another data point.

I read through the irssi page you sent and couldn't find much of interest. In particular I did try to set cmds_max_at_once to 20, and even cmds_max_at_once to 10ms. Problem persists.

I've already downloaded the irssi source and am starting to poke around and see if I can find anything.

Thanks for the suggstions, though!

Gottem
Posts: 152
Joined: Fri Aug 19, 2016 5:26 pm
Location: NL

Re: nofakelag

Post by Gottem » Sun May 27, 2018 11:00 am

Yeah I figured that, just thought I'd clarify a bit. =] I don't use irssi myself so unfortunately I'm out of ideas, but you could also join their support IRC instead of poking around the source. Will probably get a proper answer much faster that way.
If you like my modules, pls consider donating (through PayPal) or becoming a monthly Patron ;];]

Post Reply