3 Commits

Author SHA1 Message Date
Kyrylo Yatsenko
76abe84d6e T75: ipt-netflow fix aggregation mode
* 0004-Change-aggregation-parameter-mode-400-444.patch:
  Tests need to read 'aggregation' parameter. All other parameters have
  modes 444 or 644. Change mode of 'aggregation' 400 -> 444
2025-09-02 11:30:54 +03:00
Kyrylo Yatsenko
3c43575369 T75: ipt-netflow enable direction + fix vlan out
* add --enable-direction as requested
* Fix output of `cat /proc/net/stat/ipt_netflow_flows`:
  previously if no VLAN, there was no output and table
  columns were shifted when parsed.
2025-09-01 20:07:09 +03:00
Kyrylo Yatsenko
9ea81ca125 T75: ipt-netflow enable sampler, mac and vlan
Enable sampler, MAC address and VLAN recording.

For this to work two patches are needed:

* 0001-Fix-prandom_u32-_max-get_random_u32-_below: fix
interface updates for random numbers, took fix from
0c5759d002

* 0002-Fix-lu-llu-where-64bit: Fix lu -> llu for 64-bit fields
2025-08-31 20:00:42 +03:00