Bug 1381 - client is willing to listen on inet6 addresses while IPv4 address 0.0.0.0 was set
Summary: client is willing to listen on inet6 addresses while IPv4 address 0.0.0.0 was...
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 4.7p1
Hardware: All All
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_4_8
  Show dependency treegraph
 
Reported: 2007-10-23 04:35 AEST by Jan Pechanec
Modified: 2008-03-31 15:22 AEDT (History)
2 users (show)

See Also:


Attachments
fix for the bug (452 bytes, patch)
2007-10-23 04:35 AEST, Jan Pechanec
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.