[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ping timeout?
Andrew Snare wrote:
> Basically I think you're sending so much that your penalty exceeds the
> ping timeout for your connection class. Hence your incoming PONG
> response isn't processed in time.
This sounds exactly right... Thanks! A further question:
Is it possible to associate a different penalty with a different class
of user? Or to remove penalty handling altogether, basically in the same
way that I can give my server-side robots bigger buffers so that they
don't get flooded while keeping the client-side users under control so
that I'm not subject to denial of service attacks?
If not I guess I'm up for adding that in, it doesn't sound hard.
James
p.s. If anyone's interested we built in a dictionary word-replacement
feature to support "bad word" filtering. It's easily defeated but
doesn't actually use as much processor time as I expected. Plus our
client required such a feature and it didn't make sense to implement on
the client. I'm still in the process of debugging it (the static message
buffers complicated things a bit) but will gladly give it to anyone
that's up for seeing something 80% finished.
p.p.s. When all is said and done I'm going to be dropping a new config.h
on this list that is actually *accurate* in terms of the documentation.
We've come across at least a couple cases where in fact you need to
configure things exactly the *opposite* of what the config.h says to
achieve best performance.