Project

General

Profile

Actions

Feature #25158

open

Sniff DHCP and TFTP network traffic and add them into audit

Added by Lukas Zapletal over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Audit Log
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Interesting idea which is done by MaaS is to sniff network traffic (we would do this via proxy) and report it back as events. This can be then nicely presented in the Host - Audit page. A host requested DHCP IP address, requested TFTP file etc. This can be extended to more services etc.

- https://github.com/maas/maas/blob/master/scripts/dhcp-monitor
- https://github.com/maas/maas/blob/master/scripts/network-monitor
- https://github.com/maas/maas/blob/master/scripts/beacon-monitor


Related issues 1 (1 open0 closed)

Related to Foreman - Tracker #25156: Ideas from MaaSNew

Actions
Actions #1

Updated by Lukas Zapletal over 5 years ago

Actions #2

Updated by Marek Hulán over 5 years ago

By audit you mean log right? not the audits we display in UI or is that the goal?

Actions #3

Updated by Lukas Zapletal over 5 years ago

In MaaS you really see it in a host detail (node detail) on events page (we have audits for the same). So I was really thinking Foreman audits table, with host associated records so we can show them easily per-host.

I still think that all audits are subject of storing outside of RDBM, I know there is some extra work around associations but we have grown by far out of scope of the audited gem. But this is a different topic :-)

Actions #4

Updated by Lukas Zapletal over 5 years ago

  • Triaged changed from No to Yes
Actions #5

Updated by Timo Goebel over 5 years ago

I love this feature, would really help to see what happens under the hood. Ideally, we could also enrich this data with access to templates, e.g. what https://github.com/ShimShtein/foreman_build_history does.

We actually don't need to sniff network packets to get the dhcp information. dhcpd can call scripts when certain events happen.

Actions

Also available in: Atom PDF