Bug 1376378

Summary: FTP Out of busines - IPTABLES?
Product: [Fedora] Fedora Reporter: poma <pomidorabelisima>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 24CC: gansalmon, ichavero, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-03 12:28:19 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:

Description poma 2016-09-15 09:27:29 UTC
Description of problem:
curl: (7) Failed to connect to server port 21: No route to host

Version-Release number of selected component (if applicable):
kernel >= 4.7.0-0.rc0.git3.1

How reproducible:
101%

Steps to Reproduce:
1. Download from Very Secure Ftp Daemon

Actual results:
dnf update
...
repo: downloading from remote: updates, _Handle: metalnk: None, mlist: None, urls ['ftp://server/pub/fedora/updates/24/x86_64/'].
Cannot download 'ftp://server/pub/fedora/updates/24/x86_64/': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
Cleaning up.
Error: Failed to synchronize cache for repo 'updates'

Expected results:
Working download from Very Secure Ftp Daemon

Additional info:
$ nmap -p 21 server
...
PORT   STATE SERVICE
21/tcp open  ftp

Server:
# iptables -L | grep ftp
ACCEPT     tcp  --  anywhere             anywhere             state NEW tcp dpt:ftp

Comment 1 poma 2016-09-16 11:00:22 UTC
Same with ProFTPD:

$ curl ftp://server/welcome.msg
curl: (7) Failed to connect to server port 21: No route to host


Something (IPTABLES?) is broken between these two:

diff --git a/gitrev b/gitrev
index 643bfe2..8c6b6ae 100644
--- a/gitrev
+++ b/gitrev
@@ -1 +1 @@
-16490980e396fac079248b23b1dd81e7d48bebf3
+0b7962a6c4a37ef3cbb25d976af7b9ec4ce8ad01

https://pkgs.fedoraproject.org/cgit/rpms/kernel.git/commit/gitrev?id=af49530
https://pkgs.fedoraproject.org/cgit/rpms/kernel.git/commit/?id=af49530

4.7.0-0.rc0.git2.2.fc25.src/patch-4.6-git2.xz
4.7.0-0.rc0.git3.1.fc25.src/patch-4.6-git3.xz

2016-05-17
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1649098
...
2016-05-18
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0b7962a
...
..
.
still broken with 4.8.0-0.rc6.git0.1.fc25.x86_64
2016-09-12
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?id=refs/tags/v4.8-rc6

Comment 2 poma 2016-10-03 12:28:19 UTC
Retested with stable 4.7.6 i.e. 4.7.6-234.fc24.x86_64,
works OK.