From owner-freebsd-net@FreeBSD.ORG Tue Jan 20 20:47:22 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8BC616A4CE for ; Tue, 20 Jan 2004 20:47:22 -0800 (PST) Received: from aradia.cybernetik.net (c-66-41-32-30.mn.client2.attbi.com [66.41.32.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4F4243D41 for ; Tue, 20 Jan 2004 20:47:10 -0800 (PST) (envelope-from kristofer@aradia.cybernetik.net) Received: by aradia.cybernetik.net (Postfix, from userid 1002) id B09041147D; Tue, 20 Jan 2004 22:37:07 -0600 (CST) Date: Tue, 20 Jan 2004 22:37:07 -0600 From: Kristofer Pettijohn To: freebsd-net@freebsd.org Message-ID: <20040121043707.GA24470@cybernetik.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.5.1i Subject: if_gif issues X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2004 04:47:22 -0000 I'm seeing some weird issues with the gif interface, if someone could enlighten me. This was working fine on 5.1-RELEASE when I was running it, and then I did a clean install of 5.2-RELEASE from CVS, and I'm having some weird things. I have an ipip tunnel setup using gif0 as follows: gif1: flags=8051 mtu 1460 tunnel inet a.b.c.d --> w.x.y.z inet a.b.c.d --> w.x.y.z netmask 0xffffffff inet6 fe80::2e0:18ff:fe25:21%gif1 prefixlen 64 scopeid 0x4 The first issue I saw was when someone was trying to load a webpage that traffic came in through the tunnel, it would stall; thought it was an issue with Apache, but I loaded it locally.. then I started to see weird things with mail and errors in my mailq showing up such as (conversation with servername[m.n.o.p] timed out while sending end of data -- message may be sent more than once)). The thing I noticed about all of these stalls was that the data packets are large, and I see them sitting in my netstat as ESTABLISHED sessions waiting to transmit the data.. For example, the SMTP stuff.. Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 2941 aradia.55492 smtp.otherhost.co.smtp ESTABLISHED and it will stay like that until it times out.. The mtu on my end and the other end of the tunnel match. This is setup exactly the same as it was in 5.1-RELEASE, as I copied the configuration [and also re-did it to ensure I'm sane]. So I'm seeing that gif is breaking large packets, for whatever reason. Can someone point me in the right direction, or see a bug in any new code? I looked at the cvs repository to see what has changed in it, and I don't see anything there.. I could be blind. -- Kristofer Pettijohn kristofer@cybernetik.net