Bug 1231

Summary: "Tunnel ethernet" always uses next tap-device
Product: Portable OpenSSH Reporter: h.goebel
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED WORKSFORME    
Severity: normal CC: djm
Priority: P2 Keywords: help-wanted
Version: 4.3p2   
Hardware: ix86   
OS: Linux   

Description h.goebel 2006-09-18 22:08:31 AEST
When using "Tunnel ethernet", the client always uses the next available device number. Options like "-w 11" or "-w 11:any" are ignored.

This makes "Tunnel ethernet" unusable.

Debug-output seam okay:

  debug1: Requesting tun.
  debug1: sys_tun_open: tap7 mode 2 fd 7
  debug1: channel 1: new [tun]

but 'ifconfig -a' reports:
  tap11   Link encap:Ethernet  Hardware Adresse ....
          BROADCAST MULTICAST  MTU:1500  Metric:1
          ...
Comment 1 Damien Miller 2007-06-22 14:36:30 AEST
I can't recreate this using either -current or "OpenSSH_4.3p2 Debian-8ubuntu1" on the server end - the tap devices are created as requested and their numbers are correct.

Linux kernel in this case was 2.6.20-16-generic (i686).

If you are still experiencing this problem, please attach a full client and server log.
Comment 2 Damien Miller 2008-01-20 11:44:16 AEDT
no reply and couldn't reproduce - closing
Comment 3 Damien Miller 2008-04-04 09:56:11 AEDT
Close resolved bugs after release.