RSS

(root)/fsp/fsp : /ChangeLog (revision 378)

To get this branch, use:
bzr branch /bzr/fsp/fsp
Line Revision Contents
1 375
Version NEXT
2
3 373
Version 2.8.1b29 - 24 Aug 2019
4 361
        added scons command line argument without-fspscan=yes for building
5
	  without fspscan
6 364
	do not install shell scripts if no clients are installed
7 366
	support for user supplied examplesdir
8 368
	display pidfile name in case we can not write to it
9
	add error exit 8 if we can't write pid file
10 370
	RPM packaging of fspd
11 373
	packaging files added to source code repo
12 357
Version 2.8.1b28 - 16 Aug 2019
13 345
	Pull scons site Python 3 fixed from fsplib and fspclient projects
14 352
	More scons with python 3 build fixes
15
	contrib/fspscan fdclose() name conflict
16 370
	Gentoo packaging of fspd
17 341
Version 2.8.1b27 - 9 Sep 2014
18 311
	fhostcmd: Fixed output of FSP_TRACE variable for Bourne style shells
19 321
	correctly initialize to zero client packet sent statistic counter
20 313
	note default timeout values in fsp_env man page
21 314
	setting environment value FSP_TIMEOUT to <=0 uses 4byte maxint value
22 315
	note default fspd max packet size in fsp_env man page
23 316
	fix build on systems with utmpx.h API (FreeBSD 9)
24 321
	fspscan: do not shadow host variable
25
	fspscan: fix clang warning about empty for cycle body by placing
26
	  semicolon on separate line
27 328
	FAQ: Cleaned lot of SGML markup errors
28
	Do not use sgmlformat, call jade directly
29 338
	correctly zero entire sockaddr_in structure during name resolving,
30 341
	  error found by Clang.
31 340
	allow docbook dsssl stylesheets to be specified at scons command line
32
	always validate path in SETPRO and MKDIR even if packet is resent and
33
	  no action will be taken. This is needed to avoid uninitialised
34
	  pointer access during reply. Found by Clang.
35 311
36 305
Version 2.8.1b26 - 1 Oct 2009
37 262
	fver now reports if server can process extra data in input packets.
38
	  fspclient did that for a long time. This field is used by fspd
39
	  2.8.1 beta 21 or newer.
40 263
	Server version string sent as response to CC_VERSION command have
41
	  no longer \n appended to it. Old FSP used it but fver client
42
	  command can handle server strings without \n for quite a long
43
	  time, so i decided to remove it. It is bad idea to terminate
44
	  version strings by \n while it is not required by FSP protocol.
45 267
	glob() function used in FSP clients renamed to bsdglob because it
46 321
	  clashed with glob() function in newer Linux glibc resulting in
47 267
          segfaults.
48 271
	non continuous upload detection fixed. Now detection works as follows:
49
	  if you are trying to upload past end of file, fspd will report that
50
	  you are trying to create hole in file.
51
	  if you are seeking backwards more than 1 packet size fspd will
52
	  report noncontinuous upload. Most likely port from old unfinished
53
	  download was reused.
54
	We can now reupload last block which can happen if fspd server is
55
	  restarted and reply to upload command is lost on way from server
56
	  to client.
57 272
	Check for overwriting uploaded files in fspd was reversed by mistake.
58
	  Now if you want to overwrite file you must have permission for
59
	  deleting and adding files or be directory owner.
60 274
	Turning on debug in SCons turns on maintainer mode also.
61 275
	Upload starting at zero position are now always allowed no matter if
62
	  source port was reused or not. Old code did that but not over
63
	  server restarts.
64 284
	INFO file updated with fresh information
65 289
	fsetupcmd and fhostcmd now reject port number > 65535
66 284
	fsetupcmd - code cleaned a bit. Error message is now
67
	  fsetup: No host given! instead of fhost:
68 285
	fsetupcmd got -l option. It lists all known fsp servers collected
69
	  from .fspsites files.
70 286
	fpwd command from setup.sh now prints site name instead of ip
71
	  address if possible.
72 287
	SCons now check if CC compiler works. We need SCons 1.1 or greater
73 292
	  for building FSP now.
74
	Large file support on Linux is now correctly detected.
75 293
	Error codes added to CC_ERR command in PROTOCOL. It was long wished
76
	  feature from ISV. Now there is standard way how to pass error codes
77
	  from server to client. No such codes are defined yet, but you can
78
	  use custom error codes in range 0xF000 - 0xFFFF. because no such
79
	  codes are defined fspd do not sends them in error message, but it
80
	  now correctly zeroes bb_pos field in CC_ERR reply to indicate
81
	  that extended error code status is not attached to message. Old
82
	  fspd versions left this field untouched - it will contain request
83
	  bb_pos in most, but not all cases. Because we indicate size of
84
	  extra data to be received, this extended error handling is
85
	  compatible with "plain FSP over serial" standard.
86 321
	Code portability improved. Now we don't need to check sizes of
