bitkeks / python-netflow-v9-softflowd

PyPI "netflow" package. NetFlow v9 parser, collector and analyzer implemented in Python 3. Developed and tested with softflowd
https://bitkeks.eu/blog/2016/08/collecting-netflow-v9-on-openwrt.html
MIT License
110 stars 56 forks source link

Fixed analyzer.py to display collected flows whose version is not 9 #46

Open irino opened 1 year ago

irino commented 1 year ago

analyzer.py did not work when decode data collected by collector.py when exporter (softflowd) exported version 1 record, version 5 record or IPFIX record. This PR fix this problem. This code is formatted by black.

bitkeks commented 1 year ago

Hi @irino, thanks for your PR! Happy to see the maintainer of softflowd here 😄

I'd love to merge your PR, but the black formatter did some additional changes I would not merge at the moment. I'm looking into merging your changes without the formatting.

irino commented 7 months ago

I reduced unnecessary changes.