Closed
[WIP] Update README to include pull request URL#6
Conversation
Add v9 options
…ess, compare the keys (which are integers) instead of values (strings)
… IP addresses to integers first, we construct them from bytes directly
…ucting bytes when possible
…ing struct.unpack_from()
…uct.unpack to extract all of the values at once)
Bump version to v0.11.2 Closes bitkeks#38 Closes bitkeks#39
Includes fixes for enterprise bit flag and templatefield type check.
There's no 3.9.3, only 3.9.2, which is also the correct Debian version. 3.11.1 is available in pyenv 2.3.8, but 2.3.7 is currently in use by the Github action. So 3.11 is used, which uses the latest patch version
commit 63abf52 Padding: add offset!=length check to reduce safety check calls Adds another check when parsing a set. The check "offset != self.header.length" allows to skip the padding checks if the offset is the same as the length, not calling rest_is_padding_zeroes and wasting CPU time. commit 8d1cf9c Finish IPFIX padding handling Tested implementation of IPFIX set padding handling. Uses TK-Khaw's proposed no_padding_last_offset calculation, extended as modulo calculation to match multiple data set records. Tests were conducted by capturing live traffic on a test machine with tcpdump, then this capture file was read in by softflowd 1.1.0, with the collector.py as the export target. The exported IPFIX (v10) packets were then using both no padding and padding, so that tests could be validated. Closes bitkeks#34 Signed-off-by: Dominik Pataky <software+pynetflow@dpataky.eu> commit 51ce4ea Fix and optimize padding calculation for IPFIX sets. Refs bitkeks#34 commit 9d3c413 Author: Khaw Teng Kang <tk.khaw@attrelogix.com> Date: Tue Jul 5 16:29:12 2022 +0800 Reverted changes to template_record, data_length is now computed using field length in template. Signed-off-by: Khaw Teng Kang <tk.khaw@attrelogix.com> commit 3c4f8e6 IPFIX: handle padding (zero bytes) in sets Adds a check to each IPFIX set ID branch, checking if the rest of the bytes in this set is padding/zeroes. Refs bitkeks#34 Signed-off-by: Dominik Pataky <software+pynetflow@dpataky.eu>
Agent-Logs-Url: https://github.com/neilalb16/python-netflow-v9-softflowd/sessions/cebd9b5e-c206-45e9-b68c-85513e654e33 Co-authored-by: neilalb16 <209672690+neilalb16@users.noreply.github.com>
Copilot stopped work on behalf of
neilalb16 due to an error
April 4, 2026 17:47
neilalb16
changed the base branch from
copilot/canbus-reboot-lexus-gs350-again
to
add_v9_options
April 4, 2026 19:11
neilalb16
marked this pull request as ready for review
April 5, 2026 00:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.