87 301
	  predefined types because we are now using ISO C types. Only thing
88
	  what we need to know is if largefiles are supported or not.
89
	  If SCons cant run test program for sizing off_t for any reason,
90
	  it defaults to 4 (no largefiles, 32-bit system).
91 262
92 253
Version 2.8.1b25 - 10 Sep 2009
93 255
	GNU autotools build system was entirely replaced by SCons
94 141
	corrected misleading comment in client/lib.c
95 321
	default packetsize changed to do best fit into maximum 1500 MTU
96 144
	  Ethernet frame = 1460. This is needed for speedup the booting of
97 244
	  Etherboot clients
98 142
	PROTOCOL: when computing checksum declare *t as unsigned char * type
99 144
	changed typo setguid -> setgid in fspd.conf
100
	fspd.conf: added note that only numeric uid values works
101
	fspd.conf: added more information about packetsize
102
	fspd.1: updated information about packetsize
103
	fspd.conf: repaired some spelling errors by ispell
104 147
	MTU changed from 1500 to 1492 for better operation on pppOE networks
105
	Max payload changed from 4096 to 4380 bytes (3 packets)
106
	fspd: command line argument now overrides config file
107 158
	updated year in copyright
108 149
	fsetup command added to setup.sh
109
	fsetup command added to setup.csh
110 151
	fcd: remove trailing \r\n from readme file
111
	fcd: do not print empty line after directory protection
112 153
	fsetupcmd: don't crash if called with numeric address
113 321
	fspscan: committed fix by Yang Hong
114 158
	SCONS: turning on maintainer-mode links against efence (if possible)
115
	  same thing like ./configure do
116 321
	fix compilation on systems without large files
117 255
	cygwin support disabled. we cant detect it from SCons yet
118 321
	frmdir works now. It didn't worked due to adding new access rights
119 244
	  DIR_NOLIST and DIR_NOGET
120 222
	MACHINES updated. Builds confirmed on Ubuntu 8.04.3,
121
	  FreeBSD 6.4 and FreeBSD 7.2
122 244
	fsetupcmd added to fspmerge client
123
	SCons can now build SGML FSP FAQ if sgmlfmt is found during build
124
	  process
125 254
        fspmerge now prints short help text if it is invoked as fspmerge
126 260
	FILES is up to date now
127 141
128 140
Version 2.8.1b24 - 19 Feb 2005
129 136
	use getopt from stdio.h instead of getopt.h in fspscan.c
130 130
	  fspscan now compiles on AIX and other OS without glibc (hoaxter)
131 132
	!! fixed fatal bug from b23. Server sends large packets to clients if
132 321
	  client request has not preferred reply size inside. This confuses
133 132
	  all old fsp clients.
134 136
	common/strdup.c removed
135 132
	bsd_src/function.c bcopy -> memmove
136
	removed STDC_HEADER checks, drop support for pre-ANSI compilers
137
	started work on alternate SCons based build system
138 136
	fspd: use urandom, not random -> avoid hangs on Lin suck 2.6
139 137
	build system converted to SCons
140 140
	!! fixed directory listing bug in client library introduced in beta23
141
	improvements to security of FSP clients
142
	  seq. numbers are now randomized
143
	  seed random number generator in fsp clients
144
	  check cmd in received packets
145
	  check pos in received packets
146 132
147 129
Version 2.8.1b23 - 14 Jan 2005
148 124
	use srandomdev for seeding of client seq. number generator
149
	make dirlister smarter - save one RTT per each directory listings
150
	Locking uses unsigned int sized key, not unsigned short
151
	Locking type can be specified by ./configure --with-locking=
152
	Lock prefix can be specified by ./configure --with-lockprefix=
153
	All 5 locking subsystems synced against fsplib and fspclient code base
154 321
	Do not use CC_STAT when doing directory listing -- performance gain.
155 124
	  This saves 1 RTT per directory listing.
156
	clients: do not send CC_BYE to the server on exit if we can keep server
157
	  key for next invocation. Saves 1 RTT.
158
	!! Major client utils speedup: Directory listings are now 3 RTT
159
	  times faster.
160
	fmvcmd added to merged client
161
	new command fbye(1). Sends CC_BYE to the server and possibly removes
162
	 cached session key.
163
	fbye added to merged client
164
	PROTOCOL: Add note about client key multiplexing
165
	we have incorrectly recovered requested size of reply packet sent
166
	  by client
167 321
	!! LARGE PACKET SUPPORT !! FSP can be quite Fast now.
168 124
	fver -l displays maximum packet size supported by client
169
	fsp_env.7: added info about larger packets
170
	send_file function renamed to serve_file for avoiding name clash
171
	  on AIX.
172 321
	idle resend multiplier decreased from 1.5 to 1.33
173 125
	correctly init first sequence number
174
	sequence numbering changed to allow up to 8 packets flying in the
175
	  network. Old code uses 4. Even CZFREE.net do not drops 8 packets
