shithub: riscv

Download patch

ref: a427fbba8d17fbee817d3b59fee4e365a90dbbc1
parent: 4472cbe66edbb03865a9fb0f67970e0ce9deb0f2
author: cinap_lenrek <[email protected]>
date: Thu Jul 5 15:59:40 EDT 2012

add socksd to ipserv(8)

--- a/sys/man/8/ipserv
+++ b/sys/man/8/ipserv
@@ -1,6 +1,6 @@
 .TH IPSERV 8
 .SH NAME
-telnetd, rlogind, rexexec, ftpd \- Internet remote access daemons
+telnetd, rlogind, rexexec, ftpd, socksd \- Internet remote access daemons
 .SH SYNOPSIS
 .B ip/telnetd
 .RB [ -adnptN ]
@@ -16,6 +16,14 @@
 .RB [ -n
 .IR namepace-file ]
 .PP
+.B ip/socksd
+[
+.B -x
+.I inside
+] [
+.B -o
+.I outside
+]
 .SH DESCRIPTION
 These programs support remote access across the Internet.  All expect the
 network connection to be standard input, output, and error.  They are normally
@@ -174,6 +182,24 @@
 see
 .IR httpd (8).
 .PP
+.I Socksd
+is a SOCKS4 and SOCKS5
+proxy server allowing non Plan9 machines to access the
+outside network.
+The net to use for outgoing calls can be specified
+with the
+.B -o
+.I outside
+and the internal network is specified with
+.B -x
+.I inside
+(for UDP relay).
+If not specified,
+.I inside
+and
+.I outside
+will default to
+.BR /net .
 .SH FILES
 .B /lib/namepace
 .br
@@ -190,6 +216,8 @@
 .B /sys/src/cmd/ip/rexexec.c
 .br
 .B /sys/src/cmd/ip/ftpd.c
+.br
+.B /sys/src/cmd/ip/socksd.c
 .SH "SEE ALSO"
 .IR ftpfs (4),
 .IR pop3 (8)