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

Allow packets capture using dump rules #64

Open
GeorgyKirichenko opened this issue Oct 18, 2023 · 0 comments
Open

Allow packets capture using dump rules #64

GeorgyKirichenko opened this issue Oct 18, 2023 · 0 comments

Comments

@GeorgyKirichenko
Copy link
Collaborator

YANET DataPlane supports three types of special interfaces designed to capture packets: inbound, outbound, and drop.
However, all of them have serious problems in production:

  • limited bandwidth between the Linux kernel and YANET even for the virtio driver - most packets are silently dropped even before pcap filtering
  • high packet transmission rate distorts the kernel connection using the default interface, which disrupts bird sessions
  • abuse of kernel interrupts
  • no internal filtration

The basic idea is to embed dump rules into the YANET ruleset and then capture packets from shared memory using a special utility.

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