176
	  in row unless line is down.
177 321
	allow better debugging of retry alg.
178
	Default max packetsize supported by server set by 1200 bytes for
179 125
	  now. Let's make some experiments.
180
	Calculate real RTT using seq. numbers
181
	ignore HUP signal in fgetcmd and fputcmd
182
	ignore HUP signal in fcatcmd if stdout is not a terminal
183
	fspd.1: minor fixes
184
	!! retry alg. retuned for lines with higher PLR. It is much better
185
	  than before.
186
	use srandomdev() for seeding server random generator
187
	FAQ: added section about key locking, dmachine, FSP stack libraries,
188
	  lamah FSP Win32 suite.
189
	print packet stats after up/downloads if client tracing is enabled.
190 126
	fbye: lower timeout to 10 sec on CC_BYE
191
	FAQ: Added two section making FSP slower/faster, version bumped
192
	  to 0.2
193
	do not use exit code -1 in fspscan
194 127
	LAMAH fspd: improve some error messages, run on port 80 by default
195
	Changed all exit() calls to use standard EX_* values. Some utilities
196
	  still do not returns error exit when they should.
197
	fhostcmd: split host managing functions into fhost.c
198
	fhost.c: do not output partial results when dns resolving fails  
199
	fhost.c: fallback to other display method (host/ip name) on
200
	  resolving failure
201
	common lib: When doing addr resolving turn port 0 into 21.
202
	fhostcmd: ignore servers without port number set
203
	new command fsetup: C rewrite of old Perl script. This command is
204
	  like fhostcmd but uses standard fspsites file format
205 129
	man: new manpage for fspsites.5
206
	merged client: added support for fbye
207
	added man page fstat.1 -> fstatcmd.1
208
	added man page for fmvcmd.1
209
	removed -Wconversion GCC compile option
210
	setup.sh give Sven credits for fgetcmd
211
	added man page for fsetup.1
212
	fhostcmd, fsetupcmd - report error on non numeric on zero port number
213
	fspsites.l - allow multiple aliases per site. Non standard, but nice.
214 124
215 123
Version 2.8.1b22 - 20 Dec 2004
216 116
	fixed sf bug 1060594: fspd: owner can't rename files
217 117
	fixed sf bug 1060558: fpro 'l' sets 'm' flag instead (dairiki)
218 116
	fixed sf bug 1060558: fpro 'l' flag was not correctly saved
219
	  into filesystem
220 117
	fixed sf bug 1060555: fix for 64-bit systems (dairiki)
221 116
	fmvcmd: do not send trailing junk to the server
222 114
	print key=, seq= in fspd debugs with fixed width for easy reading
223
	added BUGS and HISTORY sections to fspscan.1 manual page
224
	Lamerpack: disable most of command line options in fspd and print
225
	  simpler help message.
226 118
	server_install: zero length filename cancels upload in progress
227 119
	  this change is needed for upcoming gftp/fsplib support.
228 120
	PROTOCOL: CC_INSTALL command:
229
	  document zero length filename
230
	  use request position for sizing of extra data.
231
	PROTOCOL: CC_SET_PRO command:
232
	  use request position for sizing of extra data.
233
	fprocmd: do not send \0 terminated ACL change string  
234
	  use request position for sizing of extra data.
235
	autogen.sh: Prefer automake19 on FreeBSD platform
236
	fprocmd now works without directory name supplied on command line.
237
	  directory from environment is used instead
238
	fput: use request position for sizing of extra (timestamp) data.
239
	  use new upload cancel feature on user abort/kill.
240 121
	fspd: default inetd timeout increased to 5 minutes.
241
	udpio: Do not set reuse flag when binding socket
242
	nicer help from configure --help
243
	!! configure option --disable-timeout for disabling timeout code
244
	  in client util. This will switch clients into classic FSP
245
	  infinite retry mode.
246
	some shell portability fixes in configure.ac shell tests
247
	cleaned outdated information from INSTALL file
248
	fcdcmd: do not print password to standard output. really
249
	  support cd into password protected root directory
250
	!! Protocol Wire definiton of rename command has changed
251
	PROTOCOL: CC_RENAME updated
252
	fmvcmd,fspd: now supports this new definition.
253
	fmvcmd: do not sent bye packet to server on bad command line arguments
254
	client locking subsystem: do not report errors on deleting shm segment
255
	!! shmem+semop client-side locking method added. This should solve all
256
	  problems with shmem+lockf locks.
257
	autogen.sh updated for FreeBSD-5 + automake 1.9
258
	lamerguide: added section on upload area setup.
259
	sgml faq: added inetd fspd install
260
	sgml faq: client commands updated, added more fspd info
261
	fspd: default dirlistcache increased to 100
262
	fspd: default fp cache increased to 20 and moved into server_conf.h
263
	fget/grab cmd: better -h help
264
	fput: add help on -p option
265
	fmv alias added to both setup.c?sh scripts
