Translate

Archives

The Syslog Protocol

I have used syslog for over 30 years now but other than knowing that it uses UDP and port 514, I have never looked at the underlying protocol in any detail. Syslog is standardized by the IETF in RFC 5424 This document describes the syslog protocol, which is used to convey event notification messages. This protocol utilizes a layered architecture, which allows the use of any number of transport protocols for transmission of syslog messages. It also provides a message format that allows vendor-specific extensions to be provided in a structured way. This RFC does not define any transports. They

GNU Coreutils Epoch Date Support

GNU coreutils 5.3.0 added the very useful @ operator to the date command to enable users to easily convert seconds since the Unix Epoch into date strings. $ date Mon Mar 17 21:31:15 EDT 2014 $ date +%s 1395106277 $ date -d’@1395106277′ Mon Mar 17 21:31:17 EDT 2014 $ date –date=’@1395106277′ Mon Mar 17 21:31:17 EDT 2014 $

Precision Time Protocol

Most Linux users are familiar with the Network Time Protocol (NTP) but few are aware of Precision Time Protocol (PTP) which is another protocol that can be used to synchronize clocks throughout a computer network. PTP is defined in IEEE 1588-2008 (Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems). PTP is designed for computing systems requiring time accuracies beyond those attainable using NTP, i.e. high time precision systems. By the way, NTP is documented in RFC 5905. PTP is an on-the-wire protocol and typically includes hardware support in the servers, clients and switches to capture