Changeset a80a4a7 for fedkit


Ignore:
Timestamp:
Mar 12, 2014 10:58:21 AM (11 years ago)
Author:
Ted Faber <faber@…>
Branches:
master
Children:
4cf0198
Parents:
d75005b
Message:

Keep state for desktop disconnect/connect cycles to work

Location:
fedkit
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • fedkit/Makefile

    rd75005b ra80a4a7  
    44         prep_gateway.pl port_forward.pl setup_bridge.pl import_key.pl \
    55         gated_routing.pl start_seer.pl ospf_routing.pl quagga_routing.pl \
    6          static_routing.pl
     6         static_routing.pl unsetup_bridge.pl
    77
    88LIBRARIES=gateway_lib.pm
  • fedkit/setup_bridge.pl

    rd75005b ra80a4a7  
    66
    77use Getopt::Long;
     8
     9use IO::File;
    810
    911my $tapno;
     
    3436
    3537print "iface is $iface\n";
     38
     39# Make a copy of the interface for unsetup_bridge.pl
     40my $f = new IO::File(">/tmp/interface$tapno");
     41print $f "$iface\n" if $f;
     42$f->close( )if $f;
    3643
    3744gateway_lib::bind_tap_to_iface($tapno, $iface);
     
    6471=item B<tapno=>I<integer>
    6572
    66 The tap interafce to connect. This will be the integer that follows tap and
     73The tap interface to connect. This will be the integer that follows tap and
    6774bridge in the interface names.
    6875
     
    7986=head1 SYNOPSIS
    8087
    81 B<setup_bridge.pl> Connects the established ssh tunnel (a tap interface) to
     88B<setup_bridge.pl> connects the established ssh tunnel (a tap interface) to
    8289a local interface through a bridge interface.  Traffic on the local interface
    8390will cross the network over the ssh tunnel and be released onto the net via a
Note: See TracChangeset for help on using the changeset viewer.