266
	fspd: logging of RENAME command fixed
267
	fspd.conf: logging of stat and rename added to comments.
268
	FILES: file somewhat updated
269
	sgml fsp faq released as version 0.1, first public version
270 123
	new locking semop code compiles on Linux systems also.
271 114
272 119
Version 2.8.1b21 - 1 Nov 2004
273 113
	check for errors while copying files in fspd.
274
	removed all the PROTOX macros junk. Tools for analyzing C source
275
	  code works with fsp codebase now as result.
276
	added rename command
277
	add fmvcmd client for renaming files
278
	reorder some checks in configure.ac
279
	added one testcase to the path test suite
280 321
	client library did not sent any passwords to server
281 113
	util_abs_path now appends \npassword to full path
282
	server do not send correctly \0 terminated directory readmes
283
	PROTOCOL: Added information about optionally large sized packets,
284
	  transport and information about FSP project URL.
285
	PROTOCOL: checked/repaired by ispell :)
286
	PROTOCOL: added more details about packet checksuming.
287
	Lamerpack: removed port 21 from list of recommended ports.
288
	Lamerpack: avoid easy detection by lamers by disabling ver command
289
	do not print password to stdout in fcdcmd
290
	PROTOCOL: Add note to clients writers that two replies from server
291
	  can contain extra data even if server is not able to handle extra
292
	  data packets on input.
293
	FreeBSD needs /usr/local/lib in LDFLAGS to make Electric Fence
294
	  correctly detected by autotools
295
	PROTOCOL: define 5th bit in version flags - support for xtra data
296
	  on input
297
	server.c: send accept xtra data flag set
298
	fver: print difference between max. supported payload and
299
	  preffered payload size
300
	when directory has no readme, do not send any regular data block
301
	  at all. Previous versions sends one null byte
302
	printpro.c - print readme only if nonzero sized
303
304 119
Version 2.8.1b20 - 26 Oct 2004
305 101
	Added pidfile.[c|h] from FreeBSD and modified it to fit in (hoaxter)
306 105
	Added pidfile support, config option is 'pidlogname' (hoaxter)
307
	Replaced .file information from INSTALL with a hint to man 1 fspd (hoaxter)
308
	PROTOCOL: Added security section, fixed method of computing of checksums        fspd: unlink filecache.c from build
309
	conf: commented dangerours settings for win32 platform which can
310
	  cause data loss when fspd.conf is reused on win32 without editing.
311
	  Defaults are detected at build time.
312
	fspd: allow to run without pidfile set.  
313
	added autogen.sh for regenerating of autoconf on FreeBSD which needs
314
	  to set some env. variables unless --enable-maintainer-mode do
315
	  not works.
316
	do not free pidfile name on failure
317
	changelog reformated: each entry begins with tab/not spaces.
318
	  continuation line has 2 chars leading space
319
	removed trailing spaces from all sources and headers
320
	tests: run random test 2000 times by default
321
	random generator switched to simple2. Better results on both
322
	  freebsd and linux systems.
323
	added maximum supported packet size to output of CC_VER command
324
	fspd: -b command line switch for bandwidth limiting
325
	PROTOCOL: Added compatibility section to some commands
326
	Default timeout increased from 180 to 360 seconds.
327
	clients: apply delay timeout also when starting transfer
328
	clients: added env. variable FSP_MAXDELAY for fine-tuning resends
329
	DEFAULT_MAXDELAY added to source code
330
	FSP_TIMEOUT is total number of seconds, not retry count.
331
	clients: try to resend packet on less fatal error (network down or so)
332
	remove clients lock files after sending BYE. code merged from fspclient.
333
	  threre is an race condition: After client unlinks lock file and other
334
	  clients still runs new client will create new lock file which will
335
	  not share secret key with other clients. New client can't communicate
336
	  with server until other clients terminates. 
337
	man: we did not install fsp_env.7 manpage
338
	allow home directory not starting with /
339
	allow uploads only on file border
340
	up/down speed is in B/s, not b/s.
341
	client tracing improved:
342
	  H - not enough bytes for header
343
	  C - wrong checksum
344
	  S - wrong seq. number
345
	  T - truncated
346
	  R - First resend
347
	  I - Idle  resend
348
	client: use random starting seq. number - better for avoiding
349
	  seq. number clash with another client
350
	fixed compiler warning on BB_READ4(const char *);
351 110
	PROTOCOL: Added more information about directory blocks
352
	Add pidfile.h to distribution
353
	default FSP_DIR to / if not set
354
	improved Sven's fsp-faq.sgml
355
	Added local bind port support for server
356
	added FSP_LOCALIP env variable for clients
357
	--enable-lamerpack == build specialy tuned fspd for lamers
358
	lamerz guide added
359
	text rotate tool added
360 105
361 120
Version 2.8.1b19 - 11 Jan 2004
362 83
	sven has added fspget URL command to setup.sh.
