[Bug 2864] ssh client 7.7p1: "Tunnel device open failed." (regression from 7.6p1)
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Sun May 6 23:51:16 AEST 2018
https://bugzilla.mindrot.org/show_bug.cgi?id=2864
--- Comment #1 from calimeroteknik at free.fr ---
The problem disappears if I erase this block of code that was added.
In function sys_tun_open() for SSH_TUN_LINUX:
Location :
(absent) openssh-7.6p1/openbsd-compat/port-tun.c:101
(present) openssh-7.7p1/openbsd-compat/port-net.c:188
if (ifname != NULL && (*ifname = strdup(ifr.ifr_name)))
goto failed;
For some reason I have "Could not request tunnel forwarding." in the
console but that's spurious, everything works perfectly.
I replaced the above with :
printf("one, *ifname=%s, ifname=%p\n", *ifname, ifname);
if (ifname != NULL && (*ifname = strdup(ifr.ifr_name))) {
printf("two, *ifname=%s, ifname=%p\n", *ifname, ifname);
goto failed;
}
I get this in the output of ssh:
one, *ifname=(null), ifname=0x7ffec28c5dc0
two, *ifname=tun0, ifname=0x7ffec28c5dc0
I'm not sure what should be happening, but this cripples tunnel for me.
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list