Changeset 37a809f for fedkit


Ignore:
Timestamp:
Aug 15, 2014 10:53:23 AM (10 years ago)
Author:
Ted Faber <faber@…>
Branches:
master
Children:
36e701e
Parents:
f74e3a1
Message:

ssh 6.5 parsing workaround

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedkit/fed-tun.pl

    rf74e3a1 r37a809f  
    274274        # a tap device rather than a tun device.  Strict host key checking
    275275        # avoids asking the user to OK a strange host key.
    276         $cmd =  "$SSH -w $count:$count -o \"Tunnel ethernet\" " .
     276        #
     277        # Important safety tip:  ssh v 6.5 and above have a parsing bug
     278        # that means if you put -w before the -o "Tunnel ethernet"
     279        # parameter, you get a layer 3 tunnel instead of a layer 2 tunnel.
     280        # Don't move args in this line capricously.
     281        $cmd =  "$SSH -o \"Tunnel ethernet\" -w $count:$count " .
    277282            "-o \"StrictHostKeyChecking no\" " .
    278283            "$opts{'peer'}  \"$remote_script_dir/fed-tun.pl " .
Note: See TracChangeset for help on using the changeset viewer.