Re: [xmpp] message size

Dave Cridland <dave@cridland.net> Thu, 06 March 2014 14:42 UTC

Return-Path: <dave@cridland.net>
X-Original-To: xmpp@ietfa.amsl.com
Delivered-To: xmpp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 60A5F1A037F for <xmpp@ietfa.amsl.com>; Thu, 6 Mar 2014 06:42:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level:
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nGLv1fTrP7vr for <xmpp@ietfa.amsl.com>; Thu, 6 Mar 2014 06:42:00 -0800 (PST)
Received: from mail-ob0-x236.google.com (mail-ob0-x236.google.com [IPv6:2607:f8b0:4003:c01::236]) by ietfa.amsl.com (Postfix) with ESMTP id C47521A0428 for <xmpp@ietf.org>; Thu, 6 Mar 2014 06:41:56 -0800 (PST)
Received: by mail-ob0-f182.google.com with SMTP id uz6so2649991obc.13 for <xmpp@ietf.org>; Thu, 06 Mar 2014 06:41:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cridland.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=YK71y44z7lKVnUVZwciPJ8tBrQrEUOvHx96PrigNKOk=; b=QjcX9ui1RkFdDgEUtgGtnemO6qKer5psAPR9+EQbi7Az4BInYlaOtQt11A53Cst3St 6UZN6Jn4Ty/uLLg/64Hzl7UAZUwV5ZRrch7CjhpDlhTRgunT4Evad7dqaTuxcO5ZRmMv GzufRU/bR4UG+lkuyR6vb+izmGOTQ5ZztfJZA=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=YK71y44z7lKVnUVZwciPJ8tBrQrEUOvHx96PrigNKOk=; b=LLTI+q/GsoBcVVytb0Cveyr6bF+bRLyIbyOP8OC0RJTZwMjFpPg0PmBu+Tn8IHmHGr OzsXJ0IxyaitgSPtppmROJODJevFtniNK3ESVbmR7UGxq4ol4leNdFAq/PuMrX1hNMuz lPHfSF+HTvLk9LNnqYpbYw1i3MGZJQahpS+PHfhqtG5Ht3T2DgKmXMvhFoXdM6iBCPkh hMHeEXJEjfZdqzbtCG64fllI813K017N8K8b4kfFYmAKqjjGJBY9nV0pbZMxtBuRAf3G tsvIqjSiO8ExVpnryzgix9A452Vj3GXc48W1Le/04fsTh9rGZck9kKxWwu2WfpKLWuxD obKA==
X-Gm-Message-State: ALoCoQl5PEQYWielSwEKASypU4wpKNp804TVY7syOobvNarFRoKYfa26KonYLLlhL6KnowTohphf
MIME-Version: 1.0
X-Received: by 10.60.77.35 with SMTP id p3mr5984893oew.46.1394116912866; Thu, 06 Mar 2014 06:41:52 -0800 (PST)
Received: by 10.60.58.41 with HTTP; Thu, 6 Mar 2014 06:41:52 -0800 (PST)
In-Reply-To: <CAOb_FnywkNkyjwc3c4+AJb1xAXTpjD8dPj1gex_K9GzGKiJvAg@mail.gmail.com>
References: <531883F5.7000800@stpeter.im> <CAKHUCzz7QqnJirHHwrGJHSD1U_m_uAZGV4GcQaC-rteceug-sA@mail.gmail.com> <C16C702C-50EC-41A2-9559-B7576129A70B@surevine.com> <CAOb_FnywkNkyjwc3c4+AJb1xAXTpjD8dPj1gex_K9GzGKiJvAg@mail.gmail.com>
Date: Thu, 6 Mar 2014 14:41:52 +0000
Message-ID: <CAKHUCzwPcBuOy=em8jseBQrgWP6Wx8RgooZHi40U_W_oS5dRCA@mail.gmail.com>
From: Dave Cridland <dave@cridland.net>
To: Kevin Smith <kevin@kismith.co.uk>
Content-Type: multipart/alternative; boundary=047d7b33d2445dfe2704f3f123ac
Archived-At: http://mailarchive.ietf.org/arch/msg/xmpp/73ne18AG833TL3XAtwZmzl3o32A
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] message size
X-BeenThere: xmpp@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: XMPP Working Group <xmpp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xmpp>, <mailto:xmpp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/xmpp/>
List-Post: <mailto:xmpp@ietf.org>
List-Help: <mailto:xmpp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xmpp>, <mailto:xmpp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Mar 2014 14:42:01 -0000

On 6 March 2014 14:40, Kevin Smith <kevin@kismith.co.uk> wrote:

> On Thu, Mar 6, 2014 at 2:35 PM, Ashley Ward <ashley.ward@surevine.com>
> wrote:
> > On 6 Mar 2014, at 14:28, Dave Cridland <dave@cridland.net> wrote:
> >
> >> You're saying to include, pre-encrypt, something like <spacer:junk
> xmlns:spacer='urn:...'>123465</spacer> in the plaintext order to defeat
> message size analysis of the ciphertext?
> >
> > It's XML - you could always just use <!-- --> comments or whitespace.
>
> Comments are slightly problematic, on account of being illegal.
>

Only on the wire, where they'd not appear in the plaintext.