Re: [Syslog] AD review comments for draft-ietf-syslog-dtls
"tom.petch" <cfinss@dial.pipex.com> Sat, 08 May 2010 19:17 UTC
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: syslog@core3.amsl.com
Delivered-To: syslog@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D5F193A68B5 for <syslog@core3.amsl.com>; Sat, 8 May 2010 12:17:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.044
X-Spam-Level:
X-Spam-Status: No, score=-0.044 tagged_above=-999 required=5 tests=[AWL=-1.289, BAYES_50=0.001, DATE_IN_PAST_03_06=0.044, J_CHICKENPOX_35=0.6, J_CHICKENPOX_63=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1NfkBr10SF44 for <syslog@core3.amsl.com>; Sat, 8 May 2010 12:17:30 -0700 (PDT)
Received: from mk-outboundfilter-1.mail.uk.tiscali.com (mk-outboundfilter-1.mail.uk.tiscali.com [212.74.114.37]) by core3.amsl.com (Postfix) with ESMTP id 4718D3A6835 for <syslog@ietf.org>; Sat, 8 May 2010 12:17:30 -0700 (PDT)
X-Trace: 352395238/mk-outboundfilter-1.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.100.253/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.100.253
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH:
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AqsKAItV5Us+vGT9/2dsb2JhbAAtgUo6ZoRGixOMGa1Ej3gOgRiDAW4E
X-IronPort-AV: E=Sophos;i="4.52,353,1270422000"; d="scan'208";a="352395238"
X-IP-Direction: IN
Received: from 1cust253.tnt1.lnd9.gbr.da.uu.net (HELO allison) ([62.188.100.253]) by smtp.pipex.tiscali.co.uk with SMTP; 08 May 2010 20:17:15 +0100
Message-ID: <004601caeeda$51e62940$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: jsalowey@cisco.com, turners@ieca.com, clonvick@cisco.com, Tim Evens <tim@evensweb.com>
References: <20100505160214.21688@web4.nyc1.bluetie.com>
Date: Sat, 08 May 2010 16:51:37 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: syslog@ietf.org
Subject: Re: [Syslog] AD review comments for draft-ietf-syslog-dtls
X-BeenThere: syslog@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: Security Issues in Network Event Logging <syslog.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/syslog>, <mailto:syslog-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/syslog>
List-Post: <mailto:syslog@ietf.org>
List-Help: <mailto:syslog-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/syslog>, <mailto:syslog-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 08 May 2010 19:17:32 -0000
---- Original Message ----- From: "Tim Evens" <tim@evensweb.com> Sent: Wednesday, May 05, 2010 10:02 PM Hopefully this isn't too late for a review comment...It appears to me that DTLS as a SYSLOG-MSG transport introduces a new variable that isn't present with traditional TCP and UDP based transports with regards to SYSLOG-MSG fragments. IP/UDP transport allows for IPv4 based fragmentation, even though it should be avoided for several reasons, there could be useful and valid application uses for fragmenting UDP packets. <tp> True, but RFC5426 says "It is RECOMMENDED that syslog senders restrict message sizes such that IP datagrams do not exceed the smallest MTU of the network in use. This avoids datagram fragmentation and possible issues surrounding fragmentation such as incorrect MTU discovery. Fragmentation can be undesirable because it increases the risk of the message being lost due to loss of just one datagram fragment. Syslog has no acknowledgement facility, and therefore there is no effective way to handle retransmission. This makes it impossible for syslog to utilize packetization layer path MTU discovery [9]. When network MTU is not known in advance, the safest assumption is to restrict messages to 480 octets for IPv4 and 1180 octets for IPv6." so my take has always been, forget fragmentation, or use TCP. I would apply that to a DTLS mapping. Tom Petch </tp> IP/TCP as a transport supports message segments that can span multiple packets. Per RFC4347 section 4.1.1, "each DTLS record MUST fit within a single datagram." DTLS introduces a sequence_number field to the record layer, which facilitates reassembly providing the receiving station queues and reorders. In this draft, section 5.1 suggests that it's optional for the implementer to adopt a queue mechanism to resolve reordering. Later in section 5.4 it suggests that a single SYSLOG-MSG can be transferred in multiple DTLS records. If it is optional to implement DTLS sequence numbers, how does the originator of the SYSLOG-MSG know that the collector will not reorder messages? If the originator knows that the collector will not reorder DTLS fragments, then it can truncate messages prior to transmission. In lieu of truncation, the originator could generate multiple SYSLOG-MSG's using structured data that enables the collector to piece them together. There doesn't appear to be a SYSLOG-FRAME ID as part of each DTLS application-data record. If a message of say 1400 bytes is sent in 3 packets/DTLS records, and if packet 2 of the 3 was dropped by the network, how does the collector know that those packets were to be concatenated as a single SYSLOG-MSG? Without a SYSLOG-FRAME identifier, the collector would have to assume invalid based on messages not structured per RFC5424. Also, if there is no frame ID and sequence reordering isn't implemented, a out-of-sequence DTLS record could possibly inadvertently be prepended or appended to the wrong message, causing a valid message to be corrupt. It seems this would be moot if when using DTLS a SYSLOG-MSG must not span multiple DTLS records. Thanks,Tim -----Original Message-----From: "Chris Lonvick" [clonvick@cisco.com]Date: 05/03/2010 06:49 AM To: "tom.petch" , "Joe Salowey" , "Sean Turner" CC: syslog@ietf.org Subject: Re: [Syslog] AD review comments for draft-ietf-syslog-dtls Hi, I'm good with that as well. Joe, can you edit and resubmit a new ID? Sean, if this covers all of your edits, when can we expect to see it on the IESG agenda, and when can we see IETF LC? Thanks, Chris On Tue, 27 Apr 2010, tom.petch wrote:
- [Syslog] AD review comments for draft-ietf-syslog… Sean Turner
- Re: [Syslog] AD review comments for draft-ietf-sy… Chris Lonvick
- Re: [Syslog] AD review comments for draft-ietf-sy… Joseph Salowey (jsalowey)
- Re: [Syslog] AD review comments for draft-ietf-sy… Sean Turner
- Re: [Syslog] AD review comments for draft-ietf-sy… Joseph Salowey (jsalowey)
- Re: [Syslog] AD review comments for draft-ietf-sy… tom.petch
- Re: [Syslog] AD review comments for draft-ietf-sy… Chris Lonvick
- Re: [Syslog] AD review comments for draft-ietf-sy… Sean Turner
- Re: [Syslog] AD review comments for draft-ietf-sy… Tim Evens
- Re: [Syslog] AD review comments for draft-ietf-sy… tom.petch
- Re: [Syslog] AD review comments for draft-ietf-sy… Tim Evens
- [Syslog] AD review discuss/comments for draft-iet… t.petch
- Re: [Syslog] AD review discuss/comments for draft… Rainer Gerhards
- Re: [Syslog] AD review discuss/comments for draft… Sean Turner
- Re: [Syslog] AD review discuss/comments for draft… Pasi.Eronen
- Re: [Syslog] AD review discuss/comments for draft… robert.horn
- Re: [Syslog] AD review discuss/comments for draft… t.petch
- Re: [Syslog] AD review discuss/comments for draft… t.petch
- Re: [Syslog] AD review discuss/comments for draft… Pasi.Eronen
- [Syslog] AD review discuss/comments for draft-iet… t.petch