From 14424f7058cd6c2a5aa31dc179db3d4b7bc564a0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 18 Apr 2005 06:57:44 +0000 Subject: 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. --- tests/data/test253 | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 tests/data/test253 (limited to 'tests/data/test253') diff --git a/tests/data/test253 b/tests/data/test253 new file mode 100644 index 000000000..7f66ae604 --- /dev/null +++ b/tests/data/test253 @@ -0,0 +1,57 @@ + + +FTP-ipv6 +EPRT + + +# +# Server-side + + +total 20 +drwxr-xr-x 8 98 98 512 Oct 22 13:06 . +drwxr-xr-x 8 98 98 512 Oct 22 13:06 .. +drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT +-r--r--r-- 1 0 1 35 Jul 16 1996 README +lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin +dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev +drwxrwxrwx 2 98 98 512 May 29 16:04 download.html +dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc +drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub +dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr + + + +# +# Client-side + + +ipv6 + + +ftp-ipv6 + + +FTP IPv6 dir list with EPRT + + +-g "ftp://%HOST6IP:%FTP6PORT/" -P - + + + +# +# Verify data after the test has been "shot" + + +s/^(EPRT \|2\|::1\|)(.*)/$1/ + + +USER anonymous +PASS curl_by_daniel@haxx.se +PWD +EPRT |2|::1| +TYPE A +LIST +QUIT + + -- cgit v1.2.3