Table of Contents

Apache HTTunnel

make install output

root@ub1:~/temp_files/Apache-HTTunnel-0.08# make install
make[1]: Entering directory `/home/someuser1/temp_files/Apache-HTTunnel-0.08/Client'
make[1]: Leaving directory `/home/someuser1/temp_files/Apache-HTTunnel-0.08/Client'
Installing /usr/local/share/perl/5.8.8/HTTunnel/Client.pm
Installing /usr/local/share/perl/5.8.8/HTTunnel/Client.js
Installing /usr/local/share/perl/5.8.8/HTTunnel/Client.java
Installing /usr/local/share/perl/5.8.8/HTTunnel/httunnel.pod
Installing /usr/local/share/perl/5.8.8/HTTunnel/Client.pod
Installing /usr/local/share/perl/5.8.8/Apache/HTTunnel.pm
Installing /usr/local/share/perl/5.8.8/Apache/HTTunnel.pod
Installing /usr/local/share/perl/5.8.8/Apache/HTTunnel/Handler.pm
Installing /usr/local/share/perl/5.8.8/Apache/HTTunnel/Keeper.pm
Installing /usr/local/man/man1/httunnel.1
Installing /usr/local/man/man3/Apache::HTTunnel.3pm
Installing /usr/local/man/man3/HTTunnel::Client.3pm
Installing /usr/local/bin/httunnel
Appending installation info to /usr/lib/perl/5.8/perllocal.pod
make[1]: Entering directory `/home/someuser1/temp_files/Apache-HTTunnel-0.08/Client'
mkdir -p /etc/init.d
mkdir -p /etc/httunnel.d
/usr/bin/install -m 755 httunnel.sysv /etc/init.d/httunnel
/usr/bin/install -m 644 httunnel.conf /etc/httunnel.d/sample.conf_
make[1]: Leaving directory `/home/someuser1/temp_files/Apache-HTTunnel-0.08/Client'
mkdir -p /etc/httpd/conf.d
test -f /etc/httpd/conf.d/perl_httunnel.conf || /usr/bin/perl -MApache::HTTunnel=sample_config > 
/etc/httpd/conf.d/perl_httunnel.conf

root@ub1:~/temp_files/Apache-HTTunnel-0.08# cat /etc/httpd/conf.d/perl_httunnel.conf

# Sample Apache::HTTunnel configuration file

# Specifiy the location of the fifo (UNIX domain socket or named pipe)
# that will be used byb the Apache children to communicate with the "keeper"
# process.
PerlSetVar              HTTunnelFifo                    /var/lib/httunnel/httunnel.sock

# The maximum connect timeout that may be specified by the client. This value
# should be kept low (< 60) since that Apache children maybe be blocked up
# to that ammount of time.
# In seconds.
PerlSetVar              HTTunnelMaxConnectTimeout   15

# The maximum read length that may be specified by the client.
# In bytes.
PerlSetVar              HTTunnelMaxReadLength       131072

# The maximum read timeout that may be specified by the client. This value
# should be kept low (< 60) since that Apache children maybe be blocked up
# to that ammount of time.
# In seconds.
PerlSetVar              HTTunnelMaxReadTimeout      15

# Connections that remain inactive after this amount of time will be closed.
# In seconds.
PerlSetVar              HTTunnelConnectionTimeout   900


# Load up the module
PerlPostConfigRequire   Apache/HTTunnel.pm


# Setup the location that will be used.
<Location "/httunnel">
  SetHandler            perl-script
  PerlResponseHandler   Apache::HTTunnel
  PerlSetVar            HTTunnelAllowedTunnels "\
    localhost => 22|80, \
    dns => 53 "
</Location>