Re: [xmpp] message size

Kevin Smith <kevin@kismith.co.uk> Thu, 06 March 2014 14:49 UTC

Return-Path: <k.i.smith@gmail.com>
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 A25811A0070 for <xmpp@ietfa.amsl.com>; Thu, 6 Mar 2014 06:49:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=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 vZ552ldr-_r9 for <xmpp@ietfa.amsl.com>; Thu, 6 Mar 2014 06:49:27 -0800 (PST)
Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) by ietfa.amsl.com (Postfix) with ESMTP id 1752F1A00DD for <xmpp@ietf.org>; Thu, 6 Mar 2014 06:49:26 -0800 (PST)
Received: by mail-wg0-f41.google.com with SMTP id n12so3285844wgh.24 for <xmpp@ietf.org>; Thu, 06 Mar 2014 06:49:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=zB6otW02k+wvRX3OicsBqTff1TxRjwYxf1dCm7sYiwg=; b=bVjn+l09Gr8Cih+cDf7rqLp7P2pbUfQJkJ4ALJTv+Zfuc4suJCim/suOJtMIb4kblf ca5yqOZpRH+fg6PgDeMIdYooKoKgMEpRZRSMIBSpVU2cCsyrVUybjyK+uQq/+GeJ9I4x 6k1bihPov3E4lhPhaC97RCkXPAAQDJWfKOjgHspzfvm7AXeedCPp3ljodeQ1tDGC4Bv7 gybm+gS+aKoYzYymSCw98C/dnm+imKPsP0f4mu5UzMXA7cCZGZh4UFn37Pjr+vJToadS 3ey5Ph1TSfBWeczyTp1SREDr7ANqk67XvOfaVb3f2guV4JeJjv5Xn+kzEpuIqd5e20pP psPA==
MIME-Version: 1.0
X-Received: by 10.195.13.103 with SMTP id ex7mr10673154wjd.3.1394117362753; Thu, 06 Mar 2014 06:49:22 -0800 (PST)
Sender: k.i.smith@gmail.com
Received: by 10.217.96.196 with HTTP; Thu, 6 Mar 2014 06:49:22 -0800 (PST)
In-Reply-To: <26D173CC-25CE-45AF-8F5A-27AF576558A0@surevine.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> <26D173CC-25CE-45AF-8F5A-27AF576558A0@surevine.com>
Date: Thu, 6 Mar 2014 14:49:22 +0000
X-Google-Sender-Auth: A7HxSBSMI8RFCQG7XBQQV8geCY0
Message-ID: <CAOb_FnznTTEXO8jWKoHXSNJRDSYsLH_6YgeOTs4-RW-=w2NORw@mail.gmail.com>
From: Kevin Smith <kevin@kismith.co.uk>
To: Ashley Ward <ashley.ward@surevine.com>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/xmpp/IAlrr2EkZfwWyP0rB277zYAz40A
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
Reply-To: kevin@kismith.co.uk
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:49:28 -0000

On Thu, Mar 6, 2014 at 2:44 PM, Ashley Ward <ashley.ward@surevine.com> wrote:
> On 6 Mar 2014, at 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.
>
> True - I often forget that XMPP isn't entirely XML compliant!

The stream isn't a real XML document (stream restarts break this) but
not allowing comments doesn't stop it being XML, just a subset.

/K