Infrastructure: Get it building again, using pkg-config.
[tripe] / doc / pkstream.1
index 62aee14..1de6d13 100644 (file)
@@ -38,12 +38,14 @@ pkstream \- forward UDP packets over streams
 .IR port ]
 .RB [ \-p
 .IR addr ]
+.RB [ \-b
+.IR addr ]
 .RB [ \-c
 .IR addr \c
 .BR : \c
 .IR port ]
 .br
-       
+
 .IB addr : port
 .IB addr : port
 .SH "DESCRIPTION"
@@ -56,7 +58,7 @@ using some kind of port forwarder like
 .BR ssh (1),
 .BR stunnel (1),
 etc.  It's intended, among other things, to provide a transport for
-.B tripe (8)
+.BR tripe (8)
 packets where there are annoying firewalls in the way.
 .SS "Command-line arguments"
 The two
@@ -95,12 +97,22 @@ Listen for connections on the given TCP
 Only one connection is allowed at a time.  When a connection is
 accepted, forward UDP packets over the TCP stream until it closes; then
 wait for another connection.
+.TP
 .BI "\-p, \-\-peer=" addr
 Only accept TCP connections from
 .IR addr .
 This option only makes sense in conjunction with
 .BR \-l .
 .TP
+.BI "\-b, \-\-bind=" addr
+When making a connection (see
+.B \-c
+below), use
+.I addr
+as the source address rather than letting the kernel choose the address
+automatically.  This is useful when the other end will only accept
+connections from a particular address and you get the wrong one otherwise.
+.TP
 .BI "\-c, \-\-connect=" addr : port
 Connect to the given
 .I addr
@@ -126,4 +138,4 @@ find one, please inform the author
 .BR stunnel (1),
 .BR tripe (8).
 .SH "AUTHOR"
-Mark Wooding, <mdw@nsict.org>
+Mark Wooding, <mdw@distorted.org.uk>