1 1999-11-30 Assar Westerlund <assar@sics.se>
3 * ftpd/ftpd.c (getdatasock): make sure to keep the port-number of
4 the outgoing connections. It has to be `ftp-data' or some people
7 * ftpd/ftpd.c (args): set correct variable when `-l' so that
10 1999-11-29 Assar Westerlund <assar@sics.se>
12 * ftp/security.c (sec_login): check return value from realloc
13 (sec_end): set app_data to NULL
15 1999-11-25 Assar Westerlund <assar@sics.se>
17 * ftp/krb4.c (krb4_auth): obtain the `local' address when doing
18 NAT. also turn on passive mode. From <thn@stacken.kth.se>
20 1999-11-20 Assar Westerlund <assar@sics.se>
22 * ftpd/ls.c (make_fileinfo): cast to allow for non-const
23 prototypes of readlink
25 1999-11-12 Assar Westerlund <assar@sics.se>
27 * ftpd/ftpd.c (args): use arg_counter for `l'
29 1999-11-04 Assar Westerlund <assar@sics.se>
31 * ftpd/ls.c (S_ISSOCK, S_ISLNK): fallback definitions for systems
32 that don't have them (such as ultrix)
34 1999-10-29 Assar Westerlund <assar@sics.se>
36 * ftpd/ls.c (make_fileinfo): cast uid's and gid's to unsigned in
37 printf, we don't know what types they might be.
38 (lstat_file): conditionalize the kafs part on KRB4
40 * ftpd/ftpd_locl.h: <sys/ioccom.h> is needed for kafs.h
42 1999-10-28 Assar Westerlund <assar@sics.se>
44 * ftpd/ls.c (lstat_file): don't set st_mode, it should already be
47 * ftpd/ls.c: don't use warnx to print errors
49 * ftpd/ls.c (builtin_ls): fix typo, 'd' shouldn't imply 'f'
51 * ftpd/ls.c (lstat_file): new function for avoiding stating AFS
52 mount points. From Love <lha@s3.kth.se>
53 (list_files): use `lstat_file'
55 * ftpd/ftpd.c: some const-poisoning
57 * ftpd/ftpd.c (args): add `-B' as an alias for `--builtin-ls' to
58 allow for stupid inetds that only support two arguments. From
61 1999-10-26 Assar Westerlund <assar@sics.se>
63 * ftpd/ftpcmd.y (help): it's unnecessary to interpret help strings
66 * ftpd/ftpd.c (show_issue): don't interpret contents of
67 /etc/issue* as printf commands. From Brian A May
68 <bmay@dgs.monash.edu.au>
70 1999-10-21 Johan Danielsson <joda@pdc.kth.se>
72 * ftpd/kauth.c (kauth): complain if protection level isn't
75 * ftp/krb4.c (krb4_decode): syslog failure reason
77 * ftp/kauth.c (kauth): set private level earlier
79 * ftp/security.c: get_command_prot; (sec_prot): partially match
82 1999-10-18 Johan Danielsson <joda@pdc.kth.se>
84 * ftpd/ftpd.c: change `-l' flag to use arg_collect (this makes
87 * ftpd/ftpd.c (list_file): pass filename to ls
89 1999-10-04 Johan Danielsson <joda@pdc.kth.se>
93 1999-10-03 Assar Westerlund <assar@sics.se>
95 * ftpd/ls.c: fall-back definitions for constans and casts for
98 1999-10-03 Johan Danielsson <joda@pdc.kth.se>
100 * ftpd/ftpd.c (main): make this use getarg; add `list_file'
102 * ftpd/ftpcmd.y (LIST): call list_file
104 * ftpd/ls.c: add simple built-in ls
106 * ftp/security.c: add `sec_vfprintf2' and `sec_fprintf2' that
107 prints to the data stream
109 * ftp/kauth.c (kauth): make sure we're using private protection
112 * ftp/security.c (set_command_prot): set command protection level
114 * ftp/security.c: make it possible to set the command protection
117 1999-09-30 Assar Westerlund <assar@sics.se>
119 * ftpd/ftpd_locl.h: add prototype for fclose to make sunos happy
121 1999-08-19 Johan Danielsson <joda@pdc.kth.se>
123 * ftpd/ftpd.c (do_login): show issue-file
124 (send_data): change handling of zero-byte files
126 1999-08-18 Assar Westerlund <assar@sics.se>
128 * ftp/cmds.c (getit): be more suspicious when parsing the result
129 of MDTM. Do the comparison of timestamps correctly.
131 1999-08-13 Assar Westerlund <assar@sics.se>
133 * ftpd/ftpd.c (send_data): avoid calling mmap with `len == 0'.
134 Some mmap:s rather dislike that (Solaris) and some munmap (Linux)
137 * ftp/ftp.c (copy_stream): avoid calling mmap with `len == 0'.
138 Some mmap:s rather dislike that (Solaris) and some munmap (Linux)
141 1999-08-03 Assar Westerlund <assar@sics.se>
143 * ftp/ftp.c (active_mode): hide failure of EPRT by setting verbose
145 * ftp/gssapi.c (gss_auth): initialize application_data in bindings
147 1999-08-02 Assar Westerlund <assar@sics.se>
149 * ftpd/ftpcmd.y: save file names when doing commands that might
150 get aborted (and longjmp:ed out of) to avoid overwriting them also
151 remove extra closing brace
153 1999-08-01 Johan Danielsson <joda@pdc.kth.se>
155 * ftpd/ftpcmd.y: change `site find' to `site locate' (to match
156 what it does, and other implementations) keep find as an alias
158 1999-07-28 Assar Westerlund <assar@sics.se>
160 * common/socket.c: moved to roken
162 * common/socket.c: new file with generic socket functions
164 * ftpd/ftpd.c: make it more AF-neutral and v6-capable
166 * ftpd/ftpcmd.y: add EPRT and EPSV
168 * ftpd/extern.h: update prototypes and variables
170 * ftp/krb4.c: update to new types of addresses
172 * ftp/gssapi.c: add support for both AF_INET and AF_INET6
175 * ftp/ftp.c: make it more AF-neutral and v6-capable
177 * ftp/extern.h (hookup): change prototype
179 * common/common.h: add prototypes for functions in socket.c
181 * common/Makefile.am (libcommon_a_SOURCES): add socket.c
183 * ftp/gssapi.c (gss_auth): check return value from
184 `gss_import_name' and print error messages if it fails
186 1999-06-15 Assar Westerlund <assar@sics.se>
188 * ftp/krb4.c (krb4_auth): type correctness
190 1999-06-02 Johan Danielsson <joda@pdc.kth.se>
192 * ftp/ftp.c (sendrequest): lmode != rmode
194 1999-05-21 Assar Westerlund <assar@sics.se>
196 * ftp/extern.h (sendrequest): update prototype
198 * ftp/cmds.c: update calls to sendrequest and recvrequest to send
201 * ftp/ftp.c (sendrequest): add argument for mode to open file in.
203 1999-05-08 Assar Westerlund <assar@sics.se>
205 * ftpd/ftpcmd.y: rename getline -> ftpd_getline
207 * ftp/main.c (makeargv): fill in unused slots with NULL
209 Thu Apr 8 15:06:40 1999 Johan Danielsson <joda@hella.pdc.kth.se>
211 * ftpd/ftpd.c: remove definition of KRB_VERIFY_USER (moved to
214 Wed Apr 7 16:15:21 1999 Johan Danielsson <joda@hella.pdc.kth.se>
216 * ftp/gssapi.c (gss_auth): call gss_display_status to get a sane
217 error message; return AUTH_{CONTINUE,ERROR}, where appropriate
219 * ftp/krb4.c: return AUTH_{CONTINUE,ERROR}, where appropriate
221 * ftp/security.c (sec_login): if mechanism returns AUTH_CONTINUE,
222 just continue with the next mechanism, this fixes the case of
223 having GSSAPI fail because of non-existant of expired tickets
225 * ftp/security.h: add AUTH_{OK,CONTINUE,ERROR}
227 Thu Apr 1 16:59:04 1999 Johan Danielsson <joda@hella.pdc.kth.se>
229 * ftpd/Makefile.am: don't run check-local
231 * ftp/Makefile.am: don't run check-local
233 Mon Mar 22 22:15:18 1999 Assar Westerlund <assar@sics.se>
235 * ftpd/ftpd.c (pass): fall-back for KRB_VERIFY_SECURE
237 * ftpd/ftpd.c (pass): 1 -> KRB_VERIFY_SECURE
239 Thu Mar 18 12:07:09 1999 Johan Danielsson <joda@hella.pdc.kth.se>
241 * ftpd/Makefile.am: clean ftpcmd.c
243 * ftpd/ftpd_locl.h: remove krb5.h (breaks in ftpcmd.y)
245 * ftpd/ftpd.c: move include of krb5.h here
247 * ftpd/Makefile.am: include Makefile.am.common
249 * Makefile.am: include Makefile.am.common
251 * ftp/Makefile.am: include Makefile.am.common
253 * common/Makefile.am: include Makefile.am.common
255 Tue Mar 16 22:28:37 1999 Assar Westerlund <assar@sics.se>
257 * ftpd/ftpd_locl.h: add krb5.h to get heimdal_version
259 * ftpd/ftpd.c: krb_verify_user_multiple -> krb_verify_user
261 Thu Mar 11 14:54:59 1999 Johan Danielsson <joda@hella.pdc.kth.se>
263 * ftp/Makefile.in: WFLAGS
265 * ftp/ruserpass.c: add some if-braces
267 Wed Mar 10 20:02:55 1999 Johan Danielsson <joda@hella.pdc.kth.se>
269 * ftpd/ftpd_locl.h: remove ifdef HAVE_FNMATCH
271 Mon Mar 8 21:29:24 1999 Johan Danielsson <joda@hella.pdc.kth.se>
273 * ftpd/ftpd.c: re-add version in greeting message
275 Mon Mar 1 10:49:38 1999 Johan Danielsson <joda@hella.pdc.kth.se>
277 * ftpd/logwtmp.c: HAVE_UT_* -> HAVE_STRUCT_UTMP*_UT_*
279 Mon Feb 22 19:20:51 1999 Johan Danielsson <joda@hella.pdc.kth.se>
281 * common/Makefile.in: remove glob
283 Sat Feb 13 17:19:35 1999 Assar Westerlund <assar@sics.se>
285 * ftpd/ftpd.c (match): remove #ifdef HAVE_FNMATCH. We have a
286 fnmatch implementation in roken and therefore always have it.
288 * ftp/ftp.c (copy_stream): initialize `werr'
290 Wed Jan 13 23:52:57 1999 Assar Westerlund <assar@sics.se>
292 * ftpd/ftpcmd.y: moved all check_login and check_login_no_guest to
293 the end of the rules to ensure we don't generate several
294 (independent) error messages. once again, having a yacc-grammar
295 for FTP with embedded actions doesn't strike me as the most
296 optimal way of doing it.
298 Tue Dec 1 14:44:29 1998 Johan Danielsson <joda@hella.pdc.kth.se>
300 * ftpd/Makefile.am: link with extra libs for aix
302 Sun Nov 22 10:28:20 1998 Assar Westerlund <assar@sics.se>
304 * ftpd/ftpd.c (retrying): support on-the-fly decompression
306 * ftpd/Makefile.in (WFLAGS): set
308 * ftp/ruserpass.c (guess_domain): new function
311 * common/Makefile.in (WFLAGS): set
313 * Makefile.in (WFLAGS): set
315 Sat Nov 21 23:13:03 1998 Assar Westerlund <assar@sics.se>
317 * ftp/security.c: some more type correctness.
319 * ftp/gssapi.c (gss_adat): more braces to shut up warnings
321 Wed Nov 18 21:47:55 1998 Assar Westerlund <assar@sics.se>
323 * ftp/main.c (main): new option `-p' for enable passive mode.
325 Mon Nov 2 01:57:49 1998 Assar Westerlund <assar@sics.se>
327 * ftp/ftp.c (getreply): remove extra `break'
329 * ftp/gssapi.c (gss_auth): fixo typo(copyo?)
331 * ftp/security.c (sec_login): fix loop and return value
333 Tue Sep 1 16:56:42 1998 Johan Danielsson <joda@emma.pdc.kth.se>
335 * ftp/cmds.c (quote1): fix % quoting bug
337 Fri Aug 14 17:10:06 1998 Johan Danielsson <joda@emma.pdc.kth.se>
339 * ftp/krb4.c: krb_put_int -> KRB_PUT_INT
341 Tue Jun 30 18:07:15 1998 Assar Westerlund <assar@sics.se>
343 * ftp/security.c (auth): free `app_data'
344 (sec_end): only destroy if it was initialized
346 Tue Jun 9 21:01:59 1998 Johan Danielsson <joda@emma.pdc.kth.se>
348 * ftp/krb4.c: pass client address to krb_rd_req
350 Sat May 16 00:02:07 1998 Assar Westerlund <assar@sics.se>
352 * ftpd/Makefile.am: link with DBLIB
354 Tue May 12 14:15:32 1998 Johan Danielsson <joda@emma.pdc.kth.se>
356 * ftp/gssapi.c: Save client name for userok().
358 * ftpd/gss_userok.c: Userok for gssapi.
360 Fri May 1 07:15:01 1998 Assar Westerlund <assar@sics.se>
362 * ftp/ftp.c: unifdef -DHAVE_H_ERRNO
364 Fri Mar 27 00:46:07 1998 Johan Danielsson <joda@emma.pdc.kth.se>
366 * Make compile w/o krb4.
368 Thu Mar 26 03:49:12 1998 Johan Danielsson <joda@emma.pdc.kth.se>
370 * ftp/*, ftpd/*: Changes for new framework.
372 * ftp/gssapi.c: GSS-API backend for the new security framework.
374 * ftp/krb4.c: Updated for new framework.
376 * ftp/security.{c,h}: New unified security framework.