forked from vzaliva/simpleproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimpleproxy.man
103 lines (98 loc) · 3 KB
/
simpleproxy.man
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
.TH SIMPLEPROXY 1 "Version 3.5"
.ds ]W November 2003
.SH NAME
simpleproxy \- Simple tcp socket proxy
.SH SYNOPSIS
.ta 6n
\fBsimpleproxy\fP
[-7]
[-v]
[-V]
[-d]
[-i]
[-u]
-P <\fIPOP3 users file\fP>
-L [<\fIlocal host\fP>:]<\fIlocal port\fP>
-R <\fIremote host\fP>:<\fIremote port\fP>
[-S <\fIproxy host\fP>:<\fIproxy port\fP>]
.br
.SH DESCRIPTION
The
.I simpleproxy
program acts as a simple tcp proxy. It opens listening socket on
local machine and forwards any connection to the remote host.
.SH OPTIONS
.PP
.I simpleproxy\fP accepts following options:
.TP 8
.B \-V
Version information.
.TP 8
.B \-v
Makes \fIsimpleproxy\fP to write activity information to \fIsyslog\fP or \fIstderr\fP.
.TP 8
.B \-7
Makes \fIsimpleproxy\fP to strip 8th bit.
.TP 8
.B \-i
Use this flag when starting \fIsimpleproxy\fP from INETD.
.TP 8
.B \-d
By default \fIsimpleproxy\fP does not detach itself from control terminal and writes all
messages to \fIstderr\fP. This option will detach it from terminal and make it write
messages to \fIsyslog\fP.
.TP 8
.B \-L [<\fIlocal host\fP>:]<\fIlocal port\fP>
Local host and port name or number to bind for listening. Host name is optional.
.TP 8
.B \-R <\fIremote host\fP>:<\fIremote port\fP>
Remote host and port name or number
.TP 8
.B \-P \fP<\fIPOP3 users list\fP>
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.
.TP 8
.B \-S <\fIproxy host\fP>:<\fIproxy port\fP>
HTTPS proxy server host and port name or number.
.TP 8
.B \-a <\fIHTTPS Auth User\fP>:<\fIHTTPS Auth Password\fP>
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.
.TP 8
.B \-A <\fIHTTP Auth User\fP>:<\fIHTTP Auth Password\fP>
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.
.TP 8
.B \-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).
.TP 8
.B \-t <\fItrace file\fP>
If specified, simpleproxy will dump all data that passes through connection to the specified file.
.SH BUGS\ \ \ \
Only \fItcp\fP ports are supported.
.TP8
.PP
.SH SEE ALSO
.PP
inetd(1M), services(4), http://www.crocodile.org/software.html
.SH AUTHOR
.PP
Vadim Zaliva <[email protected]>,
Vladimir Karpinsky <[email protected]>
Vadim Tymchenko <[email protected]>
Renzo Davoli <renzo at cs dot unibo dot it>
.SH CONTRIBUTORS
.PP
Pavel Roskin <[email protected]>,
Cedric Tefft <[email protected]>
Christophe Bothamy <[email protected]>
Ulf Harnhammar <[email protected]>