ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master 50b9da7: Add a systemd Journal Export Format parser a

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 31 Aug 2018 05:20:33 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=50b9da7bc2d43f83a57fdd1ff3a8c9186461d834
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

50b9da7 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Add a systemd Journal Export Format parser and dissector.
    
    Add a file parser and dissector that can handle the output of
    `journalctl -o export`. From here we can add a systemd journal extcap
    and possibly support for the JSON and binary formats.
    
    Change-Id: I01576959b2c347ce7ac9aa57cdb5c119c81d61e9
    Reviewed-on: https://code.wireshark.org/review/29311
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  94735eb   vagrant: Use debian-setup.sh
     add  50b9da7   Add a systemd Journal Export Format parser and dissector.


Summary of changes:
 docbook/release-notes.asciidoc           |  22 +-
 epan/dissectors/CMakeLists.txt           |   2 +
 epan/dissectors/packet-syslog.c          |  90 +---
 epan/dissectors/packet-syslog.h          | 104 ++++
 epan/dissectors/packet-systemd-journal.c | 839 +++++++++++++++++++++++++++++++
 wiretap/CMakeLists.txt                   |   1 +
 wiretap/README.developer                 |  18 +-
 wiretap/file_access.c                    |   4 +-
 wiretap/systemd_journal.c                | 236 +++++++++
 wiretap/{radcom.h => systemd_journal.h}  |  10 +-
 wiretap/wtap.h                           |   2 +
 11 files changed, 1224 insertions(+), 104 deletions(-)
 create mode 100644 epan/dissectors/packet-syslog.h
 create mode 100644 epan/dissectors/packet-systemd-journal.c
 create mode 100644 wiretap/systemd_journal.c
 copy wiretap/{radcom.h => systemd_journal.h} (51%)