Modified the FTP server to use the new 'sockfilt' program to do all the socket
level stuff. The FTP server communicates with sockfilt using perl's open2(). This enables easier IPv6 support and hopefully FTP-SSL support in the future. Added four test cases for FTP-ipv6.
This commit is contained in:
@@ -26,8 +26,8 @@ ftp://%HOSTIP:%FTPPORT/a/path/103 -P -
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strippart>
|
||||
s/^LPRT.*[\n]//
|
||||
s/^EPRT.*[\n]//
|
||||
s/^LPRT.*/LPRT/
|
||||
s/^EPRT.*/EPRT/
|
||||
s/^(PORT 127,0,0,1,)([0-9,]+)/$1/
|
||||
</strippart>
|
||||
<protocol>
|
||||
@@ -36,6 +36,8 @@ PASS curl_by_daniel@haxx.se
|
||||
PWD
|
||||
CWD a
|
||||
CWD path
|
||||
EPRT
|
||||
LPRT
|
||||
PORT 127,0,0,1,
|
||||
TYPE I
|
||||
SIZE 103
|
||||
|
||||
Reference in New Issue
Block a user