Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1351138 > unrolled thread

Unexpected tcpv6 connection resets since linux 4.4

Started byAndreas Messer <andi@bastelmap.de>
First post2016-03-06 16:20 +0100
Last post2016-03-09 20:20 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  Unexpected tcpv6 connection resets since linux 4.4 Andreas Messer <andi@bastelmap.de> - 2016-03-06 16:20 +0100
    Re: Unexpected tcpv6 connection resets since linux 4.4 Cong Wang <xiyou.wangcong@gmail.com> - 2016-03-08 01:00 +0100
      Re: Unexpected tcpv6 connection resets since linux 4.4 Andreas Messer <andi@bastelmap.de> - 2016-03-09 20:20 +0100

#1351138 — Unexpected tcpv6 connection resets since linux 4.4

FromAndreas Messer <andi@bastelmap.de>
Date2016-03-06 16:20 +0100
SubjectUnexpected tcpv6 connection resets since linux 4.4
Message-ID<r9IDo-6Jh-19@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi there,

i have updated two of my machines in the last weeks to linux 4.4.1 and linux 
4.4.3. It seems that since then i get unexpected TCPv6 connection resets when 
connecting to these machines remotely. The issue occurs with sshd and with a 
http service. /etc/hosts.deny and /etc/hosts.allow are empty on both server 
machines. I'm not so in IPv6 and have no idea whats going on. Please find 
attached a network trace from one of the machines when connecting with ssh (on 
port 23 for debugging). 

Redirects should be accepted according to settings:

root@banana:/proc/sys/net/ipv6# cat conf/wlan0/forwarding 

0
root@banana:/proc/sys/net/ipv6# cat conf/wlan0/accept_redirects 
1
root@banana:/proc/sys/net/ipv6# uname -a
Linux banana 4.4.1-banana #3 SMP Wed Feb 17 23:03:38 CET 2016 x86_64 GNU/Linux

Is there some new network settings or features? My network consists of an 
ethernet/wlan router where subnet of wlan and ethernet are identical.  (forced 
by the router, but was never a problem before). The problem occurs when 
connecting from ethernet machine to wlan machine and when connecting from wlan 
machine to wlan machine. At the moment its not possible to establish a 
connection with these machines using IPv6.

Thanks for help!

Cheers
Andreas

[toc] | [next] | [standalone]


#1352283

FromCong Wang <xiyou.wangcong@gmail.com>
Date2016-03-08 01:00 +0100
Message-ID<radea-1go-21@gated-at.bofh.it>
In reply to#1351138
Cc'ing netdev

On Sun, Mar 6, 2016 at 7:10 AM, Andreas Messer <andi@bastelmap.de> wrote:
> Hi there,
>
> i have updated two of my machines in the last weeks to linux 4.4.1 and linux
> 4.4.3. It seems that since then i get unexpected TCPv6 connection resets when
> connecting to these machines remotely. The issue occurs with sshd and with a
> http service. /etc/hosts.deny and /etc/hosts.allow are empty on both server
> machines. I'm not so in IPv6 and have no idea whats going on. Please find
> attached a network trace from one of the machines when connecting with ssh (on
> port 23 for debugging).

Sounds like the problem fixed by the following commit:

commit 9cf7490360bf2c46a16b7525f899e4970c5fc144
Author: Eric Dumazet <edumazet@google.com>
Date:   Tue Feb 2 19:31:12 2016 -0800

    tcp: do not drop syn_recv on all icmp reports


Thanks.


>
> Redirects should be accepted according to settings:
>
> root@banana:/proc/sys/net/ipv6# cat conf/wlan0/forwarding
> 0
> root@banana:/proc/sys/net/ipv6# cat conf/wlan0/accept_redirects
> 1
> root@banana:/proc/sys/net/ipv6# uname -a
> Linux banana 4.4.1-banana #3 SMP Wed Feb 17 23:03:38 CET 2016 x86_64 GNU/Linux
>
> Is there some new network settings or features? My network consists of an
> ethernet/wlan router where subnet of wlan and ethernet are identical.  (forced
> by the router, but was never a problem before). The problem occurs when
> connecting from ethernet machine to wlan machine and when connecting from wlan
> machine to wlan machine. At the moment its not possible to establish a
> connection with these machines using IPv6.
>
> Thanks for help!
>
> Cheers
> Andreas

[toc] | [prev] | [next] | [standalone]


#1354370

FromAndreas Messer <andi@bastelmap.de>
Date2016-03-09 20:20 +0100
Message-ID<raROh-3VS-9@gated-at.bofh.it>
In reply to#1352283

[Multipart message — attachments visible in raw view] — view raw

On Mon, Mar 7, 2016 at 15:58, Cong Wang <xiyou.wangcong@gmail.com>wrote:
> On Sun, Mar 6, 2016 at 7:10 AM, Andreas Messer <andi@bastelmap.de> wrote:
> > i have updated two of my machines in the last weeks to linux 4.4.1 and
> > linux 4.4.3. It seems that since then i get unexpected TCPv6 connection
> > resets when connecting to these machines remotely. The issue occurs with
> > sshd and with a http service. /etc/hosts.deny and /etc/hosts.allow are
> > empty on both server machines. I'm not so in IPv6 and have no idea whats
> > going on. Please find attached a network trace from one of the machines
> > when connecting with ssh (on port 23 for debugging).
> 
> Sounds like the problem fixed by the following commit:
> 
> commit 9cf7490360bf2c46a16b7525f899e4970c5fc144
> Author: Eric Dumazet <edumazet@google.com>
> Date:   Tue Feb 2 19:31:12 2016 -0800
> 
>     tcp: do not drop syn_recv on all icmp reports

Thanks for the tip. I applied the patch to V4,4,1 and it solved the problem.

Cheers,
Andreas

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web