Regarding XEP-0301:
http://xmpp.org/extensions/xep-0301.html

On Thu, Apr 11, 2013 at 7:41 PM, Christian Vogler
<[email protected]> wrote:
> I do two things to prevent this from happening:
>
> - on the receiver side I do modulo 2**31 arithmetic
> - on the sender side I limit the maximum random sequence restart number to
> 2**30.

That's a very good choice and should work well, though you could
easily limit to 2**20 to reduce the bandwidth of numbers being
represented as digits in UTF-8 instead of binary. (though after
compression, it might not matter).   I didn't specify a bounds for
randomization in 0.8.  Randomizing to 10,000 less than 2**31 would
also work too.   The smaller the randomization bounds, the bigger
chances of collisions

This mailing list would like to hear more about your XEP-0301
implementation(s), whenever you're ready to talk about it.
In addition, do you have any major comments in regards to the XEP-0301
spec that's currently published?

Thanks!
Mark Rejhon

Reply via email to