fln / addrwatch

A tool similar to arpwatch for IPv4/IPv6 and ethernet address pairing monitoring.
GNU General Public License v3.0
184 stars 30 forks source link

Have a more compact database format #21

Open tdussa opened 3 years ago

tdussa commented 3 years ago

By default, one database row is stored per event. However, there are many use cases in which a complete list of these events is not desired. In many cases, it is sufficient to know when a given IP/MAC/VLAN/origin/interface combination occured for the first and last times (and possibly how many times it did occur in total). This allows for a much more compact database scheme.

I have added the option to use such a "compact" scheme instead. I'll drop a pull request for this.