From owner-freebsd-current Sun Apr 1 7:19:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from roaming.cacheboy.net (roaming.cacheboy.net [203.56.168.69]) by hub.freebsd.org (Postfix) with ESMTP id 4E3F637B71B; Sun, 1 Apr 2001 07:19:12 -0700 (PDT) (envelope-from adrian@roaming.cacheboy.net) Received: (from adrian@localhost) by roaming.cacheboy.net (8.11.1/8.11.1) id f31EIeG48026; Sun, 1 Apr 2001 16:18:40 +0200 (CEST) (envelope-from adrian) Date: Sun, 1 Apr 2001 16:18:40 +0200 From: Adrian Chadd To: Jeroen Ruigrok/Asmodai Cc: Eugene Polovnikov , net@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: nos-tun & multihomed machines Message-ID: <20010401161840.A47943@roaming.cacheboy.net> References: <20010316112914.A50671@zssm.zp.ua> <20010316105026.A12010@daemon.ninth-circle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010316105026.A12010@daemon.ninth-circle.org>; from asmodai@wxs.nl on Fri, Mar 16, 2001 at 10:50:26AM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 16, 2001, Jeroen Ruigrok/Asmodai wrote: > -On [20010316 10:43], Eugene Polovnikov (paranoid@brain-fag.org) wrote: > >Please, review the following PR: > >http://www.freebsd.org/cgi/query-pr.cgi?pr=25847 > > > >Same patch is in the attach. > > Just a question, > > the gif interface now part of the system does tunneling as well in as > much the same way as nos-tun does. Does gif work for the multihomed > case? [I'll otherwise when not getting any responses dig up the answer > myself.] > I ask this because it serves no purpose having an IPv4-only [as far as > my knowledge goes] tunnel application, whilst we have a more flexible > new solution present. > > Translated, does gif do what nos-tun can do and more? Yes? Let's rip > out nos-tun and support the other well maintained solution. .. and, if you've compiled in the gif interface, you can't actually open a raw IP socket to the IPIP protocol, since the gif interface has it. This isn't documented anywhere, and its bitten me more than once (the error message returned isn't exactly the most helpful..) That said, nos-tun is a nice and simple example of how one would use the tunnel interface in their own program. Perhaps we might want to move it to /usr/share/examples/ ? Adrian, who now runs gif instead of nos-tun .. -- Adrian Chadd "Programming is like sex: One mistake and you have to support for a lifetime." -- rec.humor.funny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message