Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support many RFC3164 old formats (OpenBSD, IQTS-IP200, Synology NAS, Unifi UAP and UGP) #13

Merged
merged 11 commits into from
May 20, 2024

Commits on May 20, 2024

  1. Configuration menu
    Copy the full SHA
    da639ab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f684829 View commit details
    Browse the repository at this point in the history
  3. feat(rfc3164): relax spacing

    tosuke authored and leodido committed May 20, 2024
    Configuration menu
    Copy the full SHA
    54d45a8 View commit details
    Browse the repository at this point in the history
  4. chore: bump year in comments to pass tests

    catap authored and leodido committed May 20, 2024
    Configuration menu
    Copy the full SHA
    ee4ce0a View commit details
    Browse the repository at this point in the history
  5. feat: support syslog messages without hostname

    OpenBSD like many other hardware sends syslog messages without hostname,
    here I added support of such messages.
    
    Co-authored-by: Leonardo Di Donato <[email protected]>
    catap and leodido committed May 20, 2024
    Configuration menu
    Copy the full SHA
    222d6f1 View commit details
    Browse the repository at this point in the history
  6. feat: ignore LF at the end counted message

    Some old syslog may add LF between two messages, outside of counters.
    catap authored and leodido committed May 20, 2024
    Configuration menu
    Copy the full SHA
    8101bcf View commit details
    Browse the repository at this point in the history
  7. fix: 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 authored and leodido committed May 20, 2024
    Configuration menu
    Copy the full SHA
    0d20714 View commit details
    Browse the repository at this point in the history
  8. feat: add support for RFC3164 streams (nontransparent, octetcounting)

    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]>
    Co-authored-by: Leonardo Di Donato <[email protected]>
    aparcar and leodido committed May 20, 2024
    Configuration menu
    Copy the full SHA
    cad29a3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d8adae4 View commit details
    Browse the repository at this point in the history
  10. feat: increase size of RFC3164 tag name

    Unifi thinks that it can be up to 48 characters, tolerate it.
    
    Co-authored-by: Leonardo Di Donato <[email protected]>
    catap and leodido committed May 20, 2024
    Configuration menu
    Copy the full SHA
    d17f532 View commit details
    Browse the repository at this point in the history
  11. chore: format

    Co-authored-by: Leonardo Di Donato <[email protected]>
    catap and leodido committed May 20, 2024
    Configuration menu
    Copy the full SHA
    8418fad View commit details
    Browse the repository at this point in the history