OpenBSD CVS

CVS log for src/libexec/ftpd/extern.h


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.25 / (download) - annotate - [select for diffs], Tue May 21 05:00:47 2024 UTC (2 weeks, 4 days ago) by jsg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.24: +1 -3 lines
Diff to previous 1.24 (colored)

remove prototypes with no matching function and externs with no var
partly checked by millert@

Revision 1.24 / (download) - annotate - [select for diffs], Mon May 20 01:05:17 2024 UTC (2 weeks, 5 days ago) by jsg
Branch: MAIN
Changes since 1.23: +1 -2 lines
Diff to previous 1.23 (colored)

remove setproctitle() prototype that matches the one in stdlib.h

Revision 1.23 / (download) - annotate - [select for diffs], Sun May 23 17:01:21 2021 UTC (3 years ago) by jan
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, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.22: +13 -13 lines
Diff to previous 1.22 (colored)

Constify function parameters.

OK martijn@

Revision 1.22 / (download) - annotate - [select for diffs], Thu May 20 15:21:03 2021 UTC (3 years ago) by jan
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Removes the useless FILE* parameter of get_line().
While here fix minor whitespace mistake.

"looks fine to me" chris@

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jan 15 22:06:59 2020 UTC (4 years, 4 months ago) by jan
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.20: +2 -2 lines
Diff to previous 1.20 (colored)

Simplify globbing of ftpd(8)s list and nlst commands.
Also avoid command option injection for ls(1).

OK martijn@

Revision 1.20 / (download) - annotate - [select for diffs], Wed May 8 23:56:48 2019 UTC (5 years, 1 month ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.19: +4 -3 lines
Diff to previous 1.19 (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.19 / (download) - annotate - [select for diffs], Sun Oct 4 11:58:09 2015 UTC (8 years, 8 months ago) by tedu
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, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

fix custom popen to return pid to caller instead of tracking in a giant
array. this implies we can't use a function pointer for close, but also
means we get to repair some abuse of the comma operator.
ok miod

Revision 1.18 / (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_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (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.17 / (download) - annotate - [select for diffs], Fri Sep 12 16:12:08 2008 UTC (15 years, 8 months ago) by moritz
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, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (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.16 / (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_4_BASE, OPENBSD_4_4, 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.15: +1 -3 lines
Diff to previous 1.15 (colored)

lint cleanup; ok ray moritz dhill

Revision 1.15 / (download) - annotate - [select for diffs], Wed Dec 22 00:54:39 2004 UTC (19 years, 5 months ago) by david
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.14: +2 -1 lines
Diff to previous 1.14 (colored)

some -Wimplicit-function-declaration cleaning; ok millert@

Revision 1.14 / (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.13: +3 -2 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Wed Dec 10 22:57:12 2003 UTC (20 years, 6 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.12: +3 -3 lines
Diff to previous 1.12 (colored)

spacing

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jul 7 03:18:11 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.11: +5 -1 lines
Diff to previous 1.11 (colored)

make this match protos; millert ok

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jun 2 19:38:24 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.10: +2 -6 lines
Diff to previous 1.10 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jun 13 06:58:57 2002 UTC (22 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

si_len should be u_int8_t, not socklen_t; form@form.openbsd.ru

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jun 13 06:40:28 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

i heard in the bar that this breaks things

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 10 09:57:35 2002 UTC (22 years ago) by mpech
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

u_char -> {socklen_t, sa_family_t, in_port_t}. From form@.

millert@ ok

Revision 1.7 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:29 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.6: +40 -40 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Sun Jan 28 19:34:27 2001 UTC (23 years, 4 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.5: +1 -0 lines
Diff to previous 1.5 (colored)

$OpenBSD$

Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 14 20:27:01 2000 UTC (23 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.4: +6 -0 lines
Diff to previous 1.4 (colored)

cleanup EPSV/EPRT error handling.  avoid possible memory leak (getaddrinfo).
correct error code on unsupported protocol parameter against EPRT (522).

Revision 1.4 / (download) - annotate - [select for diffs], Wed Dec 8 13:15:21 1999 UTC (24 years, 6 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.3: +43 -0 lines
Diff to previous 1.3 (colored)

IPv6 support from KAME.
XXX kerberos and tcp_wrapper needs checking

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jun 29 07:35:42 1997 UTC (26 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

partial Wall

Revision 1.2 / (download) - annotate - [select for diffs], Sat Dec 7 09:00:18 1996 UTC (27 years, 6 months ago) by bitblt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (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.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:43:15 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1, OPENBSD_2_0_BASE, OPENBSD_2_0
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:15 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's 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.