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

netmap (IPS) and traffic graphs empty #278

Closed
AdSchellevis opened this issue Aug 3, 2020 · 6 comments
Closed

netmap (IPS) and traffic graphs empty #278

AdSchellevis opened this issue Aug 3, 2020 · 6 comments
Assignees
Labels
cleanup Low impact changes

Comments

@AdSchellevis
Copy link
Member

AdSchellevis commented Aug 3, 2020

Probably a setting we should document, by default net.bpf.zerocopy_enable is disabled, which means that traffic graphs will not show any traffic when IPS is enabled.

In tunables set net.bpf.zerocopy_enable=1 and restart IPS to "fix" the issue, likely with a small performance penalty.

@AdSchellevis AdSchellevis self-assigned this Aug 3, 2020
@AdSchellevis AdSchellevis added the cleanup Low impact changes label Aug 3, 2020
@mimugmail
Copy link
Member

Sounds reasonable .. https://forum.opnsense.org/index.php?topic=18373.0

@AdSchellevis
Copy link
Member Author

@mimugmail yep, there's a switch for that. which is actually quite logical, because it would involve moving the packet around which was referenced (zero copy) before. I don't think we should change the default without notice, but I kind of expect some of this worked by accident on fbsd 11

@mimugmail
Copy link
Member

Better let's wait for more feedback. I also have feedback on different things which worked on fbsd 11 and behaves different on fbsd 12

@AdSchellevis
Copy link
Member Author

From a system perspective / choosing defaults it's more a choice between performance (zero copy) and function (breaking the chain), either way it should be anywhere in the documentation to explain the consequences, since these seem to be difficult to find.

@mimugmail
Copy link
Member

Ok for two different topics this one doesn't help:
https://forum.opnsense.org/index.php?topic=18426.msg83791;topicseen#msg83791

@AdSchellevis
Copy link
Member Author

could be literally anything, but usually driver/hardware related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Low impact changes
Development

No branches or pull requests

2 participants