UnrealIRCd Bug Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003252 [unreal] ircd major always 2007-03-03 19:21 2007-03-05 05:52
Reporter EdwardElric_FMA View Status public  
Assigned To
Priority normal Resolution no change required  
Status closed   Product Version 3.2.6
Summary 0003252: New version of openssl breaks connection throttle...
Description When Unreal 3.2.6 is compiled against OpenSSL 0.9.8e if connection throttling is enabled there is a problem. The throttle never resets, for example if these are your throttle settings:

    throttle {
        connections 3;
        period 30s;
    };

If you connect 3 times at no matter what the interval, the forth time you'll be throttled, and won't be able to reconnect until the server is restarted. I'm not saying this is Unreal's fault or anything...I imagine something changed in OpenSSL that caused this. I just wanted to make the issue known.
Additional Information
Tags No tags attached.
3rd party modules
QA Not touched yet by developer
U4: Need for upstream patch No need for upstream InspIRCd patch
U4: Upstream notification of bug Not decided
U4: Contributor working on this None
Attached Files

- Relationships
related to 0002521resolvedsyzop User throttled for no reason 

-  Notes
(0013262)
penna (reporter)
2007-03-04 02:16

I just tried it out on Debian unstable. It worked just as it should be.
Would be weird anyway since OpenSSL should have nothing to do with the throttling code.
(0013263)
EdwardElric_FMA (reporter)
2007-03-04 02:53

Yea...I can't explain why it happens...but when I compile it with a vanilla OpenSSL 0.9.8e the throttling problem occurs...and when I compile it with OpenSSL 0.9.8d it works fine. Debian's packages are usually patched, so this bug might not exist with Debian.
(0013264)
djGrrr (reporter)
2007-03-04 09:16

this is a problem with the throttling, most likely not related to ssl
0002521 <--- this bug probably should be in the 3.2.7 group because a lot of people are being affected by it, don't want it to go unfixed for yet another version :P
(0013268)
syzop (administrator)
2007-03-04 11:55

EdwardElric_FMA: Interesting... how reproducable is it? (with that specific openssl version on your machine).. near 100%? Because that certainly is interesting then. Unfortunately I've currently an issue with my wrist, just had an injection and now wearing a brace, but still hurting even with painkillers, so I'm not exactly fully available *ahem*... but perhaps you could prepare an irc server (separate account is fine too), fully compiled and configured to use some odd port, with nobody else on it, and give me the shell details? I would also need 'gdb' on the shell then. Hopefully with minimal typing I could check things out. Oh, and if you could install the TDebug module (see 0002521) as well, that would be nice too.
 
djGrrr: sometimes we can only help if users help us, this is one such case. As you'll see there almost nobody did wat I asked (you didn't, Jon335 did but incomplete and didn't respond anymore, durrie turned out to be rightfully throttled and not bogus, only devil was interesting but I forgot to ask for listevents at that time). While I don't blame any specific person, the fact still stands! I've already tried finding this bug without any help from users (checking code) for hours on 2-3 occasions with months inbetween but have been unable to find the cause. I usually spot bugs fast, especially (like in this case) if the code is not written by me and I'm not used to it, but no luck this time.
(0013269)
syzop (administrator)
2007-03-04 11:56

Oh, EdwardElric_FMA, forgot to tell... send the shell details to syzop@unrealircd.com, thanks.
(0013270)
djGrrr (reporter)
2007-03-04 11:59

well syzop, i tried once, but the problem is when you /rehash to load the module, it also removes all the throttle entries

i will however now load the module on ALL my leaf servers, and if it happens, i'll do whatever i can to help out :)
(0013271)
syzop (administrator)
2007-03-04 17:01

rehashing does normally not remove throttling entries. if it did, then this problem might have something to do with event timers (so be sure to execute all 3 tdebug commands mentioned in the other bugid whenever the problem appears).

and, thanks ;p.
(0013273)
EdwardElric_FMA (reporter)
2007-03-05 01:31

Bad news...

I installed FreeBSD 5.5, patched it up on a home box and built Unreal the exact same way as I did on the other server...and guess what...it works fine.

So me thinks it must be something really specific wrong with that server that caused throttling to break. Unfortunately, I can't give anyone access to that box (hence why I tried to reproduce it on a home server)...sorry.

If I find anything else out I'll post it, none my other servers have had this problem though.
(0013274)
syzop (administrator)
2007-03-05 05:52

ok

- Issue History
Date Modified Username Field Change
2007-03-03 19:21 EdwardElric_FMA New Issue
2007-03-04 02:16 penna Note Added: 0013262
2007-03-04 02:53 EdwardElric_FMA Note Added: 0013263
2007-03-04 09:16 djGrrr Note Added: 0013264
2007-03-04 11:55 syzop Note Added: 0013268
2007-03-04 11:56 syzop Note Added: 0013269
2007-03-04 11:59 djGrrr Note Added: 0013270
2007-03-04 17:01 syzop Note Added: 0013271
2007-03-05 01:31 EdwardElric_FMA Note Added: 0013273
2007-03-05 05:52 syzop Relationship added related to 0002521
2007-03-05 05:52 syzop Status new => closed
2007-03-05 05:52 syzop Note Added: 0013274
2007-03-05 05:52 syzop Resolution open => no change required
2007-03-26 03:21 tabrisnet Issue Monitored: tabrisnet
2007-03-26 03:21 tabrisnet Issue End Monitor: tabrisnet


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker