Re: [Maprg] Is UDP a trash heap?

"Caozhen (zcao)" <zhen.cao@huawei.com> Wed, 25 May 2016 00:38 UTC

Return-Path: <zhen.cao@huawei.com>
X-Original-To: maprg@ietfa.amsl.com
Delivered-To: maprg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8AA4F12D1B5 for <maprg@ietfa.amsl.com>; Tue, 24 May 2016 17:38:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.646
X-Spam-Level:
X-Spam-Status: No, score=-5.646 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 H2MQEMnbJiuD for <maprg@ietfa.amsl.com>; Tue, 24 May 2016 17:38:25 -0700 (PDT)
Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [58.251.152.64]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6623A12D154 for <maprg@irtf.org>; Tue, 24 May 2016 17:38:24 -0700 (PDT)
Received: from 172.24.1.36 (EHLO SZXEMI404-HUB.china.huawei.com) ([172.24.1.36]) by szxrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DLC66469; Wed, 25 May 2016 08:38:19 +0800 (CST)
Received: from SZXEMI506-MBX.china.huawei.com ([169.254.5.40]) by SZXEMI404-HUB.china.huawei.com ([10.82.75.40]) with mapi id 14.03.0235.001; Wed, 25 May 2016 08:38:17 +0800
From: "Caozhen (zcao)" <zhen.cao@huawei.com>
To: Aaron Falk <aaron.falk@gmail.com>, "maprg@irtf.org" <maprg@irtf.org>
Thread-Topic: Is UDP a trash heap?
Thread-Index: AQHRtS6tU/bQZgfKo0+1FFrImHB3qp/Iy8vQ
Date: Wed, 25 May 2016 00:38:17 +0000
Message-ID: <0ADB5996A09C254EB300AB612DA815082151F4A3@SZXEMI506-MBX.china.huawei.com>
References: <8EBBDE7D-C6A9-446B-84B2-67459257F591@gmail.com>
In-Reply-To: <8EBBDE7D-C6A9-446B-84B2-67459257F591@gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.130.152.94]
Content-Type: multipart/alternative; boundary="_000_0ADB5996A09C254EB300AB612DA815082151F4A3SZXEMI506MBXchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A0B0203.5744F3FC.0055, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=169.254.5.40, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: a62d659262d8248122ee4c786aa33b9f
Archived-At: <http://mailarchive.ietf.org/arch/msg/maprg/n8peAjsnkQTCTtVXFb9VNYYQ770>
Subject: Re: [Maprg] Is UDP a trash heap?
X-BeenThere: maprg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Measurement and Analysis for Protocols \(MAP\) \(Proposed\) RG mailing list" <maprg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/maprg>, <mailto:maprg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/maprg/>
List-Post: <mailto:maprg@irtf.org>
List-Help: <mailto:maprg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/maprg>, <mailto:maprg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 May 2016 00:38:28 -0000

There was some measurement study of the UDP flows in this work: http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=7349581&tag=1

This was a study of the wechat (the most famous IM app in China) VoIP calls and video traffic (both use UDP bearer).  I find it useful because it uncovers many aspects of the UDP flows, such as the use of ISP-aware paths, aggressive retransmission, and both domestic& inter-continental packet loss rate, hops and delay.

Cheers,
Zhen
From: Maprg [mailto:maprg-bounces@irtf.org] On Behalf Of Aaron Falk
Sent: Tuesday, May 24, 2016 4:07 AM
To: maprg@irtf.org
Subject: [Maprg] Is UDP a trash heap?

See thread and cited draft below.  I’ve heard “UDP is a trash heap” invoked multiple times.  Are there any broad based measurements of UDP loss rates for ports other than 53?  Is IPv6 different than IPv4 in this regard?

--aaron

From: Spud <spud-bounces@ietf.org<mailto:spud-bounces@ietf.org>> on behalf of Ca By <cb.list6@gmail.com<mailto:cb.list6@gmail.com>>
Date: Monday, May 23, 2016 at 11:51 AM
To: Tom Herbert <tom@herbertland.com<mailto:tom@herbertland.com>>
Cc: Toerless Eckert <eckert@cisco.com<mailto:eckert@cisco.com>>, Michael Welzl <michawe@ifi.uio.no<mailto:michawe@ifi.uio.no>>, Joe Touch <touch@isi.edu<mailto:touch@isi.edu>>, "Scharf, Michael (Nokia - DE)" <michael.scharf@nokia.com<mailto:michael.scharf@nokia.com>>, "spud@ietf.org<mailto:spud@ietf.org>" <spud@ietf.org<mailto:spud@ietf.org>>, Jana Iyengar <jri@google.com<mailto:jri@google.com>>, Christian Huitema <huitema@microsoft.com<mailto:huitema@microsoft.com>>
Subject: Re: [Spud] Fwd: New Version Notification for draft-herbert-transports-over-udp-00.txt



On Monday, May 23, 2016, Tom Herbert <tom@herbertland.com<mailto:tom@herbertland.com>> wrote:
On Sun, May 22, 2016 at 1:06 PM, Ca By <cb.list6@gmail.com<javascript:;>> wrote:
>
>>
>> Now all this being said, I also don’t fully get why some folks have such a
>> big problem with running stuff over UDP. I’m not against doing that, if only
>> as a temporary solution that would serve to convince people that the
>> transport (option, ..) is useful.
>> In a TAPS world, it’s just another option to try…
>>
>
> The fact that udp is mostly (by volume) internet attack traffic  is my
> concern with udp.
>
> If legitimate traffic starts using udp in volume, it will make distiguishing
> and thwarting voulmetric attacks very difficult at scale. Without currently
> curbing n * 100g blasts of udp traffic with blanket policers, i would not be
> able to keep my network up... This is a daily issue.  For example, my usual
> udp volume is about 1%. If it goes to 10% suddenly, it is likely smart to
> drop 11% and onwards as a 10x increase in udp is 100% certainly not legit.
>
> My request to quic and spud is simply use a different transport protocol
> number so that their interesting and innovative traffic does not run up
> against the many network policers that are required to enforce well known
> baselines of good normal udp traffic. The quic folks say that they cannot do
> that since 10 year old cpe only passes udp and tcp, then they rant about
> ossified stacks and how we need to put everything on udp to make progess ...
> Seems like they are just choosing to ossify on udp ...  And udp is already
> considered trash (reflection attacks) ...So we agree to disagree, i guess
>
Isn't any other protocol besides TCP also considered trash right now?

My network only "manages" udp.  Ymmv.

UDP based transport protocols would use well know port numbers. A
firewall can allow UDP port X that carries a

A "firewall" is a enterprise solution that does not scale for large national internet providers in the usa

Yes, the bulk of the trash is less than 20 source ports (chargen, ntp, snmp, ntp, dns, ....). But we also get very large bot swarms doing straight packet attacks with udp.  Even a novice like me can write to udp sockets in python on any port and stuff data through it.

properly congestion
controlled protocols not subject to reflection attacks, but disallow
other UDP ports.

Tom

> https://tools.ietf.org/html/draft-byrne-opsec-udp-advisory-00
>
>
>
>> Cheers,
>> Michael
>>
>
_______________________________________________ Spud mailing list Spud@ietf.org<mailto:Spud@ietf.org> https://www.ietf.org/mailman/listinfo/spud