Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Sep 2003 20:05:14 +0200
From:      "YazzY" <yazzy@yazzy.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56535: 
Message-ID:  1062871513@lapdance
Resent-Message-ID: <200309061810.h86IAIMk088789@freefall.freebsd.org>

| raw e-mail | index | archive | help

>Number:         56535
>Category:       ports
>Synopsis:       
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 06 11:10:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     YazzY
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
YazzY.org 
>Environment:


System: FreeBSD lapdance 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Sep  3 04:46:09 CEST 2003     root@lapdance:/usr/obj/usr/src/sys/LAPDANCE i386  


>Description:


Allow non SOCKS aware applications to use SOCKS without modification.


>How-To-Repeat:





>Fix:


--- tsocks-1.8.b5.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	tsocks
#	tsocks/Makefile
#	tsocks/distinfo
#	tsocks/files
#	tsocks/files/patch-aa
#	tsocks/files/patch-tsocks.1
#	tsocks/files/patch-tsocks.8
#	tsocks/files/patch-readme
#	tsocks/pkg-plist
#	tsocks/pkg-descr
#	tsocks/pkg-message
#
echo c - tsocks
mkdir -p tsocks > /dev/null 2>&1
echo x - tsocks/Makefile
sed 's/^X//' >tsocks/Makefile << 'END-of-tsocks/Makefile'
X# New ports collection makefile for:	tsocks
X# Date created:				5th September 2003
X# Whom:					Marcin Jessa <freebsd@yazzy.org>
X#
X# $FreeBSD$
X
XPORTNAME=	tsocks
XPORTVERSION=	1.8.b5
XPORTREVISION=	1
XCATEGORIES=	net security
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
X		http://ftp1.sourceforge.net/tsocks/ \
X		http://www.yazzy.org/ports/tsocks/
XMASTER_SITE_SUBDIR=	tsocks
XDISTNAME=${PORTNAME}-${PORTVERSION:C/.b/beta/}
X
XMAINTAINER=	yazzy@yazzy.org
XCOMMENT=	Allow non SOCKS aware applications to use SOCKS without modification
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XINSTALLS_SHLIB=	yes
XUSE_REINPLACE=	yes
X
XWRKSRC=${WRKDIR}/${PORTNAME}-${PORTVERSION:C/.b.*//}
X
XCONFIGURE_ARGS=	--with-conf=${PREFIX}/etc/tsocks.conf \
X		--libdir=${LOCALBASE}/lib/tsocks
X
XMAN1=		tsocks.1
XMAN8=		tsocks.8
X
X.if defined(WITH_SOCKSDNS)
XCONFIGURE_ARGS+=	--enable-socksdns
X.endif
X
X.if defined(WITH_OLDMETHOD)
XCONFIGURE_ARGS+=	--enable-oldmethod
X.endif
X
X.if defined(WITH_NODEBUG)
XCONFIGURE_ARGS+=	--disable-debug
X.endif
X
X.if defined(WITH_NOHOSTNAMES)
XCONFIGURE_ARGS+=	--disable-hostnames
X.endif
X
X.include <bsd.port.pre.mk>
X
Xpre-everything::
X.if !defined(WITH_SOCKSDNS)
X	@${ECHO_MSG}
X	@${ECHO_MSG} "You can use the WITH_SOCKSDNS=yes knob."
X	@${ECHO_MSG} "This option causes tsocks to intercept"
X	@${ECHO_MSG} "DNS lookups and attempt to force them"
X	@${ECHO_MSG} "to use TCP instead of UDP and thus"
X	@${ECHO_MSG} "be proxied through the socks server."
X	@${ECHO_MSG}
X.endif
X
X.if !defined(WITH_OLDMETHOD)
X	@${ECHO_MSG}
X	@${ECHO_MSG} "You can use the make WITH_OLDMETHOD=yes knob."
X	@${ECHO_MSG} "This forces tsocks not to use the"
X	@${ECHO_MSG} "RTLD_NEXT parameter to dlsym to get the"
X	@${ECHO_MSG} "address of the connect() method tsocks"
X	@${ECHO_MSG} "overrides, instead it loads a reference"
X	@${ECHO_MSG} "to the libc shared library and then uses dlsym()."
X	@${ECHO_MSG}
X.endif
X
X.if !defined(WITH_NODEBUG)
X	@${ECHO_MSG}
X	@${ECHO_MSG} "You can use the make WITH_NODEBUG=yes knob."
X	@${ECHO_MSG} "This configuration option tells tsocks"
X	@${ECHO_MSG} "to never output error messages to stderr."
X	@${ECHO_MSG}
X.endif
X
X.if !defined(WITH_NOHOSTNAMES)
X	@${ECHO_MSG}
X	@${ECHO_MSG} "You can use the make WITH_NOHOSTNAMES=yes knob."
X	@${ECHO_MSG} "This disables DNS lookups on names"
X	@${ECHO_MSG} "provided as socks servers in the config"
X	@${ECHO_MSG} "file. This option is necessary"
X	@${ECHO_MSG} "if socks dns is enabled since tsocks"
X	@${ECHO_MSG} "can't send a socks dns request to resolve"
X	@${ECHO_MSG} "the location of the socks server."
X	@${ECHO_MSG}
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|ufds|fds|g' ${WRKSRC}/tsocks.c
X
X.if !defined(NOPORTDOCS)
Xpost-install:
X	@${MKDIR} ${PREFIX}/share/examples/tsocks
X	${INSTALL_DATA} ${WRKSRC}/*.example ${PREFIX}/share/examples/tsocks
X	${INSTALL_DATA} ${WRKSRC}/tsocks.conf.simple.example ${PREFIX}/etc/tsocks.conf.sample
X	${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/examples/tsocks/README
X	@${CAT} ${PKGMESSAGE}
X.endif
X
X.include <bsd.port.post.mk>
END-of-tsocks/Makefile
echo x - tsocks/distinfo
sed 's/^X//' >tsocks/distinfo << 'END-of-tsocks/distinfo'
XMD5 (tsocks-1.8beta5.tar.gz) = 51caefd77e5d440d0bbd6443db4fc0f8
END-of-tsocks/distinfo
echo c - tsocks/files
mkdir -p tsocks/files > /dev/null 2>&1
echo x - tsocks/files/patch-aa
sed 's/^X//' >tsocks/files/patch-aa << 'END-of-tsocks/files/patch-aa'
X--- configure.orig	Sat Sep  6 00:45:57 2003
X+++ configure	Sat Sep  6 00:46:07 2003
X@@ -1836,14 +1836,14 @@
X SIMPLELIBS=${LIBS}
X LIBS=
X 
X-echo $ac_n "checking for dlsym in -ldl""... $ac_c" 1>&6
X-echo "configure:1841: checking for dlsym in -ldl" >&5
X+echo $ac_n "checking for dlsym in -lc""... $ac_c" 1>&6
X+echo "configure:1841: checking for dlsym in -lc" >&5
X ac_lib_var=`echo dl'_'dlsym | sed 'y%./+-%__p_%'`
X if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
X   echo $ac_n "(cached) $ac_c" 1>&6
X else
X   ac_save_LIBS="$LIBS"
X-LIBS="-ldl  $LIBS"
X+LIBS="-lc  $LIBS"
X cat > conftest.$ac_ext <<EOF
X #line 1849 "configure"
X #include "confdefs.h"
X@@ -1877,7 +1877,7 @@
X #define $ac_tr_lib 1
X EOF
X 
X-  LIBS="-ldl $LIBS"
X+  LIBS="-lc $LIBS"
X 
X else
X   echo "$ac_t""no" 1>&6
X@@ -2228,7 +2228,7 @@
X echo $ac_n "checking for correct poll prototype""... $ac_c" 1>&6
X echo "configure:2230: checking for correct poll prototype" >&5
X PROTO=
X-for testproto in 'struct pollfd *ufds, unsigned long nfds, int timeout' 
X+for testproto in 'struct pollfd fds[], nfds_t nfds, int timeout'
X do
X   if test "${PROTO}" = ""; then
X     cat > conftest.$ac_ext <<EOF
END-of-tsocks/files/patch-aa
echo x - tsocks/files/patch-tsocks.1
sed 's/^X//' >tsocks/files/patch-tsocks.1 << 'END-of-tsocks/files/patch-tsocks.1'
X--- tsocks.1.orig	Sat Mar 16 11:34:44 2002
X+++ tsocks.1	Sat Sep  6 17:54:49 2003
X@@ -1,24 +1,24 @@
X-.TH TSOCKS 1 "" "TSOCKS"
X-
X-.SH NAME
X+.\" 
X+.TH "TSOCKS" "1" "" "TSOCKS" ""
X+.SH "NAME"
X .BR tsocks 
X \- Shell wrapper to simplify the use of the tsocks(8) library to 
X transparently allow an application to use a SOCKS proxy
X-.SH SYNOPSIS
X+.SH "SYNOPSIS"
X .B tsocks
X .RB [application\ [application's\ arguments]]
X-.br
X+.br 
X or
X .B tsocks
X .RB [on|off]
X-.br
X+.br 
X or
X .B tsocks
X-.SH DESCRIPTION
X+.SH "DESCRIPTION"
X .B tsocks
X is a wrapper between the tsocks library and the application what you
X would like to run socksified.
X-.SH OPTIONS
X+.SH "OPTIONS"
X .IP \fB[application\ \fB[application's\ arguments]]
X run the application as specified with the environment (LD_PRELOAD) set
X such that tsocks(8) will transparently proxy SOCKS connections in 
X@@ -28,19 +28,19 @@
X variable. When tsocks(8) is in this variable all executed
X applications are automatically socksified. If you want to
X use this function, you HAVE to source the shell script from yours,
X-like this: "source /usr/bin/tsocks" or ". /usr/bin/tsocks"
X-.br
X+like this: "source /usr/local/bin/tsocks" or ". /usr/local/bin/tsocks"
X+.br 
X Example:
X-.br
X-". tsocks on" -- add the tsocks lib to LD_PRELOAD
X-.br
X-". tsocks off" -- remove the tsocks lib from LD_PRELOAD
X+.br 
X+". tsocks on" \-\- add the tsocks lib to LD_PRELOAD
X+.br 
X+". tsocks off" \-\- remove the tsocks lib from LD_PRELOAD
X .IP \fB[show|sh]
X show the current value of the LD_PRELOAD variable
X .IP \fB<without\ any\ argument>
X create a new shell with LD_PRELOAD including tsocks(8). 
X-.PP
X-.SH AUTHOR
X+.PP 
X+.SH "AUTHOR"
X This script was created by Tamas SZERB <toma@rulez.org> for the debian
X package of tsocks. It (along with this manual page) have since been 
X adapted into the main tsocks project and modified.
END-of-tsocks/files/patch-tsocks.1
echo x - tsocks/files/patch-tsocks.8
sed 's/^X//' >tsocks/files/patch-tsocks.8 << 'END-of-tsocks/files/patch-tsocks.8'
X--- tsocks.8.orig	Sat Mar 16 11:20:51 2002
X+++ tsocks.8	Sat Sep  6 18:15:08 2003
X@@ -1,25 +1,24 @@
X-.TH TSOCKS 8 "" "Shaun Clowes" \" -*-
X- \" nroff -*
X-
X-.SH NAME
X+.\"  \" nroff -*
X+.\" 
X+.TH "TSOCKS" "8" "" "Shaun Clowes" "\""
X+.SH "NAME"
X .BR tsocks 
X \- Library for intercepting outgoing network connections and
X redirecting them through a SOCKS server. 
X 
X-.SH SYNOPSIS
X-
X+.SH "SYNOPSIS"
X Set LD_PRELOAD to load the library then use applications as normal
X 
X The syntax to force preload of the library for different shells is
X specified below:
X  
X-Bash, Ksh and Bourne shell -
X+Bash, Ksh and Bourne shell \-
X 
X-export LD_PRELOAD=/lib/libtsocks.so
X+export LD_PRELOAD=/usr/local/lib/tsocks/libtsocks.so
X 
X-C Shell - 
X+C Shell \- 
X 
X-setenv LD_PRELOAD=/lib/libtsocks.so
X+setenv LD_PRELOAD=/usr/local/lib/tsocks/libtsocks.so
X 
X This process can be automated (for Bash, Bourne and Korn shell 
X users) for a single command or for all commands in a shell session
X@@ -30,13 +29,12 @@
X information on this configuration see the CAVEATS section of this
X manual page.
X 
X-.SH DESCRIPTION
X-
X+.SH "DESCRIPTION"
X .BR tsocks
X is a library to allow transparent SOCKS proxying. It wraps the normal
X connect() function. When a connection is attempted, it consults the 
X configuration file (which is defined at configure time but defaults to 
X-/etc/tsocks.conf) and determines if the IP address specified is local. If 
X+/usr/local/etc/tsocks.conf) and determines if the IP address specified is local. If 
X it is not, the library redirects the connection to a SOCKS server
X specified in the configuration file. It then negotiates that connection
X with the SOCKS server and passes the connection back to the calling
X@@ -52,42 +50,42 @@
X Most arguments to
X .BR tsocks
X are provided in the configuration file (the location of which is defined
X-at configure time by the --with-conf=<file> argument but defaults to
X-/etc/tsocks.conf). The structure of this file is documented in tsocks.conf(8)
X+at configure time by the \-\-with\-conf=<file> argument but defaults to
X+/usr/local/etc/tsocks.conf). The structure of this file is documented in tsocks.conf(8)
X 
X Some configuration options can be specified at run time using environment
X variables as follows: 
X 
X-.TP
X+.TP 
X .I TSOCKS_CONFFILE
X This environment variable overrides the default location of the tsocks 
X configuration file. This variable is not honored if the program tsocks
X is embedded in is setuid. In addition this environment variable can
X-be compiled out of tsocks with the --disable-envconf argument to 
X+be compiled out of tsocks with the \-\-disable\-envconf argument to 
X configure at build time
X 
X-.TP
X+.TP 
X .I TSOCKS_DEBUG
X This environment variable sets the level of debug output that should be
X generated by tsocks (debug output is generated in the form of output to 
X standard error). If this variable is not present by default the logging 
X level is set to 0 which indicates that only error messages should be output. 
X Setting it to higher values will cause tsocks to generate more messages 
X-describing what it is doing. If set to -1 tsocks will output absolutely no 
X+describing what it is doing. If set to \-1 tsocks will output absolutely no 
X error or debugging messages. This is only needed if tsocks output interferes 
X with a program it is embedded in. Message output can be permanently compiled 
X-out of tsocks by specifying the --disable-debug option to configure at 
X+out of tsocks by specifying the \-\-disable\-debug option to configure at 
X build time
X 
X-.TP
X+.TP 
X .I TSOCKS_DEBUG_FILE
X This option can be used to redirect the tsocks output (which would normally 
X be sent to standard error) to a file. This variable is not honored if the 
X program tsocks is embedded in is setuid. For programs where tsocks output 
X interferes with normal operation this option is generally better than 
X-disabling messages (with TSOCKS_DEBUG = -1)
X+disabling messages (with TSOCKS_DEBUG = \-1)
X 
X-.TP
X+.TP 
X .I TSOCKS_USERNAME
X This environment variable can be used to specify the username to be used when
X version 5 SOCKS servers request username/password authentication. This 
X@@ -95,7 +93,7 @@
X file using 'default_user', see tsocks.conf(8) for more information. This 
X variable is ignored for version 4 SOCKS servers.
X 
X-.TP
X+.TP 
X .I TSOCKS_PASSWORD
X This environment variable can be used to specify the password to be used when 
X version 5 SOCKS servers request username/password authentication. This 
X@@ -115,11 +113,12 @@
X .BR tsocks
X will generate error messages and print them to stderr when there are
X problems with the configuration file or the SOCKS negotiation with the
X-server if the TSOCKS_DEBUG environment variable is not set to -1 or and
X---disable-debug was not specified at compile time. This output may cause
X+server if the TSOCKS_DEBUG environment variable is not set to \-1 or and
X+\-\-disable\-debug was not specified at compile time. This output may cause
X some problems with programs that redirect standard error.
X 
X .SS CAVEATS
X+.BR Linux specific:
X .BR tsocks
X will not in the above configuration be able to provide SOCKS proxying to
X setuid applications or applications that are not run from a shell. You can
X@@ -132,8 +131,7 @@
X careful. Also be sure the library is in the root filesystem as all hell
X will break loose if the directory it is in is not available at boot time.
X 
X-.SH BUGS
X-
X+.SH "BUGS"
X .BR tsocks
X can only proxy outgoing TCP connections
X 
X@@ -157,21 +155,21 @@
X .BR tsocks 
X uses ELF dynamic loader features to intercept dynamic function calls from
X programs in which it is embedded.  As a result, it cannot trace the 
X-actions of statically linked executables, non-ELF executables, or 
X+actions of statically linked executables, non\-ELF executables, or 
X executables that make system calls directly with the system call trap or 
X through the syscall() routine.
X 
X-.SH FILES
X-/etc/tsocks.conf - default tsocks configuration file
X+.SH "FILES"
X+/usr/local/etc/tsocks.conf \- default tsocks configuration file
X 
X-.SH SEE ALSO
X+.SH "SEE ALSO"
X tsocks.conf(5)
X tsocks(1)
X 
X-.SH AUTHOR
X+.SH "AUTHOR"
X Shaun Clowes (delius@progsoc.uts.edu.au)
X 
X-.SH COPYRIGHT
X+.SH "COPYRIGHT"
X Copyright 2000 Shaun Clowes
X 
X tsocks and its documentation may be freely copied under the terms and
END-of-tsocks/files/patch-tsocks.8
echo x - tsocks/files/patch-readme
sed 's/^X//' >tsocks/files/patch-readme << 'END-of-tsocks/files/patch-readme'
X--- INSTALL	Sat May 18 04:12:30 2002
X+++ README	Sat Sep  6 18:36:27 2003
X@@ -1,12 +1,7 @@
X-Quick Installation Instructions
X+Quick Instructions
X -------------------------------
X 
X-1. Unpack the archive (though if you're reading this you've already
X-achieved that)
X-
X-   tar -zxvf tsocks-<version>.tar.gx
X-
X-2. Run ./configure, options which might be of interest (and that are 
X+1. Explenations of the ./configure options which might be of interest (and that are 
X    specific to tsocks include):
X 	--enable-socksdns	This option causes tsocks to intercept
X 				DNS lookups and attempt to force them
X@@ -39,55 +34,31 @@
X Other standard autoconf options are provided by typing './configure
X --help'
X 
X-NOTE: The install path for the library is _NOT_ prefixed with --prefix,
X-this is because it is strongly recommended that tsocks is installed into
X-/lib (and not /usr/lib). This is important if tsocks is put into
X-/etc/ld.so.preload since /usr is not mounted on many systems at boot
X-time, meaning that programs running before /usr is mounted will try to
X-preload tsocks, fail to find it and die, making the machine unusable. If
X-you really wish to install the library into some other path use --libdir.
X-
X-3. Compile the code by typing:
X+2. Created files:
X 
X-	make
X-
X-This should result in the creation of the following:
X 	- libtsocks.so - the libtsocks library
X 	- validateconf - a utility to verify the tsocks configuration file
X 	- inspectsocks - a utility to determine the version of a socks server
X 	- saveme - a statically linked utility to remove /etc/ld.so.preload
X 		   if it becomes corrupt
X+	- man pages - tsocks(8), tsocks(1) and tsocks.conf(5)
X 
X-4. If you experience any errors at this step and don't know how to fix
X-them, seek help using the contacts listed on
X-http://tsocks.sourceforge.net/contact.php
X-
X-5. Install the compiled library. You can skip this step if you only plan
X-to use the library for personal use. If you want all users on the machine
X-to be able to use it however, su to root then type
X-
X-   make install
X+3. Configuration
X 
X-This will install the library, the tsocks script and its man pages
X-(tsocks(8), tsocks(1) and tsocks.conf(5)) to the paths specified to
X-configure.
X-
X-Note that by default the library is installed to /lib and that the
X-configure --prefix is IGNORED. See above for more detail. 
X-
X-6. At this point you'll need to create the tsocks configuration file.
X-There are two samples provided in the build directory called
X+You'll need to create the tsocks configuration file.
X+There are two samples provided in the build directory and 
X+/usr/local/share/examples/tsocks called 
X tsocks.conf.simple.example and tsocks.conf.complex.example.
X Documentation on the configuration file format is provided in the
X tsocks.conf man page ('man tsocks.conf'). 
X 
X-7. Having created the tsocks.conf file you should verify it using
X+4. Having created the tsocks.conf file you should verify it using
X validateconf (some detail on validateconf can be found in the tsocks.conf
X man page). Normally validateconf is run without arguments
X ('./validateconf'). Any errors which are displayed by validateconf need
X to be rectified before tsocks will function correctly.
X 
X-8. You can now choose to make the library affect all users or just those
X+5. You can now choose to make the library affect all users or just those
X who choose to use it. If you want users to use it themselves, they can
X simply use the tsocks(1) shell script to run programs (see 'man tsocks')
X or do the following in their shell before running applications that need
X@@ -97,25 +68,15 @@
X 
X 	(in CSH) setenv LD_PRELOAD <path to library>
X 
X-	<path to library> = e.g /lib/libtsocks.so.1.8
X-
X-If you want all users to pick up the library, place the full path to the
X-full library in the file /etc/ld.so.preload (e.g "/lib/libtsocks.so"). Be
X-EXTREMELY careful if you do this, if you mistype it or in some way get it
X-wrong this will make your machine UNUSABLE. Also, if you do this, make
X-sure the directory you put the library in is in the root of the
X-filesystem, if the library is not available at boot time, again, your
X-machine will be UNUSABLE. 
X+	<path to library> = e.g /usr/local/lib/tsocks/libtsocks.so.1.8
X 
X-9. Go ahead and use it! At this point everything should work. Again, if
X+6. Go ahead and use it! At this point everything should work. Again, if
X you experience any problems, use the contact points listed at
X-http://tsocks.sourceforge.net/contact.php. If you do happen to break your
X-machine with /etc/ld.so.preload, the build process creates a statically
X-linked executable called saveme in the build directory. This executable
X-simply unlinks /etc/ld.so.preload, this may or may not save you so give
X-it a try. If it fails, you'll need to switch off the machine and get a
X-rescue disk (e.g tomsrtbt) mount the disk and remove the file manually.
X+http://tsocks.sourceforge.net/contact.php. 
X 
X Thats it, 
X 
X Thanks, Shaun Clowes (delius@progsoc.org)
X+
X+
X+Adapted for FreeBSD by Marcin Jessa (yazzy@yazzy.org)
END-of-tsocks/files/patch-readme
echo x - tsocks/pkg-plist
sed 's/^X//' >tsocks/pkg-plist << 'END-of-tsocks/pkg-plist'
Xbin/tsocks
Xshare/examples/tsocks/tsocks.conf.complex.example
Xshare/examples/tsocks/tsocks.conf.simple.example
X@dirrm share/examples/tsocks
END-of-tsocks/pkg-plist
echo x - tsocks/pkg-descr
sed 's/^X//' >tsocks/pkg-descr << 'END-of-tsocks/pkg-descr'
XSOCKS servers are a form of proxy that are commonly used 
Xin firewalled LAN environments to allow access between networks, 
Xand often to the Internet. 
XThe problem is that most applications don't know how to gain 
Xaccess through SOCKS servers. 
XThis means that network based applications 
Xthat don't understand SOCKS are very limited in networks they can reach. 
XAn example of this is simple 'telnet'. 
XIf you're on a network firewalled from the internet 
Xwith a SOCKS server for outside access, 
Xtelnet can't use this server and thus can't telnet out to the Internet.
X
Xtsocks' role is to allow these non SOCKS aware applications 
X(e.g telnet, ssh, ftp etc) to use SOCKS without any modification. 
XIt does this by intercepting the 
Xcalls that applications make to establish network connections 
Xand negotating them through a SOCKS server as necessary.
X
XWWW: http://tsocks.sourceforge.net
X
XThanks opet for his help on that port.
END-of-tsocks/pkg-descr
echo x - tsocks/pkg-message
sed 's/^X//' >tsocks/pkg-message << 'END-of-tsocks/pkg-message'
X
X###
X
XSimple setup file was copied to /usr/local/etc/tsocks.conf.sample
XAn example of a more complex setup file can be found in /usr/local/share/examples/tsocks/
XSome more details avaliable in /usr/local/share/examples/tsocks/README
X
X###
END-of-tsocks/pkg-message
exit


--- tsocks-1.8.b5.shar ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1062871513>