363
	fixed case for mklargefile.py in tests/Makefile.am
364 88
	added --enable-debug switch to configure for enabling extra
365 105
	  debuging code in client library
366 89
	fsp/fifocache.c changed malloc.h to stdlib.h -> allow compile on
367 105
	  freebsd
368 89
	do not use ${RM} in clients/Makefile.am -> allow compile with bsd make
369 83
370 81
Version 2.8.1b18 - 25 Nov 24 2003
371 105
	This is MINIMUM REQUIRED VERSION for applications which are using
372
	  javafsp library, only download machine atm. Javafsp library will
373
	  be released shortly as separate package.
374
	PROTOCOL updated. Made rules about breaking directory header on
375
	  packet boundary more clear. Previous text was from fspd code comment
376
	  and was bad.
377 78
	fixed tests/mklargefile.py
378
	log uploads to wuftpd logfile also
379
	PROTOCOL file updated. Added required commands section.
380
	PROTOCOL file updated. Added recommended delay management section.
381
	default delay in clients adjusted from 1.5 to 1.34 sec as recommended
382 105
	  in PROTOCOL
383 78
	support for MIN_DELAY, MAX_DELAY and DEFAULT_DELAY in source
384
	path parsing moved to separate file server/path.c
385 80
	new test tool parsecheck for testing server path parser
386 78
	reworked parse path: separate error messages for high bit chars,
387 105
	  control chars
388 80
	MAJOR BUGFIX: path with trailing / or starting / is now parsed correctly
389 78
	pathes with dot after slash are now detected at parse level (side
390 105
	  effect of prev. fix, fixed security prob)
391 78
	tests moved from server/ into tests/ directory
392 79
	removed special test case for root directory in path.c -> use more
393 105
	  general alg. instead. This fixed "/" dir.
394 80
	parsecheck turned into test suite with hard coded test results
395
	parsecheck added to 'make check' 
396
	support for multiple \n in filename - in future there will be
397 105
	  used for symlinks.
398 81
	random generator changed to one recommended by Jiann-Ming Su.
399
	new test program tests/randomcheck.c - tests random number generators.
400 105
401 77
Version 2.8.1b17 -- 17 Nov 2003 
402 76
	Allow filenames with spaces inside
403
	check for fork() and setsid() in configure.ac
404 77
	wu-ftpd compatible `xferlog` -- usernames are not supported, all
405
	  transfers are logged as anonymous
406
	flex output is included in the distribution archive, you do not
407
	need flex to build fsp
408
	MACHINES file updated
409
410 75
Version 2.8.1b16 -- 8 Nov 2003 
411
	This version fixes 2 major bugs in beta 15 release.
412 67
	fspd: update mtime for directory listing after .FSP_CONTENT write
413
	flscmd: do not list file size > 2GB as negative, same for block count
414
	fspscan: install it when doing make install
415
	fspd: -l logfile switch
416 75
	fixed crash when logfile is in use. (from betat15)
417 70
	fixed memory leak in client/util.c:get_dir_blk
418
	fixed memory leak in client/util.c:open_dir
419 75
	fixed error from 2.8.1b15 in util_stat which brokes recursive
420 105
	  directory listings
421 75
	do not delete partial file on FSP timeout in fgetcmd
422 67
423
Version 2.8.1b15 -- 15 Oct 2003 
424 105
	Sven writes manpage for fspscan.1
425 67
	junked concept of private directory, now directory has flag
426 105
	  +g - public can get files
427 67
	dir_priv -> dir_get
428
	fprocmd flags changed +p -> -g (incompatible change in protocol)
429
	fgetprocmd works in private directories. There are no more
430 105
	  private.
431 67
	.FSP_PRIVATE -> .FSP_NO_GET for avoiding user confusion because
432 105
	  i have axed marking directories as private in beta6
433 67
	fixed off-by-one error in getpro cmd
434
	fsetpro cmd shows command syntax on error
435
	fspd: do not save readme files to disk (avoids truncation them
436 105
	  to 1k)
437 67
	fspd: fixed reply for makedir command (size of reply block was
438 105
	  not included)
439
	fspd: getdirlisting checks for seek offsets (do not allow send partial
440
	  packets of dir listings)
441
	Done item from my 1997 fsp wishlist: check 4 rights before
442 67
	  uploading!
443
	fver command can be disabled on server -- protection against FSP
444 105
	  detectors.
445 67
	fspscan: end port -e switch
446
	configure.ac add check for compiler warning options
447
	removed multiple definition of process from bsd_src/find.c and
448
	  ffindcmd.c 
449
	cleaned some warnings in bsd_src/
450
	cleaned some warnings in server/
451
	configure: do not use -O when in maint. mode
452
	client library: do not integer overflow when downloading largefile
453
	client library: detect out of diskspace
454
	fver: print HOST_LOOKUP status
455
	fver: print CLIENT_TIMEOUT status
456
	fhostcmd: use $HOME if no passwd entry is found
