-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mikemiles-dev
authored and
mikemiles-dev
committed
Mar 4, 2025
1 parent
9b8ab15
commit 59151b8
Showing
28 changed files
with
650 additions
and
283 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
105 changes: 0 additions & 105 deletions
105
src/snapshots/netflow_parser__tests__base_tests__it_doesnt_parse_0_length_fields_ipfix.snap
This file was deleted.
Oops, something went wrong.
44 changes: 44 additions & 0 deletions
44
src/snapshots/netflow_parser__tests__base_tests__it_parses_0_length_fields_ipfix.snap
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
source: src/tests.rs | ||
expression: "NetflowParser::default().parse_bytes(&packet)" | ||
--- | ||
- IPFix: | ||
header: | ||
version: 10 | ||
length: 48 | ||
export_time: 16909060 | ||
sequence_number: 0 | ||
observation_domain_id: 16909060 | ||
flowsets: | ||
- header: | ||
header_id: 2 | ||
length: 20 | ||
body: | ||
template: | ||
template_id: 256 | ||
field_count: 3 | ||
fields: | ||
- field_type_number: 8 | ||
field_type: SourceIpv4address | ||
field_length: 4 | ||
- field_type_number: 12 | ||
field_type: DestinationIpv4address | ||
field_length: 4 | ||
- field_type_number: 65 | ||
field_type: AssignedforNetFlowv9compatibility | ||
field_length: 0 | ||
- header: | ||
header_id: 256 | ||
length: 12 | ||
body: | ||
data: | ||
data_fields: | ||
- 0: | ||
- SourceIpv4address | ||
- Ip4Addr: 1.2.3.4 | ||
- 1: | ||
- DestinationIpv4address | ||
- Ip4Addr: 1.2.3.4 | ||
- 2: | ||
- AssignedforNetFlowv9compatibility | ||
- Vec: [] |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.