NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/39233: OpenSSH fails to initialize tun(4) tunnels correctly



The following reply was made to PR bin/39233; it has been noted by GNATS.

From: Quentin Garnier <cube%cubidou.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: campbell%mumble.net@localhost
Subject: Re: bin/39233: OpenSSH fails to initialize tun(4) tunnels correctly
Date: Mon, 28 Jul 2008 16:25:07 +0200

 --LQksG6bCIzRHxTLp
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Mon, Jul 28, 2008 at 02:00:01AM +0000, Taylor R Campbell wrote:
 > >Number:         39233
 > >Category:       bin
 > >Synopsis:       OpenSSH fails to initialize tun(4) tunnels correctly
 [...]
 > >Description:
 >=20
 >      After running `ssh -w 0:1' (the numbers don't matter; they just
 >      help me to keep from getting mixed up) to create a tun(4)
 >      tunnel over ssh, and after configuring the tun(4) interfaces
 >      appropriately on both machines, no packets actually get through
 >      the tunnel.
 
 I think this is because OpenSSH's code is specific to OpenBSD.  Their
 tun(4) covers both our tun(4) and our tap(4), and has a different
 interface.  The fact that it compiles is actually the main bug.
 
 Now, it'd probably be good to add support for that in NetBSD, and it
 shouldn't be too difficult, given it's mostly the initialisation of
 devices that matters.  Well, the code might also be expecting a header
 or something on read packets, or even try to prepend one on written
 ones.
 
 --=20
 Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
 "See the look on my face from staying too long in one place
 [...] every time the morning breaks I know I'm closer to falling"
 KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
 
 --LQksG6bCIzRHxTLp
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (NetBSD)
 
 iQEcBAEBAgAGBQJIjdbDAAoJENgoQloHrPno2D4H/jDnDbOztKlACQHktaA+GY1G
 KSqA8amwf+ddIw50IX2TbYoyuDLVRrfcTDQJI8o31eA09fsLRF8VRN+mKyx95Rk/
 gmfi4bYBkI5/xkQcCCL8JMl7fep4UKdUYY2/PXSk78YwCH9tslhs3VAqMll4ZbJi
 uSRnRu/7vIAQdl8mWNxSbKxIQFkEv1RlCkbDlBWlDMkn7+OkRBgYEC1VcKwyCEMp
 X9mFzMWVsBxHsPY/TH3P8bra3/OtWcmtTA5QqwglBl0jizpHiLi4GriZVZBYkJH9
 mSJZlmoMtCtn3doYv+p/U7GWMndo1GHWRLEzatGP2BxZM26EfTjQW0grUX3RReE=
 =WxZo
 -----END PGP SIGNATURE-----
 
 --LQksG6bCIzRHxTLp--
 


Home | Main Index | Thread Index | Old Index