Bug 1344483
| Summary: | Putty: Cannot use dynamic port-forwarding with specific IP protocol in saved session | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Pavel <pmalishev> | ||||
| Component: | putty | Assignee: | Jaroslav Škarvada <jskarvad> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | el6 | CC: | fedora, jskarvad, tremble | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 0.64 putty-0.63-7.el6 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-07-06 06:48:58 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Pavel
2016-06-09 19:16:31 UTC
Thanks for info. Putty seems to have pretty good backward compatibility, thus I am not going to waste time with backporting and I will probably rebase it directly to the 0.67. Created attachment 1166654 [details]
Backported fix
Well, finally it showed that the backport is easier. The rebased package didn't build because of old halibut.
putty-0.63-7.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-247ac7d7ee putty-0.63-7.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-247ac7d7ee Thank you for bugfix. In a system with ipv4 and ipv6 all works fine, but there is a problem with one protocol ipv4 (if ipv6 disabled). Tested version: putty x86_64 0.63-7.el6 @epel-testing Test example, line PortForwardings from stored session: PortForwardings=4D7702=,4L7705=127.0.0.1:7705,6D7703=,6L7706=127.0.0.1:7706,D7701=,L7704=127.0.0.1:7704 The formatted string for better perception: D7701=, 4D7702=, 6D7703=, L7704=127.0.0.1:7704 4L7705=127.0.0.1:7705, 6L7706=127.0.0.1:7706, TEST-1: In a system with ipv4 and ipv6 all works fine. After connecting: --- # netstat -nap|grep ":770" tcp 0 0 127.0.0.1:7701 0.0.0.0:* LISTEN 3816/putty tcp 0 0 127.0.0.1:7702 0.0.0.0:* LISTEN 3816/putty tcp 0 0 127.0.0.1:7704 0.0.0.0:* LISTEN 3816/putty tcp 0 0 127.0.0.1:7705 0.0.0.0:* LISTEN 3816/putty tcp 0 0 ::1:7701 :::* LISTEN 3816/putty tcp 0 0 ::1:7703 :::* LISTEN 3816/putty tcp 0 0 ::1:7704 :::* LISTEN 3816/putty tcp 0 0 ::1:7706 :::* LISTEN 3816/putty --- Test passed, all OK TEST-2: Disable ipv6 --- # netstat -nap|grep ":770" tcp 0 0 127.0.0.1:7702 0.0.0.0:* LISTEN 3825/putty tcp 0 0 127.0.0.1:7705 0.0.0.0:* LISTEN 3825/putty --- Test failed. Do not established port forwarding: D7701 and L7704=127.0.0.1:7704 It is possible that the same problem also affects "Remote port forwarding". Check please, unfortunately I do not really guided in this matter. I cannot find anything related. How did you disable IPv6? Does it work in putty-0.64? Maybe it's a different bug, and it can be fixed separately. I saw it by accident during testing. I tested on Centos 6.8 x86_64. Disable ipv6: 1. Add lines in /etc/sysctl.conf --- net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 --- 2. Reboot I have not tested this bug on the putty-0.64 Thanks for info. Please could you test with 0.64 and optionally open new bug? In case it's unfixed upstream, please file a bug upstream and/or in Fedora. I test the latest PuTTY release ./putty --version PuTTY: Release 0.67 Bug exists in it too. I sent a bug report to PuTTY Team. This topic can be closed, a new bug is better examine separately. (In reply to Pavel from comment #9) > I test the latest PuTTY release > ./putty --version > PuTTY: Release 0.67 > > Bug exists in it too. I sent a bug report to PuTTY Team. > This topic can be closed, a new bug is better examine separately. OK, thanks for info, please open new bug when resolved upstream and I will backport the fix. putty-0.63-7.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. |