upstream: Don't send IUTF8 to servers that don't like them.

Some SSH servers eg "ConfD" drop the connection if the client sends the
new IUTF8 (RFC8160) terminal mode even if it's not set.  Add a bug bit
for such servers and avoid sending IUTF8 to them.  ok djm@

OpenBSD-Commit-ID: 26425855402d870c3c0a90491e72e2a8a342ceda
3 files changed
tree: 78df7e06034432fcb912b5c9e5f01a6a304a8890
  1. contrib/
  2. openbsd-compat/
  3. regress/
  4. .depend
  5. .gitignore
  6. .skipped-commit-ids
  7. aclocal.m4
  8. addrmatch.c
  9. atomicio.c
  10. atomicio.h
  11. audit-bsm.c
  12. audit-linux.c
  13. audit.c
  14. audit.h
  15. auth-bsdauth.c
  16. auth-krb5.c
  17. auth-options.c
  18. auth-options.h
  19. auth-pam.c
  20. auth-pam.h
  21. auth-passwd.c
  22. auth-rhosts.c
  23. auth-shadow.c
  24. auth-sia.c
  25. auth-sia.h
  26. auth-skey.c
  27. auth.c
  28. auth.h
  29. auth2-chall.c
  30. auth2-gss.c
  31. auth2-hostbased.c
  32. auth2-kbdint.c
  33. auth2-none.c
  34. auth2-passwd.c
  35. auth2-pubkey.c
  36. auth2.c
  37. authfd.c
  38. authfd.h
  39. authfile.c
  40. authfile.h
  41. bitmap.c
  42. bitmap.h
  43. bufaux.c
  44. bufbn.c
  45. bufec.c
  46. buffer.c
  47. buffer.h
  48. buildpkg.sh.in
  49. canohost.c
  50. canohost.h
  51. chacha.c
  52. chacha.h
  53. channels.c
  54. channels.h
  55. cipher-aes.c
  56. cipher-aesctr.c
  57. cipher-aesctr.h
  58. cipher-chachapoly.c
  59. cipher-chachapoly.h
  60. cipher-ctr.c
  61. cipher.c
  62. cipher.h
  63. cleanup.c
  64. clientloop.c
  65. clientloop.h
  66. compat.c
  67. compat.h
  68. config.guess
  69. config.sub
  70. configure.ac
  71. crc32.c
  72. crc32.h
  73. CREDITS
  74. crypto_api.h
  75. defines.h
  76. dh.c
  77. dh.h
  78. digest-libc.c
  79. digest-openssl.c
  80. digest.h
  81. dispatch.c
  82. dispatch.h
  83. dns.c
  84. dns.h
  85. ed25519.c
  86. entropy.c
  87. entropy.h
  88. fatal.c
  89. fe25519.c
  90. fe25519.h
  91. fixalgorithms
  92. fixpaths
  93. ge25519.c
  94. ge25519.h
  95. ge25519_base.data
  96. groupaccess.c
  97. groupaccess.h
  98. gss-genr.c
  99. gss-serv-krb5.c
  100. gss-serv.c
  101. hash.c
  102. hmac.c
  103. hmac.h
  104. hostfile.c
  105. hostfile.h
  106. includes.h
  107. INSTALL
  108. install-sh
  109. kex.c
  110. kex.h
  111. kexc25519.c
  112. kexc25519c.c
  113. kexc25519s.c
  114. kexdh.c
  115. kexdhc.c
  116. kexdhs.c
  117. kexecdh.c
  118. kexecdhc.c
  119. kexecdhs.c
  120. kexgex.c
  121. kexgexc.c
  122. kexgexs.c
  123. key.c
  124. key.h
  125. krl.c
  126. krl.h
  127. LICENCE
  128. log.c
  129. log.h
  130. loginrec.c
  131. loginrec.h
  132. logintest.c
  133. mac.c
  134. mac.h
  135. Makefile.in
  136. match.c
  137. match.h
  138. md5crypt.c
  139. md5crypt.h
  140. mdoc2man.awk
  141. misc.c
  142. misc.h
  143. mkinstalldirs
  144. moduli
  145. moduli.5
  146. moduli.c
  147. monitor.c
  148. monitor.h
  149. monitor_fdpass.c
  150. monitor_fdpass.h
  151. monitor_wrap.c
  152. monitor_wrap.h
  153. msg.c
  154. msg.h
  155. mux.c
  156. myproposal.h
  157. nchan.c
  158. nchan.ms
  159. nchan2.ms
  160. opacket.c
  161. opacket.h
  162. openssh.xml.in
  163. opensshd.init.in
  164. OVERVIEW
  165. packet.c
  166. packet.h
  167. pathnames.h
  168. pkcs11.h
  169. platform-misc.c
  170. platform-pledge.c
  171. platform-tracing.c
  172. platform.c
  173. platform.h
  174. poly1305.c
  175. poly1305.h
  176. progressmeter.c
  177. progressmeter.h
  178. PROTOCOL
  179. PROTOCOL.agent
  180. PROTOCOL.certkeys
  181. PROTOCOL.chacha20poly1305
  182. PROTOCOL.key
  183. PROTOCOL.krl
  184. PROTOCOL.mux
  185. readconf.c
  186. readconf.h
  187. README
  188. README.dns
  189. README.platform
  190. README.privsep
  191. README.tun
  192. readpass.c
  193. rijndael.c
  194. rijndael.h
  195. sandbox-capsicum.c
  196. sandbox-darwin.c
  197. sandbox-null.c
  198. sandbox-pledge.c
  199. sandbox-rlimit.c
  200. sandbox-seccomp-filter.c
  201. sandbox-solaris.c
  202. sandbox-systrace.c
  203. sc25519.c
  204. sc25519.h
  205. scp.1
  206. scp.c
  207. servconf.c
  208. servconf.h
  209. serverloop.c
  210. serverloop.h
  211. session.c
  212. session.h
  213. sftp-client.c
  214. sftp-client.h
  215. sftp-common.c
  216. sftp-common.h
  217. sftp-glob.c
  218. sftp-server-main.c
  219. sftp-server.8
  220. sftp-server.c
  221. sftp.1
  222. sftp.c
  223. sftp.h
  224. smult_curve25519_ref.c
  225. ssh-add.1
  226. ssh-add.c
  227. ssh-agent.1
  228. ssh-agent.c
  229. ssh-dss.c
  230. ssh-ecdsa.c
  231. ssh-ed25519.c
  232. ssh-gss.h
  233. ssh-keygen.1
  234. ssh-keygen.c
  235. ssh-keyscan.1
  236. ssh-keyscan.c
  237. ssh-keysign.8
  238. ssh-keysign.c
  239. ssh-pkcs11-client.c
  240. ssh-pkcs11-helper.8
  241. ssh-pkcs11-helper.c
  242. ssh-pkcs11.c
  243. ssh-pkcs11.h
  244. ssh-rsa.c
  245. ssh-sandbox.h
  246. ssh.1
  247. ssh.c
  248. ssh.h
  249. ssh2.h
  250. ssh_api.c
  251. ssh_api.h
  252. ssh_config
  253. ssh_config.5
  254. sshbuf-getput-basic.c
  255. sshbuf-getput-crypto.c
  256. sshbuf-misc.c
  257. sshbuf.c
  258. sshbuf.h
  259. sshconnect.c
  260. sshconnect.h
  261. sshconnect2.c
  262. sshd.8
  263. sshd.c
  264. sshd_config
  265. sshd_config.5
  266. ssherr.c
  267. ssherr.h
  268. sshkey.c
  269. sshkey.h
  270. sshlogin.c
  271. sshlogin.h
  272. sshpty.c
  273. sshpty.h
  274. sshtty.c
  275. survey.sh.in
  276. TODO
  277. ttymodes.c
  278. ttymodes.h
  279. uidswap.c
  280. uidswap.h
  281. umac.c
  282. umac.h
  283. umac128.c
  284. utf8.c
  285. utf8.h
  286. uuencode.c
  287. uuencode.h
  288. verify.c
  289. version.h
  290. xmalloc.c
  291. xmalloc.h