D. New
 November 2001

Syslog-Reliable


1. Helpful Reading

Syslog RFCs 3164, RFC 3195

Syslog I-D draft-ietf-syslog-sign

BEEP RFCs 3080, 3081



2. Introduction

syslog is unreliable, using UDP

TCP is reliable enough

Syslog-reliable uses the BEEP framework

BEEP provides reliability, transmission privacy, authentication

SYSLOG over BEEP is relatively easy to standardize and implement



3. syslog

Traditional UDP mechanism

syslog-sign - Authenticated, safe storage

syslog-reliable - Secure reliable transmission



4. syslog Secure Transmission

Message Authenticity Assured

Message Replay Prevented

Message Integrity Assured

Message Observation Prevented



5. BEEP - Introduction

Connection-oriented

Message-oriented

Peer-to-peer



6. BEEP - Architecture

Sessions

Channels

Default channel is control

Privacy and Authentication

Other goodies

Not addressed directly by BEEP:



7. BEEP - Message types

MSG, RPY, ERR, ANS, NUL

MSG -> RPY

MSG -> ERR

MSG -> ANS,ANS,...,NUL



8. SYSLOG-RELIABLE

Two syslog profiles: RAW and COOKED

Two integrity profiles: TLS and SASL/DIGEST-MD5

Selections are orthogonal



9. TLS and SASL/DIGEST-MD5

TLS is essentially SSLv3 plus provisioning

DIGEST-MD5 hashes nonce+password, proves password without revealing it

DIGEST-MD5 adds hash to message

Password is shared secret, not public key



10. RAW Profile

MSG from collector

ANS, ANS, ANS ... from device

Each ANS carries one traditional message

Each ANS may carry multiple messages, separated by CRLF

Messages have same format as traditional



11. COOKED Profile

Basic XML formatting/wrapper

MSG from device

RPY (or ERR) from collector

MSG is <iam> or <entry> or <path>

Reply is <ok> or <error>



12. COOKED iam

Attributes:

FQDN

IP

Type - Device, relay, or collector

#PCDATA - commentary



13. COOKED entry

Attributes:

xml:lang

facility - coded as digits

severity - coded as digits

timestamp - textual timestamp

tag - optional

deviceFQDN

deviceIP

pathID - where it came from

#PCDATA - Original data



14. COOKED path

Attributes:

Nested <path>

PathID - Matches with <entry>

fromFQDN - source FQDN of this hop

fromIP - source IP of this hop

toFQDN - destination FQDN of this hop

toIP - destination IP of this hop

linkprops - security attributes on this hop