[vpp-dev] IS-IS : router plugin ISIS + tap-inject #vpp #vpp_hard_code
[Edited Message Follows] Hi, *i want to extend router plugin code to support is-is, i.e., sending is-is packets up to the control plane!* *and also interfaces for control plane are also taken from vpp 18.07.* First, i registered ISIS in tap inject, by adding the following line: ip4_register_protocol (IP_PROTOCOL_ISIS, im->tx_node_index); in tap_inject_enable (void) function located at vppsb/router/router/tap_inject.c file! *by doing So, FRR (* *https://frrouting.org ) does not recognize ISIS from vpp interfaces. SO, the problem remained unsolved.* Is there a special issue related to is-is that i should know? Anyone can help me? what other changes in codes need to be done??? Regards, morteza. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13292): https://lists.fd.io/g/vpp-dev/message/13292 Mute This Topic: https://lists.fd.io/mt/32072111/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] IS-IS : router plugin ISIS + tap-inject #vpp #vpp_hard_code
Hi, *i want to extend router plugin code to support is-is, i.e., sending is-is packets up to the control plane!* *and also interfaces for control plane are also taken from vpp 18.07.* First, i registered ISIS in tap inject, by adding the following line: ip4_register_protocol (IP_PROTOCOL_ISIS, im->tx_node_index); in tap_inject_enable (void) function located at vppsb/router/router/tap_inject.c file! *by doing So, FRR does not recognize ISIS from vpp interfaces. SO, the problem remained unsolved.* Is there a special issue related to is-is that i should know? Anyone can help me? what other changes in codes need to be done??? Regards, morteza. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13292): https://lists.fd.io/g/vpp-dev/message/13292 Mute This Topic: https://lists.fd.io/mt/32072111/21656 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452 Mute #vpp_hard_code: https://lists.fd.io/mk?hashtag=vpp_hard_code&subid=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] identifying packets sent to a loopback address
Hi, I have a plugin node in which I want to process some received packets. When a packet is destined to an IP address that is configured on a loopback interface, I want to be able to lookup some data based on the sw_if_index of the loopback interface. Packets that are sent to the loopback address are received on hardware interfaces, so I cannot look at sw_if_index[VLIB_RX] in the vnet buffer opaque data to find out that the packet destination address belongs to a loopback. I was hoping that ip.adj_index[VLIB_TX] would contain data that would help me do what I'm trying to do, but that does not seem to be the case. In ip4-lookup, a FIB entry is found which matches the loopback address. The index of the adjacency for the path is stored in ip.adj_index[VLIB_TX]. But the stored value is subsequently overwritten in ip4-local during the call to ip4_local_check_src(). That function does a lookup on the source IP address and overwrites both ip.adj_index[VLIB_RX] and ip.adj_index[VLIB_TX] with the index retrieved by the lookup. I can work around this in my plugin code if I need to but it would be nice to be able to use the adjacency data that was retrieved by ip4-lookup. Would it break anything if ip4_local_check_src() only updates ip.adj_index[VLIB_RX] and leaves the contents of ip.adj_index[VLIB_TX] intact? Thanks, -Matt -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13291): https://lists.fd.io/g/vpp-dev/message/13291 Mute This Topic: https://lists.fd.io/mt/32066650/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] Transparent proxy app
Heh, I was about to look at this for a “captive portal” like app. (There is a silent ‘r’ in captive, but providers seem to love them.) > On Jun 14, 2019, at 9:39 AM, Florin Coras wrote: > > Hi, > > By default the stack only accepts “for-us” packets, i.e., packets that have > as destination ip one vpp’s interface ips. To support transparent proxying > you’d have to 1) write your own feature that intercepts traffic and delivers > it to the stack and 2) your own transparent proxy app. > > Florin > >> On Jun 14, 2019, at 9:32 AM, max1976 via Lists.Fd.Io >> wrote: >> >> Hello, >> >> Does vpp support transparent proxy mode for applications like tproxy in >> Linux? >> >> Thanks. -=-=-=-=-=-=-=-=-=-=-=- >> Links: You receive all messages sent to this group. >> >> View/Reply Online (#13287): https://lists.fd.io/g/vpp-dev/message/13287 >> Mute This Topic: https://lists.fd.io/mt/32065725/675152 >> Group Owner: vpp-dev+ow...@lists.fd.io >> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [fcoras.li...@gmail.com] >> -=-=-=-=-=-=-=-=-=-=-=- > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#13289): https://lists.fd.io/g/vpp-dev/message/13289 > Mute This Topic: https://lists.fd.io/mt/32065725/675164 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [j...@netgate.com] > -=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13290): https://lists.fd.io/g/vpp-dev/message/13290 Mute This Topic: https://lists.fd.io/mt/32065725/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] Transparent proxy app
Hi, By default the stack only accepts “for-us” packets, i.e., packets that have as destination ip one vpp’s interface ips. To support transparent proxying you’d have to 1) write your own feature that intercepts traffic and delivers it to the stack and 2) your own transparent proxy app. Florin > On Jun 14, 2019, at 9:32 AM, max1976 via Lists.Fd.Io > wrote: > > Hello, > > Does vpp support transparent proxy mode for applications like tproxy in Linux? > > Thanks. -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#13287): https://lists.fd.io/g/vpp-dev/message/13287 > Mute This Topic: https://lists.fd.io/mt/32065725/675152 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [fcoras.li...@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13289): https://lists.fd.io/g/vpp-dev/message/13289 Mute This Topic: https://lists.fd.io/mt/32065725/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] PerfMon Plugin Issue
It looks like you sent one ore more worker threads down a rabbit hole, to the point where they never make it back to the worker thread dispatch loop. Otherwise, the data collection would have stopped properly. I don’t know of any recent or broken commits to the performance monitor plugin. Please look carefully at what you’re doing. D From: vpp-dev@lists.fd.io On Behalf Of Satya Murthy Sent: Friday, June 14, 2019 11:19 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] PerfMon Plugin Issue Hi , I am trying to use the perfmon plugin for cpu-cycles event. I am doing a continuous ping over a memif channel. But, I am seeing that the command always return saying "Data Collection in progress". DBGvpp# set pmc cpu-cycles Start collection for 1 events, wait 1.00 seconds DEADMAN: collection still running... Data collection complete... DBGvpp# show pmc Data collection in progress... DBGvpp# Is there anything else I need to enable to use this perfmon plugin (or) any known issue with recent commits. -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13288): https://lists.fd.io/g/vpp-dev/message/13288 Mute This Topic: https://lists.fd.io/mt/32064990/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] Transparent proxy app
Hello, Does vpp support transparent proxy mode for applications like tproxy in Linux? Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13287): https://lists.fd.io/g/vpp-dev/message/13287 Mute This Topic: https://lists.fd.io/mt/32065725/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] PerfMon Plugin Issue
Hi , I am trying to use the perfmon plugin for cpu-cycles event. I am doing a continuous ping over a memif channel. But, I am seeing that the command always return saying "Data Collection in progress". DBGvpp# set pmc cpu-cycles Start collection for 1 events, wait 1.00 seconds DEADMAN: collection still running... Data collection complete... DBGvpp# show pmc Data collection in progress... DBGvpp# Is there anything else I need to enable to use this perfmon plugin (or) any known issue with recent commits. -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13286): https://lists.fd.io/g/vpp-dev/message/13286 Mute This Topic: https://lists.fd.io/mt/32064990/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] L2TP #vpp
Hello Ken, Currently VPP supports Encapsulation/Decapsulation only for L2TPv3 not L2TPv2 and that is also only for IPv6 not for IPv4. So, its not possible to validate your gateway with VPP end point for L2TPv2/IPv4 based tunnel. Thanks, Prashant -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13285): https://lists.fd.io/g/vpp-dev/message/13285 Mute This Topic: https://lists.fd.io/mt/26226885/21656 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-