457
	fsp_prof: allow `machine` to be alias for `host`
458
	fsp_prof: made `fsp` in `fsp port` optional
459
	fsp_prof: made `fsp` in `fsp directory' optional
460
	fhostcmd has now parser written in flex, should be less brain
461 105
	  damaged and more stable
462 67
	fhostcmd: searching can now match full hostname or alias, not
463
	  a subpart of hostname or alias.
464
	fhostcmd: added -? switch
465
	fhostcmd: merges infos from all available configuration files
466
	  (cmdline,curdir,userhome,system)
467
	mklargefile moved from contrib/ to test/
468
	mklargefile: use LFS from fsp
469
	mklargefile: refuse to create >2GB files on non LFS-enables OSes.
470
	do not use echo -e when building fspmerge client
471
	updated manpages for fhostcmd.1 and fsp_prof.5
472
	fspd: really reuse cached directory listings. Forgot to update
473 105
	  mtime after loading and they were loaded for every dirlisting
474
	  packet.
475
	client library: do not use CC_STAT when building a directory listing.
476
	  fix in beta14 do not fixed the problem when working in non root
477
	  directory.
478 67
479
Version 2.8.1b14 -- 22 Sep 2003
480 105
	Sven fixed bash shell script
481 67
	fspd: list files over 4GB as 4GB in directory listings
482
	fspd: do not allow seeking over 2GB when OS is not LFS friendly
483
	fspd: print command names instead of numbers in debug mode
484
	added new program fspscan.c to package. Well known fsp port scanner
485 105
	  made in 1992. Paranoid people calls this program fsp exploit.
486 67
	added new SGML FSP FAQ made by Sven
487
	fspd: debug messages are printed to stderr
488
	PROTOCOL: added talking about timeouts
489
	fcatcmd: removed debug messages
490 105
	!!dirlist cache hit ratio is bad - something overwrites that!!
491
	!!only happens when compiled without EFENCE??
492
	  fixed by fifocache malloc -> calloc
493 67
	fspd: return 'is a directory' when trying to download directory
494 105
	client library: do not use CC_STAT when building a directory listing
495
	  PLEASE!!! It is S l o w. Fixed: Performance of flscmd -l is now
496
	  back to the normal speed. EnJoy!
497 67
	fstatcmd: print dates in ISO format, avoid tabs in output
498
	fspd: support for long local directory names > 1024 but < 2048
499 105
	fixed SECURITY prob: stat can stat any file (even out of FSP root!) 
500 67
	added support for fstat to both shell scripts
501
	fifocache.c support for memory profiler functions
502
	fifocache.c supports nice memory stats
503
	do not limit filecache to 64 max. Default to 10
504
	cache stats are dumped to dumpfile also on SIGUSR1
505
506
Version 2.8.1b13 -- 10 Sep 2003
507 105
	fver: reports if timestamping is supported
508 67
	CC_VER: now reports fspd + version + \n
509
	Hanno Hecker help us port shell script from CSH to BASH
510
	large file support activated in configure
511
	example.conf -> fspd.conf
512
	added contrib/mklargefile.c program for creating a large file  with
513 105
	  hole
514 67
	fver -l reports max file size supported and LFS mode
515
	server detects i/o errors when uploading (out of diskspace)
516
	4GB-1 files should work from server p. of view if LFS is on
517
	fspd -F runs in foreground, for broken startup scripts
518
	random port for fspd (-p 65535) important for keeping lamers out of
519 105
	  your warez site.
520 67
	changed exit codes for server, for easy debuging
521
	manual page for fspd updated - exit codes added
522
	PROTOCOL: added support for timestamping on uploads
523
	fspd: added support for timestamping on uploads
524
	fspd: -T switch for setting temporary directory for uploads
525
	fput.c: added support for timestamping uploads
526
	fcdcmd supports new permisions also
527 105
	fput - made timestamping optional -p option
528
	correct stats dumping - now dumpfile is used (really)
529 67
	inetd mode now works!
530
	updated INFO document
531
	moved faq, history and protocol to a new doc subdirectory
532
	turning off timestamping in fput
533
534
Version 2.8.1b12 -- 3 Sep 2003
535
	port setting in config file works
536
	manual page for fprocmd updated
537
	fstatcmd now uses remote wildcard expansion like rest of fsp
538 105
	merged fgetcmd and fgrabcmd commands
539 67
	merged patch Geoffrey T. Dairiki. Server records new keyid from client
540 105
	  when serving session timeout.
541 67
	updated Bash version of CSH setup script, but still do not works
542
	NEW FEATURE: fget/fgrab can now set file timestamps to remote date
543 105
	  When I have first used FSP in 1996 - I wanted this option.
544 67
	Cygwin has now different builtin defaults
545
	modified man page for fgetcmd - after 10 years! same goes for
546 105
	  fgrabcmd
547
	default mode of fget/grab changed to unique fnames. Should I
548
	  change it to noclober?
549 67
	fget/grab has now -h help
550
551
Version 2.8.1b11 -- 27 Aug 2003
552
	do not use pointer arith. on void * 
553
	use const char * where working with constant strings
554
	stat type log switch
555
	new command FSP_STAT (not tested)
556
	some code cleanup in client/ and common/ directories, warnings
557 105
	  removed.
558 67
	PROTOCOL definition updated (stat and rename commands added)
559
	auto_del.csh script added to server directory (untested)
560
	return only file or directory objects in dir listing and stat command.
561
	documented command FSP_RENAME (not yet implemented w.i.p)
562
	server has -? and -h options
563
	new command fstatcmd (no manpage yet)
564
	fixed main arg count in merged fsp client
565 105
	client library now uses a new command FSP_STAT if server supports it
566
	fprocmd without args displays directory name instead of .
567 67
	fprocmd now supports 2.8.1bXX extented access rights
568
569
Version 2.8.1b10 -- 21 Jul 2003
570
	fixed sever command line arguments handling
571
	removed -Wconversion from debug gcc switches
572
	MAJOR BUGFIX: can CD to more than 1 level deep
573
	changes init order in server/main.c so we can see error messages
574 105
	  during server startup
575
576 67
Version 2.8.1b9 -- 19 Jul 2003
577 105
	missing tmpdir switches fspd to read-only mode (really!)
578
	daemonize is on by default
579
	added port to default cnf file for fspd
580
	check for -lefence in configure script
581
	check for sys/syslimits.h - needed for cygwin
582
	default port is 21 in conf.c
583
	FIXED BUG when server root != file system root
584
	Now compiles and runs on cygwin
585
	do not use -1 exit code in server/main.c
586
	server now tries to create tmpdirectory on startup
587
	fspd: allow command line overide even when -f is used
588
589 67
Version 2.8.1b8 -- 17 Jul 2003
590 105
	new cfg switch: setgid
591
	use /dev/random for seeding a random number generator
592
	new cfg switches: umask and serverumask (octal value). Umask
593
	  for creating server files
594
	fixed compilation on GCC < 3.0
595
	fixed check for maintainer_mode in server/Makefile.am and
596
	  clients/Makefile.am
597
	fhostcmd: check for $SHELL if we have csh-like shell
598
	fhostcmd: options -c or -b to force C or Bourne shell syntax
599
	server tables dump signal changed from alarm -> sigusr1
600
	new cfg switch: dumpname for dumping runtime stats
601
	clean server shutdown on sigint, sigterm
602
	new cfg switch: grabcommand on/off
603
	env. vars removed from individual manual pages and moved to a New
604
	  manpage fsp_env 7.
605
	updated PROTOCOL definition of FSP. Fixed some bugs, added method
606
	  of packet checksum.
607
	updated example configuration file for server
608
	removed all prints when debug is not on
609
	updated FILES section in fspd manpage
610 67
611
Version 2.8.1b7 -- 13 Jul 2003
612 105
	do not sent zero length blocks if client asks for them
613
	filecache.c nuked
614
	new cfg statement tmpdir for placing files during upload
615
	all server code (except host.c) rewriting complete.
616 67
617
Version 2.8.1b6 -- 2 Jul 2003
618 105
	configuration file was not closed after reading (found by valgrind)
619
	link against Eletric Fence only in maintainer mode
620
	compile server/cachecheck only in maintainer mode
621
	removed long files check and support for code. FSP has maximum path
622
	about 1024; it is no need to check if file can be longer than 14 chars
623
	use config.guess for guessing OS type.
624
	simplified configure.ac
625
	up to date BETA.README 
626
	MACHINES file lives again
627
	allow files starting with \ in directory listing
628
	directory content is builded correctly on systems with pragma pack > 1
629
	fixed another bug in generating of directory listing which violates FSP
630
	  protocol definiton (but worked in current code anyway)
631
	use extern only in header files
632
	key was not initialised when using shmem locking method
633
	default timeout for clients changed from 4 to 180 sec.
634
	removed option -r from fcatcmd
635
	init socket data in udp io and avoid using sin there (gcc builtin)
636
	server debug option changed from -d to -X
637
	server argument -d directory -> sets root directory
638
	server now runs also without configuration file!
639
	keys generated by server are now 16bit random, not 8bit random
640
	directory_cache nuked - it was uneffective and it has a file
641
	  descriptor leak!
642
	new cfg. use_prebuild_dirlists (load/save) content file
643
	new directory memory based cache engine works!
644
	new directory .FSP_CONTENT load/save engine works
645
	clear buffer before generating a directory listing (no information
646
	  leak)
647
	fixed buffer overflow (exploitable if file uploads was allowed).
648
	new cfg keyword statcache - size of dirstatcache
649
	new cfg keyword statcache_timeout - (sec)
650
	new cfg keyword use_access_files - boolean
651
	fixed bug when home directory was symlinked to somewhere
652
	removed remote FSP support from PPATH. It was never used in code.
653
	new cfg use_directory_mtime - boolean. For windows set it to NO.
654
	!!! NEW DIRECTORY STATE ENGINE CACHE !!!
655
	new .FSP_PASSWORD access file
656
	new .FSP_OWNER owner file (not yet implemented)
657
	resend of BYE command is also accepted, why not?
658
	no memory leaks in new code. Last leaks are in code which is going
659
	  to be rewrited
660
	!!! MAJOR PERFORMANCE SPEEDUP. Need only 1 syscal to serve a
661
	   packet (if everything is cached).
662
	do not list special files as directories
663
	added file COPYRIGHT
664
	speedup when loading access files
665
	min delay for clients was increased from  0.5s to 1.5s (packets
666
	  was are just thrown out by server for <3sec reply). Performance
667
	  tested on our WireLess network. Today only 65% packets loss!
668
	new configuration option homedir_restricted for following symlinks
669
	  out of home_directory
670
	if $test in configure changed to x$test
671
	ip range and IP parsing function moved out of host.c to iprange.c
672
	  host type must be specified (in config or in owner file)
673
	renamed cfg. bufsize -> packetsize
674
	use packetsize when generatin a directory listing. -> max packet size
675
	  management moved from user cfg. to server cfg.
676
	added support for readme files to new dirstat engine
677
	public directory list flag changed from negative to positive
678
	new cfg option permit_passwordless_owners
679
	NEW SECURITY ENGINE implemented
680
	fixed infinite loop in client library if server sends directory
681
	  in smaller blocks than expected.
682
	removed buffer overflow in log code (remote exploitable of course)
683
	  added new log switch 'readonly'
684
	fixed security hole in grab command
685
	rewrite log in packet processing (more readable)
686
	corrected handling of public rights in private directories
687
	detect if cached directory listings are out of date
688 67
689
Version 2.8.1b5 -- 25 June 2003
690 105
	configure.ac upgaded to autoconf 2.57 and cleaned
691
	added missing include headers to source code
692
	vms code nuked from rest of headers
693
	prefix is now used when finding configuration file
694
	check for max. number of open files and adjust open handle cache
695
	removed long file limit hack for FAT/VMS filesystems. Nonstandard and
696
	  unsecure.
697
	removed include/version.h - use autoconf instead
698
	added -V server option (display version)
699
	do not use dircache as upload cache. Uploads now works even without
700
	  dircache
701
	turn off cachedir when it do not exists
702
	better init of random number generator. It should be really random.
703
	fixed use of prebuild directory content and dircache
704
	turn off logging if no log file is set
705
	clean cache directory on startup
706
	merged security patch from Debian package fsp_2.81.b3-4, i have
707
	  fixed this problem in 2.8.1b4; but Debian code looks better.
708
	removed non standard NEED_ from configure.ac, use HAVE_
709
	fver displays locking method and used config. files.
710
	give lockf locking method priority over flock method
711
	fgetcmd and fgrabcmd now understands -c continue download
712
	fixed check for in.fspd
713
	we have called check_required_vars twice
714
	display copyright in fspd -V
715
	INFO document updated, fixed spelling errors, added section
716
	  FSP today
717
	added -t option for fspd; specifes timeout for inetd mode (or
718
	  when debug is on for normal more also)
719 67
720
Version 2.8.1b4 -- 30 March, 2001
721 161
---------------------------------------------------------------------------
722
New maintainer: Radim Kolar hsn/at/sendmail.cz  now maintains FSP codebase.
723
---------------------------------------------------------------------------
724 67
	1) Eliminated a lot of warnings when compiling with -Wall.
725
	2) Moved to autoconf 2.12. Replaced old m4 macros with Autoconf's.
726
	   All autoconf's values are cached.
727
	3) Makefiles are now generated by automake.
728
	4) include/tweak.h.in is generated by autoheader.
729
	5) Added faq.html.
730
	6) Server now writes more messages when in debug mode. Debug mode is
731
	   disabled when running in inetd mode. Daemonize is disabled when
732
	   running in debug mode.
733
	7) Server accepts command line switches -d (debug) -i (inetd) 
734
	   -v (version) -p <port> (Alternate port number). Uses now getopt.
735
	8) Server has now configurable timeouts, maximal packetsize,
736
	   directory and file handles caches.
737
	9) REMOVED VMS part vms/ and vms_src/. Is was out of date.
738 105
	10) Removed file MACHINES. It was out of date. After my changes in
739
	    autoconf, it may not compile on non-Linux systems.
740
	11) Implemented a check for reliable signals in the configure script.
741
	12) Return type of signal handler is detected in configure script.
742
	13) ANSI prototypes are now used, if host compiler supports them.
743
	14) When server is running in read-only mode, server send this
744
	     information to clients, instead generic "Permission denied".
745
	15) Access checking and uploading was fixed. Now works.

Loggerhead 1.18.1 is a web-based interface for Bazaar branches