aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2024-10-17 08:17:10 +0000
committerKristof Provost <kp@FreeBSD.org>2024-10-17 08:17:10 +0000
commit9cd6ab45a44607ea862c8bbb2ebaa8a7521178ff (patch)
treec606085a41d092fb83f9bfd85a546d1edc43db8a
parentb88df1e893c455731c7915f72a3b97b078ab04e2 (diff)
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")
-rw-r--r--tests/sys/netpfil/pf/proxy.sh2
1 files changed, 1 insertions, 1 deletions
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;