1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00
Commit Graph

15 Commits

Author SHA1 Message Date
Tim Rühsen
075d755696 Fix IP address exposure in FTP code
* src/ftp.c (getftp): Do not use PORT when PASV fails.
* tests/FTPServer.px: Add pasv_not_supported server flag.
* tests/Makefile.am: Add Test-ftp-pasv-not-supported.px
* tests/Test-ftp-pasv-not-supported.px: New test

Fix IP address exposure when automatically falling back from
passive mode to active mode (using the PORT command). A behavior that
may be used to expose a client's privacy even when using a proxy.
2015-08-11 17:38:33 +02:00
Tim Ruehsen
9ee2fdd50d tests/FTPServer.pm: Fix ftp tests for Windows
The Single Unix strftime format specifier %e is not supported by
MS Windows. Instead we now use %d.

Reported-By: Eli Zaretskii <eliz@gnu.org>
2014-12-21 18:12:17 +01:00
Pär Karlsson
8078adee7f Stylistic and idiomatic cleanups in Perl tests 2014-11-01 22:37:57 +05:30
Yousong Zhou
701e407af5 Tests: fix TYPE and RETR command handling.
- FTPServer.pm's handling of TYPE command would ignore binary mode
   transfer request.
 - The FTP server would run into dead loop sending the same content
   forever.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2014-03-21 11:21:10 +01:00
Andrea Urbani
c3835a425a "LIST" or "LIST -a" ftp command according to the remote system 2013-10-28 23:37:10 +01:00
Steven Schubiger
baf9994402 Add port substitution for FTP to tests. 2010-02-25 21:47:53 +01:00
Micah Cowan
4a08094db8 [mq]: cfg-mk 2009-09-21 20:39:44 -07:00
Micah Cowan
aab7dadc9a Attempted, but failed, to reproduce bug 22403. 2009-09-07 22:40:25 -07:00
Micah Cowan
1274565a64 Regression test for getftp bug (fails). 2009-09-06 13:04:22 -07:00
Micah Cowan
ad4b678d2d Rewrote FTPServer.pm to avoid filesystem; added Test-ftp-recursive.px. 2009-09-05 23:08:55 -07:00
Steven Schubiger
a6de4721d1 Purge orphaned whitespace in test libraries. 2008-11-13 12:29:59 +01:00
Steven Schubiger
124f1050af Remove shebang line from test libraries. 2008-11-12 21:18:27 +01:00
Micah Cowan
f0f56db5cb Don't use hardcoded ports. 2008-06-12 02:18:35 -07:00
Micah Cowan
3323ed3c17 Avoid re-forking. Fixes bug #20458. 2008-05-22 23:40:56 -07:00
mtortonesi
9b593768f7 [svn] Added FTP testing support. 2007-06-14 09:05:59 -07:00