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