SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files
TunnelTools

TunnelTools is a set of (currently 2) perl scripts to allow access to internet anonymous rsync and CVS pserver servers access from inside a firewall by tunneling over an ssh connection to a machine outside the firewall.

Copyright: (c) 2002-2005, Pfizer, Inc.
Author: Gregory R. Warnes <gregory.r.warnes@pfizer.com> Date: 2005-07-28
Version: 1.0.0

The content of this package is provided to you under the terms of the GNU General Public License, version 2. See the file COPYING for details.


cvs.pl

This perl script allows anonymous CVS commands to be executed from within a firewall by tunneling the cvs session over ssh to a host outside of the firewall.

Requirements
  1. An account on a machine outside the firewall that is running ssh
  2. Any recent version of perl (I'm using 5.6.1)
  3. Availability of the 'find' command
  4. Availability of the cvs command
  5. Ability to perform outbound ssh connections

Configuration::

  1. Place this perl script in your executable path (for example in $home/bin).
  2. Make cvs.pl executable. ('chmod +x cvs.pl')
  3. Modify the first line of this file to contain the full path of your perl executable.
  4. Modify your shell startup script to provide the environmet variables CVS_PL_HOST and CVS_PL_USER containg the external host and user name
    Use
    Whenever you need to perform anonymous CVS, just replace the normal 'cvs' command with 'cvs.pl'
    Example

cvs.pl -d:pserver:anonymous@cvshost.somewhere.com:/cvsroot/project login

rsync.pl

This perl script allows anonymous rsync commands to be executed from within a firewall by tunneling the rsync session over ssh to a host outside of the firewall.

Requirements
  1. An account on a machine outside the firewall that is running ssh
  2. Any recent version of perl (I'm using 5.6.1)
  3. Availability of the rsync command
  4. Ability to perform outbound ssh connections

Configuration::

  1. Place this perl script in your executable path (for example in $home/bin).
  2. Make rsync.pl executable. ('chmod +x rsync.pl')
  3. Modify the first line of this file to contain the full path of your perl executable.
  4. Modify your shell startup script to provide the environmet variables RSYNC_PL_HOST and RSYNC_PL_USER containg the external host and user name
    Use
    Whenever you need to perform anonymous RSYNC, just replace the normal 'rsync' command with 'rsync.pl'
    Example

rsync.pl -aC rsync.project.org::file-dir $home/archive/file-dir


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.