diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-07-03 14:01:57 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-07-03 14:01:57 +0000 |
commit | 2681bf68f3d8d1eef2238bfbf51b16fd9cafe660 (patch) | |
tree | 0834a86abbafdd50dde2775b550dd1a30cbf2528 /usr.bin/telnet/telnet.1 | |
parent | 05efaca69dc49b002b25dd2fd4fb8f2752ebf5e6 (diff) |
Add a -b option that takes a hostname or IP-address as an argument.
This address is bound to the local socket of the TCP connection and is
useful for talking to services which does authentication based on IP-
addresses.
Diffstat (limited to 'usr.bin/telnet/telnet.1')
-rw-r--r-- | usr.bin/telnet/telnet.1 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.bin/telnet/telnet.1 b/usr.bin/telnet/telnet.1 index 446f994c14c..f2b1c4aef81 100644 --- a/usr.bin/telnet/telnet.1 +++ b/usr.bin/telnet/telnet.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: telnet.1,v 1.2 1996/03/27 19:33:08 niklas Exp $ +.\" $OpenBSD: telnet.1,v 1.3 1996/07/03 14:01:56 niklas Exp $ .\" $NetBSD: telnet.1,v 1.5 1996/02/28 21:04:12 thorpej Exp $ .\" .\" Copyright (c) 1983, 1990, 1993 @@ -52,6 +52,7 @@ protocol .Op Fl S Ar tos .Op Fl X Ar authtype .Op Fl a +.Op Fl b Ar hostalias .Op Fl c .Op Fl d .Op Fl e Ar escapechar @@ -127,6 +128,17 @@ The name used is that of the current user as returned by .Xr getlogin 2 if it agrees with the current user ID, otherwise it is the name associated with the user ID. +.It Fl b Ar hostalias +Uses +.Xr bind 2 +on the local socket to bind it to an aliased address (See +.Xr ifconfig 8 +and the \*(Lqalias\*(Rq specifier) or to the address of +another interface than the one naturally chosen by +.Xr connect 2 . +This can be useful when connecting to services which uses IP addresses +for authentication and reconfiguration of the server is undesirable (or +impossible). .It Fl c Disables the reading of the user's .Pa \&.telnetrc |