Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

RFC3164 support old syslog #55

Closed
wants to merge 14 commits into from
Closed

Commits on Dec 4, 2022

  1. add support for RFC3164 streams

    both nontransparent and octetcounting use RFC5424 which isn't used by
    many devices, i.e. OpenWrt or Ubiquiti routers.
    
    Add a new function called NewParserRFC3164 to both.
    
    Signed-off-by: Paul Spooren <[email protected]>
    aparcar committed Dec 4, 2022
    Configuration menu
    Copy the full SHA
    e14cd67 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. Configuration menu
    Copy the full SHA
    6b0f3ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a63ed17 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. feat(rfc3164): relax spacing

    tosuke committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    764e3bf View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2024

  1. Merge remote-tracking branch 'tosuke-lab/fix-rfc3164-spacing' into rf…

    …c3164-openbsd
    
    Regenerate rfc3164/machine.go
    catap committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    f021dfc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc43dcd View commit details
    Browse the repository at this point in the history
  3. Support syslog messages without hostname

    OpenBSD like many other hardware sends syslog messages without hostname,
    here I added support of such messages.
    catap committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    ca7c91e View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2024

  1. Ignore LF at the end counted message

    Some old syslog may add LF between two messages, outside of counters.
    catap committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    8df754b View commit details
    Browse the repository at this point in the history
  2. Match output of parser.go with defined gramma

    This, it added missed WithMaxMessageLength into .rl
    catap committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    cdf8dce View commit details
    Browse the repository at this point in the history
  3. nontransparent shouldn't return result and error at the same time

    It is qutie confusing when it parses a message but returns error as
    well, that it was mallforemd.
    
    So, I've used the best effort flag as the way to decide. When it true,
    it gnores all errors, but when it false it ignores the message.
    catap committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    51642e9 View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'aparcar/rfc3164' into rfc3164-openbsd

    Move changes to nontransparent/parser.go.rl and regenerate nontransparent/parser.go
    catap committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    6e7fa61 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2e6ee05 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Increase size of RFC3164 tag name

    Unifi thinks that it can be up to 48 characters, tolerate it.
    catap committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    d4173fa View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. run: go fmt

    catap committed May 1, 2024
    Configuration menu
    Copy the full SHA
    4ffec8b View commit details
    Browse the repository at this point in the history