1 2000-01-08 Assar Westerlund <assar@sics.se>
3 * ftp/ftp.c (hookup): handle ai_canonname being set in any of the
4 addresses returnedby getaddrinfo. glibc apparently returns the
5 reverse lookup of every address in ai_canonname.
6 * ftp/ruserpass.c (guess_domain): dito
8 1999-12-21 Assar Westerlund <assar@sics.se>
10 * ftpd/ftpd.c: don't use sa_len as a parameter, it's defined on
13 1999-12-21 Johan Danielsson <joda@pdc.kth.se>
15 * ftpd/ftpd.c (dataconn): make sure from points to actual data
17 1999-12-16 Assar Westerlund <assar@sics.se>
19 * ftp/ruserpass.c (guess_domain): handle ai_canonname not being
21 * ftp/ftp.c (hookup): handle ai_canonname not being set
23 1999-12-06 Assar Westerlund <assar@sics.se>
25 * ftp/krb4.c (krb4_auth): the nat-IP address might not be realm
28 1999-12-05 Assar Westerlund <assar@sics.se>
30 * ftpd/ftpd.c (dolog): update prototype
31 * ftpd/ftpd.c (dolog): use getnameinfo_verified
32 * ftpd/ftpd.c: replace inaddr2str by getnameinfo
34 1999-12-04 Assar Westerlund <assar@sics.se>
36 * ftp/ruserpass.c (guess_domain): re-write to use getaddrinfo
37 * ftp/ftp.c (hookup): re-write to use getaddrinfo
39 1999-11-30 Assar Westerlund <assar@sics.se>
41 * ftpd/ftpd.c (getdatasock): make sure to keep the port-number of
42 the outgoing connections. It has to be `ftp-data' or some people
45 * ftpd/ftpd.c (args): set correct variable when `-l' so that
46 logging actually works
48 1999-11-29 Assar Westerlund <assar@sics.se>
50 * ftp/security.c (sec_login): check return value from realloc
51 (sec_end): set app_data to NULL
53 1999-11-25 Assar Westerlund <assar@sics.se>
55 * ftp/krb4.c (krb4_auth): obtain the `local' address when doing
56 NAT. also turn on passive mode. From <thn@stacken.kth.se>
58 1999-11-20 Assar Westerlund <assar@sics.se>
60 * ftpd/ls.c (make_fileinfo): cast to allow for non-const
61 prototypes of readlink
63 1999-11-12 Assar Westerlund <assar@sics.se>
65 * ftpd/ftpd.c (args): use arg_counter for `l'
67 1999-11-04 Assar Westerlund <assar@sics.se>
69 * ftpd/ls.c (S_ISSOCK, S_ISLNK): fallback definitions for systems
70 that don't have them (such as ultrix)
72 1999-10-29 Assar Westerlund <assar@sics.se>
74 * ftpd/ls.c (make_fileinfo): cast uid's and gid's to unsigned in
75 printf, we don't know what types they might be.
76 (lstat_file): conditionalize the kafs part on KRB4
78 * ftpd/ftpd_locl.h: <sys/ioccom.h> is needed for kafs.h
80 1999-10-28 Assar Westerlund <assar@sics.se>
82 * ftpd/ls.c (lstat_file): don't set st_mode, it should already be
85 * ftpd/ls.c: don't use warnx to print errors
87 * ftpd/ls.c (builtin_ls): fix typo, 'd' shouldn't imply 'f'
89 * ftpd/ls.c (lstat_file): new function for avoiding stating AFS
90 mount points. From Love <lha@s3.kth.se>
91 (list_files): use `lstat_file'
93 * ftpd/ftpd.c: some const-poisoning
95 * ftpd/ftpd.c (args): add `-B' as an alias for `--builtin-ls' to
96 allow for stupid inetds that only support two arguments. From
99 1999-10-26 Assar Westerlund <assar@sics.se>
101 * ftpd/ftpcmd.y (help): it's unnecessary to interpret help strings
104 * ftpd/ftpd.c (show_issue): don't interpret contents of
105 /etc/issue* as printf commands. From Brian A May
106 <bmay@dgs.monash.edu.au>
108 1999-10-21 Johan Danielsson <joda@pdc.kth.se>
110 * ftpd/kauth.c (kauth): complain if protection level isn't
113 * ftp/krb4.c (krb4_decode): syslog failure reason
115 * ftp/kauth.c (kauth): set private level earlier
117 * ftp/security.c: get_command_prot; (sec_prot): partially match
120 1999-10-18 Johan Danielsson <joda@pdc.kth.se>
122 * ftpd/ftpd.c: change `-l' flag to use arg_collect (this makes
125 * ftpd/ftpd.c (list_file): pass filename to ls
127 1999-10-04 Johan Danielsson <joda@pdc.kth.se>
129 * ftpd/ftpcmd.y: FEAT
131 1999-10-03 Assar Westerlund <assar@sics.se>
133 * ftpd/ls.c: fall-back definitions for constans and casts for
136 1999-10-03 Johan Danielsson <joda@pdc.kth.se>
138 * ftpd/ftpd.c (main): make this use getarg; add `list_file'
140 * ftpd/ftpcmd.y (LIST): call list_file
142 * ftpd/ls.c: add simple built-in ls
144 * ftp/security.c: add `sec_vfprintf2' and `sec_fprintf2' that
145 prints to the data stream
147 * ftp/kauth.c (kauth): make sure we're using private protection
150 * ftp/security.c (set_command_prot): set command protection level
152 * ftp/security.c: make it possible to set the command protection
155 1999-09-30 Assar Westerlund <assar@sics.se>
157 * ftpd/ftpd_locl.h: add prototype for fclose to make sunos happy
159 1999-08-19 Johan Danielsson <joda@pdc.kth.se>
161 * ftpd/ftpd.c (do_login): show issue-file
162 (send_data): change handling of zero-byte files
164 1999-08-18 Assar Westerlund <assar@sics.se>
166 * ftp/cmds.c (getit): be more suspicious when parsing the result
167 of MDTM. Do the comparison of timestamps correctly.
169 1999-08-13 Assar Westerlund <assar@sics.se>
171 * ftpd/ftpd.c (send_data): avoid calling mmap with `len == 0'.
172 Some mmap:s rather dislike that (Solaris) and some munmap (Linux)
175 * ftp/ftp.c (copy_stream): avoid calling mmap with `len == 0'.
176 Some mmap:s rather dislike that (Solaris) and some munmap (Linux)
179 1999-08-03 Assar Westerlund <assar@sics.se>
181 * ftp/ftp.c (active_mode): hide failure of EPRT by setting verbose
183 * ftp/gssapi.c (gss_auth): initialize application_data in bindings
185 1999-08-02 Assar Westerlund <assar@sics.se>
187 * ftpd/ftpcmd.y: save file names when doing commands that might
188 get aborted (and longjmp:ed out of) to avoid overwriting them also
189 remove extra closing brace
191 1999-08-01 Johan Danielsson <joda@pdc.kth.se>
193 * ftpd/ftpcmd.y: change `site find' to `site locate' (to match
194 what it does, and other implementations) keep find as an alias
196 1999-07-28 Assar Westerlund <assar@sics.se>
198 * common/socket.c: moved to roken
200 * common/socket.c: new file with generic socket functions
202 * ftpd/ftpd.c: make it more AF-neutral and v6-capable
204 * ftpd/ftpcmd.y: add EPRT and EPSV
206 * ftpd/extern.h: update prototypes and variables
208 * ftp/krb4.c: update to new types of addresses
210 * ftp/gssapi.c: add support for both AF_INET and AF_INET6
213 * ftp/ftp.c: make it more AF-neutral and v6-capable
215 * ftp/extern.h (hookup): change prototype
217 * common/common.h: add prototypes for functions in socket.c
219 * common/Makefile.am (libcommon_a_SOURCES): add socket.c
221 * ftp/gssapi.c (gss_auth): check return value from
222 `gss_import_name' and print error messages if it fails
224 1999-06-15 Assar Westerlund <assar@sics.se>
226 * ftp/krb4.c (krb4_auth): type correctness
228 1999-06-02 Johan Danielsson <joda@pdc.kth.se>
230 * ftp/ftp.c (sendrequest): lmode != rmode
232 1999-05-21 Assar Westerlund <assar@sics.se>
234 * ftp/extern.h (sendrequest): update prototype
236 * ftp/cmds.c: update calls to sendrequest and recvrequest to send
239 * ftp/ftp.c (sendrequest): add argument for mode to open file in.
241 1999-05-08 Assar Westerlund <assar@sics.se>
243 * ftpd/ftpcmd.y: rename getline -> ftpd_getline
245 * ftp/main.c (makeargv): fill in unused slots with NULL
247 Thu Apr 8 15:06:40 1999 Johan Danielsson <joda@hella.pdc.kth.se>
249 * ftpd/ftpd.c: remove definition of KRB_VERIFY_USER (moved to
252 Wed Apr 7 16:15:21 1999 Johan Danielsson <joda@hella.pdc.kth.se>
254 * ftp/gssapi.c (gss_auth): call gss_display_status to get a sane
255 error message; return AUTH_{CONTINUE,ERROR}, where appropriate
257 * ftp/krb4.c: return AUTH_{CONTINUE,ERROR}, where appropriate
259 * ftp/security.c (sec_login): if mechanism returns AUTH_CONTINUE,
260 just continue with the next mechanism, this fixes the case of
261 having GSSAPI fail because of non-existant of expired tickets
263 * ftp/security.h: add AUTH_{OK,CONTINUE,ERROR}
265 Thu Apr 1 16:59:04 1999 Johan Danielsson <joda@hella.pdc.kth.se>
267 * ftpd/Makefile.am: don't run check-local
269 * ftp/Makefile.am: don't run check-local
271 Mon Mar 22 22:15:18 1999 Assar Westerlund <assar@sics.se>
273 * ftpd/ftpd.c (pass): fall-back for KRB_VERIFY_SECURE
275 * ftpd/ftpd.c (pass): 1 -> KRB_VERIFY_SECURE
277 Thu Mar 18 12:07:09 1999 Johan Danielsson <joda@hella.pdc.kth.se>
279 * ftpd/Makefile.am: clean ftpcmd.c
281 * ftpd/ftpd_locl.h: remove krb5.h (breaks in ftpcmd.y)
283 * ftpd/ftpd.c: move include of krb5.h here
285 * ftpd/Makefile.am: include Makefile.am.common
287 * Makefile.am: include Makefile.am.common
289 * ftp/Makefile.am: include Makefile.am.common
291 * common/Makefile.am: include Makefile.am.common
293 Tue Mar 16 22:28:37 1999 Assar Westerlund <assar@sics.se>
295 * ftpd/ftpd_locl.h: add krb5.h to get heimdal_version
297 * ftpd/ftpd.c: krb_verify_user_multiple -> krb_verify_user
299 Thu Mar 11 14:54:59 1999 Johan Danielsson <joda@hella.pdc.kth.se>
301 * ftp/Makefile.in: WFLAGS
303 * ftp/ruserpass.c: add some if-braces
305 Wed Mar 10 20:02:55 1999 Johan Danielsson <joda@hella.pdc.kth.se>
307 * ftpd/ftpd_locl.h: remove ifdef HAVE_FNMATCH
309 Mon Mar 8 21:29:24 1999 Johan Danielsson <joda@hella.pdc.kth.se>
311 * ftpd/ftpd.c: re-add version in greeting message
313 Mon Mar 1 10:49:38 1999 Johan Danielsson <joda@hella.pdc.kth.se>
315 * ftpd/logwtmp.c: HAVE_UT_* -> HAVE_STRUCT_UTMP*_UT_*
317 Mon Feb 22 19:20:51 1999 Johan Danielsson <joda@hella.pdc.kth.se>
319 * common/Makefile.in: remove glob
321 Sat Feb 13 17:19:35 1999 Assar Westerlund <assar@sics.se>
323 * ftpd/ftpd.c (match): remove #ifdef HAVE_FNMATCH. We have a
324 fnmatch implementation in roken and therefore always have it.
326 * ftp/ftp.c (copy_stream): initialize `werr'
328 Wed Jan 13 23:52:57 1999 Assar Westerlund <assar@sics.se>
330 * ftpd/ftpcmd.y: moved all check_login and check_login_no_guest to
331 the end of the rules to ensure we don't generate several
332 (independent) error messages. once again, having a yacc-grammar
333 for FTP with embedded actions doesn't strike me as the most
334 optimal way of doing it.
336 Tue Dec 1 14:44:29 1998 Johan Danielsson <joda@hella.pdc.kth.se>
338 * ftpd/Makefile.am: link with extra libs for aix
340 Sun Nov 22 10:28:20 1998 Assar Westerlund <assar@sics.se>
342 * ftpd/ftpd.c (retrying): support on-the-fly decompression
344 * ftpd/Makefile.in (WFLAGS): set
346 * ftp/ruserpass.c (guess_domain): new function
349 * common/Makefile.in (WFLAGS): set
351 * Makefile.in (WFLAGS): set
353 Sat Nov 21 23:13:03 1998 Assar Westerlund <assar@sics.se>
355 * ftp/security.c: some more type correctness.
357 * ftp/gssapi.c (gss_adat): more braces to shut up warnings
359 Wed Nov 18 21:47:55 1998 Assar Westerlund <assar@sics.se>
361 * ftp/main.c (main): new option `-p' for enable passive mode.
363 Mon Nov 2 01:57:49 1998 Assar Westerlund <assar@sics.se>
365 * ftp/ftp.c (getreply): remove extra `break'
367 * ftp/gssapi.c (gss_auth): fixo typo(copyo?)
369 * ftp/security.c (sec_login): fix loop and return value
371 Tue Sep 1 16:56:42 1998 Johan Danielsson <joda@emma.pdc.kth.se>
373 * ftp/cmds.c (quote1): fix % quoting bug
375 Fri Aug 14 17:10:06 1998 Johan Danielsson <joda@emma.pdc.kth.se>
377 * ftp/krb4.c: krb_put_int -> KRB_PUT_INT
379 Tue Jun 30 18:07:15 1998 Assar Westerlund <assar@sics.se>
381 * ftp/security.c (auth): free `app_data'
382 (sec_end): only destroy if it was initialized
384 Tue Jun 9 21:01:59 1998 Johan Danielsson <joda@emma.pdc.kth.se>
386 * ftp/krb4.c: pass client address to krb_rd_req
388 Sat May 16 00:02:07 1998 Assar Westerlund <assar@sics.se>
390 * ftpd/Makefile.am: link with DBLIB
392 Tue May 12 14:15:32 1998 Johan Danielsson <joda@emma.pdc.kth.se>
394 * ftp/gssapi.c: Save client name for userok().
396 * ftpd/gss_userok.c: Userok for gssapi.
398 Fri May 1 07:15:01 1998 Assar Westerlund <assar@sics.se>
400 * ftp/ftp.c: unifdef -DHAVE_H_ERRNO
402 Fri Mar 27 00:46:07 1998 Johan Danielsson <joda@emma.pdc.kth.se>
404 * Make compile w/o krb4.
406 Thu Mar 26 03:49:12 1998 Johan Danielsson <joda@emma.pdc.kth.se>
408 * ftp/*, ftpd/*: Changes for new framework.
410 * ftp/gssapi.c: GSS-API backend for the new security framework.
412 * ftp/krb4.c: Updated for new framework.
414 * ftp/security.{c,h}: New unified security framework.