vflow icon indicating copy to clipboard operation
vflow copied to clipboard

Fix ipfix buffer use and mirror test

Open themiron opened this issue 1 year ago • 1 comments

Without raw capabilities test does nothing, but with them fails later on buffer put with short crafted body or IPv4 send permission in IPv6-only environment

themiron avatar Mar 31 '24 14:03 themiron

The buffer fix test makes sense in ipfix_unix.go makes sense, I was able to reproduce that issue and confirm that change fixes it, but I did have to also set opts.IPFIXUDPSize inside the test.

I'm unsure about the changes to the test in ipfix_test.go. When I pull those in, I get a timeout on the test. I suspect this is an environment issue. I have IPv6 addresses setup and tried removing the v4 addresses on both loop-back and other interfaces in my test environment, but didn't have any luck. Can you explain more about your IPv6-only test environment that triggers this issue?

swills avatar Aug 17 '24 22:08 swills