Bugzilla – Attachment 957 Details for
Bug 1077
Descriptions for "ssh -D" and DynamicForward should mention they can specify "bind_address" optionally
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add bind_address descriptions to manpages
manfix.diff (text/plain), 3.30 KB, created by
Damien Miller
on 2005-09-19 21:34:32 AEST
(
hide
)
Description:
Add bind_address descriptions to manpages
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2005-09-19 21:34:32 AEST
Size:
3.30 KB
patch
obsolete
>Index: ssh.1 >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/ssh.1,v >retrieving revision 1.209 >diff -u -p -r1.209 ssh.1 >--- ssh.1 6 Jul 2005 09:33:05 -0000 1.209 >+++ ssh.1 19 Sep 2005 11:34:33 -0000 >@@ -47,7 +47,12 @@ > .Op Fl 1246AaCfgkMNnqsTtVvXxY > .Op Fl b Ar bind_address > .Op Fl c Ar cipher_spec >-.Op Fl D Ar port >+.Oo Fl D\ \& >+.Sm off >+.Oo Ar bind_address : Oc >+.Ar port >+.Sm on >+.Oc > .Op Fl e Ar escape_char > .Op Fl F Ar configfile > .Op Fl i Ar identity_file >@@ -494,13 +499,20 @@ The default is > arcfour256,arcfour,aes192-cbc,aes256-cbc,aes128-ctr, > aes192-ctr,aes256-ctr'' > .Ed >-.It Fl D Ar port >+.It Fl D Xo >+.Sm off >+.Oo Ar bind_address : Oc >+.Ar port >+.Sm on >+.Xc > Specifies a local > .Dq dynamic > application-level port forwarding. > This works by allocating a socket to listen to > .Ar port >-on the local side, and whenever a connection is made to this port, the >+on the local side, optionally bound to the specified >+.Ar bind_address . >+Whenever a connection is made to this port, the > connection is forwarded over the secure channel, and the application > protocol is then used to determine where to connect to from the > remote machine. >@@ -509,6 +521,30 @@ Currently the SOCKS4 and SOCKS5 protocol > will act as a SOCKS server. > Only root can forward privileged ports. > Dynamic port forwardings can also be specified in the configuration file. >+.Pp >+IPv6 addresses can be specified with an alternative syntax: >+.Sm off >+.Xo >+.Op Ar bind_address No / >+.Ar port >+.Xc >+.Sm on >+or by enclosing the address in square brackets. >+Only the superuser can forward privileged ports. >+By default, the local port is bound in accordance with the >+.Cm GatewayPorts >+setting. >+However, an explicit >+.Ar bind_address >+may be used to bind the connection to a specific address. >+The >+.Ar bind_address >+of >+.Dq localhost >+indicates that the listening port be bound for local use only, while an >+empty address or >+.Sq * >+indicates that the port should be available from all interfaces. > .It Fl e Ar ch | ^ch | none > Sets the escape character for sessions with a pty (default: > .Ql ~ ) . >Index: ssh_config.5 >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/ssh_config.5,v >retrieving revision 1.61 >diff -u -p -r1.61 ssh_config.5 >--- ssh_config.5 8 Jul 2005 12:53:10 -0000 1.61 >+++ ssh_config.5 19 Sep 2005 11:34:33 -0000 >@@ -320,7 +320,29 @@ Specifies that a TCP/IP port on the loca > over the secure channel, and the application > protocol is then used to determine where to connect to from the > remote machine. >-The argument must be a port number. >+.Pp >+The argument must be >+.Sm off >+.Oo Ar bind_address : Oc Ar port . >+.Sm on >+IPv6 addresses can be specified by enclosing addresses in square brackets or >+by using an alternative syntax: >+.Oo Ar bind_address Ns / Oc Ns Ar port . >+By default, the local port is bound in accordance with the >+.Cm GatewayPorts >+setting. >+However, an explicit >+.Ar bind_address >+may be used to bind the connection to a specific address. >+The >+.Ar bind_address >+of >+.Dq localhost >+indicates that the listening port be bound for local use only, while an >+empty address or >+.Sq * >+indicates that the port should be available from all interfaces. >+.Pp > Currently the SOCKS4 and SOCKS5 protocols are supported, and > .Nm ssh > will act as a SOCKS server.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1077
: 957