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: Taylor R Campbell <campbell%mumble.net@localhost>
To: cube%cubidou.net@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: bin/39233: OpenSSH fails to initialize tun(4) tunnels correctly
Date: Mon, 28 Jul 2008 12:34:49 -0400

    Date: Mon, 28 Jul 2008 16:25:07 +0200
    From: Quentin Garnier <cube%cubidou.net@localhost>
 
    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.
 
 I'm working on this -- no wonder the code in ssh/misc.c made no sense.
 I'm entirely new to NetBSD, however; can you suggest how I might
 rebuild libssh and usr.bin/ssh without running `build.sh -u build',
 which takes ten minutes rather than the ten seconds I'd hope for?
 


Home | Main Index | Thread Index | Old Index