The NetBSD Project

CVS log for othersrc/libexec/tnftpd/src/version.h

[BACK] Up to [cvs.NetBSD.org] / othersrc / libexec / tnftpd / src

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Oct 1 01:48:50 2023 UTC (3 years, 1 month ago) by lukem
Branches: MAIN
CVS tags: tnftpd-20231001, HEAD
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
merge conflicts between NetBSD-20230922 and NetBSD-20230930

Revision 1.1.1.19 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Oct 1 01:45:02 2023 UTC (3 years, 1 month ago) by lukem
Branches: TNF, NetBSD
CVS tags: NetBSD-20230930
Diff to: previous 1.1.1.18: preferred, colored
Changes since revision 1.1.1.18: +2 -2 lines
Import NetBSD-ftpd 20230930

Notable changes since import tag NetBSD-20230922
- Fix uninitialized memory usage in count_users()
- Fix pam_set_item() call with proper struct passed as PAM_SOCKADDR

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Sep 23 05:30:36 2023 UTC (3 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4 lines
merge conflicts between NetBSD-20200615 and NetBSD-20230922

Revision 1.1.1.18 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Sep 23 05:26:58 2023 UTC (3 years, 1 month ago) by lukem
Branches: TNF, NetBSD
CVS tags: NetBSD-20230922
Diff to: previous 1.1.1.17: preferred, colored
Changes since revision 1.1.1.17: +3 -3 lines
Import NetBSD-ftpd 20230922

Notable changes since import tag NetBSD-20200615:
- Treat failed chdir/chroot for guest and chroot accounts as fatal.
  Also treat failed set{e,}(u,g}id calls as fatal.
  Addresses CVE-2020-7468, via FreeBSD.
- Improve seteuid error handling, per suggestion by Simon Josefsson.
- Add missing check_login checks for MLST and MLSD.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jul 4 04:00:53 2020 UTC (6 years, 4 months ago) by lukem
Branches: MAIN
CVS tags: tnftpd-20200704
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4 lines
Merge NetBSD-20190129

Prepare pfilter.c for future USE_BLOCKLIST check.

Revision 1.1.1.17 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Jul 4 03:31:37 2020 UTC (6 years, 4 months ago) by lukem
Branches: TNF, NetBSD
CVS tags: NetBSD-20200615
Diff to: previous 1.1.1.16: preferred, colored
Changes since revision 1.1.1.16: +3 -3 lines
Import NetBSD ftpd as at 20200615

Notable changes since NetBSD-20190129:
- Increase some buffer sizes.
- Rename blacklist to blocklist.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jan 29 12:14:46 2019 UTC (7 years, 9 months ago) by lukem
Branches: MAIN
CVS tags: tnftpd-20190602
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4 lines
merge from NetBSD-20130321 to NetBSD-20190129

Revision 1.1.1.16 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Jan 29 11:52:39 2019 UTC (7 years, 9 months ago) by lukem
Branches: TNF, NetBSD
CVS tags: NetBSD-20190129
Diff to: previous 1.1.1.15: preferred, colored
Changes since revision 1.1.1.15: +3 -3 lines
Import NetBSD ftpd as at 20190129

Notable changes:
- Fix violations of the sequence point rule.
- Add volatile for gcc 5.
- Check that stat and fstat succeed.
- Support blacklistd(8) hooks.
- Clear utmpx struct before writing it to wtmpx files.
- Fix directory stream leaks.
- Use explicit_memset(3) instead of memset(3) to clear password.
- Fix scope of variable. PR misc/50665.
- Ensure that closing socket exists. CID 603440.
- Add -f option to ftpd to stay in foreground with -D. PR bin/53221.
- Update version to "NetBSD-ftpd 20180428".

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Mar 21 01:01:57 2013 UTC (13 years, 8 months ago) by lukem
Branches: MAIN
CVS tags: tnftpd-20130325, tnftpd-20130322
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4 lines
Merge NetBSD-20130321

Revision 1.1.1.15 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu Mar 21 00:30:37 2013 UTC (13 years, 8 months ago) by lukem
Branches: TNF, NetBSD
CVS tags: NetBSD-20130321
Diff to: previous 1.1.1.14: preferred, colored
Changes since revision 1.1.1.14: +3 -3 lines
Import NetBSD-ftpd 20100320:
- Fix warnings and build issues
- Fix memcpy usage
- Fix remote crash (fix was already pulled up manually to tnftpd).  PR/43023
- Reduce priority of syslog message if getpeername returns ENOTCONN.  PR/18934

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Mar 24 12:11:20 2010 UTC (16 years, 7 months ago) by lukem
Branches: MAIN
CVS tags: tnftpd-20100324
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
apply rev 1.74 from NetBSD:
 Identify as "NetBSD-ftpd 20100320"

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Nov 7 03:26:21 2009 UTC (17 years ago) by lukem
Branches: MAIN
CVS tags: tnftpd-20091122
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4 lines
Merge NetBSD-ftpd 20091107

Revision 1.1.1.14 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Nov 7 03:13:49 2009 UTC (17 years ago) by lukem
Branches: TNF, NetBSD
CVS tags: NetBSD-20091107
Diff to: previous 1.1.1.13: preferred, colored
Changes since revision 1.1.1.13: +2 -1 lines
reimport; this time after munging the RCSIDs...

Revision 1.1.1.13 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Nov 7 03:10:05 2009 UTC (17 years ago) by lukem
Branches: TNF, NetBSD
Diff to: previous 1.1.1.12: preferred, colored
Changes since revision 1.1.1.12: +3 -4 lines
Sync to NetBSD-ftpd 20091107:
* Fix WARNS=4 issues (const & sign mismatches, etc)
* Ensure various ftpd.conf values can't exceed their underlying types.
* Fix for 64 bit time_t and dev_t
* Rename internal getline() function to get_line() so it does
  conflict with the getline(3) libc function.
* Log both the hostname and numeric address.
* Improve man page mdoc formatting

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Sep 21 14:23:39 2008 UTC (18 years, 1 month ago) by lukem
Branches: MAIN
CVS tags: tnftpd-20081009, tnftpd-20080929
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
Merge NetBSD-20080921

Revision 1.1.1.12 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Sep 21 14:12:35 2008 UTC (18 years, 1 month ago) by lukem
Branches: TNF, NetBSD
CVS tags: NetBSD-20080921
Diff to: previous 1.1.1.11: preferred, colored
Changes since revision 1.1.1.11: +2 -2 lines
Sync to NetBSD-ftpd 20080921:
* Don't split large commands into multiple commands; just fail on them.
  This prevents CSRF-like attacks, when a web browser is used to access
  an ftp server.
  Reported by Maksymilian Arciemowicz <cxib@securityreason.com>.
  Fix mostly derived from OpenBSD, written by Moritz Jodeit
  <moritz@OpenBSD.org>
* Enhance -C to support an optional @host ('-C user[@host]'):
  checks whether user as connecting from host would be granted
  access by ftpusers(5).
  Support IPv6 in the host directive of ftpusers(5).
  Both features from Rudolf Cejka <cejkar@fit.vutbr.cz>
  (FreeBSD's tnftpd port maintainer).

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jun 9 00:52:33 2008 UTC (18 years, 5 months ago) by lukem
Branches: MAIN
CVS tags: tnftpd-20080609
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
Merge NetBSD-20080609

Revision 1.1.1.11 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Jun 9 00:34:10 2008 UTC (18 years, 5 months ago) by lukem
Branches: TNF, NetBSD
CVS tags: NetBSD-20080609
Diff to: previous 1.1.1.10: preferred, colored
Changes since revision 1.1.1.10: +2 -2 lines
Import NetBSD ftpd 20080609:
- Don't use non-standard "u_<foo>" types.
- Strip trailing whitespace (as well as ':'s) off PAM password prompts.
- Improve some debug logging related to PAM.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jun 1 03:43:30 2008 UTC (18 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -3 lines
merge NetBSD-ftpd 20080504

Revision 1.1.1.10 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Jun 1 03:26:12 2008 UTC (18 years, 5 months ago) by lukem
Branches: TNF, NetBSD
CVS tags: NetBSD-20080504
Diff to: previous 1.1.1.9: preferred, colored
Changes since revision 1.1.1.9: +2 -1 lines
Import NetBSD-ftpd from 20080504.  Changes include:
* Reorganize USE_PAM so that the PAM conversation has a chance to
  display a custom message in the 331 reply to USER.
* Remove clause 3 and 4 from TNF licenses
* Switch from lockf() to (more portable) fcntl() locking
* Rename HAVE_SOCKADDR_SA_LEN to HAVE_STRUCT_SOCKADDR_SA_LEN.
* Use defined(HAVE_foo) instead of just testing HAVE_foo.
* Replace references from draft-ietf-ftpext-mlst-NN to RFC 3659.
* Explicitly note the unsupported requests from RFC 2228.
* Improvements from FreeBSD:
  - Document `ftp-chroot' from login.conf(5).
  - Document that SIZE is prevented for files > 10240 bytes via ASCII transfers.
* Add -n option to display addresses in logs.
* Rename cred_t to ftpd_cred_t; the former causes a nameclash on Solaris.
* Expand documentation on numeric argument suffix parsing, and convert
  to IEC 60027-2 prefixes for 2^n multiples ("KiB" instead of "KB", etc.)

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Apr 29 08:13:38 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -10 lines
Move to new 2 clause license

Revision 1.1.1.9 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:03 2008 UTC (18 years, 6 months ago) by lukem
Branches: TNF, NetBSD
Diff to: previous 1.1.1.8: preferred, colored
Changes since revision 1.1.1.8: +3 -10 lines
Import NetBSD-ftpd from 20080504.  Changes include:
* Reorganize USE_PAM so that the PAM conversation has a chance to
  display a custom message in the 331 reply to USER.
* Remove clause 3 and 4 from TNF licenses
* Switch from lockf() to (more portable) fcntl() locking
* Rename HAVE_SOCKADDR_SA_LEN to HAVE_STRUCT_SOCKADDR_SA_LEN.
* Use defined(HAVE_foo) instead of just testing HAVE_foo.
* Replace references from draft-ietf-ftpext-mlst-NN to RFC 3659.
* Explicitly note the unsupported requests from RFC 2228.
* Improvements from FreeBSD:
  - Document `ftp-chroot' from login.conf(5).
  - Document that SIZE is prevented for files > 10240 bytes via ASCII transfers.
* Add -n option to display addresses in logs.
* Rename cred_t to ftpd_cred_t; the former causes a nameclash on Solaris.
* Expand documentation on numeric argument suffix parsing, and convert
  to IEC 60027-2 prefixes for 2^n multiples ("KiB" instead of "KB", etc.)

Revision 1.1.1.8 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Sep 25 06:30:55 2006 UTC (20 years, 1 month ago) by lukem
Branches: TNF, NetBSD
CVS tags: tnftpd-20061217, tnftpd-20061204, NetBSD-20060923
Diff to: previous 1.1.1.7: preferred, colored
Changes since revision 1.1.1.7: +2 -2 lines
Import NetBSD-ftpd 20060923:
* Rename debug -> ftpd_debug, xstrdup -> ftpd_strdup
* Fix comment about DEFAULT_UMASK.
  Pointed out in private mail by Tetsuya Isaki and Dmitry Sivachenko.
* Add recvbufsize configuration option.
  This allows for setting the passive socket's SO_RCVBUF.  Option works
  similarly to the current sendbufsize configuration option.
* Change how recveive_data() works.
  When reading data from the socket for passive transfers to the server,
  receive_data() now works very similar to send_data_with_read().  Reads
  from the network are now done using either the filesystem block size or
  the configuration option readsize chunks.
* Add hidesymlinks configuration option.
  This adds a -L to all ls command arguments so that the file or directory
  the link references is listed rather than the link itself.  This was
  inspired by IRIX ftpd's -S option.
* Change _PATH_FOO to _NAME_FOO where FOO is not a path.
* Reorder some declarations so that parsers generated by bison can compile.
  Fix from Michael Richardson.
* Implement option "-D", for running ftpd in standalone mode (daemon).
  ftpd will listen on the default FTP port for incoming connections and fork
  a child for each connection.  This is lower overhead than starting ftpd from
  inetd(8) and thus might be useful on busy servers to reduce load.
  Inspired by FreeBSD.
* Change (mostly) int to socklen_t.  GCC 4 doesn't like that int and
  socklen_t are different signness.
* Remove unreachable code (res could never be NULL here).
  Fixes Coverity CID 712.
* Set file to NULL after calling fclose().
  Fixes Coverity CID 2669.
* Make sure that "su" is initialized before dereferencing it.
  Fixes Coverity CID 1075.
* Fix some typos.
* NLST should return 450 instead of 550 upon error, per RFC 959.
* logxfer(): don't use the same buffer to store the results of two separate
  concurrent realpath(3)s, otherwise we'll log the wrong information
  for a rename.
  Noted by Dmitry Sivachenko in private mail.
* s/getpwnam/sgetpwnam/ Found by John Nemeth.
* Add PAM and LOGIN_CAP support. Mostly from FreeBSD. If pam is defined,
  then we don't fall back to other authentications even if PAM fails due
  to a system error (e.g. configuration problem).
* Fix inverted test for expired passwords.
* Cleanup utmp and utmpx support.
	- make them symmetric
	- add a function to open the wtmp file explicitly very early in the game
* Apply patch from PR bin/33261 sent by FUKAOMI Naoki:
  "ftpd does not update wtmpx".

Revision 1.1.1.7 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Nov 21 01:04:46 2004 UTC (22 years ago) by lukem
Branches: TNF, NetBSD
CVS tags: NetBSD-20041201
Diff to: previous 1.1.1.6: preferred, colored
Changes since revision 1.1.1.6: +2 -2 lines
Sync to NetBSD ftpd 20041201:
* Don't write trash in ut_ss; either initialize it to 0, or put in the proper
  information.
* Add (unsigned char) cast to ctype functions
* Don't allow accounts with age expired passwords to login.  Any account
  that is required to change their password will not be allowed FTP
  access.  Inspired by similar functionality in other FTP daemons.

Revision 1.1.1.6 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Aug 9 12:56:48 2004 UTC (22 years, 3 months ago) by lukem
Branches: TNF, NetBSD
CVS tags: tnftpd-20040810, NetBSD-20040809
Diff to: previous 1.1.1.5: preferred, colored
Changes since revision 1.1.1.5: +3 -3 lines
Sync to NetBSD ftpd 2004-08-09.

Fixes from (or inspired by) OpenBSD:
* Fix yacc parser error recovery so that setjmp(3)/longjmp(3) is unnecessary.
* Fix SIGURG handler to set an urgflag that's later tested, rather than
  abusing setjmp(3)/longjmp(3).
* Use "volatile sig_atomic_t" as the type of variables modified by sig handlers.
* Use sigaction(3) instead of signal(3) to set the signal handlers.
* Only set the main SIGALRM handler once.  If we need to change it,
  cache the old handler and restore appropriately...
* Remove a bunch of signal races by improving the signal handlers.
* Fix memory leak with 'ESPV ALL'.
* Correctly clamp illegal "SITE CHMOD" mode values.
* Fix minor memory leak with fromname.

My stuff:
* Clean up the debug message in reply(); use vsnprintf(3) instead of vsyslog(3).
* Rework parsing of OOB commands to _not_ use the yacc parser, since the
  latter isn't reentrant and the hacks to work around that are ugly.
  We now examine urgflag at appropriate locations and call handleoobcmd()
  if it's set.  Since the only OOB commands we currently implement are
  ABOR and STAT, this isn't an issue.  (I also can't find the reference in
  RFC2228 where MIC, CONF & ENC are OOB-only commands.  Go figure.)
  I could clean up the is_oob stuff some more, but the remaining stuff
  in ftpcmd.y is harmless and it's unnecessary churn right this moment.

Revision 1.1.1.5 (vendor branch): download - view: text, markup, annotated - select for diffs
Wed Dec 10 01:18:56 2003 UTC (22 years, 11 months ago) by lukem
Branches: TNF, NetBSD
CVS tags: tnftpd-20031217, tnftpd-20031210, NetBSD-20031210
Diff to: previous 1.1.1.4: preferred, colored
Changes since revision 1.1.1.4: +2 -2 lines
Sync to NetBSD ftpd 20031210.  Notable changes:
    *	Move UCB-licensed code from 4-clause to 3-clause licence.
	Patches provided by Joel Baker in PR 22284
    *	Add ftpd_loginx() and ftpd_logwtmpx() and use them to hold wtmpx file
	open while a session.  Close bin/21692 by bqt@Krille.Update.UU.SE.
    *	Fix typos accidentally introduced in rev 1.70 as part of the large
	number support.  (NetBSD yacc didn't barf on these, although Solaris
	and HP/UX's did...)
    *	Don't declare "yylex()" static; AFAICT it shouldn't be, and it causes
	build problems with the output of some versions of yacc.
    *	Use sysconf(_SC_LOGIN_NAME_MAX) to determine the length of login
	names, rather than assuming LOGIN_NAME_MAX.  Based on patch from
	Garrett Wollman via David O'Brien (both at FreeBSD.org)
    *	netbsd.org->NetBSD.org
    *	Move Jason Downs's code from a 4-clause to a 3-clause licence by
	removing the advertising clause.  Diffs provided in PR 22410 by Joel
	Baker, confirmed to the board by Jason Downs.
	With additional thanks to Jason Thorpe.

Revision 1.1.1.4 (vendor branch): download - view: text, markup, annotated - select for diffs
Wed Feb 26 12:27:04 2003 UTC (23 years, 8 months ago) by lukem
Branches: TNF, NetBSD
CVS tags: tnftpd-2-0-beta3, NetBSD-20030226
Diff to: previous 1.1.1.3: preferred, colored
Changes since revision 1.1.1.3: +3 -3 lines
update to 20030226

Revision 1.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Feb 23 13:04:37 2003 UTC (23 years, 8 months ago) by lukem
Branches: TNF, NetBSD
CVS tags: NetBSD-20030223
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +2 -2 lines
ftpd from 20030223

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Nov 29 14:44:48 2002 UTC (23 years, 11 months ago) by lukem
Branches: TNF, NetBSD
CVS tags: tnftpd-2-0-beta2, NetBSD-20021208
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +2 -2 lines
import libexec/ftpd from NetBSD as at 20021208

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Oct 26 04:19:56 2002 UTC (24 years ago) by lukem
Branches: TNF, NetBSD
CVS tags: tnftpd-2-0-beta1, NetBSD-20021026
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
NetBSD's libexec/ftpd from 20021026

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Oct 26 04:19:56 2002 UTC (24 years ago) by lukem
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>