Bug 860302 - Patch 102 in specfile from bug #735889 breaks link-local IPv6
Summary: Patch 102 in specfile from bug #735889 breaks link-local IPv6
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: openssh
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-25 13:59 UTC by Pavol Šimo
Modified: 2012-10-26 15:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-26 15:01:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pavol Šimo 2012-09-25 13:59:47 UTC
Result of resolving the bug #735889 is the file openssh-5.8p1-getaddrinfo.patch

This patch breaks openssh client in environments where IPv6 is enabled, but no global IPv6 address is assigned (this is very common scenario - using only link local addresses).

$ ssh -6 fe80::4a5b:39ff:feca:3db1
ssh: Could not resolve hostname fe80::4a5b:39ff:feca:3db1: Name or service not known

$ ssh -6 fe80::4a5b:39ff:feca:3db1%eth0
ssh: Could not resolve hostname fe80::4a5b:39ff:feca:3db1%eth0: Name or service not known

Result without the patch:
$ ssh -6 fe80::4a5b:39ff:feca:3db1%eth0
Last login: .... (user logged in)

Comment 1 Petr Lautrbach 2012-10-26 15:01:38 UTC
$ rpm -q openssh
openssh-6.1p1-1.fc18.x86_64

$ ip -6 a s dev em1
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 fe80::f2de:f1ff:fe41:2ee9/64 scope link
       valid_lft forever preferred_lft forever

$ ssh -6 plautrba@fe80::221:9bff:fe36:7a22%em1
Last login: Fri Oct 26 16:57:27 2012 from fe80::f2de:f1ff:fe41:2ee9%eth0

$ finger | tail -n 1
plautrba  Petr Lautrbach   pts/20         Oct 26 16:58                           (fe80::f2de:f1ff:fe41:2ee9%eth0)


Note You need to log in before you can comment on or make changes to this bug.