Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetFlow conversion test cases #121

Open
ghost opened this issue Aug 10, 2015 · 1 comment
Open

NetFlow conversion test cases #121

ghost opened this issue Aug 10, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 10, 2015

The test suite as it is currently present in IPFIXcol only supports IPFIX files as input traffic. An integral part of IPFIXcol is however the code that converts from NetFlow v5 and NetFlow v9 to IPFIX. Hence, non-IPFIX input traffic should be tested and supported by the test suite too.

The most straightforward solution would be to use tcpreplay for replaying NetFlow traffic. In case tcpreplay is not available on the system, a warning should be printed and the test should be successful.

As a concrete example, I've prepared a test case based on NetFlow traffic for #118.

@thorgrin
Copy link
Collaborator

I agree that current test cases do not cover the functionality of the collector as well as they should. I'm ready to look into and accept any patches adding more sensible tests. However, I often have problems with tcpreplay on local machine, so I'd need to give your test a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant