Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Every now and then he doesn't put any /Away #47

Open
Madriix opened this issue Apr 14, 2021 · 1 comment
Open

Every now and then he doesn't put any /Away #47

Madriix opened this issue Apr 14, 2021 · 1 comment

Comments

@Madriix
Copy link
Collaborator

Madriix commented Apr 14, 2021

problem line 593 : https://github.com/toc-irc/jbnc/blob/master/bouncer.js#L593

I've noticed a problem for a week or two.
From time to time he does not go /away.

Currently I don't see how to fix this.

Here are the symptoms:

  • Maybe it does not detect the socket.on ('close'
  • Maybe it does not detect the if with .parents.length or the if with .parents.length == 0
  • I manage to reproduce this bug but only by reconnecting at least once to JBNC (with clientReconnect () but maybe this is a coincidence) and also this bug is rare, you really have to stay connected for a long time or reconnect or I don't really know how to reproduce this bug very quickly
@Madriix
Copy link
Collaborator Author

Madriix commented Apr 19, 2021

[10:14:48] Too Many aways - Flood Protection activated

it may be solved.
It was at the IRC server level.

in my my unrealircd file:

/* Protections anti-flood */
anti-flood {
	nick-flood 3:60;    /* 3 changements de nick par 60 secondes */
	connect-flood 3:20; /* 3 tentatives de connexions par 60 seconds */
	away-flood 4:120;   /* 4 utilisation de /AWAY par 2 minutes */
};

I just put this:
away-flood 10:120; /* 10 utilisation de /AWAY par 2 minutes */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant