Re: [osv-dev] [PATCH] routecache: handle case when sent to our non-loopback address

2022-07-24 Thread Waldek Kozaczuk
On Sunday, July 24, 2022 at 10:21:48 AM UTC-4 n...@scylladb.com wrote: > On Sun, Jul 24, 2022 at 5:11 PM Waldek Kozaczuk > wrote: > >> BTW there are more routecache related patches that I think we can bring >> in from Spirent fork which I documented here - >> https://github.com/cloudius-syst

Re: [osv-dev] [PATCH] routecache: handle case when sent to our non-loopback address

2022-07-24 Thread Nadav Har'El
On Sun, Jul 24, 2022 at 5:11 PM Waldek Kozaczuk wrote: > BTW there are more routecache related patches that I think we can bring in > from Spirent fork which I documented here - > https://github.com/cloudius-systems/osv/issues/1197. > This one looks like a bug fix - > https://github.com/SpirentO

Re: [osv-dev] [PATCH] routecache: handle case when sent to our non-loopback address

2022-07-24 Thread Waldek Kozaczuk
BTW there are more routecache related patches that I think we can bring in from Spirent fork which I documented here - https://github.com/cloudius-systems/osv/issues/1197. This one looks like a bug fix - https://github.com/SpirentOrion/osv/commit/38df7da9fbe2f171297f41ecae58edc9bd436617 This o

Re: [osv-dev] [PATCH] routecache: handle case when sent to our non-loopback address

2022-07-24 Thread Nadav Har'El
Hi, this code is probably correct given that both you and the Spirent guys gave it a lot of thought, but there's something I'm not sure I understand: If I understand correctly (but please correct me if I'm wrong), the problem is that OSv has somewhere an "optimization" that internal connections to

[osv-dev] [PATCH] routecache: handle case when sent to our non-loopback address

2022-07-23 Thread Waldemar Kozaczuk
This patch modifies the OSv routecache to handle the case when a route entry gets added for a non-loopback address and loopback device before packets start coming from outside of the local network. The practical example is an app that on startup calls itself on its HTTP endpoint but using non-loopb