8000 Unbreak PF_RING by droe · Pull Request #875 · zmap/zmap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Unbreak PF_RING #875

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

Merged
merged 1 commit into from
May 20, 2024
Merged

Unbreak PF_RING #875

merged 1 commit into from
May 20, 2024

Conversation

droe
Copy link
Contributor
@droe droe commented May 20, 2024

Set zconf.data_link_size to unbreak the receive code and implement send_batch for PF_RING to unbreak the send code. While here, also fix compiler warnings in PF_RING code.

Fixes #833. Fixes #694. Conflicts with #812. (Feel free to remove PF_RING instead of fixing it.)

Tested in a VM, and seems to work fine, results and hit rate look good. I don't have spare 10G hardware to install Linux on, so I cannot tell if ZMap with PF_RING is still able to send at 10G wire speed or not.

Set zconf.data_link_size to unbreak the receive code and implement
send_batch for PF_RING.

While here, also fix compiler warnings in PF_RING code.
@zakird
Copy link
Member
zakird commented May 20, 2024

If this fixes it, I say let's merge it. I don't think there's an inherent reason to drop it, if it works!

@zakird zakird merged commit c2a91fd into zmap:main May 20, 2024
@droe droe deleted the droe/fix-pfring branch June 8, 2024 09:31
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

Successfully merging this pull request may close these issues.

Zmap compile error with PF_RING PFRING ZC Not Working with ZMAP
2 participants
0