From owner-freebsd-net@FreeBSD.ORG Tue Sep 3 14:19:09 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 35E46A22; Tue, 3 Sep 2013 14:19:09 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-vb0-x234.google.com (mail-vb0-x234.google.com [IPv6:2607:f8b0:400c:c02::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C1C5B201C; Tue, 3 Sep 2013 14:19:08 +0000 (UTC) Received: by mail-vb0-f52.google.com with SMTP id f12so3840164vbg.39 for ; Tue, 03 Sep 2013 07:19:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8gPdn8i94IJ+H9vwn/kY6bNenX/Rf0MoGQyMWuRmaew=; b=Jd7qMSwwpI+Ri462oPC8X8arKMFMtsvXvz/7M9YhcjMFYyuVCYBbmqRyheDUUKPm3x Z1oN5nStJqyFlv0AkKyKQkM+rAARVAjiiFU5oYzz6J85dyhjgVDB0rQNSyccin3r1Kd3 XEIitrPabe//5lsK04L/OfhlazXDB80ydEz4G52EWyUwqPCYdtxgAnttbqdHD6eTCN7N Zm1VXIGjnmNozNiF0IENo18oN3aWwkXOYst1MTgF7MBSATF1HyDR6pQiHwVoIbwaxJi0 G+TVt7vGXxqUkIH1pJUL+asV5Kw0ojCEhcUxHh1v5VdqdP6Jpnj4gQNE350f2icmjNq3 aEfQ== MIME-Version: 1.0 X-Received: by 10.58.235.69 with SMTP id uk5mr28776563vec.17.1378217947776; Tue, 03 Sep 2013 07:19:07 -0700 (PDT) Received: by 10.220.122.1 with HTTP; Tue, 3 Sep 2013 07:19:07 -0700 (PDT) In-Reply-To: <5224333C.8070305@martinlaabs.de> References: <5224333C.8070305@martinlaabs.de> Date: Tue, 3 Sep 2013 10:19:07 -0400 Message-ID: Subject: Re: No UDP/TCP IPv6 connectivity (only) to router using gif interface - maybe ARM related From: Zaphod Beeblebrox To: Martin Laabs Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Net , freebsd-arm , freebsd-current X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Sep 2013 14:19:09 -0000 Whether you feel it right, or not, net.inet.ip.forwarding must be 1 for gif to work (even for IPv6). On Mon, Sep 2, 2013 at 2:42 AM, Martin Laabs wrote: > Hi, > > I tried to set up my raspberry PI as an ipv6 router. As a tunnel broker I > use sixxs. Now I observed an interesting behavior: > > Every host from my network can reach the ipv6 world. The ipv6 world can > also reach every host in my network. However - the router itself is unable > to make udp or tcp connection to the "world" and is also unable to accept > connections form the "world" > ICMP however works properly. > I had a look to the tcpdump and when trying to connect i.e. to > www.kame.net > the rasperry router sends a syn packet and get a syn/ack packet back. The > rest of the handshake is missing. > I tried also some udp with netcat (nc -6 -u -l 5555 on the server and nc -6 > -u 5555 on the client) > This works great for internal (ethernet) traffic but when the data should > go through the tunnel if fails. > > The last test is maybe the most significant to describe the bug: > > Start netcat to listen for UDP packages on an external host: > > nc -6 -u -l 5555 > > Connect from the RPI-Router to that host > > nc -6 -u 2001:4dd0:xxxx:xxxx::2 5555 > > Now it is possible to send data from the RPI router to the external host > but the opposite direction does not work. Tcpdump however shows that the > udp package arrives but it is not "forwarded" to the application. > So for me it seems to be a problem with the handling of the receiving data > in the gif interface. > > This behavior is independent from net.inet6.ip6.forwarding or > net.inet6.ip6.redirect status. > > The router system: FreeBSD raspberry-pi.xxx 10.0-CURRENT FreeBSD > 10.0-CURRENT #2 r254984 > > Best regards, > Martin Laabs > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >