Re: [vpp-dev] Forwarding Specific Packet with LCP Plugin

2023-02-14 Thread filvarga
Hi Burcu, Yes you are able to use VPP host stack implementation with LD_PRELOAD. Please refer to https://wiki.fd.io/view/VPP/HostStack/LDP/sshd . Best regards, Filip Varga ut 14. 2. 2023 o 14:50 Matthew Smith via lists.fd.io napísal(a): > > You set the next hop address to the same as the

Re: [vpp-dev] Forwarding Specific Packet with LCP Plugin

2023-02-14 Thread Matthew Smith via lists.fd.io
You set the next hop address to the same as the local interface address: On Tue, Feb 14, 2023 at 7:42 AM Burcu YUKSEL < burcu.yuk...@ulakhaberlesme.com.tr> wrote: [...] > set int ip address memif0/0 10.10.1.1/24 > [...] > abf policy add id 0 acl 0 via 10.10.1.1 memif0/0 > If you want packets

Re: [vpp-dev] Forwarding Specific Packet with LCP Plugin

2023-02-14 Thread Burcu YUKSEL
Hi Matthew, According to the information that you gave us, we run the below configuration : VPP version         : 23.02-rc0~219-g6903da2 set int ip address TwentyFiveGigabitEthernetd8/0/0 10.20.10.22/24 set interface state TwentyFiveGigabitEthernetd8/0/0  up create interface memif id 0 master

Re: [vpp-dev] Forwarding Specific Packet with LCP Plugin

2023-02-09 Thread Matthew Smith via lists.fd.io
Hi Burcu, You can probably use ABF (https://wiki.fd.io/view/VPP/ABF) to do this. When you have linux-cp enabled and an interface is added to a linux-cp interface pair, the normal behavior is that packets received on that interface which are destined to the interface IP address will be punted to

Re: [vpp-dev] Forwarding Specific Packet with LCP Plugin

2023-02-09 Thread Pim van Pelt via lists.fd.io
Hoi, Linux CP forwards all (unicast, multicast, ARP) through the TAP tunnel to the Linux kernel. It's not possible to add a classifier that selectively forwards some but not all traffic. Matthew mentioned in a thread about NAT (which kind of wants to do the same thing, perform NAT on some of the

[vpp-dev] Forwarding Specific Packet with LCP Plugin

2023-02-09 Thread Burcu YUKSEL
Hello Everyone, We want to transfer the SSH packets coming from Device A to Linux Stack, other packets to Application B full duplex. We transferred packets with using LCP plugin. However in this case we have transferred all the packets to Linux stack. Is there a way to forward only TCP packets

[vpp-dev] Forwarding Specific Packet with LCP Plugin

2023-02-09 Thread Burcu YUKSEL
Hello Everyone, We want to transfer the SSH packets coming from Device A to Linux Stack, other packets to Application B full duplex. We transferred packets with using LCP plugin. However in this case we have transferred all the packets to Linux stack. Is there a way to forward only TCP packets