Add pasv dot after pasv response (RFC 959 page 40)
This commit is contained in:
parent
f7148e2c53
commit
799e6832d9
11
vsftpd-2.0.5-pasv_dot.patch
Normal file
11
vsftpd-2.0.5-pasv_dot.patch
Normal 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);
|
||||||
|
}
|
||||||
|
|
@ -3,7 +3,7 @@
|
|||||||
Summary: Very Secure Ftp Daemon
|
Summary: Very Secure Ftp Daemon
|
||||||
Name: vsftpd
|
Name: vsftpd
|
||||||
Version: 2.0.5
|
Version: 2.0.5
|
||||||
Release: 16%{?dist}
|
Release: 17%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://vsftpd.beasts.org/
|
URL: http://vsftpd.beasts.org/
|
||||||
@ -41,6 +41,7 @@ Patch25: vsftpd-2.0.5-confspell.patch
|
|||||||
Patch26: vsftpd-2.0.5-bind_denied.patch
|
Patch26: vsftpd-2.0.5-bind_denied.patch
|
||||||
Patch27: vsftpd-2.0.5-uniq_rename.patch
|
Patch27: vsftpd-2.0.5-uniq_rename.patch
|
||||||
Patch28: vsftpd-2.0.5-anon_umask.patch
|
Patch28: vsftpd-2.0.5-anon_umask.patch
|
||||||
|
Patch29: vsftpd-2.0.5-pasv_dot.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
%if %{tcp_wrappers}
|
%if %{tcp_wrappers}
|
||||||
@ -96,6 +97,7 @@ cp %{SOURCE1} .
|
|||||||
%patch26 -p1 -b .bind_denied
|
%patch26 -p1 -b .bind_denied
|
||||||
%patch27 -p1 -b .uniq_rename
|
%patch27 -p1 -b .uniq_rename
|
||||||
%patch28 -p1 -b .anon_umask
|
%patch28 -p1 -b .anon_umask
|
||||||
|
%patch29 -p1 -b .pasv_dot
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch s390x
|
%ifarch s390x
|
||||||
@ -154,6 +156,9 @@ fi
|
|||||||
%{_var}/ftp
|
%{_var}/ftp
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Apr 04 2007 Maros Barabas <mbarabas@redhat.com> - 2.0.5-16
|
||||||
- Merge review: - fix using %%{_var}, %%{_sbindir} and
|
- Merge review: - fix using %%{_var}, %%{_sbindir} and
|
||||||
%%{_sysconfigdir} macros for files and install
|
%%{_sysconfigdir} macros for files and install
|
||||||
|
Loading…
Reference in New Issue
Block a user