You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-14Lines changed: 20 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -317,7 +317,7 @@ The parser also automatically validates:
317
317
318
318
### Template TTL (Time-to-Live)
319
319
320
-
> **⚠️ Breaking Change in v0.7.0:**Packet-based and combined TTL modes have been removed. Only time-based TTL is now supported. See [RELEASES.md](RELEASES.md) for migration guide.
320
+
> **Note:** Only time-based TTL is supported. See [RELEASES.md](RELEASES.md) for details.
321
321
322
322
Optionally configure templates to expire after a time duration. This is useful for:
323
323
- Handling exporters that reuse template IDs with different schemas
@@ -706,18 +706,18 @@ pub struct NetflowCommon {
706
706
pubflowsets:Vec<NetflowCommonFlowSet>,
707
707
}
708
708
709
-
#[derive(Debug, Default)]
710
-
structNetflowCommonFlowSet {
711
-
src_addr:Option<IpAddr>,
712
-
dst_addr:Option<IpAddr>,
713
-
src_port:Option<u16>,
714
-
dst_port:Option<u16>,
715
-
protocol_number:Option<u8>,
716
-
protocol_type:Option<ProtocolTypes>,
717
-
first_seen:Option<u32>,
718
-
last_seen:Option<u32>,
719
-
src_mac:Option<String>,
720
-
dst_mac:Option<String>,
709
+
#[derive(Debug, Default, Clone)]
710
+
pubstructNetflowCommonFlowSet {
711
+
pubsrc_addr:Option<IpAddr>,
712
+
pubdst_addr:Option<IpAddr>,
713
+
pubsrc_port:Option<u16>,
714
+
pubdst_port:Option<u16>,
715
+
pubprotocol_number:Option<u8>,
716
+
pubprotocol_type:Option<ProtocolTypes>,
717
+
pubfirst_seen:Option<u64>,
718
+
publast_seen:Option<u64>,
719
+
pubsrc_mac:Option<String>,
720
+
pubdst_mac:Option<String>,
721
721
}
722
722
```
723
723
@@ -1194,7 +1194,13 @@ To run:
1194
1194
1195
1195
```cargo run --example custom_enterprise_fields```
1196
1196
1197
-
The pcap example also shows how to cache flows that have not yet discovered a template. The custom_enterprise_fields example demonstrates how to register vendor-specific IPFIX fields.
1197
+
```cargo run --example template_hooks```
1198
+
1199
+
```cargo run --example template_management_demo```
1200
+
1201
+
```cargo run --example multi_source_comparison```
1202
+
1203
+
The pcap example also shows how to cache flows that have not yet discovered a template. The custom_enterprise_fields example demonstrates how to register vendor-specific IPFIX fields. The template_hooks example shows how to monitor template lifecycle events.
0 commit comments