Re: IPv6 TCP: first two SYN packets to local v6 unicast addresses ignored

2022-05-03 Thread Florian Smeets
On 03.05.22 19:08, Gleb Smirnoff wrote: On Sun, Apr 24, 2022 at 09:49:48AM +0200, Florian Smeets wrote: F> On 23.04.22 01:38, Gleb Smirnoff wrote: F> >Hi Florian, F> > F> > here is a patch that should help with the IPv6 problem. I'm not F> > yet committing it, it might be not final. F> F>

Re: IPv6 TCP: first two SYN packets to local v6 unicast addresses ignored

2022-05-03 Thread Gleb Smirnoff
On Sun, Apr 24, 2022 at 09:49:48AM +0200, Florian Smeets wrote: F> On 23.04.22 01:38, Gleb Smirnoff wrote: F> >Hi Florian, F> > F> > here is a patch that should help with the IPv6 problem. I'm not F> > yet committing it, it might be not final. F> F> yes, the patch resolves the issue. There

Re: IPv6 TCP: first two SYN packets to local v6 unicast addresses ignored

2022-04-24 Thread Florian Smeets
On 23.04.22 01:38, Gleb Smirnoff wrote: Hi Florian, here is a patch that should help with the IPv6 problem. I'm not yet committing it, it might be not final. Hi Gleb, yes, the patch resolves the issue. There is just one SYN packet, and it gets a reply immediately. Thanks, Florian

Re: IPv6 TCP: first two SYN packets to local v6 unicast addresses ignored

2022-04-22 Thread tuexen
> On 23. Apr 2022, at 02:24, Gleb Smirnoff wrote: > > Michael, > > On Sat, Apr 23, 2022 at 01:54:25AM +0200, Michael Tuexen wrote: > M> > here is a patch that should help with the IPv6 problem. I'm not > M> > yet committing it, it might be not final. > M> > M> when I was looking at the code,

Re: IPv6 TCP: first two SYN packets to local v6 unicast addresses ignored

2022-04-22 Thread tuexen
> On 23. Apr 2022, at 01:38, Gleb Smirnoff wrote: > > Hi Florian, > > here is a patch that should help with the IPv6 problem. I'm not > yet committing it, it might be not final. Hi Gleb, when I was looking at the code, I was also wondering if it would make more sense to check for M_LOOP.

Re: IPv6 TCP: first two SYN packets to local v6 unicast addresses ignored

2022-04-22 Thread Gleb Smirnoff
Michael, On Sat, Apr 23, 2022 at 01:54:25AM +0200, Michael Tuexen wrote: M> > here is a patch that should help with the IPv6 problem. I'm not M> > yet committing it, it might be not final. M> M> when I was looking at the code, I was also wondering if it would make M> more sense to check for

Re: IPv6 TCP: first two SYN packets to local v6 unicast addresses ignored

2022-04-22 Thread Gleb Smirnoff
On Sat, Apr 16, 2022 at 09:19:57AM -0400, Michael Butler wrote: M> > Michael, can you please confirm or decline that you see the packets M> > that are dropped when you tcpdump on lo0? M> M> All the jails are aliased to share a single bridge interface. That M> results in the route to each jail

Re: IPv6 TCP: first two SYN packets to local v6 unicast addresses ignored

2022-04-22 Thread Gleb Smirnoff
Hi Florian, here is a patch that should help with the IPv6 problem. I'm not yet committing it, it might be not final. -- Gleb Smirnoff diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c index 3a13d2a9dc7..625de6d3657 100644 --- a/sys/netinet6/ip6_input.c +++

Re: IPv6 TCP: first two SYN packets to local v6 unicast addresses ignored

2022-04-16 Thread Michael Butler
On 4/16/22 01:22, Gleb Smirnoff wrote: Hi Florian, Hi Michael, On Fri, Apr 15, 2022 at 06:11:13PM -0400, Michael Butler wrote: M> >> I can reproduce this locally, will try to figure out what is going on. M> >> If you can bisect it, it would be great. M> > M> > Found the culprit

Re: IPv6 TCP: first two SYN packets to local v6 unicast addresses ignored

2022-04-16 Thread Florian Smeets
On 16.04.22 07:22, Gleb Smirnoff wrote: Hi Florian, Hi Michael, Hi Gleb, thanks for looking into it. On Fri, Apr 15, 2022 at 06:11:13PM -0400, Michael Butler wrote: M> > M> > Found the culprit 1817be481b8703ae86730b151a6f49cc3022930f. And indeed M> > toggling

Re: IPv6 TCP: first two SYN packets to local v6 unicast addresses ignored

2022-04-15 Thread Gleb Smirnoff
Hi Florian, Hi Michael, On Fri, Apr 15, 2022 at 06:11:13PM -0400, Michael Butler wrote: M> >> I can reproduce this locally, will try to figure out what is going on. M> >> If you can bisect it, it would be great. M> > M> > Found the culprit 1817be481b8703ae86730b151a6f49cc3022930f. And indeed

Re: IPv6 TCP: first two SYN packets to local v6 unicast addresses ignored

2022-04-15 Thread tuexen
> On 16. Apr 2022, at 00:05, tue...@freebsd.org wrote: > >> On 15. Apr 2022, at 23:39, Florian Smeets wrote: >> >> On 15.04.22 21:24, tue...@freebsd.org wrote: On 15. Apr 2022, at 20:20, Florian Smeets wrote: Hi, there seems to be an issue with local IPv6 TCP

Re: IPv6 TCP: first two SYN packets to local v6 unicast addresses ignored

2022-04-15 Thread Michael Butler
On 4/15/22 17:39, Florian Smeets wrote: On 15.04.22 21:24, tue...@freebsd.org wrote: On 15. Apr 2022, at 20:20, Florian Smeets wrote: Hi, there seems to be an issue with local IPv6 TCP connections on main. I have been seeing this for a couple of months at least. pkg upgr on my webserver

Re: IPv6 TCP: first two SYN packets to local v6 unicast addresses ignored

2022-04-15 Thread tuexen
> On 15. Apr 2022, at 23:39, Florian Smeets wrote: > > On 15.04.22 21:24, tue...@freebsd.org wrote: >>> On 15. Apr 2022, at 20:20, Florian Smeets wrote: >>> >>> >>> Hi, >>> >>> there seems to be an issue with local IPv6 TCP connections on main. I have >>> been seeing this for a couple of

Re: IPv6 TCP: first two SYN packets to local v6 unicast addresses ignored

2022-04-15 Thread Florian Smeets
On 15.04.22 21:24, tue...@freebsd.org wrote: On 15. Apr 2022, at 20:20, Florian Smeets wrote: Hi, there seems to be an issue with local IPv6 TCP connections on main. I have been seeing this for a couple of months at least. pkg upgr on my webserver hosting the pkg repo is very slow, all

Re: IPv6 TCP: first two SYN packets to local v6 unicast addresses ignored

2022-04-15 Thread tuexen
> On 15. Apr 2022, at 20:20, Florian Smeets wrote: > > [bcc to net@ for wider exposure] > > Hi, > > there seems to be an issue with local IPv6 TCP connections on main. I have > been seeing this for a couple of months at least. pkg upgr on my webserver > hosting the pkg repo is very slow, all

IPv6 TCP: first two SYN packets to local v6 unicast addresses ignored

2022-04-15 Thread Florian Smeets
[bcc to net@ for wider exposure] Hi, there seems to be an issue with local IPv6 TCP connections on main. I have been seeing this for a couple of months at least. pkg upgr on my webserver hosting the pkg repo is very slow, all other hosts can connect to the pkg repo just fine. So IPv6