NetBSD

CVS log for src/libexec/ftpd/ftpcmd.y

[BACK] Up to [NetBSD] / src / libexec / ftpd

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.93: download - view: text, markup, annotated - select for diffs
Fri Sep 16 18:13:17 2011 (2 years, 10 months ago) by plunky
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, agc-symver-base, agc-symver, HEAD
Diff to previous 1.92: preferred, colored
Changes since revision 1.92: +3 -3 lines
NULL does not need a cast, here

Revision 1.92: download - view: text, markup, annotated - select for diffs
Fri Jul 1 04:46:15 2011 (3 years ago) by joerg
Branches: MAIN
Diff to previous 1.91: preferred, colored
Changes since revision 1.91: +3 -3 lines
Fix memcpy usage.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Sat Jan 15 00:56:13 2011 CET (3 years, 6 months ago) by christos
Branches: MAIN
CVS tags: cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to previous 1.90: preferred, colored
Changes since revision 1.90: +17 -11 lines
PR/44390: Paul Koning: make code gcc-4.5.1 friendly.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon Jul 13 21:05:40 2009 (5 years ago) by roy
Branches: MAIN
CVS tags: matt-premerge-20091211, matt-mips64-premerge-20101231
Diff to previous 1.89: preferred, colored
Changes since revision 1.89: +5 -5 lines
Rename internal getline() function to get_line() so it does
conflict with the soon to be added getline(3) libc function.

Revision 1.88.6.1: download - view: text, markup, annotated - select for diffs
Wed May 13 21:18:37 2009 (5 years, 2 months ago) by jym
Branches: jym-xensuspend
Diff to previous 1.88: preferred, colored next main 1.89: preferred, colored
Changes since revision 1.88: +82 -81 lines
Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sun Mar 15 08:48:36 2009 CET (5 years, 4 months ago) by lukem
Branches: MAIN
CVS tags: jym-xensuspend-nbase, jym-xensuspend-base
Diff to previous 1.88: preferred, colored
Changes since revision 1.88: +82 -81 lines
Fix WARNS=4 issues (const & sign mismatches, etc)
Ensure various ftpd.conf values can't exceed their underlying types.

