What if all the pokerservers have references to demo.agile.outsourcedsolutions in the currencies table?
On 11/1/07 5:19 AM, "Loic Dachary" <[EMAIL PROTECTED]> wrote: > > Hi, > > I've thought about the recuring inconsistency that occurs when > running multiple poker servers with the poker client you wrote (in a > nutshell, the poker server keeps getting the exact same invalide note > again and again and we can't figure out where it comes from). > > I realized that I overlooked the possibility of an > inconsistency generated by your poker client. The inconsistent note > that is being sent to the poker server is sent by your poker > client. In theory it gets this note from a legitimate currency server > and I assumed said currency server gave it the wrong note. But what > if the problem is in the poker client ? > > The currency table could contain thousands of different > currencies, it would be harmless. These currencies are only used if > requested. > > I have overlooked one important actor in the handling of > currencies : the poker client. > > One possible scenario is: > > poker client -> asks for a note to demo.agile.com and > get "note 5 from demo.agile.com" > poker client -> sends the note to poker-server-45.agile.com > "note 5 from demo.agile.com" > poker-server creates/reuses an entry in the currency table > "notes from demo.agile.com" > > this would be harmless, although it would not be what you expect. > > Another possible scenario is: > > poker client -> asks for a note to note500.agile.com and > get "note 7 from note500.agile.com" > poker client -> sends the note to poker-server-45.agile.com > "note 7 from demo.agile.com" > poker-server creates/reuses an entry in the currency table > "notes from demo.agile.com" > > note that "note500.agile.com" is replaced with "demo.agile.com" > by the poker client. And this confuses the poker server. > > Cheers, _______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users
