OpenVisualCloud / Media-Transport-Library

A real-time media transport(DPDK, AF_XDP, RDMA) stack for both raw and compressed video based on COTS hardware.
BSD 3-Clause "New" or "Revised" License
161 stars 51 forks source link

tools/ebpf: add udp_monitor to sniff all UDP streaming on the network #794

Closed frankdjx closed 5 months ago

frankdjx commented 5 months ago

promiscuous mode is enabled to detect all UDP on the network.

----- DUMP UDP STAT EVERY 2s ----- 192.168.17.102:20076 -> 239.168.17.102:20000, 2611.027318 Mb/s pkts 493288 192.168.17.101:19955 -> 239.168.17.101:20000, 2610.995542 Mb/s pkts 493282 192.168.17.101:29892 -> 239.168.17.101:30000, 1.967996 Mb/s pkts 2000 192.168.17.102:29941 -> 239.168.17.102:30000, 1.967996 Mb/s pkts 2000 192.168.17.102:40070 -> 239.168.17.102:40000, 0.102720 Mb/s pkts 120 192.168.17.101:40054 -> 239.168.17.101:40000, 0.102720 Mb/s pkts 120