Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2024 09:34:06 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 9cd6ab45a446 - main - pf tests: disable epsv for the ftp proxy test
Message-ID:  <202410170934.49H9Y6vp021713@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=9cd6ab45a44607ea862c8bbb2ebaa8a7521178ff

commit 9cd6ab45a44607ea862c8bbb2ebaa8a7521178ff
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2024-10-17 08:17:10 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2024-10-17 08:17:10 +0000

    pf tests: disable epsv for the ftp proxy test
    
    The update to py-twisted 24.7.0 broke EPSV mode in twisted's ftp server.
    Work around this by disabling EPSV (and thus using PASV).
    
    PR:             282154
    MFC after:      1 week
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 tests/sys/netpfil/pf/proxy.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/sys/netpfil/pf/proxy.sh b/tests/sys/netpfil/pf/proxy.sh
index b112001ef2b4..78ce25930c04 100644
--- a/tests/sys/netpfil/pf/proxy.sh
+++ b/tests/sys/netpfil/pf/proxy.sh
@@ -74,7 +74,7 @@ ftp_body()
 
 	# Create a dummy file to download
 	echo 'foo' > remote.txt
-	echo 'get remote.txt local.txt' | ftp -a 198.51.100.2
+	echo -e 'epsv\nget remote.txt local.txt' | ftp -a 198.51.100.2
 
 	# Compare the downloaded file to the original
 	if ! diff -q local.txt remote.txt;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410170934.49H9Y6vp021713>