View Issue Details

IDProjectCategoryView StatusLast Update
0005916unrealircdpublic2021-06-21 14:58
ReporterPolsaker Assigned Tosyzop  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.2.0 
Fixed in Version5.2.1-rc1 
Summary0005916: Lots of autoconnects on large networks lead to race conditions/desyncs.
DescriptionCurrently unrealircd aggresively autoconnects to everything at once. This seems to hit some race conditions that ends up creating large amounts of reconnections and probably desyncs.

It might be in order to have the ircd only autoconnect to one server at a time and add some sort of autoconnect queue to prevent this.
TagsNo tags attached.
3rd party modules

Activities

syzop

2021-06-18 16:07

administrator   ~0022016

Thanks, I'll have a go with this. Will be a configuration option.
Most likely I will do the dumb simple sequential trying first, then later working on a more advanced option where things can be done more in parallel with EAUTH and shit.

syzop

2021-06-21 14:56

administrator   ~0022023

This is now done. Thanks!
https://github.com/unrealircd/unrealircd/commit/9fde768201af58a19a0353dee774b304f08b732b
if you intended to patch existing 5.2.0 then i'm afraid that is not the only patch that is needed, it would require to cherry-pick several patches, probably best to just use latest git :D

And, sorry, I forgot to credit you in the commit and reference this bug :/

syzop

2021-06-21 14:58

administrator   ~0022024

Marking as solved, i have faith :D. But would of course still appreciate testing!

Issue History

Date Modified Username Field Change
2021-06-18 16:00 Polsaker New Issue
2021-06-18 16:07 syzop Note Added: 0022016
2021-06-18 16:07 syzop Assigned To => syzop
2021-06-18 16:07 syzop Status new => acknowledged
2021-06-21 14:56 syzop Note Added: 0022023
2021-06-21 14:58 syzop Status acknowledged => resolved
2021-06-21 14:58 syzop Resolution open => fixed
2021-06-21 14:58 syzop Fixed in Version => 5.2.1-rc1
2021-06-21 14:58 syzop Note Added: 0022024