View Issue Details

IDProjectCategoryView StatusLast Update
0003252unrealircdpublic2007-03-05 05:52
ReporterEdwardElric_FMA Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Platformi386OSFreeBSDOS Version5
Product Version3.2.6 
Summary0003252: New version of openssl breaks connection throttle...
DescriptionWhen 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.
Steps To ReproduceCompile Unreal with SSL against OpenSSL 0.9.8e.

Enable connection throttle.

Connect more times than your connections setting for throttle.
TagsNo tags attached.
3rd party modules

Relationships

related to 0002521 resolvedsyzop User throttled for no reason 

Activities

penna

2007-03-04 02:16

reporter   ~0013262

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.

EdwardElric_FMA

2007-03-04 02:53

reporter   ~0013263

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.

djGrrr

2007-03-04 09:16

reporter   ~0013264

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

syzop

2007-03-04 11:55

administrator   ~0013268

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.

syzop

2007-03-04 11:56

administrator   ~0013269

Oh, EdwardElric_FMA, forgot to tell... send the shell details to [email protected], thanks.

djGrrr

2007-03-04 11:59

reporter   ~0013270

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 :)

syzop

2007-03-04 17:01

administrator   ~0013271

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.

EdwardElric_FMA

2007-03-05 01:31

reporter   ~0013273

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.

syzop

2007-03-05 05:52

administrator   ~0013274

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