[codec] Padding in draft-ietf-codec-opus-07?

"Christian Hoene" <hoene@uni-tuebingen.de> Mon, 25 July 2011 16:11 UTC

Return-Path: <hoene@uni-tuebingen.de>
X-Original-To: codec@ietfa.amsl.com
Delivered-To: codec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DDE4511E8095; Mon, 25 Jul 2011 09:11:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level:
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ax-gL2GO6hbo; Mon, 25 Jul 2011 09:11:17 -0700 (PDT)
Received: from mx05.uni-tuebingen.de (mx05.uni-tuebingen.de [134.2.3.4]) by ietfa.amsl.com (Postfix) with ESMTP id 7AFF721F8C28; Mon, 25 Jul 2011 07:33:36 -0700 (PDT)
Received: from hoeneT60 (dhcp-55ec.meeting.ietf.org [130.129.85.236]) (authenticated bits=0) by mx05.uni-tuebingen.de (8.13.6/8.13.6) with ESMTP id p6PEXSwA013188 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 25 Jul 2011 16:33:34 +0200
From: Christian Hoene <hoene@uni-tuebingen.de>
To: payload@ietf.org, codec@ietf.org
Date: Mon, 25 Jul 2011 10:33:27 -0400
Organization: Universität Tübingen
Message-ID: <00ee01cc4ad7$d593a970$80bafc50$@uni-tuebingen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AcxK187dPiFd+64rRSeM3WhDMXDZQQ==
Content-Language: de
X-AntiVirus: NOT checked by Avira MailGate (version: 3.2.1.23; host: mx05)
Subject: [codec] Padding in draft-ietf-codec-opus-07?
X-BeenThere: codec@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Codec WG <codec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/codec>, <mailto:codec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/codec>
List-Post: <mailto:codec@ietf.org>
List-Help: <mailto:codec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/codec>, <mailto:codec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2011 16:11:18 -0000

Hello,

I am wondering about a padding feature in draft-ietf-codec-opus-07. It
allows you to extend the frame size by filling it up with zeros.

 I just spoke with the Tim, Jean-Marc and Gregory about this feature. As far
as I understood, this feature is required at transcoding gateways to enforce
a stream of packets having a constant size (while using UDP). Otherwise,
attackers could potentially follow the conversation by observing packet
sizes. 

To my understanding, padding is a feature that can be easily skipped from
the codec specification. It violates the layering principle and is intended
only for a very specific use cases. On the other side, constant sized frames
can be easily supported by keeping the codec parameters fixed.

With best regards,

 Christian Hoene



----------------------------------------------------------------------------
-----
Dr.-Ing. Christian Hoene, University of Tübingen, Computer Science, Chair of
Communication Networks, Research Group Interactive Communication Systems
(ICS)
Sand 13, 72076 Tübingen, Germany, Tel +49 7071 2970532,
www.net.uni-tuebingen.de