mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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")
This commit is contained in:
parent
b88df1e893
commit
9cd6ab45a4
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue