- djm@cvs.openbsd.org 2013/12/19 01:04:36
     [channels.c]
     bz#2147: fix multiple remote forwardings with dynamically assigned
     listen ports. In the s->c message to open the channel we were sending
     zero (the magic number to request a dynamic port) instead of the actual
     listen port. The client therefore had no way of discriminating between
     them.

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