Re: [NETDEV]: getsockopt(fd, SOL_IP, SO_ORIGINAL_DST, sa, &salen) is in fact sometimes returning the source IP instead the destination IP

2019-01-12 Thread Lukas Tribus
Hello! On Sat, 12 Jan 2019 at 18:26, Willy Tarreau wrote: > > One case where this can happen is when nf_conntrack_tcp_loose > > (mid-stream pickup) is enabled. > > Very interesting case indeed, I hadn't thought about it! I think we > don't have enough info from the original reporter's setup but

Re: [NETDEV]: getsockopt(fd, SOL_IP, SO_ORIGINAL_DST, sa, &salen) is in fact sometimes returning the source IP instead the destination IP

2019-01-12 Thread Lukas Tribus
Hello, >> getsockopt(fd, SOL_IP, SO_ORIGINAL_DST, sa, &salen) is in fact sometimes >> returning the source IP instead the destination IP. Using getsockname() >> instead looks like solving the issue. >> >> For just an example: >> Out of 6569124 requests , 4 requests were wrong 0.60891 % (this

RE: netdev broken?

2015-06-25 Thread Lukas Tribus
> On 06/25/15 08:03, David Miller wrote: > >> >> I'm pretty sure you're just not subscribed to the list. >> > > I never unsubscribed. Ive resubscribed. Same thing happened to me at least 3 times in the last 4 - 5 years. Suddenly it appears I'm unsubscribed. I have no idea how that happens or why.