This group is locked. No changes can be made to the group while it is locked.
Date
1 - 3 of 3
XDP Port Mirroring
Pavuluri.kanthi@...
Hi, I am looking at the ways in which we can mirror the traffic from one port to other port using XDP. Appreciate your pointers Thanks, Kanthi On Sun, Oct 14, 2018 at 3:55 PM Kanthi P <pavuluri.kanthi@...> wrote:
|
Kanthi P <Pavuluri.kanthi@...>
Found the solution, please ignore Thanks! On Sun, Oct 14, 2018 at 3:57 PM Kanthi P <Pavuluri.kanthi@...> wrote:
|
Kanthi P <Pavuluri.kanthi@...>
Sure :) I have done it using XDP_REDIRECT. It redirects all the traffic from one port on to other port.There are some helpers like "bpf_redirect" that you can leverage to do the needful. You could refer to these samples below: https://github.com/torvalds/linux/blob/master/samples/bpf/xdp_redirect_kern.c https://github.com/torvalds/linux/blob/master/samples/bpf/xdp_redirect_user.c Regards, Kanthi On Mon, Oct 15, 2018 at 12:06 PM François <aifsair@...> wrote:
|