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

PF_RING Alternative #766

Open
APT-ZERO opened this issue Feb 23, 2024 · 2 comments
Open

PF_RING Alternative #766

APT-ZERO opened this issue Feb 23, 2024 · 2 comments

Comments

@APT-ZERO
Copy link

Hi, this PF_RING supports no interface. Is there any alternative? are them supported?

@APT-ZERO
Copy link
Author

@mzpqnxow
Copy link
Contributor

Seems like there is multiple similar engines

https://github.com/pavel-odintsov/fastnetmon?tab=readme-ov-file#supported-packet-capture-engines

Based on my experience spending several weeks porting masscan to use the infiniband verbs interface (to support Mellanox NICs) my assessment is that though this can be done, it's non-trivial, if not outright painful, and requires a lot of "free" time- literally and figuratively

I don't expect support for any other zero-copy (or reduced interrupt) frameworks to be added any time soon, if ever. It's as simple as the fact that there are very few people that have the combination of time+interest+expertise

I would love to see this, it's just a lot of work. And for those who need to use the tool professionally, or even as hobbyists, it's very easy to get hardware with e1000 or i210 at the least

So yeah...

  • ibverbs would be great (Mellanox cards are ubiquitous in cloud environments)...
  • AF_XDP would be nice to see...
  • io_uring would be great...

... but I'm not holding my breath for these, and I don't recommend you do either 😃

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

2 participants