ChangeLog revision 142403
12004-08-20  Love H�rnquist �strand <lha@it.su.se>
2
3	* ftp/ftp.c: 1.77: send ABOR protect with security layer if its there
4
5	* ftpd/{ftpd_locl.h, extern.h, ftpcmd.y, ftpd.8, ftpd.c}:
6	Remove all traces of setjmp/longjmp.
7	Handle those command that is needed in oobhandler,
8	those are ABOR, STAT, ENC, CONF, MIC.
9	add options to turn off insecure OOB handling and document the option
10
11	Changes inspired by openbsd and netbsd changes but quite diffrent is
12	most places since the code no longer look and is structured the same
13	way.
14
15	extern.h: 1.25
16	ftpcmd.y: 1.65
17	ftpd.8: 1.22
18	ftpd.c: 1.170
19	ftpd_locl.h: 1.14
20	
212004-06-21  Love H�rnquist �strand <lha@it.su.se>
22
23	* ftpd/ftpcmd.y: 1.64: make cbuf 64k to handle lager tickets From:
24	MAAAAA MOOOR <huaraz@btinternet.com> 1.63: strncasecmp returns
25	integer so don't compare with NULL
26	
272004-03-14  Love H�rnquist �strand <lha@it.su.se>
28
29	* ftpd/ftpd.c: 1.169: (main): setpag if there is krb4 OR krb5
30	support
31
322003-08-20  Love H�rnquist �strand <lha@it.su.se>
33
34	* ftpd/ftpd.8: 1.20->1.21: document --gss-bindings
35	
36	* ftpd/ftpd.c: 1.166->1.168: wrap gssapi stuff with KRB5,
37	(args): add gss-bindings
38
39	* ftp/main.c: 1.33->1.35: wrap gssapi stuff with KRB5,
40	(args): add gss-bindings
41	(main): set ftp_do_gss_bindings to 1 to make client use them
42	
43	* ftp/security.h: 1.9->1.10: add ftp_do_gss_bindings
44	
45	* ftp/gssapi.c: 1.24->1.25: Optionally support gss bindings,
46	client does it by default, server not.  This is to make it work
47	for clients behind NAT.
48
49	* ftp/ftp.1: 1.12->1.15: gssapi bindings + madoc fixes
50	
512003-08-15  Love H�rnquist �strand <lha@it.su.se>
52
53	* ftp/gssapi.c: 1.23->1.24: (gss_adat): fix name allocation bug
54	
552003-04-16  Love H�rnquist �strand <lha@it.su.se>
56
57	* ftpd/ftpd.c: make sure argument to is* functions are unsigned
58	
592003-04-06  Love H�rnquist �strand <lha@it.su.se>
60
61	* ftpd/ftpd.8: s/kerberos/Kerberos/
62	
632003-03-23  Assar Westerlund  <assar@kth.se>
64
65	* ftpd/pathnames.h (_PATH_FTPUSERS): conditionalize
66
672003-03-18  Love H�rnquist �strand <lha@it.su.se>
68
69	* ftpd/ftpd.c (krb5_verify): always do krb5_afslog, remove setpag
70	(its done in main)
71
72	* ftpd/gss_userok.c: drop setpag
73	
74	* ftpd/ftpd.c (main): set afs PAG
75
76	* ftpd/gss_userok.c: always try krb5_afslog, and while here do a
77	setpag too
78
79	* ftpd/ftpd_locl.h: always include kafs
80	
812003-03-16  Love H�rnquist �strand <lha@it.su.se>
82
83	* ftp/gssapi.c (gss_adat): now that gss_export_name exports a
84	principal, bandaid with gss_display_name, and check that oid is
85	GSS_KRB5_NT_PRINCIPAL_NAME, also free memory
86	
872003-02-25  Love H�rnquist �strand <lha@it.su.se>
88
89	* ftp/gssapi.c (gss_auth): print out the name we authenticated too
90	
912003-02-25  Love H�rnquist �strand <lha@it.su.se>
92
93	* ftpd/ls.c: use readlink with bufsize - 1, From NetBSD
94
95	* ftp/ftp.1: s/utilizes/uses/ from NetBSD
96	
97	* ftpd/ftpd.8: s/utilize/use/ from NetBSD
98	
992003-02-10  Assar Westerlund  <assar@kth.se>
100
101	* ftpd/ftpd.c (accept_with_timeout): use socklen_t
102
1032002-10-29  Johan Danielsson  <joda@pdc.kth.se>
104
105	* ftp/main.c: reinstate -n flag (from Torbj�rn Granlund)
106
1072002-10-16  Johan Danielsson  <joda@pdc.kth.se>
108
109	* ftp/ftp.c: fix parsing of epsv ports (from Love)
110
1112002-09-05  Johan Danielsson  <joda@pdc.kth.se>
112
113	* ftp/security.c (sec_vfprintf): free encoded data
114
115	* ftp/gssapi.c (gss_decode): release buffer
116
117	* ftp/ftp.c (active_mode): no need to allocate buffer for EPRT
118
1192002-08-28  Johan Danielsson  <joda@pdc.kth.se>
120
121	* ftp/ftp.c (command): clean up va_{start,end}ing (from NetBSD)
122
1232002-08-23  Assar Westerlund  <assar@kth.se>
124
125	* ftp/main.c: start using getarg
126
1272002-08-22  Johan Danielsson  <joda@pdc.kth.se>
128
129	* ftpd/ls.c: uxp/v lacks _S_IFMT, but has S_IFMT
130
1312002-08-20  Johan Danielsson  <joda@pdc.kth.se>
132
133	* ftp/gssapi.c: remove unused variable
134
1352002-04-24  Johan Danielsson  <joda@pdc.kth.se>
136
137	* ftp/ftp.c: fix buffer overrun when receiving long replies
138
1392002-04-02  Johan Danielsson  <joda@pdc.kth.se>
140
141	* ftpd/popen.c: make sure gl_pathc != 0 before referencing
142	gl_pathv
143
1442002-03-15  Johan Danielsson  <joda@pdc.kth.se>
145
146	* ftp/gssapi.c (gss_adat): if accept_sec_context fails, syslog a
147	reason and give a temporary error message
148
1492002-02-28  Johan Danielsson  <joda@pdc.kth.se>
150
151	* ftpd/ftpd.c: if builtin_ls failes, return error
152
153	* ftpd/ls.c (builtin_ls): return status; also don't print fatal
154	error messages to the output stream, instead use syslog
155
1562001-09-14  Johan Danielsson  <joda@pdc.kth.se>
157
158	* ftpd/ls.c: make sure we don't include . in recursive listings
159
1602001-09-13  Johan Danielsson  <joda@pdc.kth.se>
161
162	* ftpd/ftpd.c (dataconn): don't wait forever on accept
163
1642001-09-04  Assar Westerlund  <assar@sics.se>
165
166	* ftp/gssapi.c (gss_adat): leak less memory and check return value
167	from asprintf
168
1692001-08-28  Jacques Vidrine <n@nectar.com>
170
171	* ftpd/ftpd.c, ftpd/ftpd.8: On systems with IP_PORTRANGE, have
172	  ftpd use `high-numbered' ports by default.  Add a -U option
173	  to get the old behavior.
174
1752001-08-28  Johan Danielsson  <joda@pdc.kth.se>
176
177	* ftp/gssapi.c: try using "host" if there's no "ftp" principal
178
1792001-08-26  Johan Danielsson  <joda@pdc.kth.se>
180
181	* ftpd/ls.c: implement -R
182
1832001-08-08  Assar Westerlund  <assar@sics.se>
184
185	* ftpd/ls.c: make -a and -A do the same as in ls(1)
186
1872001-08-05  Assar Westerlund  <assar@sics.se>
188
189	* ftpd/ftpcmd.y: add some (unsigned char) casts to is*
190	* ftp/cmds.c: add some (unsigned char) casts to is*
191	* ftpd/gss_userok.c (gss_userok): make argument to printf type
192	correct
193
1942001-08-05  Assar Westerlund  <assar@sics.se>
195
196	* ftp/cmds.c (setpeer): __NetBSD__ is also a unix-like OS
197
1982001-06-19  Assar Westerlund  <assar@sics.se>
199
200	* ftpd/popen.c, ftpd/ftpd.c: try to handle GLOB_MAXPATH (FreeBSD)
201
2022001-04-19  Johan Danielsson  <joda@pdc.kth.se>
203
204	* ftpd/ftpd.c (do_store): call closefunc before claiming that
205	everything went ok, if the close fails the file might not have
206	been stored properly
207
2082001-03-26  Assar Westerlund  <assar@sics.se>
209
210	* ftpd/ftpd.c, ftpd/popen.c: always use GLOB_LIMIT
211	* ftpd/popen.c (ftpd_popen): use GLOB_LIMIT if defined
212	* ftpd/ftpd.c (send_file_list): use GLOB_LIMIT if defined
213
2142001-02-15  Assar Westerlund  <assar@sics.se>
215
216	* ftp/cmds.c (setpeer): handle both service names and port numbers
217	for the second optional argument.  also make parsing more robust
218
2192001-02-07  Assar Westerlund  <assar@sics.se>
220
221	* ftp/security.c (sec_end): only clean app_data if there is any
222	(*): do realloc consistently
223
2242001-02-05  Assar Westerlund  <assar@sics.se>
225
226	* ftpd/popen.c (ftpd_popen): avoid overwriting the bounds of argv
227	and gargv
228
2292001-01-30  Assar Westerlund  <assar@sics.se>
230
231	* ftpd/gss_userok.c: use gss_krb5_copy_ccache
232
2332001-01-29  Assar Westerlund  <assar@sics.se>
234
235	* ftpd/Makefile.am: move up LIB_otp so we do not end up picking
236 	one from /usr/athena
237
2382001-01-25  Johan Danielsson  <joda@pdc.kth.se>
239
240	* ftpd/ls.c: fix bug in previous; make it easier to build test
241	version
242
2432001-01-19  Johan Danielsson  <joda@pdc.kth.se>
244
245	* ftpd/ls.c (lstat_file): handle case where file lives in `/'
246
2472001-01-18  Johan Danielsson  <joda@pdc.kth.se>
248
249	* ftpd/ftpd.c (pasv): close already open passive port
250
2512000-12-14  Johan Danielsson  <joda@pdc.kth.se>
252
253	* ftpd/ls.c: reverse time and size sort order (pointed out by
254	tege)
255
2562000-12-11  Johan Danielsson  <joda@pdc.kth.se>
257
258	* ftpd/ftpd.c: make it possible to set list of good filename
259	characters from command line
260
2612000-12-10  Johan Danielsson  <joda@pdc.kth.se>
262
263	* ftpd/ftpd.c: some spec-violating mirror software assumes that
264	you can do things like `LIST -CF'; don't pass `--' to ls so this
265	actually works
266
267	* ftpd/ls.c: implement -1CFx flags
268
2692000-12-08  Assar Westerlund  <assar@sics.se>
270
271	* ftpd/gss_userok.c (gss_userok): handle getpwnam failing
272	* ftp/gssapi.c (gss_auth): be more explicit in error message
273
2742000-11-29  Johan Danielsson  <joda@pdc.kth.se>
275
276	* ftpd/ftpd.8: close list
277
2782000-11-15  Assar Westerlund  <assar@sics.se>
279
280	* ftp/main.c: add `-l' for no line-editing
281	* ftp/globals.c (readline): add
282	* ftp/ftp_var.h (lineedit): add variable indicated if we should
283	use readline
284
2852000-11-09  Johan Danielsson  <joda@pdc.kth.se>
286
287	* ftp/security.c (sec_read): fix bug in previous (from Jacques A.
288	Vidrine <n@nectar.com>)
289
2902000-11-05  Johan Danielsson  <joda@pdc.kth.se>
291
292	* ftpd/ftpcmd.y: only allow pasv if logged in
293
2942000-10-23  Johan Danielsson  <joda@pdc.kth.se>
295
296	* ftpd/ftpd.c: change bad filename message slightly
297
298	* common/buffer.c: HAVE_ST_BLKSIZE -> HAVE_STRUCT_STAT_ST_BLKSIZE
299
3002000-10-08  Assar Westerlund  <assar@sics.se>
301
302	* ftp/ftp.c (*): check that fds are not too large to select on
303	* ftp/main.c (cmdscanner): print a newline upon EOF
304
3052000-09-19  Assar Westerlund  <assar@sics.se>
306
307	* ftp/security.h: add some attributes to prototypes of sec*
308	* ftp/extern.h (command): add attributes
309
3102000-08-31  Johan Danielsson  <joda@pdc.kth.se>
311
312	* ftpd/ftpd.c: change redundant password message to something
313	people can understand
314
3152000-07-27  Assar Westerlund  <assar@sics.se>
316
317	* ftpd/gss_userok.c (gss_userok): only do AFS iff KRB4
318	* ftpd/ftpd.c (krb5_verify): only do AFS stuff if KRB4
319
3202000-07-07  Assar Westerlund  <assar@sics.se>
321
322	* ftpd/ftpd.c: do not call setproctitle with a variable as the
323	format string
324
3252000-07-01  Assar Westerlund  <assar@sics.se>
326
327	* ftpd/ftpd_locl.h: krb5.h before kafs.h
328	* ftpd/ftpd.c (krb5_verify): static-ize
329	* ftpd/ftpd.c (krb5_verify): conditionalize on KRB5
330
3312000-06-21  Assar Westerlund  <assar@sics.se>
332
333	* ftpd: support for authenticating passwords with krb5, by Daniel
334	Kouril <kouril@ics.muni.cz>
335
3362000-06-06  Johan Danielsson  <joda@pdc.kth.se>
337
338	* ftpd/ftpcmd.y: change unix test to be negative
339	
3402000-05-18  Assar Westerlund  <assar@sics.se>
341
342	* ftpd/ftpd.c (args): should use `debug'.  From Onno van der
343	Linden <onno@simplex.nl>.
344
3452000-04-25  Assar Westerlund  <assar@sics.se>
346
347	* ftp/ftp.c (login): re-structure code so that we prompt for
348	password for ftp/anonymous
349
3502000-04-11  Assar Westerlund  <assar@sics.se>
351
352	* ftp/ftp.c (login): initialize tmp before calling fgets
353
3542000-04-02  Assar Westerlund  <assar@sics.se>
355
356	* ftpd/ls.c: rename all st_mtime variables to avoid conflict with
357	#define.
358	* ftpd/ftpcmd.y: rename all st_mtime variables to avoid conflict
359	with #define.
360	* ftp/cmds.c: rename all st_mtime variables to avoid conflict with
361	#define.
362
3632000-03-26  Assar Westerlund  <assar@sics.se>
364
365	* ftpd/ls.c, ftpd/ftpcmd.y, ftp/cmds.c: make sure to always call
366	time, ctime, and gmtime with `time_t's.  there were some types
367	(like in lastlog) that we believed to always be time_t.  this has
368	proven wrong on Solaris 8 in 64-bit mode, where they are stored as
369	32-bit quantities but time_t has gone up to 64 bits
370
3712000-03-09  Johan Danielsson  <joda@pdc.kth.se>
372
373	* call list_file for broken usages of nlst too
374
375	* ftpd/ftpd.c: call list_file for broken usages of nlst too
376
3772000-02-07  Assar Westerlund  <assar@sics.se>
378
379	* ftp/security.c (sec_read): more paranoia with return value from
380	sec_get_data
381
3822000-01-08  Assar Westerlund  <assar@sics.se>
383
384	* ftp/ftp.c (hookup): handle ai_canonname being set in any of the
385	addresses returnedby getaddrinfo.  glibc apparently returns the
386	reverse lookup of every address in ai_canonname.
387	* ftp/ruserpass.c (guess_domain): dito
388
3891999-12-21  Assar Westerlund  <assar@sics.se>
390
391	* ftpd/ftpd.c: don't use sa_len as a parameter, it's defined on
392 	Irix
393
3941999-12-21  Johan Danielsson  <joda@pdc.kth.se>
395
396	* ftpd/ftpd.c (dataconn): make sure from points to actual data
397
3981999-12-16  Assar Westerlund  <assar@sics.se>
399
400	* ftp/ruserpass.c (guess_domain): handle ai_canonname not being
401	set
402	* ftp/ftp.c (hookup): handle ai_canonname not being set
403
4041999-12-06  Assar Westerlund  <assar@sics.se>
405
406	* ftp/krb4.c (krb4_auth): the nat-IP address might not be realm
407	bounded.
408
4091999-12-05  Assar Westerlund  <assar@sics.se>
410
411	* ftpd/ftpd.c (dolog): update prototype
412	* ftpd/ftpd.c (dolog): use getnameinfo_verified
413	* ftpd/ftpd.c: replace inaddr2str by getnameinfo
414
4151999-12-04  Assar Westerlund  <assar@sics.se>
416
417	* ftp/ruserpass.c (guess_domain): re-write to use getaddrinfo
418	* ftp/ftp.c (hookup): re-write to use getaddrinfo
419	
4201999-11-30  Assar Westerlund  <assar@sics.se>
421
422	* ftpd/ftpd.c (getdatasock): make sure to keep the port-number of
423 	the outgoing connections.  It has to be `ftp-data' or some people
424 	might get upset.
425
426	* ftpd/ftpd.c (args): set correct variable when `-l' so that
427 	logging actually works
428
4291999-11-29  Assar Westerlund  <assar@sics.se>
430
431	* ftp/security.c (sec_login): check return value from realloc
432	(sec_end): set app_data to NULL
433
4341999-11-25  Assar Westerlund  <assar@sics.se>
435
436	* ftp/krb4.c (krb4_auth): obtain the `local' address when doing
437	NAT.  also turn on passive mode.  From <thn@stacken.kth.se>
438
4391999-11-20  Assar Westerlund  <assar@sics.se>
440
441	* ftpd/ls.c (make_fileinfo): cast to allow for non-const
442 	prototypes of readlink
443
4441999-11-12  Assar Westerlund  <assar@sics.se>
445
446	* ftpd/ftpd.c (args): use arg_counter for `l'
447	
4481999-11-04  Assar Westerlund  <assar@sics.se>
449
450	* ftpd/ls.c (S_ISSOCK, S_ISLNK): fallback definitions for systems
451 	that don't have them (such as ultrix)
452
4531999-10-29  Assar Westerlund  <assar@sics.se>
454
455	* ftpd/ls.c (make_fileinfo): cast uid's and gid's to unsigned in
456 	printf, we don't know what types they might be.
457	(lstat_file): conditionalize the kafs part on KRB4
458
459	* ftpd/ftpd_locl.h: <sys/ioccom.h> is needed for kafs.h
460
4611999-10-28  Assar Westerlund  <assar@sics.se>
462
463	* ftpd/ls.c (lstat_file): don't set st_mode, it should already be
464 	correct
465
466	* ftpd/ls.c: don't use warnx to print errors
467
468	* ftpd/ls.c (builtin_ls): fix typo, 'd' shouldn't imply 'f'
469
470	* ftpd/ls.c (lstat_file): new function for avoiding stating AFS
471 	mount points.  From Love <lha@s3.kth.se>
472	(list_files): use `lstat_file'
473
474	* ftpd/ftpd.c: some const-poisoning
475
476	* ftpd/ftpd.c (args): add `-B' as an alias for `--builtin-ls' to
477 	allow for stupid inetds that only support two arguments.  From
478 	Love <lha@s3.kth.se>
479
4801999-10-26  Assar Westerlund  <assar@sics.se>
481
482	* ftpd/ftpcmd.y (help): it's unnecessary to interpret help strings
483 	as printf commands
484
485	* ftpd/ftpd.c (show_issue): don't interpret contents of
486 	/etc/issue* as printf commands.  From Brian A May
487 	<bmay@dgs.monash.edu.au>
488
4891999-10-21  Johan Danielsson  <joda@pdc.kth.se>
490
491	* ftpd/kauth.c (kauth): complain if protection level isn't
492	`private'
493
494	* ftp/krb4.c (krb4_decode): syslog failure reason
495
496	* ftp/kauth.c (kauth): set private level earlier
497
498	* ftp/security.c: get_command_prot; (sec_prot): partially match
499	`command' and `data'
500
5011999-10-18  Johan Danielsson  <joda@pdc.kth.se>
502
503	* ftpd/ftpd.c: change `-l' flag to use arg_collect (this makes
504	`-ll' work again)
505
506	* ftpd/ftpd.c (list_file): pass filename to ls
507
5081999-10-04  Johan Danielsson  <joda@pdc.kth.se>
509
510	* ftpd/ftpcmd.y: FEAT
511
5121999-10-03  Assar Westerlund  <assar@sics.se>
513
514	* ftpd/ls.c: fall-back definitions for constans and casts for
515 	printfs
516
5171999-10-03  Johan Danielsson  <joda@pdc.kth.se>
518
519	* ftpd/ftpd.c (main): make this use getarg; add `list_file'
520
521	* ftpd/ftpcmd.y (LIST): call list_file
522
523	* ftpd/ls.c: add simple built-in ls
524
525	* ftp/security.c: add `sec_vfprintf2' and `sec_fprintf2' that
526	prints to the data stream
527
528	* ftp/kauth.c (kauth): make sure we're using private protection
529	level
530
531	* ftp/security.c (set_command_prot): set command protection level
532
533	* ftp/security.c: make it possible to set the command protection
534	level with `prot'
535
5361999-09-30  Assar Westerlund  <assar@sics.se>
537
538	* ftpd/ftpd_locl.h: add prototype for fclose to make sunos happy
539
5401999-08-19  Johan Danielsson  <joda@pdc.kth.se>
541
542	* ftpd/ftpd.c (do_login): show issue-file
543	(send_data): change handling of zero-byte files
544
5451999-08-18  Assar Westerlund  <assar@sics.se>
546
547	* ftp/cmds.c (getit): be more suspicious when parsing the result
548 	of MDTM.  Do the comparison of timestamps correctly.
549
5501999-08-13  Assar Westerlund  <assar@sics.se>
551
552	* ftpd/ftpd.c (send_data): avoid calling mmap with `len == 0'.
553  	Some mmap:s rather dislike that (Solaris) and some munmap (Linux)
554 	get grumpy later.
555
556	* ftp/ftp.c (copy_stream): avoid calling mmap with `len == 0'.
557  	Some mmap:s rather dislike that (Solaris) and some munmap (Linux)
558 	get grumpy later.
559
5601999-08-03  Assar Westerlund  <assar@sics.se>
561
562	* ftp/ftp.c (active_mode): hide failure of EPRT by setting verbose
563
564	* ftp/gssapi.c (gss_auth): initialize application_data in bindings
565
5661999-08-02  Assar Westerlund  <assar@sics.se>
567
568	* ftpd/ftpcmd.y: save file names when doing commands that might
569 	get aborted (and longjmp:ed out of) to avoid overwriting them also
570 	remove extra closing brace
571
5721999-08-01  Johan Danielsson  <joda@pdc.kth.se>
573
574	* ftpd/ftpcmd.y: change `site find' to `site locate' (to match
575	what it does, and other implementations) keep find as an alias
576
5771999-07-28  Assar Westerlund  <assar@sics.se>
578
579	* common/socket.c: moved to roken
580
581	* common/socket.c: new file with generic socket functions
582
583	* ftpd/ftpd.c: make it more AF-neutral and v6-capable
584
585	* ftpd/ftpcmd.y: add EPRT and EPSV
586
587	* ftpd/extern.h: update prototypes and variables
588
589	* ftp/krb4.c: update to new types of addresses
590
591	* ftp/gssapi.c: add support for both AF_INET and AF_INET6
592 	addresses
593
594	* ftp/ftp.c: make it more AF-neutral and v6-capable
595
596	* ftp/extern.h (hookup): change prototype
597
598	* common/common.h: add prototypes for functions in socket.c
599
600	* common/Makefile.am (libcommon_a_SOURCES): add socket.c
601
602	* ftp/gssapi.c (gss_auth): check return value from
603 	`gss_import_name' and print error messages if it fails
604
6051999-06-15  Assar Westerlund  <assar@sics.se>
606
607	* ftp/krb4.c (krb4_auth): type correctness
608
6091999-06-02  Johan Danielsson  <joda@pdc.kth.se>
610
611	* ftp/ftp.c (sendrequest): lmode != rmode
612	
6131999-05-21  Assar Westerlund  <assar@sics.se>
614
615	* ftp/extern.h (sendrequest): update prototype
616
617	* ftp/cmds.c: update calls to sendrequest and recvrequest to send
618 	"b" when appropriate
619
620	* ftp/ftp.c (sendrequest): add argument for mode to open file in.
621
6221999-05-08  Assar Westerlund  <assar@sics.se>
623
624	* ftpd/ftpcmd.y: rename getline -> ftpd_getline
625
626	* ftp/main.c (makeargv): fill in unused slots with NULL
627
628Thu Apr  8 15:06:40 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
629
630	* ftpd/ftpd.c: remove definition of KRB_VERIFY_USER (moved to
631 	config.h)
632
633Wed Apr  7 16:15:21 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
634
635	* ftp/gssapi.c (gss_auth): call gss_display_status to get a sane
636 	error message; return AUTH_{CONTINUE,ERROR}, where appropriate
637
638	* ftp/krb4.c: return AUTH_{CONTINUE,ERROR}, where appropriate
639
640	* ftp/security.c (sec_login): if mechanism returns AUTH_CONTINUE,
641 	just continue with the next mechanism, this fixes the case of
642 	having GSSAPI fail because of non-existant of expired tickets
643
644	* ftp/security.h: add AUTH_{OK,CONTINUE,ERROR}
645
646Thu Apr  1 16:59:04 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
647
648	* ftpd/Makefile.am: don't run check-local
649
650	* ftp/Makefile.am: don't run check-local
651
652Mon Mar 22 22:15:18 1999  Assar Westerlund  <assar@sics.se>
653
654	* ftpd/ftpd.c (pass): fall-back for KRB_VERIFY_SECURE
655
656	* ftpd/ftpd.c (pass): 1 -> KRB_VERIFY_SECURE
657
658Thu Mar 18 12:07:09 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
659
660	* ftpd/Makefile.am: clean ftpcmd.c
661
662	* ftpd/ftpd_locl.h: remove krb5.h (breaks in ftpcmd.y)
663
664	* ftpd/ftpd.c: move include of krb5.h here
665
666	* ftpd/Makefile.am: include Makefile.am.common
667
668	* Makefile.am: include Makefile.am.common
669
670	* ftp/Makefile.am: include Makefile.am.common
671
672	* common/Makefile.am: include Makefile.am.common
673
674Tue Mar 16 22:28:37 1999  Assar Westerlund  <assar@sics.se>
675
676	* ftpd/ftpd_locl.h: add krb5.h to get heimdal_version
677
678	* ftpd/ftpd.c: krb_verify_user_multiple -> krb_verify_user
679
680Thu Mar 11 14:54:59 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
681
682	* ftp/Makefile.in: WFLAGS
683
684	* ftp/ruserpass.c: add some if-braces
685
686Wed Mar 10 20:02:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
687
688	* ftpd/ftpd_locl.h: remove ifdef HAVE_FNMATCH
689
690Mon Mar  8 21:29:24 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
691
692	* ftpd/ftpd.c: re-add version in greeting message
693
694Mon Mar  1 10:49:38 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
695
696	* ftpd/logwtmp.c: HAVE_UT_* -> HAVE_STRUCT_UTMP*_UT_*
697
698Mon Feb 22 19:20:51 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
699
700	* common/Makefile.in: remove glob
701
702Sat Feb 13 17:19:35 1999  Assar Westerlund  <assar@sics.se>
703
704	* ftpd/ftpd.c (match): remove #ifdef HAVE_FNMATCH.  We have a
705 	fnmatch implementation in roken and therefore always have it.
706
707	* ftp/ftp.c (copy_stream): initialize `werr'
708
709Wed Jan 13 23:52:57 1999  Assar Westerlund  <assar@sics.se>
710
711	* ftpd/ftpcmd.y: moved all check_login and check_login_no_guest to
712 	the end of the rules to ensure we don't generate several
713 	(independent) error messages.  once again, having a yacc-grammar
714 	for FTP with embedded actions doesn't strike me as the most
715 	optimal way of doing it.
716
717Tue Dec  1 14:44:29 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
718
719	* ftpd/Makefile.am: link with extra libs for aix
720
721Sun Nov 22 10:28:20 1998  Assar Westerlund  <assar@sics.se>
722
723	* ftpd/ftpd.c (retrying): support on-the-fly decompression
724
725	* ftpd/Makefile.in (WFLAGS): set
726
727	* ftp/ruserpass.c (guess_domain): new function
728	(ruserpass): use it
729
730	* common/Makefile.in (WFLAGS): set
731
732	* Makefile.in (WFLAGS): set
733
734Sat Nov 21 23:13:03 1998  Assar Westerlund  <assar@sics.se>
735
736	* ftp/security.c: some more type correctness.
737
738	* ftp/gssapi.c (gss_adat): more braces to shut up warnings
739
740Wed Nov 18 21:47:55 1998  Assar Westerlund  <assar@sics.se>
741
742	* ftp/main.c (main): new option `-p' for enable passive mode.
743
744Mon Nov  2 01:57:49 1998  Assar Westerlund  <assar@sics.se>
745
746	* ftp/ftp.c (getreply): remove extra `break'
747
748	* ftp/gssapi.c (gss_auth): fixo typo(copyo?)
749
750	* ftp/security.c (sec_login): fix loop and return value
751
752Tue Sep  1 16:56:42 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
753
754	* ftp/cmds.c (quote1): fix % quoting bug
755
756Fri Aug 14 17:10:06 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
757
758	* ftp/krb4.c: krb_put_int -> KRB_PUT_INT
759
760Tue Jun 30 18:07:15 1998  Assar Westerlund  <assar@sics.se>
761
762	* ftp/security.c (auth): free `app_data'
763	(sec_end): only destroy if it was initialized
764
765Tue Jun  9 21:01:59 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
766
767	* ftp/krb4.c: pass client address to krb_rd_req
768
769Sat May 16 00:02:07 1998  Assar Westerlund  <assar@sics.se>
770
771	* ftpd/Makefile.am: link with DBLIB
772
773Tue May 12 14:15:32 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
774
775	* ftp/gssapi.c: Save client name for userok().
776
777	* ftpd/gss_userok.c: Userok for gssapi.
778
779Fri May  1 07:15:01 1998  Assar Westerlund  <assar@sics.se>
780
781	* ftp/ftp.c: unifdef -DHAVE_H_ERRNO
782
783Fri Mar 27 00:46:07 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
784
785	* Make compile w/o krb4.
786
787Thu Mar 26 03:49:12 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
788
789	* ftp/*, ftpd/*: Changes for new framework.
790
791	* ftp/gssapi.c: GSS-API backend for the new security framework.
792
793	* ftp/krb4.c: Updated for new framework.
794
795	* ftp/security.{c,h}: New unified security framework.
796