Hi Satish,
You can set environment variables within the context of the command that you
are executing as opposed to exporting them for the whole system. If you try
running nginx as per the wiki page mentioned previously, you should be able to
confirm LD_PRELOAD is not globally set after you ex
Hi Florin,
Thank you for clarifying. You said that when the LD_PRELOAD env variable
is set just before I start the application then only that application
syscalls are intercepted. Can you explain how is that mapping is done ( To
determine which application socket API needs to be intercepted)
? F
Hi Satish,
If the LD_PRELOAD env variable is only set when starting the application, only
that application’s syscalls are intercepted. Also note that we don’t intercept
all syscalls (check ldp.c for more details). So yes, the architecture in your
diagram should be possible.
Regards,
Florin
Hi Sastry,
VCL is a library applications link against to consume the session layer in vpp
via apis that are posix-like. So vcl is executed within the application’s
context. As for data exchanges between vcl and vpp, those are done without a
worker barrier.
Regards,
Florin
> On Jul 22, 2021
Hi Satish,
You can find an example of how to use Nginx with LDP here [1]. In general you
can find host stack documentation here [2].
Regards,
Florin
[1] https://wiki.fd.io/view/VPP/HostStack/LDP/nginx
[2] https://wiki.fd.io/view/VPP/HostStack
> On Jul 22, 2021, at 7:27 AM, satish amara
Hi,
I see we have a couple of options for user applications to use the VPP
TCP/IP stack. Either by VCL or LD_PRELOAD. I am trying to understand if we
can selectively intercept syscalls and injects them into VLS for specific
applications. Is LD_PRELOAD can application specific. If so what is the
>From the root of your workspace, “make build” will generate -g -o0 binaries…
> On Jul 22, 2021, at 8:56 AM, Ivaylo Handjiiski wrote:
>
>
> Hello,
>
> I am trying to debug the VPP code using gdb but when I am examining or
> printing variables most of them are .
>
> I've built vpp with -O0
Hello,
I am trying to debug the VPP code using gdb but when I am examining or printing
variables most of them are .
I've built vpp with -O0 flags. I am using a vagrant vm as a building
environment and my build process is as follows:
make TAG=vpp_debug install-dep
make TAG=vpp_debug pkg-deb
TA
Hi Florin,
Is it that VCL is going to be executed in the context of main thread as its
being connected to VPP main.
Do you see any issue with thread barrier if I send huge data? I know it is
going to impact.
With Regards
Sastry
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to th
Hi Neale and Alex,
Thank you for the inputs and Yes, its due to entries in neighbor table.
With Regards
Sastry
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19843): https://lists.fd.io/g/vpp-dev/message/19843
Mute This Topic: https://lists.fd.io/
10 matches
Mail list logo