首页 文章

在openvswitch上拦截数据包

提问于
浏览
0

我想拦截从控制器到达交换机的数据包(例如泛光灯),然后对这些数据包进行一些处理 . 我该怎么办呢?我应该从一个好的地方开始吗?

谢谢

1 回答

  • 0

    如何记录snoop和monitor命令here

    snoop switch Connects to switch and prints to the console all OpenFlow messages received.

    monitor switch Connects to switch and prints to the console all OpenFlow messages received.

    • 编写一个运行snoop或monitor的脚本

    • 解析输出

    • "and then do some processing"

    如果您不想使用OpenFlow消息而是数据包,则可以使用wireshark from the command line .

相关问题