Bug 1485

Summary: IPv6 remote port forwarding does not work (sockaddr)
Product: Portable OpenSSH Reporter: visibilis
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: minor CC: djm
Priority: P2    
Version: 5.0p1   
Hardware: ix86   
OS: Other   
Bug Depends on:    
Bug Blocks: 1452    

Description visibilis 2008-07-10 00:06:38 AEST
When connecting to the forwarded port of the server using IPv6, accept fails in channels.c:channel_post_port_listener() (invalid pointer) on windows.
The problem disappears, if struct sockaddr is replaced with struct sockaddr_storage.
Comment 1 Damien Miller 2008-07-14 08:14:20 AEST
All the address arguments are sockaddr_storage now. This will be in the forthcoming openssh-5.1 release. If you would like to test this release, please see the email at http://marc.info/?l=openssh-unix-dev&m=121538716918994&w=2

Thanks for the report.
Comment 2 Damien Miller 2008-07-22 12:25:12 AEST
Mass update RESOLVED->CLOSED after release of openssh-5.1