• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Farhan/openssh


Commit MetaInfo

Revisionab28f5495c85297e7a597c1ba62e996416da7c7e (tree)
Time2016-01-16 19:42:26
AuthorKeun Soo Yim <yim@goog...>
CommiterKeun Soo Yim

Log Message

forcibly disable roaming support in the client

ssh client security bug fix from
http://www.openssh.com/txt/release-7.1p2

openssh client is installed in gce instances.
although it's private key is not that much sensitive
it's better to land this security patch than not.

reported initially as cve-2016-0777 and cve-2016-0778
(January 14th, 2016)

BUG: 26587626
Change-Id: I113d576a3522ded8cb0f4a2e117999b0c51d4364

Change Summary

Incremental Difference

--- a/readconf.c
+++ b/readconf.c
@@ -1660,7 +1660,7 @@ initialize_options(Options * options)
16601660 options->tun_remote = -1;
16611661 options->local_command = NULL;
16621662 options->permit_local_command = -1;
1663- options->use_roaming = -1;
1663+ options->use_roaming = 0;
16641664 options->visual_host_key = -1;
16651665 options->ip_qos_interactive = -1;
16661666 options->ip_qos_bulk = -1;
@@ -1835,8 +1835,7 @@ fill_default_options(Options * options)
18351835 options->tun_remote = SSH_TUNID_ANY;
18361836 if (options->permit_local_command == -1)
18371837 options->permit_local_command = 0;
1838- if (options->use_roaming == -1)
1839- options->use_roaming = 1;
1838+ options->use_roaming = 0;
18401839 if (options->visual_host_key == -1)
18411840 options->visual_host_key = 0;
18421841 if (options->ip_qos_interactive == -1)
--- a/ssh.c
+++ b/ssh.c
@@ -1929,9 +1929,6 @@ ssh_session2(void)
19291929 fork_postauth();
19301930 }
19311931
1932- if (options.use_roaming)
1933- request_roaming();
1934-
19351932 return client_loop(tty_flag, tty_flag ?
19361933 options.escape_char : SSH_ESCAPECHAR_NONE, id);
19371934 }