logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

simpleproxy - Simple tcp socket proxy

Author

       Vadim  Zaliva  <lord@crocodile.org>,  Vladimir  Karpinsky   <vlad@noir.crocodile.org>   Vadim   Tymchenko
       <verylong@noir.crocodile.org> Renzo Davoli <renzo at cs dot unibo dot it>

Bugs

       Only tcp ports are supported.

Contributors

       Pavel   Roskin  <pavel_roskin@geocities.com>,  Cedric  Tefft  <cedric@earthling.net>  Christophe  Bothamy
       <cbothamy@sourceforge.net> Ulf Harnhammar <metaur@telia.com>

                                                   Version 3.5                                    SIMPLEPROXY(1)

Description

       The simpleproxy program acts as a simple tcp proxy. It  opens  listening  socket  on  local  machine  and
       forwards any connection to the remote host.

Name

       simpleproxy - Simple tcp socket proxy

Options

simpleproxy accepts following options:

       -V      Version information.

       -v      Makes simpleproxy to write activity information to syslog or stderr.

       -7      Makes simpleproxy to strip 8th bit.

       -i      Use this flag when starting simpleproxy from INETD.

       -d      By  default  simpleproxy  does not detach itself from control terminal and writes all messages to
               stderr. This option will detach it from terminal and make it write messages to  syslog.

       -L[<localhost>:]<localport>
               Local host and port name or number to bind for listening. Host name is optional.

       -R<remotehost>:<remoteport>
               Remote host and port name or number

       -P <POP3userslist>
               If specified, simpleproxy will load list of users from the <filename> (one per line). After  this
               it will be forwarding POP3 sessions only if client trying to authenificate as this user.

       -S<proxyhost>:<proxyport>
               HTTPS proxy server host and port name or number.

       -a<HTTPSAuthUser>:<HTTPSAuthPassword>
               Authenticate  to the HTTPS proxy server with the given userid and password.  This option performs
               BASIC HTTP authentication as specified in RFC 2617.  Used only in conjunction with -S.

       -A<HTTPAuthUser>:<HTTPAuthPassword>
               Requires HTTP proxy authentication.  Client browser must supply username and password to use this
               proxy.  This option performs BASIC HTTP authentication as specified in RFC 2617.

       -u      URLs of visited pages are emitted on stdout.  It is used for logging or for remote lecturing,  if
               the  output  is  redirected to a remote command that change a dynamic web page, it is possible to
               synchronize all the learner web browsers to the same page visited by the  instructor.   (see  the
               "simple remote lecturing" project on sourceforge).

       -t<tracefile>
               If  specified,  simpleproxy  will  dump  all data that passes through connection to the specified
               file.

See Also

Synopsis

simpleproxy  [-7] [-v] [-V] [-d] [-i] [-u] -P <POP3usersfile> -L [<localhost>:]<localport> -R <remotehost>:<remoteport> [-S <proxyhost>:<proxyport>]

See Also