Re: [Syslog] Small draft for Syslog File Storage?

Simon Josefsson <> Wed, 10 November 2010 18:25 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 9EC103A6971 for <>; Wed, 10 Nov 2010 10:25:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id qOBSyU4G07H2 for <>; Wed, 10 Nov 2010 10:25:27 -0800 (PST)
Received: from ( []) by (Postfix) with ESMTP id 79A193A698D for <>; Wed, 10 Nov 2010 10:25:24 -0800 (PST)
Received: from ( []) (authenticated bits=0) by (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAAIPikR003521 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 10 Nov 2010 19:25:46 +0100
From: Simon Josefsson <>
To: "Rainer Gerhards" <>
References: <>
OpenPGP: id=B565716F; url=
Date: Wed, 10 Nov 2010 19:25:50 +0100
In-Reply-To: <> (Rainer Gerhards's message of "Wed, 10 Nov 2010 18:06:54 +0100")
Message-ID: <>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.96.3 at yxa-v
X-Virus-Status: Clean
X-Mailman-Approved-At: Thu, 11 Nov 2010 08:05:48 -0800
Subject: Re: [Syslog] Small draft for Syslog File Storage?
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Security Issues in Network Event Logging <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Wed, 10 Nov 2010 18:25:29 -0000

"Rainer Gerhards" <> writes:

> Hi Simon,
> it looks like I accidently deleted you mail while being on the phone. So I
> can not directly reply to it.
> The idea of a mime encoding is interesting. Can you point me to a RFC where
> you did this? I would be very happy if you could care about the mime parts of
> a draft, while I provide some of the encoding that fits what I see as needs
> for CEE and many users I know (basic things like no control characters
> present, one message per text file line and so).

Hi Rainer.  I did this for DNS data, see RFC 4027.  There are some
idiosyncratic aspects of MIME that needs to be handled, but I don't see
anything that would be a show stopper for a syslog format.

Oh, and please use a timestamp format that embeds the year!  How about
the RFC 3339 format?  I hate how it is impossible to know what year a
log entry was written on modern Linux systems.