Revision 1.87.2.1: download - view: text, markup, annotated - select for diffs
Wed Sep 24 18:35:51 2008 (5 years, 9 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to previous 1.87: preferred, colored next main 1.88: preferred, colored
Changes since revision 1.87: +34 -11 lines
Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.83.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 21:28:41 2008 (5 years, 10 months ago) by bouyer
Branches: netbsd-3
Diff to previous 1.83: preferred, colored next main 1.84: preferred, colored
Changes since revision 1.83: +34 -11 lines
Pull up following revision(s) (requested by lukem in ticket #1964):
	libexec/ftpd/ftpd.c: revision 1.187 via patch
	libexec/ftpd/extern.h: revision 1.58 via patch
	libexec/ftpd/ftpcmd.y: revision 1.88 via patch
	libexec/ftpd/version.h: patch
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.o=
rg>

Revision 1.83.4.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 21:28:40 2008 (5 years, 10 months ago) by bouyer
Branches: netbsd-3-0
Diff to previous 1.83: preferred, colored next main 1.84: preferred, colored
Changes since revision 1.83: +34 -11 lines
Pull up following revision(s) (requested by lukem in ticket #1964):
	libexec/ftpd/ftpd.c: revision 1.187 via patch
	libexec/ftpd/extern.h: revision 1.58 via patch
	libexec/ftpd/ftpcmd.y: revision 1.88 via patch
	libexec/ftpd/version.h: patch
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.o=
rg>

Revision 1.83.6.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 21:28:23 2008 (5 years, 10 months ago) by bouyer
Branches: netbsd-3-1
Diff to previous 1.83: preferred, colored next main 1.84: preferred, colored
Changes since revision 1.83: +34 -11 lines
Pull up following revision(s) (requested by lukem in ticket #1964):
	libexec/ftpd/ftpd.c: revision 1.187 via patch
	libexec/ftpd/extern.h: revision 1.58 via patch
	libexec/ftpd/ftpcmd.y: revision 1.88 via patch
	libexec/ftpd/version.h: patch
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.o=
rg>

Revision 1.84.4.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 20:24:59 2008 (5 years, 10 months ago) by bouyer
Branches: netbsd-4
Diff to previous 1.84: preferred, colored next main 1.85: preferred, colored
Changes since revision 1.84: +34 -11 lines
Pull up following revision(s) (requested by lukem in ticket #1202):
	libexec/ftpd/ftpd.c: revision 1.187
	libexec/ftpd/extern.h: revision 1.58
	libexec/ftpd/version.h: patch
	libexec/ftpd/ftpcmd.y: revision 1.88
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.o=
rg>

Revision 1.84.8.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 20:24:39 2008 (5 years, 10 months ago) by bouyer
Branches: netbsd-4-0
CVS tags: netbsd-4-0-1-RELEASE
Diff to previous 1.84: preferred, colored next main 1.85: preferred, colored
Changes since revision 1.84: +34 -11 lines
Pull up following revision(s) (requested by lukem in ticket #1202):
	libexec/ftpd/ftpd.c: revision 1.187
	libexec/ftpd/extern.h: revision 1.58
	libexec/ftpd/version.h: patch
	libexec/ftpd/ftpcmd.y: revision 1.88
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.o=
rg>

Revision 1.88: download - view: text, markup, annotated - select for diffs
Sat Sep 13 05:30:35 2008 (5 years, 10 months ago) by lukem
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Branch point for: jym-xensuspend
Diff to previous 1.87: preferred, colored
Changes since revision 1.87: +34 -11 lines
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>

Revision 1.86.10.1: download - view: text, markup, annotated - select for diffs
Sun May 18 14:30:43 2008 (6 years, 2 months ago) by yamt
Branches: yamt-pf42
Diff to previous 1.86: preferred, colored next main 1.87: preferred, colored
Changes since revision 1.86: +2 -9 lines
sync with head.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Mon Apr 28 22:23:03 2008 (6 years, 2 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to previous 1.86: preferred, colored
Changes since revision 1.86: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.86.12.2: download - view: text, markup, annotated - select for diffs
Sun Jul 22 07:06:46 2007 (7 years ago) by lukem
Branches: matt-mips64
Diff to previous 1.86.12.1: preferred, colored to branchpoint 1.86: preferred, colored next main 1.87: preferred, colored
Changes since revision 1.86.12.1: +1852 -0 lines
Rename HAVE_SOCKADDR_SA_LEN to HAVE_STRUCT_SOCKADDR_SA_LEN.
Use defined(HAVE_foo) instead of just testing HAVE_foo.

Revision 1.86.12.1
Sun Jul 22 07:06:45 2007 (7 years ago) by lukem
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.86: +0 -1852 lines
file ftpcmd.y was added on branch matt-mips64 on 2007-07-22 05:06:46 +0000

Revision 1.86: download - view: text, markup, annotated - select for diffs
Sun Jul 22 07:06:45 2007 (7 years ago) by lukem
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, matt-mips64-base, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42, matt-mips64
Diff to previous 1.85: preferred, colored
Changes since revision 1.85: +4 -4 lines
Rename HAVE_SOCKADDR_SA_LEN to HAVE_STRUCT_SOCKADDR_SA_LEN.
Use defined(HAVE_foo) instead of just testing HAVE_foo.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu May 10 07:59:30 2007 (7 years, 2 months ago) by lukem
Branches: MAIN
Diff to previous 1.84: preferred, colored
Changes since revision 1.84: +5 -5 lines
Replace references from draft-ietf-ftpext-mlst-NN to RFC 3659.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed Feb 1 15:20:12 2006 CET (8 years, 5 months ago) by christos
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: netbsd-4-0, netbsd-4
Diff to previous 1.83: preferred, colored
Changes since revision 1.83: +5 -5 lines
debug -> ftpd_debug
xstrdup -> ftpd_strdup

Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Mar 3 23:19:47 2005 CET (9 years, 4 months ago) by ginsbach
Branches: MAIN
CVS tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE
Branch point for: netbsd-3-1, netbsd-3-0, netbsd-3
Diff to previous 1.82: preferred, colored
Changes since revision 1.82: +7 -3 lines
* 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.
  [Discussed with lukem some time ago.]
* Crank version.h [right Luke? :-)]

Revision 1.82: download - view: text, markup, annotated - select for diffs
Wed Jan 5 11:31:27 2005 CET (9 years, 6 months ago) by lukem
Branches: MAIN
Diff to previous 1.81: preferred, colored
Changes since revision 1.81: +10 -9 lines
Reorder some declarations so that parsers generated by bison can compile.
Fix from Michael Richardson.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri Nov 5 22:45:36 2004 CET (9 years, 8 months ago) by dsl
Branches: MAIN
Diff to previous 1.80: preferred, colored
Changes since revision 1.80: +8 -8 lines
Add (unsigned char) cast to ctype functions

Revision 1.66.2.3: download - view: text, markup, annotated - select for diffs
Tue Aug 31 03:35:30 2004 (9 years, 10 months ago) by jmc
Branches: netbsd-1-6
Diff to previous 1.66.2.2: preferred, colored to branchpoint 1.66: preferred, colored next main 1.67: preferred, colored
Changes since revision 1.66.2.2: +87 -99 lines
Pullup rev 1.68,1.70-1.80 (requested by he in ticket #1739)

Update to NetBSD ftpd 20040809.  Fixes SA#2004-009.

Revision 1.48.2.3: download - view: text, markup, annotated - select for diffs
Thu Aug 26 07:00:08 2004 (9 years, 10 months ago) by jmc
Branches: netbsd-1-5
Diff to previous 1.48.2.2: preferred, colored to branchpoint 1.48: preferred, colored next main 1.49: preferred, colored
Changes since revision 1.48.2.2: +263 -211 lines
Pullup rev 1.60-1.80 (requested by he in ticket #158)

Update to NetBSD ftpd 20040809.  Fixes SA#2004-009.

Revision 1.77.2.3: download - view: text, markup, annotated - select for diffs
Thu Aug 12 22:44:26 2004 (9 years, 11 months ago) by jmc
Branches: netbsd-2-0
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Diff to previous 1.77.2.2: preferred, colored to branchpoint 1.77: preferred, colored next main 1.78: preferred, colored
Changes since revision 1.77.2.2: +7 -28 lines
Pullup rev 1.80 (requested by lukem in ticket #757)

* 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'.
* 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.

Revision 1.77.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 12 22:12:26 2004 (9 years, 11 months ago) by jmc
Branches: netbsd-2-0
Diff to previous 1.77.2.1: preferred, colored to branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.1: +3 -3 lines
Pullup rev 1.79 (requested by lukem in ticket #756)

Correctly clamp illegal "SITE CHMOD" mode values.

Revision 1.77.2.1: download - view: text, markup, annotated - select for diffs
Thu Aug 12 22:09:55 2004 (9 years, 11 months ago) by jmc
Branches: netbsd-2-0
Diff to previous 1.77: preferred, colored
Changes since revision 1.77: +8 -7 lines
Pullup rev 1.78 (requested by lukem in ticket #755)

Fix minor memory leak with fromname.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Aug 9 14:56:47 2004 (9 years, 11 months ago) by lukem
Branches: MAIN
Diff to previous 1.79: preferred, colored
Changes since revision 1.79: +7 -28 lines
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'.

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.79: download - view: text, markup, annotated - select for diffs
Fri Jul 16 10:29:28 2004 (10 years ago) by lukem
Branches: MAIN
Diff to previous 1.78: preferred, colored
Changes since revision 1.78: +3 -3 lines
Correctly clamp illegal "SITE CHMOD" mode values.   From OpenBSD.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Jul 16 05:31:51 2004 (10 years ago) by lukem
Branches: MAIN
Diff to previous 1.77: preferred, colored
Changes since revision 1.77: +8 -7 lines
Fix minor memory leak with fromname.  Inspired by OpenBSD.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu Aug 7 11:46:39 2003 (10 years, 11 months ago) by agc
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to previous 1.76: preferred, colored
Changes since revision 1.76: +3 -7 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22284, verified by myself.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon Mar 3 03:14:57 2003 CET (11 years, 4 months ago) by lukem
Branches: MAIN
Diff to previous 1.75: preferred, colored
Changes since revision 1.75: +4 -4 lines
Don't declare "yylex()" static; AFAICT it shouldn't be, and it causes
build problems with the output of some versions of yacc.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Mon Mar 3 02:52:13 2003 CET (11 years, 4 months ago) by lukem
Branches: MAIN
Diff to previous 1.74: preferred, colored
Changes since revision 1.74: +3 -3 lines
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...)

Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon Feb 24 13:57:06 2003 CET (11 years, 5 months ago) by lukem
Branches: MAIN
Diff to previous 1.73: preferred, colored
Changes since revision 1.73: +5 -5 lines
use LLT and STRTOLL() instead of off_t and strtoull() for parsing the
"larger than int" arguments from commands.  improves portability.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Wed Jan 22 05:33:35 2003 CET (11 years, 6 months ago) by lukem
Branches: MAIN
Diff to previous 1.72: preferred, colored
Changes since revision 1.72: +3 -3 lines
Fixes from Dmitry Sivachenko <demon@freebsd.org>:
- always set "curname" to something appropriate (even when logging is
  not in effect).
- fix usage for "PORT" command

Revision 1.72: download - view: text, markup, annotated - select for diffs
Fri Nov 29 15:39:59 2002 CET (11 years, 7 months ago) by lukem
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to previous 1.71: preferred, colored
Changes since revision 1.71: +30 -30 lines
- convert to using libc's strsuftoll(3)
- use LLT (aka 'long long type') for all numeric class parameters
- improve description of various ftpd.conf(5) options
- statcmd(): print out:  mmapsize readsize writesize sendbufsize sendlowat

Revision 1.66.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 6 21:30:43 2002 CET (11 years, 8 months ago) by tron
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Diff to previous 1.66.2.1: preferred, colored to branchpoint 1.66: preferred, colored
Changes since revision 1.66.2.1: +25 -11 lines
Pull up revision 1.69 (requested by tv in ticket #418):
We really, actually, positively want to apply the ftpd.conf "passive"
option to all possible *PSV commands.  Some ftp servers are simply not
capable of passive connections, hence the option....

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sat Oct 12 10:35:17 2002 (11 years, 9 months ago) by darrenr
Branches: MAIN
Diff to previous 1.70: preferred, colored
Changes since revision 1.70: +4 -4 lines
* enclose unknown command strings inside a pair of 's to clearly mark the
  text as being the 'whole' part received.
* change a HELP reply from 214 to 504 when there is an error looking for
  help on a command.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Tue Jul 2 04:18:01 2002 (12 years ago) by lukem
Branches: MAIN
Diff to previous 1.69: preferred, colored
Changes since revision 1.69: +45 -33 lines
- Change lexer to support numbers > 2^31-1 (stored in an off_t), and allow
  RESTart to use the larger numbers.
  Fix from Maxim Konovalov <maxim@freebsd.org>
- Update version
- Minor whitespace changes

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Jun 30 06:54:43 2002 (12 years ago) by tv
Branches: MAIN
Diff to previous 1.68: preferred, colored
Changes since revision 1.68: +27 -13 lines
We really, actually, positively want to apply the ftpd.conf "passive"
option to all possible *PSV commands.  Some ftp servers are simply not
capable of passive connections, hence the option....

Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Sat Jun 15 05:42:33 2002 (12 years, 1 month ago) by lukem
Branches: netbsd-1-6
CVS tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Diff to previous 1.66: preferred, colored
Changes since revision 1.66: +7 -4 lines
Pull up revision 1.67 (requested by lukem in ticket #282):
Implement "SITE UMASK" `enabled command' check with (modified)
check_write(), so that a user who has modify disabled gets an error
message rather than a hung connection.
Noted by M.J. Rutter <mjr19@cus.cam.ac.uk> in private email.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Jun 15 05:40:28 2002 (12 years, 1 month ago) by lukem
Branches: MAIN
Diff to previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3 lines
crank copyright

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Jun 15 05:36:47 2002 (12 years, 1 month ago) by lukem
Branches: MAIN
Diff to previous 1.66: preferred, colored
Changes since revision 1.66: +7 -4 lines
Implement "SITE UMASK" `enabled command' check with (modified)
check_write(), so that a user who has modify disabled gets an error
message rather than a hung connection.
Noted by M.J. Rutter <mjr19@cus.cam.ac.uk> in private email.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Dec 1 11:25:30 2001 CET (12 years, 7 months ago) by lukem
Branches: MAIN
CVS tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Diff to previous 1.65: preferred, colored
Changes since revision 1.65: +11 -11 lines
- enable case insensitive fnmatch(3)ing for hostname globs in ftpusers(5)
- enable WARNS=2

Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed Apr 25 03:46:25 2001 (13 years, 3 months ago) by lukem
Branches: MAIN
Diff to previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3 lines
crank copyrights of files changed this year
remove superfluous byte_count update in send_file_list
crank version

Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue Apr 17 03:37:04 2001 (13 years, 3 months ago) by lukem
Branches: MAIN
Diff to previous 1.63: preferred, colored
Changes since revision 1.63: +25 -20 lines
use own code instead of bother with glob() to do ~ expansion in pathname;
there's no need to support glob wildcards in this case when it's not expanded
here in the non-~ case

Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Apr 17 02:59:58 2001 (13 years, 3 months ago) by lukem
Branches: MAIN
Diff to previous 1.62: preferred, colored
Changes since revision 1.62: +10 -4 lines
limit the number of matches in a ~ pathname glob, and complain if more
than one path is matched.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Apr 12 04:28:59 2001 (13 years, 3 months ago) by lukem
Branches: MAIN
Diff to previous 1.61: preferred, colored
Changes since revision 1.61: +4 -2 lines
minor knf post aidan's oob rototill

Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Apr 10 03:41:18 2001 (13 years, 3 months ago) by itojun
Branches: MAIN
Diff to previous 1.60: preferred, colored
Changes since revision 1.60: +25 -20 lines
make checkportcmd address family independent, and correct IPv4 case.  PR 12558.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Apr 2 01:04:31 2001 (13 years, 3 months ago) by aidan
Branches: MAIN
Diff to previous 1.59: preferred, colored
Changes since revision 1.59: +104 -75 lines
As threatened, handle OOB commands from within ftpcmd.y.
This involved changing the yacc syntax to be line-oriented, rather than
having it run against the entire input at once, and adding a flag to
struct tab, to indicate if or not it's acceptable for a command to occur
OOB.

Revision 1.48.2.2: download - view: text, markup, annotated - select for diffs
Thu Mar 29 16:14:17 2001 (13 years, 3 months ago) by lukem
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Diff to previous 1.48.2.1: preferred, colored to branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.1: +176 -235 lines
sync ftpd to -current with the following revisions (for lukem/christos):
	Makefile	1.43-1.44
	cmds.c		1.7-1.8,  1.10-1.12
	conf.c		1.35-1.40
	extern.h	1.32-1.38
	ftpcmd.y	1.53-1.59
	ftpd.8		1.58-1.63
	ftpd.c		1.102-1.104,  1.106-1.122
	ftpd.conf.5	1.12-1.15
	ftpusers.5	1.8
	logwtmp.c	1.16
	popen.c		1.23-1.25
	version.h	1.28

a quick summary of user-visible changes;
	- fix glob DoS by using GLOB_LIMIT
	- add ftpd.conf directives `advertise', `maxfilesize', `sanenames'
	- add flags: -P dataport, -X - wuftpd style log entries,
	  -q/-Q - (en|dis)able pidfiles, -u/-U - (en|dis)able utmp,
	  -w/-W - (en|dis)able wtmp

Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Dec 18 03:32:51 2000 CET (13 years, 7 months ago) by lukem
Branches: MAIN
Diff to previous 1.58: preferred, colored
Changes since revision 1.58: +5 -5 lines
Features:

* Add ftpd.conf(5) directive `advertise'; change the address that is
  advertised to the client for PASV transfers. this may be useful in
  certain firewall/NAT environments.

  Feature requested in [bin/9606] by Scott Presnell.

* Add -X option; syslog wu-ftpd style xferlog messages, prefixed with
  `xferlog: '.  An example line from syslog (wrapped):
	Dec 16 18:50:24 odysseus ftpd[571]: xferlog: Sat Dec 16 18:50:24 2000
	2 localhost 3747328 /pub/WLW2K601.EXE b _ o a lukem@ FTP 0 * c

  These messages can be converted to a wu-ftpd style xferlog file
  suitable for parsing with third-party tools with something like:
	grep 'xferlog: ' /var/log/xferlog | \
	    sed -e 's/^.*xferlog: //' >wuxferlog

  The format is the same as the wu-ftpd xferlog entries (with the leading
  syslog stuff), but different from the wu-ftpd syslogged xferlog entries
  because the latter is not as easy to convert into the standard xferlog
  file format.

  The choice to only syslog the xferlog messages rather than append to
  a /var/log/xferlog file was made because the latter doesn't work to
  well in the situation where the logfile is rotated and compressed and
  a long-running ftpd still has a file-descriptor to the now nonexistant
  xferlog file, and the log message will then get lost.

  Feature requested in [bin/11651] by Hubert Feyrer.


Fixes:

* In ftpd(8), clarify the -a and -c options.

* More clarifications in ftpd.conf(5).

* Ensure that all ftpd.conf commands set a parameter back to sane defaults
  if an argument of `none' or bad settings are given.

* Support the `chroot' directive for `REAL' users too (for consistency).

* For `GUEST' users, store the supplied password in pw->pw_passwd for use
  later in the xferlog.

* If show_chdir_messages() is given a code of -1, flush the cache of
  visited directories.  Invoke show_chdir_messages(-1) in end_login().

* Only syslog session stats if logging is requested.

* Rename logcmd() -> logxfer(), and dolog() -> logremotehost().

* Use cprintf() instead of fprintf() where appropriate.

* Minor KNF, and make a couple of functions static that were declared static.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu Nov 30 03:59:11 2000 CET (13 years, 7 months ago) by lukem
Branches: MAIN
Diff to previous 1.57: preferred, colored
Changes since revision 1.57: +10 -8 lines
- move password checking into separate valid_passwd() function, to assist
  in porting to other systems.
- don't syslog() or setproctitle() "ACCT" lines (as per "PASS")
- replace #ifdef HASSETPROCTITLE with #if HAVE_SETPROCTITLE, and set the
  latter #ifdef BSD4_4
- don't compile in internal `ls' #ifdef NO_INTERNAL_LS. will need Makefile
  support if this is to be used on NetBSD.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Nov 28 10:31:29 2000 CET (13 years, 7 months ago) by lukem
Branches: MAIN
Diff to previous 1.56: preferred, colored
Changes since revision 1.56: +6 -3 lines
- ensure all uses of AF_INET6 are wrapped in #ifdef INET6
- don't define `ALL' as a token twice in the grammar

Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Nov 16 14:15:14 2000 CET (13 years, 8 months ago) by lukem
Branches: MAIN
Diff to previous 1.55: preferred, colored
Changes since revision 1.55: +121 -114 lines
- new ftpd.conf directives:
	maxfilesize	set the maximum size of uploaded files
	sanenames	if set, only permit uploaded filenames that contain
			characters from the set "-+,._A-Za-z0-9" and that
			don't start with `.'

- new/changed command line options:
	-e emailaddr	define email address for %E (see below)
	-P dataport	use dataport as the dataport (instead of ctrlport-1)
	-q		use pid files to count users	[default]
	-Q		don't use pid files to count users
	-u		write entries to utmp
	-U		don't write entries to utmp	[default]
	-w		write entries to wtmp		[default]
	-W		don't write entries to wtmp

	  NOTE:	-U used to mean `write utmp entries'. Its meaning has changed
		so that it's orthogonal with -q/-Q and -w/-W. This isn't
		considered a major problem, because using -U isn't going to
		enable something you don't want, but will disable something
		you did want (which is safer).

- new display file escape sequences:
	%E	email address
	%s	literal `s' if the previous %M or %N wasn't ``1''.
	%S	literal `S' if the previous %M or %N wasn't ``1''.

- expand the description of building ~ftp/incoming to cover the
  appropriate ftpd.conf(5) directives (which are defaults, but it pays
  to explicitly explain them)

- replace strsuftoi() with strsuftoll(), which returns a long long if
  supported, otherwise a long

- rework the way that check_modify and check_upload are done in the yacc
  parser; they're merged into a common check_write() function which is
  called explicitly

- merge all ftpclass `flag variables' into a single bitfield-based flag element

- move various common bits of parse_conf() into a couple of macros

- clean up some comments

Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Nov 15 03:32:30 2000 CET (13 years, 8 months ago) by lukem
Branches: MAIN
Diff to previous 1.54: preferred, colored
Changes since revision 1.54: +33 -36 lines
changes to improve portability:
* replace union sockunion {} with struct sockinet {}, and modify the code
  accordingly. this is possibly more portable, as it doesn't rely upon
  the structure alignment within the union for our own stuff.  uses local
  su_len unless HAVE_SOCKADDR_SA_LEN is defined (set ifdef BSD4_4)
  (XXX: haven't tested the ipv6 stuff)
* always use getaddrinfo() and getnameinfo() instead of maintaining two code
  paths. (lukemftpd will provide replacements for these on older systems)
* use lockf() instead of open(.., O_EXLOCK) to lock the pid file
* minor KNF
* clean up long long support: create helper #defines and use as appropriate:
        #define		NO_LONG_LONG	! NO_LONG_LONG
        -------		------------	--------------
        LLF		"%ld"		"%lld"
        LLFP(x)		"%" x "ld"	"%" x "lld"
        LLT		long		long long
        ULLF		"%lu"		"%llu"
        ULLFP(x)	"%" x "lu"	"%" x "llu"
        ULLT		unsigned long	unsigned long long
        STRTOLL(x,y,z)	strtol(x,y,z)	strtoll(x,y,z)

Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Nov 13 12:50:46 2000 CET (13 years, 8 months ago) by itojun
Branches: MAIN
Diff to previous 1.53: preferred, colored
Changes since revision 1.53: +9 -86 lines
- improve RFC2428 conformance.
  return 522 on unknown protocol identifier on EPRT.
- clarify EPSV/EPRT/LPSV/LPRT behavior.
- repair memory leak and lack of boundary check on EPRT.
- make sure we do not resolve DNS on EPRT.
sync with kame.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Sep 15 16:55:16 2000 (13 years, 10 months ago) by christos
Branches: MAIN
Diff to previous 1.52: preferred, colored
Changes since revision 1.52: +12 -3 lines
Make this compile again without -DINET6 and without get{addr,name}info(3)
This ftpd now compiles and runs on NetBSD/1.4.2 with:

CPPFLAGS+= \
    '-Dstrlcpy(a,b,c)=(strncpy(a,b,c),strlen(a))' \
    '-Dstrlcat=strncat' \
    '-Dsl_add(a,b)=(sl_add(a,b),0)'

Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 25 10:38:38 2000 (14 years ago) by lukem
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Diff to previous 1.48: preferred, colored
Changes since revision 1.48: +82 -142 lines
user visible changes (besides checking the cvs log):
* make checkportcmd the default
* add -r; force permanent drop of root privs after login
* add -V vers; change version string to vers
* add -H; act as -h `hostname`
* permanently drop root privs if it makes sense to do so (e.g; logging in as
  guest/chroot user on a port > 1024)
* fix reference to draft-ietf-ftpext-mlst-11
* add ftpd.conf directives: chroot, homedir
* fix base64_encode() and generation of the unique fact
* crank version to 20000723

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Jul 23 16:40:48 2000 (14 years ago) by lukem
Branches: MAIN
Diff to previous 1.51: preferred, colored
Changes since revision 1.51: +74 -133 lines
* make checkportcmd the default. this breaks third-party proxy ftp but
  prevents the ftp bounce attack, and we should be secure out of the
  box, not require users to tweak obscure stuff.
* allow the version string reported to clients to be changed with '-V vers'.
  if vers is empty or `-', don't report a version.
* if -r is given, permanently drop root privs
* if not a REAL user (i.e, GUEST or CHROOT), and ftpd is running on a port
  > IPPORT_RESERVED+1, permanently drop root privs
* don't bother reverting to root privs to logout of wtmp/utmp; since the
  file descriptor is already open this isn't necessary.
* fix the binding of the port for the PORT/LPRT/EPRT connection to be the
  ctrl_addr.su_port-1, not hardcoded to `20' (this was broken in the ipv6
  merge). if root privs have been dropped, and this would be a port <
  IPPORT_RESERVED, use a random port instead (which isn't RFC959 compliant
  but it doesn't appear that many clients care).
* prevent login of a new user if privs have been dropped and already logged
  in as a REAL user (existing check already stops GUEST & CHROOT users).
* move the port check stuff into a separate port_check() function, and use
  for PORT, LPRT, and EPRT checks. inspired by freebsd
* minor KNF
* minor man page cleanup

Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Jul 17 04:30:53 2000 (14 years ago) by lukem
Branches: MAIN
Diff to previous 1.50: preferred, colored
Changes since revision 1.50: +6 -7 lines
* add two new ftpd.conf(5) directives:
	chroot	specify dir to chroot to for GUEST and CHROOT users, to
		override -a anondir or the user's homedir.
	homedir	specify dir to change to upon login; also used for ~ expansion
		and $HOME for subprocesses)
  both of these can take % escapes: %u (username), %d (homedir), %c (class).
* fix NLST to take a pathname not a STRING, so that ~ expansion works
* modify CWD to use the homedir parsed from curclass.homedir
* implement format_path(dst, src), to parse src expanding % escapes (see above)
  into dst.
* rename format_file() to display_file()

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Jul 15 05:45:19 2000 (14 years ago) by lukem
Branches: MAIN
Diff to previous 1.49: preferred, colored
Changes since revision 1.49: +4 -4 lines
* add -H, which acts like -h `hostname`. (requested by kim@)
* refer to draft-ietf-ftpext-mlst-11 instead of -10

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Jul 8 20:24:28 2000 (14 years ago) by sommerfeld
Branches: MAIN
Diff to previous 1.48: preferred, colored
Changes since revision 1.48: +4 -4 lines
More format paranoia.

Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:58:16 2000 (14 years, 1 month ago) by minoura
Branches: minoura-xpg4dl
Diff to previous 1.46: preferred, colored next main 1.47: preferred, colored
Changes since revision 1.46: +127 -212 lines
Sync w/ netbsd-1-5-base.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Jun 19 17:15:03 2000 (14 years, 1 month ago) by lukem
Branches: MAIN
CVS tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Diff to previous 1.47: preferred, colored
Changes since revision 1.47: +18 -29 lines
various fixes suggested by Robert Elz:
* implement closedataconn() and use appropriately (including in mlsd())
* only put leading space in front of MLST output (not MLSD output)
* MLSD: only output pdir and cdir entries when the type fact is requested.
* change error code for giving MLSD a non-directory from 550 to 501
* remove MLSx Type fact support for UNIX.* for now; it's not standardised yet.
* do a check_login when MLSD and MLST are given no args
* detect & complain about null facts in OPTS MLST
* cache getgroups() at login instead of calling each time in fact_perm()

other mods:
* implement cprintf(); as per fprintf() but increments total_bytes{,_out}
* implement CPUTC(); as per putc() but increments total_bytes{,_out}
* implement base64_encode()
* fact_unique() display base64 encoding of dev_t and ino_t rather than
  hex output; should scale if size of those changes
* change reply() so that a negative code acts as the initial line in a reply,
  code == 0 prefixes the line with 4 spaces, and code > 0 works as before.
  deprecate lreply(code, ) and lreply(0, ) in favour of reply(-code, ) and
  reply(0, ) respectively.
* use cprintf() and CPUTC() appropriately (often instead of printf(),
  lreply(-2, ) or lreply(-1, ).
  now we actually account for the data sent by MLST and MLSD.
* remove DEBUG support for sending MLSD output to control connection instead
  of data connection (my ftp client now supports MLSD :-)

Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Jun 14 15:44:23 2000 (14 years, 1 month ago) by lukem
Branches: MAIN
Diff to previous 1.46: preferred, colored
Changes since revision 1.46: +116 -190 lines
major overhaul (just before netbsd 1.5 :-):

* implement draft-ietf-ftpext-mlst-10 commands, especially MLST and MLSD.
  we already supported SIZE and MDTM. add the appropriate FEAT output lines.

* migrate a lot of the command code from ftpcmd.y and ftpd.c to cmds.c

* make dataconn(), feat(), lookup(), opts() and sizecmd() public

* modify struct tab so that it has a `flags' instead of `implemented' element,
  and remove the `hasopts' element.  If flags == 1, the command is implemented.
  if flags == 2, the command is implemented and takes options

* add macros ISDOTDIR(x) (is x ".") and ISDOTDOTDIR(x) (is x "..")

* modify lreply() so that lreply(-2, ...) just outputs the given info without
  a prefix or trailing \r\n. this saves doing b = printf(); total_* += b;

* enhance statcmd(). still needs work in the LPRT status stuff.

* crank version

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat May 20 04:20:18 2000 (14 years, 2 months ago) by lukem
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to previous 1.45: preferred, colored
Changes since revision 1.45: +16 -27 lines
convert to ANSI C as per style guide

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Mar 5 07:12:19 2000 CET (14 years, 4 months ago) by lukem
Branches: MAIN
Diff to previous 1.44: preferred, colored
Changes since revision 1.44: +5 -3 lines
* don't bother with a version[] string, just use the macro as appropriate
* clean some more of the GLOBAL stuff
* fix unused var if -UHASSETPROCTITLE

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Jan 12 23:39:28 2000 CET (14 years, 6 months ago) by lukem
Branches: MAIN
Diff to previous 1.43: preferred, colored
Changes since revision 1.43: +3 -7 lines
* add ftpd.conf directive `portrange class min max', which allows specification
  of the port range used by passive connections. based on work in [bin/9158]
  from Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
* change the way global variables are defined and extern-ed to be more
  consistent.

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 19:30:11 1999 CET (14 years, 6 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to previous 1.38: preferred, colored next main 1.39: preferred, colored
Changes since revision 1.38: +311 -143 lines
Pull up to last week's -current.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Dec 21 13:52:18 1999 CET (14 years, 7 months ago) by lukem
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Diff to previous 1.42: preferred, colored
Changes since revision 1.42: +4 -7 lines
trivial simplification

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Dec 18 06:51:34 1999 CET (14 years, 7 months ago) by lukem
Branches: MAIN
Diff to previous 1.41: preferred, colored
Changes since revision 1.41: +189 -131 lines
* move version to separate header file
* use .Dv and .Tn in the man pages as appropriate
* KNF a bit

The following were inspired by similar changes in openbsd, but may
have additional improvements by me:
* add more check_login tests to the parser rules
* nuke a few memory leaks in the parser rules
* clear passwords before free()ing them, for safety
* don't display \r\n in setproctitle() output
* add support for -U, which enables managing /var/run/utmp entries for
  connections. solves [bin/2217] by Jason Downs <downsj@teeny.org>
* fix oob handling for STAT command
* use SIG_ERR instead of -1

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Dec 12 15:05:54 1999 CET (14 years, 7 months ago) by lukem
Branches: MAIN
Diff to previous 1.40: preferred, colored
Changes since revision 1.40: +154 -43 lines
* change format of /etc/ftpusers lines from
	userglob [allow|deny]
  to
	userglob[@host] [allow|deny  [classname]]
  where class is a userdefined classname.
  - if host is given it may either be a CIDR address (e.g, `1.2.3.0/24') or a
    hostglob (e.g, `*.foo.com'), and the remote host is matched against that.
  - if classname is given, use that to match entries in ftpd.conf (defaults
    to `guest' for `anonymous'/`ftp' logins, `chroot' for users found in
    /etc/ftpchroot, and `real' for everyone else.

* implement new /etc/ftpd.conf directives:
    classtype classname type	set type of classname to GUEST, CHROOT, or REAL
    motd classname file		file to use instead of /etc/motd
    rateget classname rate	set rateget throttle to rate
    rateput classname rate	set rateput throttle to rate
    upload classname		allow/deny uploads (STOU, STOR, APPE). if
				denied, also acts as `modify deny'.

* implement new `SITE' commands:
    RATEGET	as per /etc/ftpd.conf rateget, but cannot exceed that
    RATEPUT	as per /etc/ftpd.conf rateput, but cannot exceed that

* implement format_file(), which outputs a file to the user, parsing %
  escapes. use to print /etc/ftpwelcome, /etc/motd, and the `display' file.

* implement strsuftoi() (from ftp(1)), which parses a number and
  optional suffix (for use with rateget, etc)

* don't bother seteuid(0) ; bind(...) ; seteuid(pw->pw_uid), since
  we don't need reserved ports (at wasn't getting them anyway).

* update & reorder copyrights

* use strlcpy() as appropriate

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Dec 7 06:30:54 1999 CET (14 years, 7 months ago) by lukem
Branches: MAIN
Diff to previous 1.39: preferred, colored
Changes since revision 1.39: +12 -10 lines
* change ftpd_popen() to take char *argv[] instead of char *cmd.
  the string tokenisation must be performed by the caller (which is
  generally easy because it's almost always a static command).
* change do_conversion() to return a char *argv[] instead of char *cmd.
  tokenisation of the command is done internally.
* change retrieve() to take char *argv[] instead of char *cmd.
  (to take advantage of the above changes).  fixes [bin/8173]
* use fparseln() instead of fgetln()
* store conversions in listed order (rather than reverse order)
* use stringlists instead of handrolling code to manage an argv.

Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 6 00:26:17 1999 (14 years, 9 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Diff to previous 1.26: preferred, colored next main 1.27: preferred, colored
Changes since revision 1.26: +3 -3 lines
Pull up revision 1.39 (requested by tron):
  Don't use an undefined C expression, fixing PR#8534.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Oct 4 19:36:52 1999 (14 years, 9 months ago) by tron
Branches: MAIN
CVS tags: comdex-fall-1999-base, comdex-fall-1999
Diff to previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3 lines
Don't use undefined C expression. Patch supplied by David A. Holland
in PR bin/8534.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Sep 6 08:01:44 1999 (14 years, 10 months ago) by simonb
Branches: MAIN
Branch point for: wrstuden-devbsize
Diff to previous 1.37: preferred, colored
Changes since revision 1.37: +4 -4 lines
In the command table, remove a trailing comma and make white space
consistant.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Sep 1 07:03:41 1999 (14 years, 10 months ago) by itojun
Branches: MAIN
Diff to previous 1.36: preferred, colored
Changes since revision 1.36: +13 -2 lines
ftpd(8): Copy sin6_scope_id from control connection to active data
connection destination, hoping this to help ftpd's behavior with
scoped IPv6 addresses.
I'm not sure if it is the right way, but it is the best way available to us.
LPRT or EPRT command gives no information about which interface (or scope)
to be used for new data connection.

ftp(1): On data connection establishment, warn if scoped address is used.
If peer (ftp daemon) does not handle scoped address, data connection
may not work right.

This seems to be sort of protocol spec hole, not implementation issue.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Aug 25 18:23:52 1999 (14 years, 11 months ago) by christos
Branches: MAIN
Diff to previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3 lines
Make this compile with krb5.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Jul 11 22:09:23 1999 (15 years ago) by itojun
Branches: MAIN
Diff to previous 1.34: preferred, colored
Changes since revision 1.34: +20 -2 lines
more sanity check on LPRT.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Jul 11 22:03:41 1999 (15 years ago) by itojun
Branches: MAIN
Diff to previous 1.33: preferred, colored
Changes since revision 1.33: +49 -10 lines
make LPRT on IPv4 work.
make LPSV on IPv6 work.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Jul 2 09:11:36 1999 (15 years ago) by itojun
Branches: MAIN
Diff to previous 1.32: preferred, colored
Changes since revision 1.32: +6 -3 lines
close data socket when new EPRT command comes.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Jul 2 07:52:14 1999 (15 years ago) by itojun
Branches: MAIN
Diff to previous 1.31: preferred, colored
Changes since revision 1.31: +226 -9 lines
dual-stack ftpd.  run this from inetd, like:
>>ftp  stream tcp6 nowait root /usr/libexec/ftpd ftpd -ll

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed May 26 15:30:10 1999 (15 years, 2 months ago) by lukem
Branches: MAIN
Diff to previous 1.30: preferred, colored
Changes since revision 1.30: +8 -5 lines
move stuff around, so the `thank you' message is counted in the
syslogged bytecount.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon May 24 23:57:19 1999 (15 years, 2 months ago) by ross
Branches: MAIN
Diff to previous 1.29: preferred, colored
Changes since revision 1.29: +14 -13 lines
* Cast %q[ud] arguments to fix ILP32/LP64 off_t variation.
* Fix bug in 213 reply: correct ordering of format string args.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon May 24 23:18:03 1999 (15 years, 2 months ago) by ross
Branches: MAIN
Diff to previous 1.28: preferred, colored
Changes since revision 1.28: +10 -10 lines
LP64ize %q use.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue May 18 10:14:18 1999 (15 years, 2 months ago) by lukem
Branches: MAIN
Diff to previous 1.27: preferred, colored
Changes since revision 1.27: +15 -8 lines
* fix a problem in retrieve() where arguments to commands weren't working
  (this was broken in the last commit). problem noticed by simonb@
* don't display the stderr output of the internal ls.
* modify usage of lreply so that generally only one `XXX-' code per
  `block' is displayed; the rest of the lines have four spaces instead.
  i find this easier to read.
* fix a couple places where byte accounting wasn't correct

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon May 17 17:14:54 1999 (15 years, 2 months ago) by lukem
Branches: MAIN
Diff to previous 1.26: preferred, colored
Changes since revision 1.26: +53 -13 lines
features/fixes:
* implement xferstats. full stats are displayed for `STAT', and a
  summary is displayed upon exit (and syslogged).  inspired by wu-ftpd.
* wrap data xfers in {send,receive}_data with alarm() timeouts. this
  should remove the majority of the `hanging ftpd' problems that
  people were still seeing.  inspired by wu-ftpd.
* link with ../../bin/ls, so that bin/ls is not required under a
  chroot()ed area for `LIST' to work.  based on [bin/4497] from
  "Soren S.  Jorvang" <soren@t.dk>
* migrate code from util.c into ftpd.c, so that it doesn't conflict
  with ls' util.c.
* remove man page comment about ~ftp/bin/ls being necessary.
* bump version to 7.2.0.
* syslog xfer time with xfer stats.
* if appropriate, syslog error message with command.

internal code stuff:
* change arguments of various functions from `char *' to `const char *'.
* define PLURAL(x) macro, which returns `' if x == 1, `s' otherwise.
  use macro appropriately
* lreply(): a code of -1 means ``send line as is''. a code of 0
  means ``send line with 4 space prefix''. don't print a space after
  the `-' for any other code.
* logcmd(): add `const struct timeval *elapsed' and `const char *error'
  for more flexible error reporting

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Feb 24 17:45:13 1999 CET (15 years, 5 months ago) by explorer
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001
Branch point for: netbsd-1-4
Diff to previous 1.25: preferred, colored
Changes since revision 1.25: +6 -2 lines
Make this build with KERBEROS5 defined.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Feb 5 22:40:49 1999 CET (15 years, 5 months ago) by lukem
Branches: MAIN
Diff to previous 1.24: preferred, colored
Changes since revision 1.24: +80 -5 lines
* actually commit the changes which add support for recognising RFC 2228
  commands (even if we don't do anything with them)
* in logcmd(), syslog why realpath() failed (if it did).

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Dec 28 05:54:01 1998 CET (15 years, 6 months ago) by lukem
Branches: MAIN
Diff to previous 1.23: preferred, colored
Changes since revision 1.23: +8 -5 lines
* replace LOG(CMD|BYTES) macros with logcmd(), which is a cleaner
  solution with less code replication. use realpath() in logcmd() so
  that all logged filenames are sane.
* support `REST STREAM' in `FEAT' reply (from draft-ietf-ftpext-mlst-05)
* in 'HELP', suffix unimplemented commands with `-' instead of `*'; the
  former is easier to differentiate from `+'.
* deprecate curdir() now that logcmd() doesn't use it.
* ensure all filename buffers are at least MAXPATHLEN+1 in size.
* move jmp_buf errcatch out of extern.h, removing need to #include <setjmp.h>
  in every file.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Sep 7 10:11:20 1998 (15 years, 10 months ago) by lukem
Branches: MAIN
Diff to previous 1.22: preferred, colored
Changes since revision 1.22: +499 -396 lines
new features:
* implement FEAT and OPTS from RFC2389. FEAT returns SIZE and MDTM.
  OPTS only works on NOOP (as a test).
* extend format of /etc/ftpchroot similar to /etc/ftpusers; each entry
  can take an optional trailing `yes' or `no' which indicates if
  chroot should be done (defaults to `yes').
  based on patches from Ty Sarna <tsarna@endicor.com> in [bin/4769]

cleanups/bugs:
* reorder and reformat entries in yacc parser to match cmdtab[].
  add a blank line between each rule.
* add short hasopts and char *options to struct tab, to support OPTS.
* deprecate upper(); use strcasecmp() instead of strcmp()
* remove unnecessary for (;;) { } in yylex();
* replace copy() and sgetsave() with xstrdup()
* fix a couple of `hasyyerrored = 1' that were accidently removed.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Sep 6 12:39:40 1998 (15 years, 10 months ago) by lukem
Branches: MAIN
Diff to previous 1.21: preferred, colored
Changes since revision 1.21: +49 -59 lines
* complete fix for `multiple replies returned for single parse error'
  problem; move `hasyyerrored' state flag out of yylex() so that
  check_{login,modify} can also set it.
* check result of check_login for PORT command
* set initial timeout before the "setjmp(); for(;;) yyparse()",
  otherwise an invalid command after login incorrectly sets the timeout
  to 5 minutes (rather than what was set in ftpd.conf)
* replace (char *)0 with NULL
* move yyerror() from ftpd.c to ftpcmd.y
* remove need for -Dunix, by using the version string from ftpd.c
  (instead of `BSD-199506')
* move all extern-ed vars into extern.h

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Sep 5 19:33:00 1998 (15 years, 10 months ago) by lukem
Branches: MAIN
Diff to previous 1.20: preferred, colored
Changes since revision 1.20: +67 -44 lines
* implement NOARGS state, for commands which don't take any arguments.
  fixes long standing ftpd bug where two replies would be returned
  to the client if a command was flagged as accepting `ARGS' but the
  parser didn't know how to cope. obvious symptom of this would be
  ftp client is always one error message `behind' the server.
* consistently refer to the RFC as `RFC 959' not `RFC959' or `RFC-959',
  and replace refs to RFC 765 with RFC 959.
* change order of commands in cmdtab[] to: RFC 959, BSD extras, and obsolete.
* whitespace police, deprecate register, replace malloc/strcpy with strdup

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Jun 30 22:18:52 1998 (16 years ago) by tv
Branches: MAIN
Diff to previous 1.19: preferred, colored
Changes since revision 1.19: +8 -4 lines
Add the ability to disable passive connects in ftpd.conf (breaks RFC1123,
STD3, but needed in some firewall environments).

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Jun 21 14:16:35 1998 (16 years, 1 month ago) by kleink
Branches: MAIN
Diff to previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
GLOB_QUOTE is gone; per POSIX, backslash quoting of special characters being
enabled is the default behaviour.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu May 21 02:09:32 1998 (16 years, 2 months ago) by lukem
Branches: MAIN
Diff to previous 1.17: preferred, colored
Changes since revision 1.17: +4 -3 lines
use TM_YEAR_BASE (not 1900) - not that we expect it to change in any case :)

Revision 1.14.2.3: download - view: text, markup, annotated - select for diffs
Sat Feb 14 21:34:01 1998 CET (16 years, 5 months ago) by mellon
Branches: netbsd-1-3
CVS tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001
Diff to previous 1.14.2.2: preferred, colored to branchpoint 1.14: preferred, colored next main 1.15: preferred, colored
Changes since revision 1.14.2.2: +3 -3 lines
Fix RNFR exploit

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Feb 13 18:15:53 1998 CET (16 years, 5 months ago) by cjs
Branches: MAIN
Diff to previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Disable RNFR command for guest users so that they can't rename (and thus
also overwrite!) files.

Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Tue Nov 11 07:26:41 1997 CET (16 years, 8 months ago) by mrg
Branches: netbsd-1-3
CVS tags: netbsd-1-3-RELEASE, netbsd-1-3-BETA
Diff to previous 1.14.2.1: preferred, colored to branchpoint 1.14: preferred, colored
Changes since revision 1.14.2.1: +3 -3 lines
weird.  fix error in previous.

Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 11 07:18:57 1997 CET (16 years, 8 months ago) by mrg
Branches: netbsd-1-3
Diff to previous 1.14: preferred, colored
Changes since revision 1.14: +13 -3 lines
pull up from trunk:  add a "checkportcmd <class>" option that stops ftp bounce attacks.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Nov 11 07:17:22 1997 CET (16 years, 8 months ago) by mrg
Branches: MAIN
Diff to previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
oops, missed this bit in previous change.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Nov 11 06:48:07 1997 CET (16 years, 8 months ago) by mrg
Branches: MAIN
Diff to previous 1.14: preferred, colored
Changes since revision 1.14: +13 -3 lines
add a "checkportcmd <class>" option that stops ftp bounce attacks.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Jun 24 10:49:27 1997 (17 years, 1 month ago) by hannken
Branches: MAIN
CVS tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Diff to previous 1.13: preferred, colored
Changes since revision 1.13: +4 -3 lines
Add missing braces. `check_modify' returns 0 without a reply. See PR #3779.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Jun 18 21:05:49 1997 (17 years, 1 month ago) by christos
Branches: MAIN
Diff to previous 1.12: preferred, colored
Changes since revision 1.12: +3 -4 lines
- Pass gcc -Wall
- Fix incorrect const poisoning
- Fix ftpd_popen to dynamically allocate strings to avoid buffer overruns.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Jun 14 10:43:29 1997 (17 years, 1 month ago) by lukem
Branches: MAIN
Diff to previous 1.11: preferred, colored
Changes since revision 1.11: +26 -28 lines
* implement /etc/ftpd.conf, which adds support for the following features,
  controllable on a per class (which is one of: real, chroot, guest,
  all or none) basis:
    * on-the-fly execution of a command to build the file (a ``conversion''),
      providing support for "get dirname.tar" and the like.
    * displaying the contents of a file when a directory is entered
      for the first time.
    * maximum value for timeout (replaces -T).
    * control usage of CHMOD, DELE, MKD, RMD, UMASK; replacing -DINSECURE_GUEST.
    * notifying the user of the existance of a files matching a glob
      pattern when a directory is entered for the first time.
    * default value for timeout (replaces -t).
    * default umask (replaces -DGUEST_CMASK and -u).
  The conversion, display, and notify functionality was based on code by
  Simon Burge <simonb@telstra.com.au>.
* clean up and re-order parts of the man page into subsections.
* STAT displays the settings defined for the class of the current user.
* bump version from 6.00 to 7.00, because of ftpd.conf.
* deprecate -DGUEST_CMASK and -DINSECURE_GUEST in the Makefile, and
  -t, -T and -u, as ftpd.conf allows finer control of these.
* add "nostderr" argument to ftpd_popen(), because you don't want the
  stderr stream mixing with the stdout stream during a conversion,
  as this can corrupt the stream.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat May 24 00:09:48 1997 (17 years, 2 months ago) by cjs
Branches: MAIN
Diff to previous 1.10: preferred, colored
Changes since revision 1.10: +3 -4 lines
Allow setting the directory to which anonymous users chdir from
the command line. Document -u option. A couple of minor cleanups.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat May 17 21:32:08 1997 (17 years, 2 months ago) by pk
Branches: MAIN
Diff to previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
NULL => 0 (Arne Juul; PR#3629)

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Apr 27 05:21:39 1997 (17 years, 3 months ago) by lukem
Branches: MAIN
Diff to previous 1.8: preferred, colored
Changes since revision 1.8: +15 -11 lines
* fix "cd ~" so that it works (from Simon Burge <simonb@telstra.com.au>
* move resetting of CFLAGS on powerpc to before optional CFLAGS settings
* minor code & man page cleanups

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Mar 31 00:53:38 1997 (17 years, 3 months ago) by cjs
Branches: MAIN
Diff to previous 1.7: preferred, colored
Changes since revision 1.7: +25 -8 lines
Changes to make anonymous uploads more secure. For anonymous users:
* Set umask to 707;
* Disable UMASK, CHMOD, DELE, RMD and MKD commands.
Compile-time options let you change that umask and go back to the
old, insecure way if you like.

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 30 00:55:56 1997 CET (17 years, 3 months ago) by cjs
Branches: WFJ-920714, CSRG
CVS tags: lite-2, lite-1
Diff to previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +394 -333 lines
Lite-1 Import.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Apr 8 21:03:11 1996 (18 years, 3 months ago) by jtc
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to previous 1.6: preferred, colored
Changes since revision 1.6: +5 -4 lines
Changed to use 1900 + tm_year instead of hardcoding "19" as the century.
From PR #2308 by Stephen J. Roznowski <sjr@zombie.ncsc.mil>.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jun 4 00:46:45 1995 (19 years, 1 month ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to previous 1.5: preferred, colored
Changes since revision 1.5: +6 -5 lines
Fill in sin_len.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Apr 11 04:44:51 1995 (19 years, 3 months ago) by cgd
Branches: MAIN
Diff to previous 1.4: preferred, colored
Changes since revision 1.4: +6 -1 lines
clean up RCS Id's and a couple of stype nits.
Also, fix bug 947 (reported by Luke Mewburn, extraneous vers.c)

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jun 29 03:49:41 1994 (20 years, 1 month ago) by deraadt
Branches: MAIN
CVS tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Diff to previous 1.3: preferred, colored
Changes since revision 1.3: +395 -334 lines
4.4-lite, plus our local changes

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Apr 14 05:15:40 1994 (20 years, 3 months ago) by cgd
Branches: MAIN
Diff to previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
use setproctitle

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Aug 1 20:30:49 1993 (20 years, 11 months ago) by mycroft
Branches: MAIN
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
Add RCS identifiers.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 10:45:37 1993 CET (21 years, 4 months ago) by cgd
Branches: WFJ-920714, CSRG
CVS tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, netbsd-0-8, WFJ-386bsd-01
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
initial import of 386bsd-0.1 sources

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 10:45:37 1993 CET (21 years, 4 months ago) by cgd
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.de.netbsd.org <zafer@aydogan.de>