Bug 52787 - [PATCH] Update vsftpd to 1.2.0
Summary: [PATCH] Update vsftpd to 1.2.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-29 22:30 UTC by Jason Li
Modified: 2003-06-01 04:42 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (277 bytes, patch)
2003-05-29 22:30 UTC, Jason Li
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Li 2003-05-29 22:30:09 UTC
	Logging has been enhanced, including syslog support.  IPv6 support has been 
added.  STRU, MODE, STOU, HELP, and SITE HELP have been implemented.  Better 
control of which commands to allow has been added.  pam_session support has 
been added.  Error messages have been improved.  There are lots of bugfixes 
and new configuration options.

	- Eliminate crypt() not defined warning.
	- "grep -q" is not standard to redirect to /dev/null instead.
	- Make banned_email_file work second time around.
	- Add force_dot_files to work around broken clients. The behaviour when
	  enabled is very wu-ftpd like.
	- Implement SITE HELP - should work around IE bug?
	- Update README, vsftpd.conf with references to read the manual page!
	- Log revamp: add dual_log_enable to log to xferlog AND vsftpd.log.
	- Log revamp: add syslog_enable to log vsftpd.log to syslog().
	- Add "background" option to background the listener process.
	- Fix warning is vsftpd.8 man page, Bill Nottingham <notting@redhat.com>.
	- Fix tcp wrappers support to NOT emit loads of Bad file descriptor 
messages
	  to the system log.
	- Add ability to make bandwidth limiter smoother by using e.g.
	  trans_chunk_size=8192.
	- Add ability for virtual users to use local privs non anon privs, via
	  virtual_use_local_privs=YES.
	- Fix sendfile() fallback on FreeBSD, thanks to Adam Stroud
	  <adstro@stny.rr.com>.
	- Add pam_session support, as well as utmp and wtmp logging for local 
logins
	  (when using a PAM build). Tested pam_limits maxlogins works.
	- Ensure the source IP address for PORT connects is always the same as the
	  control connection local IP address. Previously it was not when NOT using
	  connect_from_port_20 in the presence of multiple local IP addresses.
	- Oops - make max_per_ip and max_clients work with the two process model
	  when both connect_from_port_20 and chown_uploads are false.
	- Initial IPv6 support (EPSV only).
	- Add EPRT support to IPv6.
	- Fix "ls .file" to list .file even if the ls -a flag is not present. Noted
	  by and thanks to Sean Millichamp <sean@enertronllc.com>.
	- Better error messages for config file parse fail: include setting name.
	- Fix bug in str_split_text where text is greater than 1 character long!
	- Make it build on Solaris8 - switch from utmp to utmpx and handle missing
	  LOG_FTP.
	- Always check for VSFTPD_LOAD_CONF environment variable.
	- Implement HELP properly (should help broken clients).
	- Fix FreeBSD build (no utmpx.h, so disable feature).
	- Fix chown_uploads.
	- "Guess fix" for FreeBSD reported bug. I reckon FreeBSD is returning 
-EINTR
	  from a blocking close but still closing the fd, despite the error return. 
So
	  cater for this. Reported by Drew Vogel <dvogel@intercarve.net>.
	- Add download_enable and dirlist_enable. Useful in conjunction with the
	  per-user config stuff.
	- Add chmod_enable.
	- Implement STRU and MODE for _old_, broken clients!
	- Log connects.
	- Fix 500 OOPS with chown_uploads and an APPE command.
	- Improve some error messages: die -> die2 for more information.
	- Repair max_per_ip (problem comparing IPv4 addresses).
	- Make chown_uploads work with virtual users.
	- Chmod files to 0600 before chown_uploads kicks in.
	- Add STOU support.
	- Add cmds_allowed config parameter.
	- Add some FAQ entries.

Fix: Apply this patch. Hope this is helpful

PORTNAME=	vsftpd
-PORTVERSION=	1.1.3
+PORTVERSION=	1.2.0
CATEGORIES=	ftp
MASTER_SITES=	ftp://vsftpd.beasts.org/users/cevans/



_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail--YXU5zb4vdjEkxM2Xk5invnOVuOLuN8CF8ZxRrsThRO2fMkoE
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -ruN vsftpd.orig/Makefile vsftpd/Makefile
--- vsftpd.orig/Makefile	Fri Feb 21 03:21:25 2003
+++ vsftpd/Makefile	Fri May 30 05:03:07 2003
@@ -6,7 +6,7 @@
#
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2003-05-30 06:25:08 UTC
State Changed
From-To: open->analyzed


Thanks for teh heads up, 
Patch already made, but waiting for port-freeze lifted. 

http://people.freebsd.org/~dinoex/ports/vsftpd/ 



Comment 2 Dirk Meyer freebsd_committer freebsd_triage 2003-05-30 06:25:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

over to maintainer
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2003-06-01 04:41:52 UTC
State Changed
From-To: analyzed->closed

committed, thanks.