X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/e99aedcf9373b3305c32e510c086bf3357b4736a..HEAD:/pkstream/pkstream.1.in diff --git a/pkstream/pkstream.1.in b/pkstream/pkstream.1.in index e732cbf2..757e5cde 100644 --- a/pkstream/pkstream.1.in +++ b/pkstream/pkstream.1.in @@ -9,19 +9,18 @@ .\" .\" This file is part of Trivial IP Encryption (TrIPE). .\" -.\" TrIPE is free software; you can redistribute it and/or modify -.\" it under the terms of the GNU General Public License as published by -.\" the Free Software Foundation; either version 2 of the License, or -.\" (at your option) any later version. +.\" TrIPE is free software: you can redistribute it and/or modify it under +.\" the terms of the GNU General Public License as published by the Free +.\" Software Foundation; either version 3 of the License, or (at your +.\" option) any later version. .\" -.\" TrIPE is distributed in the hope that it will be useful, -.\" but WITHOUT ANY WARRANTY; without even the implied warranty of -.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.\" GNU General Public License for more details. +.\" TrIPE is distributed in the hope that it will be useful, but WITHOUT +.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +.\" for more details. .\" .\" You should have received a copy of the GNU General Public License -.\" along with TrIPE; if not, write to the Free Software Foundation, -.\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +.\" along with TrIPE. If not, see . . .\"-------------------------------------------------------------------------- .so ../common/defs.man \" @@@PRE@@@ @@ -38,6 +37,7 @@ pkstream \- forward UDP packets over streams .SH "SYNOPSIS" . .B pkstream +.RB [ \-46 ] .RB [ \-l .IR port ] .RB [ \-p @@ -49,7 +49,7 @@ pkstream \- forward UDP packets over streams .BR : \c .IR port ] .br - + \c .IB addr : port .IB addr : port . @@ -98,6 +98,12 @@ version number to standard output and exits with status 0. .B "\-u, \-\-usage" Writes a brief usage summary to standard output and exits with status 0. .TP +.B "\-4" +Look up hostnames only as IPv4 addresses. +.TP +.B "\-6" +Look up hostnames only as IPv6 addresses. +.TP .BI "\-l, \-\-listen=" port Listen for connections on the given TCP .IR port . @@ -112,6 +118,10 @@ This option only makes sense in conjunction with .BR \-l . .TP .BI "\-b, \-\-bind=" addr +When listening (see +.B \-l +above), only listen on the local address +.IR addr . When making a connection (see .B \-c below), use