Initial import from FreeBSD RELENG_4:
[dragonfly.git] / crypto / kerberosIV / appl / ftp / ChangeLog
1 2000-03-26  Assar Westerlund  <assar@sics.se>
2
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
8
9 1999-11-30  Assar Westerlund  <assar@sics.se>
10
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
13         might get upset.
14
15         * ftpd/ftpd.c (args): set correct variable when `-l' so that
16         logging actually works
17
18 1999-11-29  Assar Westerlund  <assar@sics.se>
19
20         * ftp/security.c (sec_login): check return value from realloc
21         (sec_end): set app_data to NULL
22
23 1999-11-25  Assar Westerlund  <assar@sics.se>
24
25         * ftp/krb4.c (krb4_auth): obtain the `local' address when doing
26         NAT.  also turn on passive mode.  From <thn@stacken.kth.se>
27
28 1999-11-20  Assar Westerlund  <assar@sics.se>
29
30         * ftpd/ls.c (make_fileinfo): cast to allow for non-const
31         prototypes of readlink
32
33 1999-11-12  Assar Westerlund  <assar@sics.se>
34
35         * ftpd/ftpd.c (args): use arg_counter for `l'
36         
37 1999-11-04  Assar Westerlund  <assar@sics.se>
38
39         * ftpd/ls.c (S_ISSOCK, S_ISLNK): fallback definitions for systems
40         that don't have them (such as ultrix)
41
42 1999-10-29  Assar Westerlund  <assar@sics.se>
43
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
47
48         * ftpd/ftpd_locl.h: <sys/ioccom.h> is needed for kafs.h
49
50 1999-10-28  Assar Westerlund  <assar@sics.se>
51
52         * ftpd/ls.c (lstat_file): don't set st_mode, it should already be
53         correct
54
55         * ftpd/ls.c: don't use warnx to print errors
56
57         * ftpd/ls.c (builtin_ls): fix typo, 'd' shouldn't imply 'f'
58
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'
62
63         * ftpd/ftpd.c: some const-poisoning
64
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
67         Love <lha@s3.kth.se>
68
69 1999-10-26  Assar Westerlund  <assar@sics.se>
70
71         * ftpd/ftpcmd.y (help): it's unnecessary to interpret help strings
72         as printf commands
73
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>
77
78 1999-10-21  Johan Danielsson  <joda@pdc.kth.se>
79
80         * ftpd/kauth.c (kauth): complain if protection level isn't
81         `private'
82
83         * ftp/krb4.c (krb4_decode): syslog failure reason
84
85         * ftp/kauth.c (kauth): set private level earlier
86
87         * ftp/security.c: get_command_prot; (sec_prot): partially match
88         `command' and `data'
89
90 1999-10-18  Johan Danielsson  <joda@pdc.kth.se>
91
92         * ftpd/ftpd.c: change `-l' flag to use arg_collect (this makes
93         `-ll' work again)
94
95         * ftpd/ftpd.c (list_file): pass filename to ls
96
97 1999-10-04  Johan Danielsson  <joda@pdc.kth.se>
98
99         * ftpd/ftpcmd.y: FEAT
100
101 1999-10-03  Assar Westerlund  <assar@sics.se>
102
103         * ftpd/ls.c: fall-back definitions for constans and casts for
104         printfs
105
106 1999-10-03  Johan Danielsson  <joda@pdc.kth.se>
107
108         * ftpd/ftpd.c (main): make this use getarg; add `list_file'
109
110         * ftpd/ftpcmd.y (LIST): call list_file
111
112         * ftpd/ls.c: add simple built-in ls
113
114         * ftp/security.c: add `sec_vfprintf2' and `sec_fprintf2' that
115         prints to the data stream
116
117         * ftp/kauth.c (kauth): make sure we're using private protection
118         level
119
120         * ftp/security.c (set_command_prot): set command protection level
121
122         * ftp/security.c: make it possible to set the command protection
123         level with `prot'
124
125 1999-09-30  Assar Westerlund  <assar@sics.se>
126
127         * ftpd/ftpd_locl.h: add prototype for fclose to make sunos happy
128
129 1999-08-19  Johan Danielsson  <joda@pdc.kth.se>
130
131         * ftpd/ftpd.c (do_login): show issue-file
132         (send_data): change handling of zero-byte files
133
134 1999-08-18  Assar Westerlund  <assar@sics.se>
135
136         * ftp/cmds.c (getit): be more suspicious when parsing the result
137         of MDTM.  Do the comparison of timestamps correctly.
138
139 1999-08-13  Assar Westerlund  <assar@sics.se>
140
141         * ftpd/ftpd.c (send_data): avoid calling mmap with `len == 0'.
142         Some mmap:s rather dislike that (Solaris) and some munmap (Linux)
143         get grumpy later.
144
145         * ftp/ftp.c (copy_stream): avoid calling mmap with `len == 0'.
146         Some mmap:s rather dislike that (Solaris) and some munmap (Linux)
147         get grumpy later.
148
149 1999-08-03  Assar Westerlund  <assar@sics.se>
150
151         * ftp/ftp.c (active_mode): hide failure of EPRT by setting verbose
152
153         * ftp/gssapi.c (gss_auth): initialize application_data in bindings
154
155 1999-08-02  Assar Westerlund  <assar@sics.se>
156
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
160
161 1999-08-01  Johan Danielsson  <joda@pdc.kth.se>
162
163         * ftpd/ftpcmd.y: change `site find' to `site locate' (to match
164         what it does, and other implementations) keep find as an alias
165
166 1999-07-28  Assar Westerlund  <assar@sics.se>
167
168         * common/socket.c: moved to roken
169
170         * common/socket.c: new file with generic socket functions
171
172         * ftpd/ftpd.c: make it more AF-neutral and v6-capable
173
174         * ftpd/ftpcmd.y: add EPRT and EPSV
175
176         * ftpd/extern.h: update prototypes and variables
177
178         * ftp/krb4.c: update to new types of addresses
179
180         * ftp/gssapi.c: add support for both AF_INET and AF_INET6
181         addresses
182
183         * ftp/ftp.c: make it more AF-neutral and v6-capable
184
185         * ftp/extern.h (hookup): change prototype
186
187         * common/common.h: add prototypes for functions in socket.c
188
189         * common/Makefile.am (libcommon_a_SOURCES): add socket.c
190
191         * ftp/gssapi.c (gss_auth): check return value from
192         `gss_import_name' and print error messages if it fails
193
194 1999-06-15  Assar Westerlund  <assar@sics.se>
195
196         * ftp/krb4.c (krb4_auth): type correctness
197
198 1999-06-02  Johan Danielsson  <joda@pdc.kth.se>
199
200         * ftp/ftp.c (sendrequest): lmode != rmode
201         
202 1999-05-21  Assar Westerlund  <assar@sics.se>
203
204         * ftp/extern.h (sendrequest): update prototype
205
206         * ftp/cmds.c: update calls to sendrequest and recvrequest to send
207         "b" when appropriate
208
209         * ftp/ftp.c (sendrequest): add argument for mode to open file in.
210
211 1999-05-08  Assar Westerlund  <assar@sics.se>
212
213         * ftpd/ftpcmd.y: rename getline -> ftpd_getline
214
215         * ftp/main.c (makeargv): fill in unused slots with NULL
216
217 Thu Apr  8 15:06:40 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
218
219         * ftpd/ftpd.c: remove definition of KRB_VERIFY_USER (moved to
220         config.h)
221
222 Wed Apr  7 16:15:21 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
223
224         * ftp/gssapi.c (gss_auth): call gss_display_status to get a sane
225         error message; return AUTH_{CONTINUE,ERROR}, where appropriate
226
227         * ftp/krb4.c: return AUTH_{CONTINUE,ERROR}, where appropriate
228
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
232
233         * ftp/security.h: add AUTH_{OK,CONTINUE,ERROR}
234
235 Thu Apr  1 16:59:04 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
236
237         * ftpd/Makefile.am: don't run check-local
238
239         * ftp/Makefile.am: don't run check-local
240
241 Mon Mar 22 22:15:18 1999  Assar Westerlund  <assar@sics.se>
242
243         * ftpd/ftpd.c (pass): fall-back for KRB_VERIFY_SECURE
244
245         * ftpd/ftpd.c (pass): 1 -> KRB_VERIFY_SECURE
246
247 Thu Mar 18 12:07:09 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
248
249         * ftpd/Makefile.am: clean ftpcmd.c
250
251         * ftpd/ftpd_locl.h: remove krb5.h (breaks in ftpcmd.y)
252
253         * ftpd/ftpd.c: move include of krb5.h here
254
255         * ftpd/Makefile.am: include Makefile.am.common
256
257         * Makefile.am: include Makefile.am.common
258
259         * ftp/Makefile.am: include Makefile.am.common
260
261         * common/Makefile.am: include Makefile.am.common
262
263 Tue Mar 16 22:28:37 1999  Assar Westerlund  <assar@sics.se>
264
265         * ftpd/ftpd_locl.h: add krb5.h to get heimdal_version
266
267         * ftpd/ftpd.c: krb_verify_user_multiple -> krb_verify_user
268
269 Thu Mar 11 14:54:59 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
270
271         * ftp/Makefile.in: WFLAGS
272
273         * ftp/ruserpass.c: add some if-braces
274
275 Wed Mar 10 20:02:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
276
277         * ftpd/ftpd_locl.h: remove ifdef HAVE_FNMATCH
278
279 Mon Mar  8 21:29:24 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
280
281         * ftpd/ftpd.c: re-add version in greeting message
282
283 Mon Mar  1 10:49:38 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
284
285         * ftpd/logwtmp.c: HAVE_UT_* -> HAVE_STRUCT_UTMP*_UT_*
286
287 Mon Feb 22 19:20:51 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
288
289         * common/Makefile.in: remove glob
290
291 Sat Feb 13 17:19:35 1999  Assar Westerlund  <assar@sics.se>
292
293         * ftpd/ftpd.c (match): remove #ifdef HAVE_FNMATCH.  We have a
294         fnmatch implementation in roken and therefore always have it.
295
296         * ftp/ftp.c (copy_stream): initialize `werr'
297
298 Wed Jan 13 23:52:57 1999  Assar Westerlund  <assar@sics.se>
299
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.
305
306 Tue Dec  1 14:44:29 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
307
308         * ftpd/Makefile.am: link with extra libs for aix
309
310 Sun Nov 22 10:28:20 1998  Assar Westerlund  <assar@sics.se>
311
312         * ftpd/ftpd.c (retrying): support on-the-fly decompression
313
314         * ftpd/Makefile.in (WFLAGS): set
315
316         * ftp/ruserpass.c (guess_domain): new function
317         (ruserpass): use it
318
319         * common/Makefile.in (WFLAGS): set
320
321         * Makefile.in (WFLAGS): set
322
323 Sat Nov 21 23:13:03 1998  Assar Westerlund  <assar@sics.se>
324
325         * ftp/security.c: some more type correctness.
326
327         * ftp/gssapi.c (gss_adat): more braces to shut up warnings
328
329 Wed Nov 18 21:47:55 1998  Assar Westerlund  <assar@sics.se>
330
331         * ftp/main.c (main): new option `-p' for enable passive mode.
332
333 Mon Nov  2 01:57:49 1998  Assar Westerlund  <assar@sics.se>
334
335         * ftp/ftp.c (getreply): remove extra `break'
336
337         * ftp/gssapi.c (gss_auth): fixo typo(copyo?)
338
339         * ftp/security.c (sec_login): fix loop and return value
340
341 Tue Sep  1 16:56:42 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
342
343         * ftp/cmds.c (quote1): fix % quoting bug
344
345 Fri Aug 14 17:10:06 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
346
347         * ftp/krb4.c: krb_put_int -> KRB_PUT_INT
348
349 Tue Jun 30 18:07:15 1998  Assar Westerlund  <assar@sics.se>
350
351         * ftp/security.c (auth): free `app_data'
352         (sec_end): only destroy if it was initialized
353
354 Tue Jun  9 21:01:59 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
355
356         * ftp/krb4.c: pass client address to krb_rd_req
357
358 Sat May 16 00:02:07 1998  Assar Westerlund  <assar@sics.se>
359
360         * ftpd/Makefile.am: link with DBLIB
361
362 Tue May 12 14:15:32 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
363
364         * ftp/gssapi.c: Save client name for userok().
365
366         * ftpd/gss_userok.c: Userok for gssapi.
367
368 Fri May  1 07:15:01 1998  Assar Westerlund  <assar@sics.se>
369
370         * ftp/ftp.c: unifdef -DHAVE_H_ERRNO
371
372 Fri Mar 27 00:46:07 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
373
374         * Make compile w/o krb4.
375
376 Thu Mar 26 03:49:12 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
377
378         * ftp/*, ftpd/*: Changes for new framework.
379
380         * ftp/gssapi.c: GSS-API backend for the new security framework.
381
382         * ftp/krb4.c: Updated for new framework.
383
384         * ftp/security.{c,h}: New unified security framework.