rkosegi / netflow-collector

Simple Netflow V5 exporter for prometheus
Apache License 2.0
9 stars 3 forks source link

feat: add reverse_dns enrichment #76

Closed aeijdenberg closed 2 months ago

aeijdenberg commented 2 months ago

Thanks for making this nice tool. I've been playing with it this weekend to monitor my home network.

I thought it might be nice to add reverse_dns as an enrichment.

Sadly the data produced wasn't that interesting on my network - so many things are resolving to ec2-x.y.z.a.compute-1.amazonaws.com addresses, but figured share it back in case useful for anyone else.

Adds a dependency on the https://github.com/jellydator/ttlcache library which seemed well suited for this type of cache. I'm about to push another PR which also uses this.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

rkosegi commented 2 months ago

Thanks for this feature @aeijdenberg