Up to [local] / src / libexec / ftpd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.75 / (download) - annotate - [select for diffs], Sun Apr 28 16:42:53 2024 UTC (4 weeks, 6 days ago) by florian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.74: +6 -1 lines
Diff to previous 1.74 (colored)
gmtime(3) / locatime(3) can fail when timestamps are way off. Add missing error checks to all calls under libexec/ Input & OK millert
Revision 1.74 / (download) - annotate - [select for diffs], Wed Mar 8 04:43:05 2023 UTC (14 months, 3 weeks ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3
Changes since 1.73: +1 -2 lines
Diff to previous 1.73 (colored)
Delete obsolete /* ARGSUSED */ lint comments. ok miod@ millert@
Revision 1.73 / (download) - annotate - [select for diffs], Mon May 31 16:18:01 2021 UTC (3 years ago) by jan
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0
Changes since 1.72: +8 -17 lines
Diff to previous 1.72 (colored)
Convert K&R function definitions to modern C. OK naddy@, millert@
Revision 1.72 / (download) - annotate - [select for diffs], Sun May 23 17:01:21 2021 UTC (3 years ago) by jan
Branch: MAIN
Changes since 1.71: +5 -5 lines
Diff to previous 1.71 (colored)
Constify function parameters. OK martijn@
Revision 1.71 / (download) - annotate - [select for diffs], Sat May 22 14:25:30 2021 UTC (3 years ago) by jan
Branch: MAIN
Changes since 1.70: +3 -5 lines
Diff to previous 1.70 (colored)
Remove useless islower(2) before toupper(3). OK martijn@
Revision 1.70 / (download) - annotate - [select for diffs], Thu May 20 15:21:03 2021 UTC (3 years ago) by jan
Branch: MAIN
Changes since 1.69: +8 -9 lines
Diff to previous 1.69 (colored)
Removes the useless FILE* parameter of get_line(). While here fix minor whitespace mistake. "looks fine to me" chris@
Revision 1.69 / (download) - annotate - [select for diffs], Wed Mar 4 20:17:48 2020 UTC (4 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)
Avoid passing a NULL name to retrieve(), use "." instead. Fixes a "vfprintf %s NULL" warning in ftpd. OK deraadt@ tb@
Revision 1.68 / (download) - annotate - [select for diffs], Fri Jun 28 13:32:53 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE,
OPENBSD_6_6
Changes since 1.67: +5 -5 lines
Diff to previous 1.67 (colored)
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
Revision 1.67 / (download) - annotate - [select for diffs], Wed May 8 23:56:48 2019 UTC (5 years ago) by tedu
Branch: MAIN
Changes since 1.66: +4 -4 lines
Diff to previous 1.66 (colored)
rm dead code and simplify ftpd_popen. this code has only called its statically linked ls_main for some time now. from Jan Klemkow ok deraadt
Revision 1.66 / (download) - annotate - [select for diffs], Thu Apr 27 13:30:54 2017 UTC (7 years, 1 month ago) by mikeb
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2
Changes since 1.65: +5 -1 lines
Diff to previous 1.65 (colored)
Don't send multiple error messages in response to a single command While a few commands (such as HELP and NOOP) are allowed in between USER and PASS, most of the others are not. However if such command is issued, ftpd should abort the command evaluation early and reply with "530 Please login with USER and PASS." From form@, with input from deraadt@ and OK millert@
Revision 1.65 / (download) - annotate - [select for diffs], Mon Apr 17 21:49:01 2017 UTC (7 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)
memset() of password field should be explicit_bzero(). [Not using freezero() in yacc files yet]
Revision 1.64 / (download) - annotate - [select for diffs], Fri Aug 26 06:32:10 2016 UTC (7 years, 9 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)
trim down some NBBY references. 8 bits ought to be enough for anyone.
Revision 1.63 / (download) - annotate - [select for diffs], Sun Aug 14 22:56:29 2016 UTC (7 years, 9 months ago) by guenther
Branch: MAIN
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)
Convert %q to %ll with long long casts for printf() Delete pointless casts to off_t, void*, and uid_t ok krw@
Revision 1.62 / (download) - annotate - [select for diffs], Mon Nov 16 17:31:14 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.61: +1 -3 lines
Diff to previous 1.61 (colored)
don't need to ifdef setproctitle
Revision 1.61 / (download) - annotate - [select for diffs], Sun Oct 25 22:13:39 2015 UTC (8 years, 7 months ago) by tedu
Branch: MAIN
Changes since 1.60: +0 -9 lines
Diff to previous 1.60 (colored)
unifdef some oldness. (BSD not defined since removal of param.h) ok jca sthen
Revision 1.60 / (download) - annotate - [select for diffs], Tue Aug 18 17:35:59 2015 UTC (8 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)
calloc() is prototyped; do not cast result
Revision 1.59 / (download) - annotate - [select for diffs], Tue Mar 17 19:31:30 2015 UTC (9 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored)
Eliminate use of TM_YEAR_BASE. OK guenther@ deraadt@ miod@
Revision 1.58 / (download) - annotate - [select for diffs], Sun Mar 15 00:41:27 2015 UTC (9 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.57: +1 -2 lines
Diff to previous 1.57 (colored)
tzfile.h is an internal header that should never have been installed. What's worse, the tzfile.h that gets installed is over 20 years old and doesn't match the real tzfile.h in libc/time. This makes the tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE define has been moved to time.h temporarily until its usage is replaced by 1900 in the tree. Actual removal of tzfile.h is pending a ports build. Based on a diff from deraadt@
Revision 1.57 / (download) - annotate - [select for diffs], Fri Jan 16 06:39:50 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
Revision 1.56 / (download) - annotate - [select for diffs], Sat Feb 8 13:31:51 2014 UTC (10 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5
Changes since 1.55: +39 -15 lines
Diff to previous 1.55 (colored)
Fix REST (restart transfer) for offsets large than 2GB. OK okan@
Revision 1.55 / (download) - annotate - [select for diffs], Wed Nov 27 21:25:25 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.54: +8 -8 lines
Diff to previous 1.54 (colored)
unsigned char for ctype ok okan kettenis
Revision 1.54 / (download) - annotate - [select for diffs], Sun Mar 4 04:05:15 2012 UTC (12 years, 3 months ago) by fgsch
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored)
In preparation for getline and getdelim additions to libc, rename getline() occurrences to get_line(). Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech.
Revision 1.53 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:31 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7
Changes since 1.52: +1 -10 lines
Diff to previous 1.52 (colored)
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
Revision 1.52 / (download) - annotate - [select for diffs], Sat Sep 13 12:04:49 2008 UTC (15 years, 8 months ago) by moritz
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5
Changes since 1.51: +6 -5 lines
Diff to previous 1.51 (colored)
Fix minor bug in the previous commit, which could hang the current session, when the last character of an overly long line was a newline character. Additionally reply with 500 "Command too long" for commands, which are too large. Issue found and proposed fix by Luke Mewburn <lukem@NetBSD.org>. ok millert@
Revision 1.51 / (download) - annotate - [select for diffs], Fri Sep 12 16:12:08 2008 UTC (15 years, 8 months ago) by moritz
Branch: MAIN
Changes since 1.50: +23 -8 lines
Diff to previous 1.50 (colored)
Don't split large commands into multiple commands on a 512-byte boundary but 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>. ok millert@ martynas@
Revision 1.50 / (download) - annotate - [select for diffs], Mon Jun 30 12:03:51 2008 UTC (15 years, 11 months ago) by ragge
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE,
OPENBSD_4_4
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)
Include file order must be "monitor.h" before "extern.h" otherwise enum auth_ret is referenced before it is declared, which is not allowed by C99. Ok krw@, millert@, gilles@
Revision 1.49 / (download) - annotate - [select for diffs], Fri Apr 21 17:42:50 2006 UTC (18 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1,
OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.48: +24 -23 lines
Diff to previous 1.48 (colored)
lint cleanup; ok ray moritz dhill
Revision 1.48 / (download) - annotate - [select for diffs], Sat Dec 11 08:38:26 2004 UTC (19 years, 5 months ago) by moritz
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)
make syscalls in the monitor restartable when signals occur, as was the case before privsep and only wait() for our slave processes. with help from millert@ ok millert@ henning@
Revision 1.47 / (download) - annotate - [select for diffs], Mon Dec 6 23:04:14 2004 UTC (19 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.46: +3 -4 lines
Diff to previous 1.46 (colored)
seperate reply_r, like earlier change but safer; moritz ok
Revision 1.46 / (download) - annotate - [select for diffs], Sat Dec 4 18:00:43 2004 UTC (19 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.45: +1 -0 lines
Diff to previous 1.45 (colored)
reply() used to play a lot with stdout, expecially fflush(stdout). The recent change is to avoid stdio. That's good, except there are nearly 130 calls to this function, yet what if one of them depended on fflush() or something else in this code? The semantic change was never checked. That is not how we do development -- back this out until we know that checking work has been done.
Revision 1.45 / (download) - annotate - [select for diffs], Fri Dec 3 23:57:40 2004 UTC (19 years, 6 months ago) by moritz
Branch: MAIN
Changes since 1.44: +2 -3 lines
Diff to previous 1.44 (colored)
make reply() reentrant. fixes a signal race. ok henning@
Revision 1.44 / (download) - annotate - [select for diffs], Sun Nov 28 18:49:29 2004 UTC (19 years, 6 months ago) by henning
Branch: MAIN
Changes since 1.43: +10 -4 lines
Diff to previous 1.43 (colored)
privilege seperate ftpd handle the pre-authentication phase (minus a tiny tiny tiny amount of code after accept()) in an unprivileged process, asking the privileged monitor for help where needed. work by Moritz Jodeit <moritz@jodeit.org> with help from theo and me tests theo ian@ matthieu@ ben@networkinsanity.com a.schlichting@lemarit.com
Revision 1.43 / (download) - annotate - [select for diffs], Wed Dec 10 22:57:12 2003 UTC (20 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE,
OPENBSD_3_6,
OPENBSD_3_5_BASE,
OPENBSD_3_5
Changes since 1.42: +28 -26 lines
Diff to previous 1.42 (colored)
spacing
Revision 1.42 / (download) - annotate - [select for diffs], Mon Jun 2 19:38:24 2003 UTC (21 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.41: +3 -7 lines
Diff to previous 1.41 (colored)
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
Revision 1.41 / (download) - annotate - [select for diffs], Tue Jul 2 18:09:53 2002 UTC (21 years, 11 months ago) by danh
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE,
OPENBSD_3_3,
OPENBSD_3_2_BASE,
OPENBSD_3_2
Changes since 1.40: +4 -3 lines
Diff to previous 1.40 (colored)
* use lostconn() as the SIGALRM handler in receive_data() as originally done by downsj@ in revision 1.54. * some -Wall cleanup - only declare check_host() if TCPWRAPPERS is defined. - use socklen_t where appropriate instead of int (pointer signedness warnings). - {u_}char * pointer signedness warnings. ok millert@
Revision 1.40 / (download) - annotate - [select for diffs], Mon Jun 17 19:33:37 2002 UTC (21 years, 11 months ago) by danh
Branch: MAIN
Changes since 1.39: +2 -3 lines
Diff to previous 1.39 (colored)
Initialize SIGALRM handler once in main(), instead of in several different locations. This fixes a problem where the SIGALRM handler was being set to an uninitialized pointer in receive_data(). Originally reported to the misc@ list by Colin Harford. ok millert@
Revision 1.39 / (download) - annotate - [select for diffs], Tue Feb 19 17:58:24 2002 UTC (22 years, 3 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE,
OPENBSD_3_1
Changes since 1.38: +7 -6 lines
Diff to previous 1.38 (colored)
Rewrite upper(). millert@ ok
Revision 1.38 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:29 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.37: +6 -6 lines
Diff to previous 1.37 (colored)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Revision 1.37 / (download) - annotate - [select for diffs], Wed Jan 30 18:01:46 2002 UTC (22 years, 4 months ago) by mpech
Branch: MAIN
Changes since 1.36: +3 -6 lines
Diff to previous 1.36 (colored)
Fix leak in `EPSV ALL`. Since now ``ALL'' should be treated like CRLF, COMMA, etc. millert@ ok
Revision 1.36 / (download) - annotate - [select for diffs], Wed Jan 30 17:14:29 2002 UTC (22 years, 4 months ago) by mpech
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)
protect `RNTO` from NULL pointer. millert@ ok
Revision 1.35 / (download) - annotate - [select for diffs], Fri Jan 25 06:43:37 2002 UTC (22 years, 4 months ago) by mpech
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34 (colored)
s is pointer. 0 -> NULL. millert@ ok
Revision 1.34 / (download) - annotate - [select for diffs], Fri Jan 25 06:40:14 2002 UTC (22 years, 4 months ago) by mpech
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)
Catch not valid chmod value earlier. This make sense, before we didn't handle some situations and pass value to chmod() instead of fatal. Idea stolen from `SITE UMASK` handler. millert@ ok
Revision 1.33 / (download) - annotate - [select for diffs], Wed Jan 23 16:38:12 2002 UTC (22 years, 4 months ago) by mpech
Branch: MAIN
Changes since 1.32: +6 -6 lines
Diff to previous 1.32 (colored)
lookup() returns pointer. Convert 0 -> NULL. millert@ ok
Revision 1.32 / (download) - annotate - [select for diffs], Wed Jan 23 10:28:50 2002 UTC (22 years, 4 months ago) by mpech
Branch: MAIN
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored)
``pathname'' can be NULL here too. millert@ ok
Revision 1.31 / (download) - annotate - [select for diffs], Thu Jan 17 05:27:35 2002 UTC (22 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.30: +8 -3 lines
Diff to previous 1.30 (colored)
reject SIZE request for ascii mode if file is larger than 10k.
Revision 1.30 / (download) - annotate - [select for diffs], Tue Jan 8 01:55:27 2002 UTC (22 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.29: +15 -11 lines
Diff to previous 1.29 (colored)
Close potential memory leak wrt "fromname"; inspired by similar FreeBSD changes.
Revision 1.29 / (download) - annotate - [select for diffs], Tue Jan 8 01:52:00 2002 UTC (22 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.28: +6 -12 lines
Diff to previous 1.28 (colored)
STRING is never NULL so there is no need to test it for NULL before freeing it.
Revision 1.28 / (download) - annotate - [select for diffs], Fri Dec 28 17:38:17 2001 UTC (22 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored)
Fix memory leak with EPRT command; Hiroyuki YAMAMORI
Revision 1.27 / (download) - annotate - [select for diffs], Fri Dec 7 18:45:32 2001 UTC (22 years, 5 months ago) by mpech
Branch: MAIN
Changes since 1.26: +5 -5 lines
Diff to previous 1.26 (colored)
kill more registers; millert@ ok
Revision 1.26 / (download) - annotate - [select for diffs], Tue Dec 4 21:18:04 2001 UTC (22 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.25: +11 -14 lines
Diff to previous 1.25 (colored)
Kill setjmp/longjmp o fix error recovery in the parser so there is no longer a need for jmping o make SIGURG handler interupt syscalls and just set a flag that we test for later. Use waitpid() not wait3() for portability. Restart waitpid() loop if another signal interrupts us. Calling dologout() from signal handlers is safe because it doesn't use stdio, nor do the two functions it calls (logout and ftpdlogwtmp).
Revision 1.25 / (download) - annotate - [select for diffs], Mon Nov 5 09:51:13 2001 UTC (22 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.24: +5 -3 lines
Diff to previous 1.24 (colored)
more signal marks, and some syslog_r in handlers
Revision 1.24 / (download) - annotate - [select for diffs], Tue Nov 14 20:27:01 2000 UTC (23 years, 6 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE,
OPENBSD_3_0,
OPENBSD_2_9_BASE,
OPENBSD_2_9
Changes since 1.23: +6 -104 lines
Diff to previous 1.23 (colored)
cleanup EPSV/EPRT error handling. avoid possible memory leak (getaddrinfo). correct error code on unsupported protocol parameter against EPRT (522).
Revision 1.23 / (download) - annotate - [select for diffs], Mon Nov 13 16:14:44 2000 UTC (23 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.22: +24 -21 lines
Diff to previous 1.22 (colored)
combine check_epsvall + check_login into check_login_epsvall. we cnanot split check_login and check_epsvall. if we do that, we end up generating two results against single comand.
Revision 1.22 / (download) - annotate - [select for diffs], Mon Nov 13 15:39:08 2000 UTC (23 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.21: +79 -65 lines
Diff to previous 1.21 (colored)
make sure to check_login on EPSV/LPSV. move epvsall check into check_epsvall.
Revision 1.21 / (download) - annotate - [select for diffs], Sat Jun 17 19:42:18 2000 UTC (23 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE,
OPENBSD_2_8
Changes since 1.20: +17 -6 lines
Diff to previous 1.20 (colored)
pr 772; -u blocks chmod command, michaels@inet.no
Revision 1.20 / (download) - annotate - [select for diffs], Sat Apr 29 14:03:02 2000 UTC (24 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE,
OPENBSD_2_7
Changes since 1.19: +6 -6 lines
Diff to previous 1.19 (colored)
indent
Revision 1.19 / (download) - annotate - [select for diffs], Sat Jan 15 05:10:55 2000 UTC (24 years, 4 months ago) by ericj
Branch: MAIN
Changes since 1.18: +10 -10 lines
Diff to previous 1.18 (colored)
(char *)0 -> NULL cleanup. From NetBSD
Revision 1.18 / (download) - annotate - [select for diffs], Wed Dec 8 13:15:21 1999 UTC (24 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.17: +268 -13 lines
Diff to previous 1.17 (colored)
IPv6 support from KAME. XXX kerberos and tcp_wrapper needs checking
Revision 1.17 / (download) - annotate - [select for diffs], Fri Oct 8 14:40:35 1999 UTC (24 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE,
OPENBSD_2_6
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)
correct; dholland@hcs.harvard.edu, root@zen.ics.uwe.ac.uk
Revision 1.16 / (download) - annotate - [select for diffs], Fri May 22 06:46:09 1998 UTC (26 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE,
OPENBSD_2_5,
OPENBSD_2_4_BASE,
OPENBSD_2_4
Changes since 1.15: +4 -3 lines
Diff to previous 1.15 (colored)
use TM_YEAR_BASE; lukem
Revision 1.15 / (download) - annotate - [select for diffs], Tue Feb 3 22:21:21 1998 UTC (26 years, 4 months ago) by downsj
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE,
OPENBSD_2_3
Changes since 1.14: +15 -3 lines
Diff to previous 1.14 (colored)
Work around a glob() and Netscape problem; the local glob() hacker may want to read the commentary if he wants another project.
Revision 1.14 / (download) - annotate - [select for diffs], Thu Dec 18 11:46:08 1997 UTC (26 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.13: +13 -4 lines
Diff to previous 1.13 (colored)
Be so specific about the exact details of a PORT command error, that we strike fear into the hearts of attackers (naw, I bet not...)
Revision 1.13 / (download) - annotate - [select for diffs], Thu Dec 18 11:38:10 1997 UTC (26 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +16 -8 lines
Diff to previous 1.12 (colored)
bitch if attacker tries to make PORT values overflow each other (they cannot anyways, but let him know we are onto him)
Revision 1.12 / (download) - annotate - [select for diffs], Fri Dec 12 08:55:08 1997 UTC (26 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.11: +16 -5 lines
Diff to previous 1.11 (colored)
default to violating the RFC wrt the PORT command. Use -P to conform to the RFC and possibly open up non-OpenBSD boxes in a trust relationship on your network to possible ftp bounce attacks...
Revision 1.11 / (download) - annotate - [select for diffs], Wed Jul 23 20:36:23 1997 UTC (26 years, 10 months ago) by kstailey
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE,
OPENBSD_2_2
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored)
tabify
Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 22 17:50:31 1997 UTC (26 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.9: +1 -2 lines
Diff to previous 1.9 (colored)
setproctitle less
Revision 1.9 / (download) - annotate - [select for diffs], Thu Jan 2 19:49:50 1997 UTC (27 years, 5 months ago) by bitblt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE,
OPENBSD_2_1
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)
Fix for the shift-reduce conflict, contributed by dholland@hcs.harvard.edu, who is porting the OpenBSD ftpd to (of all things) Linux.
Revision 1.8 / (download) - annotate - [select for diffs], Sat Dec 7 09:00:20 1996 UTC (27 years, 6 months ago) by bitblt
Branch: MAIN
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)
ftpd now eventually times out if a ftp client does: pasv list and then crashes. The timeout should only apply the the accept(), so that transfers can take as long as necessary to complete. Thanks to Theo for moving toolong() to extern.h so that it can be used in ftpd.c as well as in ftpcmd.y.
Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 16 00:50:35 1996 UTC (27 years, 7 months ago) by bitblt
Branch: MAIN
Changes since 1.6: +6 -0 lines
Diff to previous 1.6 (colored)
Fixed a memory leak associated with the HELP and SITE HELP commands.
Revision 1.6 / (download) - annotate - [select for diffs], Thu Sep 19 01:21:25 1996 UTC (27 years, 8 months ago) by bitblt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE,
OPENBSD_2_0
Changes since 1.5: +112 -86 lines
Diff to previous 1.5 (colored)
reduced the number of command availibe to users who are not logged in, fixed a memory leak in RNFR
Revision 1.5 / (download) - annotate - [select for diffs], Wed Sep 4 14:41:28 1996 UTC (27 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +1 -0 lines
Diff to previous 1.4 (colored)
clear passwd, for safety
Revision 1.4 / (download) - annotate - [select for diffs], Thu Aug 22 07:01:07 1996 UTC (27 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +11 -4 lines
Diff to previous 1.3 (colored)
de-gibble ftpd for w
Revision 1.3 / (download) - annotate - [select for diffs], Wed Aug 7 03:17:55 1996 UTC (27 years, 10 months ago) by downsj
Branch: MAIN
Changes since 1.2: +3 -15 lines
Diff to previous 1.2 (colored)
strcpy -> strncpy, kill off a strdup() clone.
Revision 1.2 / (download) - annotate - [select for diffs], Tue Apr 23 03:03:43 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.1: +5 -4 lines
Diff to previous 1.1 (colored)
sync with netbsd 960418
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:43:16 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)
initial import of NetBSD tree
Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:43:16 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN
Initial revision