Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-18 Thread Peter Saint-Andre
Justin Karneges wrote: On Tuesday 02 September 2008 21:47:55 Peter Saint-Andre wrote: http://www.xmpp.org/extensions/inbox/stanzalimits.html We never published that, though... Oh, cool. I was going to suggest a XEP for that stuff, too. :) I still think the minimum recommended supported size

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-05 Thread Pedro Melo
On Sep 4, 2008, at 12:16 PM, Fabio Forno wrote: On Wed, Sep 3, 2008 at 4:13 PM, Peter Saint-Andre <[EMAIL PROTECTED]> wrote: This would signal the client that the max stanza size is 65355 bytes, and the max allowed rate of stanzas per second is 10. I like that. What happens to your ros

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-04 Thread Peter Saint-Andre
Justin Karneges wrote: this enforcement is needed not because we need to protect the poor little client, but because if the client and server don't agree on the same value then it becomes super easy to DoS the client. All a remote user needs to do is send a message that is larger than the clie

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-04 Thread Fabio Forno
On Thu, Sep 4, 2008 at 4:30 PM, Peter Saint-Andre <[EMAIL PROTECTED]> wrote: > > We need roster sequencing. And especially I do. :) So please provide some > feedback on XEP-0237. > XEP is fine, once supported by the servers. I'd just need to verify whether it is feasible to implement it also with

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-04 Thread Dave Cridland
On Thu Sep 4 15:30:53 2008, Peter Saint-Andre wrote: Kevin Smith wrote: On Wed, Sep 3, 2008 at 11:15 PM, Pedro Melo <[EMAIL PROTECTED]> wrote: Sure but as a server admin I would not admit a client negotiating a larger stanza than my own C2S or S2S limits. Sorry - I'm jumping in mid-thread

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-04 Thread Pavel Simerda
Just a sidenote to the roster sequencing... There are clients (e.g. Gajim) that ask for vCard right now to show user avatars. In future the usual flow might be that the client asks sequentially for various user information via some PubSub/PEP requests. IMO we should not forget this when designin

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-04 Thread Peter Saint-Andre
Fabio Forno wrote: On Wed, Sep 3, 2008 at 4:13 PM, Peter Saint-Andre <[EMAIL PROTECTED]> wrote: This would signal the client that the max stanza size is 65355 bytes, and the max allowed rate of stanzas per second is 10. I like that. /psa What happens to your roster in that case? ;) We ne

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-04 Thread Peter Saint-Andre
Kevin Smith wrote: On Wed, Sep 3, 2008 at 11:15 PM, Pedro Melo <[EMAIL PROTECTED]> wrote: Sure but as a server admin I would not admit a client negotiating a larger stanza than my own C2S or S2S limits. Sorry - I'm jumping in mid-thread again, but I don't remember seeing this discussed. If sta

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-04 Thread Fabio Forno
On Wed, Sep 3, 2008 at 4:13 PM, Peter Saint-Andre <[EMAIL PROTECTED]> wrote: >> This would signal the client that the max stanza size is 65355 bytes, and >> the max allowed rate of stanzas per second is 10. > > I like that. > > /psa > What happens to your roster in that case? ;) Not only a joke

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-04 Thread Pedro Melo
Hi, On Sep 4, 2008, at 8:53 AM, Kevin Smith wrote: On Wed, Sep 3, 2008 at 11:15 PM, Pedro Melo <[EMAIL PROTECTED]> wrote: Sure but as a server admin I would not admit a client negotiating a larger stanza than my own C2S or S2S limits. Sorry - I'm jumping in mid-thread again, but I don't re

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-04 Thread Kevin Smith
On Wed, Sep 3, 2008 at 11:15 PM, Pedro Melo <[EMAIL PROTECTED]> wrote: > Sure but as a server admin I would not admit a client negotiating a larger > stanza than my own C2S or S2S limits. Sorry - I'm jumping in mid-thread again, but I don't remember seeing this discussed. If stanza sizes are a str

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-04 Thread Pedro Melo
On Sep 3, 2008, at 10:03 PM, Justin Karneges wrote: On Wednesday 03 September 2008 13:24:00 Pedro Melo wrote: On Sep 3, 2008, at 8:29 PM, Justin Karneges wrote: This is more of a server limit though. The client still needs a way to negotiate its own limit, and have the server protect the cli

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-03 Thread Pedro Melo
Hi, On Sep 3, 2008, at 8:29 PM, Justin Karneges wrote: On Wednesday 03 September 2008 10:07:09 Artur Hefczyc wrote: On 3 Sep 2008, at 15:13, Peter Saint-Andre wrote: Pedro Melo wrote: Why not make section 3 a stream feature instead? Like: 65355 10 This would signal the client that

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-03 Thread Jonathan Schleifer
Am 03.09.2008 um 21:29 schrieb Justin Karneges: This is more of a server limit though. The client still needs a way to negotiate its own limit, and have the server protect the client from stanzas larger than that limit. The client should be able to accept all sizes. Otherwise, I'm sure we

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-03 Thread Artur Hefczyc
On 3 Sep 2008, at 15:13, Peter Saint-Andre wrote: Pedro Melo wrote: On Sep 3, 2008, at 5:47 AM, Peter Saint-Andre wrote: Justin Karneges wrote: Dragging this over from jdev: Hmm. XMPP is not optimized for sending around 100k+ messages. Would 64KB chunks a reasonable thing to do? That's pro

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-03 Thread Peter Saint-Andre
Pedro Melo wrote: On Sep 3, 2008, at 5:47 AM, Peter Saint-Andre wrote: Justin Karneges wrote: Dragging this over from jdev: Hmm. XMPP is not optimized for sending around 100k+ messages. Would 64KB chunks a reasonable thing to do? That's probably still too high. There is currently no specif

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-03 Thread Peter Saint-Andre
Justin Karneges wrote: On Tuesday 02 September 2008 21:47:55 Peter Saint-Andre wrote: http://www.xmpp.org/extensions/inbox/stanzalimits.html We never published that, though... Oh, cool. I was going to suggest a XEP for that stuff, too. :) Maybe the next Council will publish it. Or I can po

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-03 Thread Pedro Melo
On Sep 3, 2008, at 5:47 AM, Peter Saint-Andre wrote: Justin Karneges wrote: Dragging this over from jdev: Hmm. XMPP is not optimized for sending around 100k+ messages. Would 64KB chunks a reasonable thing to do? That's probably still too high. There is currently no specified maximum size

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-02 Thread Justin Karneges
On Tuesday 02 September 2008 21:47:55 Peter Saint-Andre wrote: > http://www.xmpp.org/extensions/inbox/stanzalimits.html > > We never published that, though... Oh, cool. I was going to suggest a XEP for that stuff, too. :) I still think the minimum recommended supported size belongs in xmpp-core

Re: [Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-02 Thread Peter Saint-Andre
Justin Karneges wrote: Dragging this over from jdev: Hmm. XMPP is not optimized for sending around 100k+ messages. Would 64KB chunks a reasonable thing to do? That's probably still too high. There is currently no specified maximum size for XMPP stanzas, but individual implementations may enf

[Standards] Stanza Size Limits (was Re: [jdev] Communicate between two client instances of the same ID)

2008-09-02 Thread Justin Karneges
Dragging this over from jdev: > > > Hmm. XMPP is not optimized for sending around 100k+ messages. > > > > Would 64KB chunks a reasonable thing to do? > > That's probably still too high. There is currently no specified maximum > size for XMPP stanzas, but individual implementations may enforce dif