Add pasv dot after pasv response (RFC 959 page 40)

This commit is contained in:
Maros Barabas 2007-06-29 09:39:00 +00:00
parent f7148e2c53
commit 799e6832d9
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- vsftpd-2.0.5/postlogin.c.old 2007-06-29 11:32:01.000000000 +0200
+++ vsftpd-2.0.5/postlogin.c 2007-06-29 11:32:13.000000000 +0200
@@ -607,7 +607,7 @@
str_append_ulong(&s_pasv_res_str, the_port >> 8);
str_append_text(&s_pasv_res_str, ",");
str_append_ulong(&s_pasv_res_str, the_port & 255);
- str_append_text(&s_pasv_res_str, ")");
+ str_append_text(&s_pasv_res_str, ").");
vsf_cmdio_write_str(p_sess, FTP_PASVOK, &s_pasv_res_str);
}

View File

@ -3,7 +3,7 @@
Summary: Very Secure Ftp Daemon
Name: vsftpd
Version: 2.0.5
Release: 16%{?dist}
Release: 17%{?dist}
License: GPL
Group: System Environment/Daemons
URL: http://vsftpd.beasts.org/
@ -41,6 +41,7 @@ Patch25: vsftpd-2.0.5-confspell.patch
Patch26: vsftpd-2.0.5-bind_denied.patch
Patch27: vsftpd-2.0.5-uniq_rename.patch
Patch28: vsftpd-2.0.5-anon_umask.patch
Patch29: vsftpd-2.0.5-pasv_dot.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%if %{tcp_wrappers}
@ -96,6 +97,7 @@ cp %{SOURCE1} .
%patch26 -p1 -b .bind_denied
%patch27 -p1 -b .uniq_rename
%patch28 -p1 -b .anon_umask
%patch29 -p1 -b .pasv_dot
%build
%ifarch s390x
@ -154,6 +156,9 @@ fi
%{_var}/ftp
%changelog
* Fri Jun 29 2007 Maros Barabas <mbarabas@redhat.com> - 2.0.5-17
- Fix pasv dot after pasv response (RFC 959 page 40)
* Wed Apr 04 2007 Maros Barabas <mbarabas@redhat.com> - 2.0.5-16
- Merge review: - fix using %%{_var}, %%{_sbindir} and
%%{_sysconfigdir} macros for files and install