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