From owner-freebsd-current Thu Oct 10 14:45:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 186A037B401 for ; Thu, 10 Oct 2002 14:45:21 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10A2643ECD for ; Thu, 10 Oct 2002 14:45:20 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id OAA72214; Thu, 10 Oct 2002 14:32:35 -0700 (PDT) Received: from arch20m.dellroad.org (localhost [127.0.0.1]) by arch20m.dellroad.org (8.12.6/8.12.6) with ESMTP id g9ALVQON013994; Thu, 10 Oct 2002 14:31:26 -0700 (PDT) (envelope-from archie@arch20m.dellroad.org) Received: (from archie@localhost) by arch20m.dellroad.org (8.12.6/8.12.6/Submit) id g9ALVQ3m013993; Thu, 10 Oct 2002 14:31:26 -0700 (PDT) From: Archie Cobbs Message-Id: <200210102131.g9ALVQ3m013993@arch20m.dellroad.org> Subject: Re: mpd: resource deadlock avoided? In-Reply-To: <3DA4F79C.4070202@isi.edu> "from Lars Eggert at Oct 9, 2002 08:44:28 pm" To: Lars Eggert Date: Thu, 10 Oct 2002 14:31:26 -0700 (PDT) Cc: current X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lars Eggert writes: > I'm trying to connect to a Cisco VPN server using mpd under -current. > While the connection setup seems to work fine (see attached log), when I > try to send traffic over the tunnel, I see these messages: > > PING hbo.isi.edu (128.9.160.75): 56 data bytes > ping: sendto: Resource deadlock avoided > ping: sendto: No buffer space available > ping: sendto: No buffer space available > ping: sendto: No buffer space available > ^C > --- hbo.isi.edu ping statistics --- > 4 packets transmitted, 0 packets received, 100% packet loss > > For the first packet after the tunnel comes up, I always get "resource > deadlock avoided", for all later packets "no buffer space". This is because the remote external IP address of the VPN tunnel is equal to the remote internal IP address, and mpd/FreeBSD is not smart enough to avoid trying to send the encapsulated packet back through the tunnel. Try configuring the Cisco box to use separate internal and external IP addresses, or adding a host route to the remote peer first before starting mpd. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message