Skip to content

afpacket inline #21

@sunlj6

Description

@sunlj6

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流量。但实际并没有收到这些流量。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions