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

afpacket inline #21

Open
sunlj6 opened this issue May 5, 2023 · 1 comment
Open

afpacket inline #21

sunlj6 opened this issue May 5, 2023 · 1 comment

Comments

@sunlj6
Copy link

sunlj6 commented May 5, 2023

2023.05.05

  • 环境
    • virtuabox6.1
    • 系统版本:ubuntu18.4
    • 内核版本:5.4.0
    • daq版本:master分支3.0.11, commit cbad742060 (2023 Feb)
  • 现象
    • daq使用afpacket 模块,并使能了 inline模式,但是peer端无法收到对应的流量
  • 复现步骤
    1. sudo ./daqtest-static -d afpacket -M inline -i enp0s9:enp0s10
      image
    2. 使用 tcpreplay向enp0s9 回放dns流量,并使用tcpdump对enp0s10收包
      • 回放 sudo tcpreplay -M1 -i enp0s9 dns.pcap
        image
      • 收包 sudo tcpdump -nn -i enp0s10
        image
      • daq处理
        image
  • 结果
    • 期望可以从enp0s10收到经过daq转发后的dns流量。但实际并没有收到这些流量。
@sunlj6
Copy link
Author

sunlj6 commented May 5, 2023

请帮忙确认下此问题,感谢!
@Xiche @Priyanka-Gurudev

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