Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tech:others:httunnel [2014/11/15 09:13]
tech:others:httunnel [2014/11/15 09:13] (current)
Line 1: Line 1:
 +====== Apache HTTunnel ======
 +make install output
 +<​code>​
 +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
 +</​code>​
 +
 +root@ub1:​~/​temp_files/​Apache-HTTunnel-0.08#​ cat /​etc/​httpd/​conf.d/​perl_httunnel.conf
 +<​code>​
 +# 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>​
 +</​code>​
  

QR Code
QR Code tech:others:httunnel (generated for current page)