I am using IRB config. I am using CLI and CLI docs to find these features. Sorry, but I couldn't find ip input feature. I found input under interface: set int input, but the only option under that was acl.
So basically: clients with ip addresses 192.168.1.0/24 ---> dst_port=5000, dst_addr= customdomain.com ---> vpp intercept ---> redirects ---> tap interface ---> server listening on linux stack (192.168.1.3) Yes, don't care about intercepting tcp traffic between clients on same subnet. Thanks! On Wed, Feb 8, 2017 at 3:27 PM, Dave Barach (dbarach) <dbar...@cisco.com> wrote: > Assuming that you’re using an IRB config: I’d suggest using the ip input > feature arc; enable the feature on the IRB loopback interface and off you > go. > > > > FYI: we’re planning a significant rework of the L2 feature path. I’m > guessing that you don’t care about intercepting 192.168.1.10 tcp -> > 192.168.1.11 tcp dst=5000 > > > > D. > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *John Pearson > *Sent:* Wednesday, February 8, 2017 5:36 PM > *To:* Pierre Pfister (ppfister) <ppfis...@cisco.com> > *Cc:* vpp-dev@lists.fd.io > *Subject:* Re: [vpp-dev] classify and redirect to tap > > > > @Dave > > > > Every packet from any/all clients aimed at tcp 5000. Basically this would > be like a proxy server. > > > > Client 1 (192.168.1.10) ---> dst_port=5000, dst_addr=customdomain.com > ---> vpp intercept ---> redirects ---> tap interface ---> server listening > on linux stack (192.168.1.3) > > > > > > @Pierre > > > > Thank. I will take a look at the plugin. > > > > On Wed, Feb 8, 2017 at 2:14 PM, Pierre Pfister (ppfister) < > ppfis...@cisco.com> wrote: > > Hello John, > > IIRC tap inject is in VPP Sandbox "router" sub-project. > It is an experimental plugin allowing for doing what you are looking for. > It was intended to provide a way to run a routing protocol in linux and > reflect the result into VPP. > > I don't know if it still compiles, but it definitely would be useful to > have someone updating it. > > Cheers, > > - Pierre > > > > > Le 7 févr. 2017 à 06:56, John Pearson <johnpearson...@gmail.com> a > écrit : > > > > Hi, I am trying to send/redirect outgoing tcp port 5000 traffic to tap > device. > > > > I found another thread mention “tap inject” but couldn’t find any > documentation on it and “inject” is an unknown input in vpp CLI. > > > > Any advice? > > > _______________________________________________ > > vpp-dev mailing list > > vpp-dev@lists.fd.io > > https://lists.fd.io/mailman/listinfo/vpp-dev > > >
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev