1VANESSA_SOCKET_PIPE(1)      General Commands Manual     VANESSA_SOCKET_PIPE(1)
2
3
4

NAME

6       vanessa_socket_pipe - Trivial TCP/IP pipe based on libvanessa_socket
7

SYNOPSIS

9       vanessa_socket_pipe [options]
10

DESCRIPTION

12       A TCP/IP pipe is a user space programme that listens for TCP/IP connec‐
13       tions on port on the local host and when a client connects makes a con‐
14       nection  to a TCP port, possibly on another host. Once both connections
15       are established data sent on one connection is relayed  to  the  other,
16       hence forming a bi-directional pipe.
17
18       Uses  include  enabling connections to specific ports on hosts behind a
19       packet filter.
20
21       This code is intended primarily as an example of how many of  the  fea‐
22       tures of libvanessa_socket work.
23

OPTIONS

25       -c|--connection_limit:
26              Maximum  number of connections to accept simultaneously. A value
27              of zero sets no limit on the number of simultaneous connections.
28              (default 0)
29
30       -d|--debug:
31              Turn on verbose debuging to stderr.
32
33       -h|--help:
34              Display this message.
35
36       -L|--listen_port:
37              Port to listen on. (mandatory)
38
39       -l|--listen_host:
40              Address  to  listen  on. May be a hostname or an IP address.  If
41              not defined then listen on all local addresses.
42
43       -n|--no_lookup:
44              Turn off lookup of hostnames and portnames. That is, hosts  must
45              be given as IP addresses and ports must be given as numbers.
46
47       -O|--outgoing_port:
48              Define  a  port to connect to. If not specified -l|--listen_port
49              will be used.
50
51       -o|--outgoing_host:
52              Define host to connect to.  May be a hostname or an IP  address.
53              (mandatory)
54
55       -q|--quiet:
56              Only log errors. Overriden by -d|--debug.
57
58       -t|--timeout:
59              Idle  timeout  in seconds.  Value of zero sets infinite timeout.
60              (default 1800)
61
62       Notes: Default value for binary flags is off.
63              -L|--listen_port and -o|--outgoing_host must be defined.
64

AUTHOR

66       Simon Horman <horms@verge.net.au>
67
68
69
70                              12th February 2001        VANESSA_SOCKET_PIPE(1)
Impressum