Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

跨平台如何测试? #79

Description

@zhjygit

问题1:
如果计算机A的ip地址是192.168.10.10/24,计算机A是x86-64架构的pc;
openwrt设备的ip地址:设备计划使用树莓派,lan口为192.168.20.20/24,wlan正常,计算机A使用有线网线接入到openwrt设备的lan接口;
后端计算机B通过openwrt设备的wlan(即树莓派的ap)联通,同时计算机B添加的ip地址是192.168.10.20/24,计算机B是x86-64架构的pc;
如果在openwrt上运行port-mirroring,那么,理论上,port-mirroring就能将计算机A的192.168.10.10流量转发到计算机B上,这是因为,openwrt设备与计算机B互通(基于wlan);此时,就能在计算机B上捕获计算机A的流量。
我这个思路有问题吗?

问题2:
如果计算机B想把192.168.10.20的流量转发到计算机A上,那么,此时x86-64架构的计算机B也需要运行一个port-mirroring,那么,如何编译得到一个能在PC上运行的x86-64架构的port-mirroring呢?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions