forked from openssh/openssh-portable
Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
add config option to select the type of IPv6 address
When using IPv6 autoconfiguration, the IP address is deducted using the unique hardware address of the network card and the announced network prefix. Since this might lead to privacy issues, most operating systems generate pseudo-random addresses that are rotated in regular intervals. This can be a problem for long-running connections if a address is invalidated while still in use - the connection "hangs". Even though expired addresses are usually retained for a long timeframe to prevent this, accidental dis- and reconnection (e.g. when using a wireless network) flushes the list of previously used addresses. By setting appropiate socket options, the kernel can be instructed to use the public (and static) source address for the outgoing connection. This change implements this functionality for SSH, adding a configuration option "Ipv6BindPref" that can be set to "pub(lic)", "t(e)mp" or just "none" (which is the default), indicating the preference for the address to be used.
- Loading branch information
1 parent
33ba55d
commit 028bb9a
Showing
5 changed files
with
99 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters