Re: [Idr] why has 4096 bytes limit on BGP messages size?

Enke Chen <enkechen@cisco.com> Thu, 14 June 2007 15:50 UTC

Return-path: <idr-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1Hyraq-0001dZ-4C; Thu, 14 Jun 2007 11:50:40 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1Hyrao-0001cC-NH for idr@ietf.org; Thu, 14 Jun 2007 11:50:38 -0400
Received: from sj-iport-2-in.cisco.com ([171.71.176.71] helo=sj-iport-2.cisco.com) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Hyran-0002lJ-CE for idr@ietf.org; Thu, 14 Jun 2007 11:50:38 -0400
Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-2.cisco.com with ESMTP; 14 Jun 2007 08:50:37 -0700
X-IronPort-AV: i="4.16,421,1175497200"; d="scan'208"; a="379546835:sNHT45852332"
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id l5EFoa3p019938; Thu, 14 Jun 2007 08:50:36 -0700
Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id l5EFoVaI009556; Thu, 14 Jun 2007 15:50:31 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 14 Jun 2007 08:50:31 -0700
Received: from [10.21.70.203] ([10.21.70.203]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 14 Jun 2007 08:50:31 -0700
Message-ID: <467163D3.7000101@cisco.com>
Date: Thu, 14 Jun 2007 08:50:43 -0700
From: Enke Chen <enkechen@cisco.com>
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
MIME-Version: 1.0
To: Fenggen Jia <fgjia@mail.zjgsu.edu.cn>
Subject: Re: [Idr] why has 4096 bytes limit on BGP messages size?
References: <20070614105451.9C6C11140496@mail.zjgsu.edu.cn>
In-Reply-To: <20070614105451.9C6C11140496@mail.zjgsu.edu.cn>
Content-Type: text/plain; charset="GB2312"
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 14 Jun 2007 15:50:31.0297 (UTC) FILETIME=[BCBC4F10:01C7AE9B]
DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=1328; t=1181836236; x=1182700236; c=relaxed/simple; s=sjdkim3002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=enkechen@cisco.com; z=From:=20Enke=20Chen=20<enkechen@cisco.com> |Subject:=20Re=3A=20[Idr]=20why=20has=204096=20bytes=20limit=20on=20BGP=2 0messages=20size? |Sender:=20; bh=IYnM5RCejw6lTaBjRKAcYWs5WbpS6Iq4ew8yHfFEWdE=; b=GgO5xBJ8ZFeFZQmIZzCb3Q3nCgSSAZpT4ICtecH4kpjxtzopCVeuoco98hu1kBo3IMAOvI2l RORztfpzbnlSDexDpn7vrNJVgcLempxQfFb/lwdL8836w4Z6opzeGWps;
Authentication-Results: sj-dkim-3; header.From=enkechen@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; );
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 8b30eb7682a596edff707698f4a80f7d
Cc: tli <tli@cisco.com>, idr <idr@ietf.org>
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/idr>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
Errors-To: idr-bounces@ietf.org

Fenggen Jia wrote:
> Then why not other limit,how is 4096 bytes derived, thanks.BTW,whether it's a good pratice in protocol devise to limit message sizes?

Do not know the precise reason for the number. I suspect that it's
chosen as it's large enough. It turns out to be a good number - it has
certainly withstood the test of time.

If there is ever a legitimate need to increase the limit in the future,
that can be done easily with the capability advertisement from the
protocol perspective.

-- Enke

> I see in ripV1 that the maximum PDU length is 576bytes its reason is to avoid IP fragmentation,but in ripng the PDU length is determined only by the link MTU,and in snmp i also doesn't see the message size limit. 
> Yours,Fenggen
>   
>> On Jun 13, 2007, at 10:01 PM, Fenggen Jia wrote:
>>
>>     
>>> hi,all,
>>>       I am wondering why BGP has 4096 bytes limit on all its  
>>> messages,should we leave it to the implementator to decide,thanks!
>>>       
>> Well, the problem with that is that a sender could then create an  
>> arbitrarily long message, which could be arbitrarily problematic for  
>> a receiver.
>>
>> Tony
>>
>>     
>
>
>
>
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www1.ietf.org/mailman/listinfo/idr
>   

_______________________________________________
Idr mailing list
Idr@ietf.org
https://www1.ietf.org/mailman/listinfo/idr