upstream commit

restrict monitor auth calls to be allowed only when their
respective authentication methods are enabled in the configuration.

prompted by Solar Designer; ok markus dtucker

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