Bug 1381

Summary: client is willing to listen on inet6 addresses while IPv4 address 0.0.0.0 was set
Product: Portable OpenSSH Reporter: Jan Pechanec <Jan.Pechanec>
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal CC: djm, dtucker
Priority: P2    
Version: 4.7p1   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 1353    
Attachments:
Description Flags
fix for the bug none

Description Jan Pechanec 2007-10-23 04:35:47 AEST
Created attachment 1368 [details]
fix for the bug

if binding_address 0.0.0.0 is used for local forwarding against server with SSH_OLD_FORWARD_ADDR flag set, the client listens on all inet6 addresses, too. The check for the flag should be done on server side only, new client should listen on all IPv4 addresses only.

patch attached.
Comment 1 Darren Tucker 2007-12-31 23:50:59 AEDT
Target 4.8
Comment 2 Damien Miller 2008-01-20 10:05:31 AEDT
applied - thanks!
Comment 3 Damien Miller 2008-03-31 15:22:16 AEDT
Fix shipped in 4.9/4.9p1 release.