*** empty log message ***

This commit is contained in:
hsn 2004-12-06 17:16:50 +00:00
parent 5495b36ac7
commit 2529dd51a5
4 changed files with 27 additions and 18 deletions

View File

@ -2,6 +2,7 @@ Makefile
Makefile.in Makefile.in
aclocal.m4 aclocal.m4
autom4te.cache autom4te.cache
config.h.in
compile compile
config.cache config.cache
config.guess config.guess

View File

@ -1,3 +1,4 @@
Version NEXT
fixed sf bug 1060594: fspd: owner can't rename files fixed sf bug 1060594: fspd: owner can't rename files
fixed sf bug 1060558: fpro 'l' sets 'm' flag instead (dairiki) fixed sf bug 1060558: fpro 'l' sets 'm' flag instead (dairiki)
fixed sf bug 1060558: fpro 'l' flag was not correctly saved fixed sf bug 1060558: fpro 'l' flag was not correctly saved
@ -9,9 +10,12 @@
Lamerpack: disable most of command line options in fspd and print Lamerpack: disable most of command line options in fspd and print
simpler help message. simpler help message.
server_install: zero length filename cancels upload in progress server_install: zero length filename cancels upload in progress
this change is needed for upcoming fsplib. this change is needed for upcoming gftp/fsplib support.
PROTOCOL: CC_INSTALL: document zero length filename, use request
position for sizing of extra data.
PROTOCOL: CC_SET_PRO: Use request position for sizing of extra data.
version 2.8.1b21 - 1 Nov 2004 Version 2.8.1b21 - 1 Nov 2004
check for errors while copying files in fspd. check for errors while copying files in fspd.
removed all the PROTOX macros junk. Tools for analyzing C source removed all the PROTOX macros junk. Tools for analyzing C source
code works with fsp codebase now as result. code works with fsp codebase now as result.
@ -43,7 +47,7 @@ version 2.8.1b21 - 1 Nov 2004
at all. Previous versions sends one null byte at all. Previous versions sends one null byte
printpro.c - print readme only if nonzero sized printpro.c - print readme only if nonzero sized
version 2.8.1b20 - 26 Oct 2004 Version 2.8.1b20 - 26 Oct 2004
Added pidfile.[c|h] from FreeBSD and modified it to fit in (hoaxter) Added pidfile.[c|h] from FreeBSD and modified it to fit in (hoaxter)
Added pidfile support, config option is 'pidlogname' (hoaxter) Added pidfile support, config option is 'pidlogname' (hoaxter)
Replaced .file information from INSTALL with a hint to man 1 fspd (hoaxter) Replaced .file information from INSTALL with a hint to man 1 fspd (hoaxter)
@ -100,7 +104,7 @@ version 2.8.1b20 - 26 Oct 2004
lamerz guide added lamerz guide added
text rotate tool added text rotate tool added
version 2.8.1b19 - 11 jan 2004 Version 2.8.1b19 - 11 jan 2004
sven has added fspget URL command to setup.sh. sven has added fspget URL command to setup.sh.
fixed case for mklargefile.py in tests/Makefile.am fixed case for mklargefile.py in tests/Makefile.am
added --enable-debug switch to configure for enabling extra added --enable-debug switch to configure for enabling extra

9
TODO
View File

@ -18,7 +18,7 @@ symlink to FILE can escape from FSP root directory. OLD known problem.
symlink support must be reworked before final release. symlink support must be reworked before final release.
PROTOCOL-RELATED BUGS: PROTOCOL-RELATED BUGS:
none add real,portable error codes support to CC_ERR extended data area.
PORTING PORTING
Sven's Slowaris 8 compile problem Sven's Slowaris 8 compile problem
@ -31,7 +31,7 @@ Client LIBRARY
:high: :high:
we should retune retry algoritm for better support lines with higher we should retune retry algoritm for better support lines with higher
packed loss. On common internet lines current one works okay. packed loss. On common internet lines current one works okay.
add more detailed stats from retry alg. add more detailed stats from retry alg.
:low: :low:
fver and others add support new syntax fsp://host:port/file fver and others add support new syntax fsp://host:port/file
add sem locking method, possible? add sem locking method, possible?
@ -42,10 +42,7 @@ better support for persistent keys - do not send cc_bye ? this should
be probably configurable be probably configurable
:long-term goals: :long-term goals:
:better to write a new code instead of fixing 10 yo crap. drop this library and use libfsp instead
=convert to multi threaded=
make setup from env a separate function
do not use global variables
CLIENTS CLIENTS
:high: :high:

View File

@ -1,8 +1,8 @@
FILE SERVICE PROTOCOL VERSION 2 FILE SERVICE PROTOCOL VERSION 2
FSP v2 FSP v2
Document version 0.14 Document version 0.15
Last updated 29 Nov 2004 Last updated 2 Dec 2004
Also known as Also known as
File Slurping Protocol, File Slurping Protocol,
@ -109,10 +109,9 @@ MESSAGE_CHECKSUM
Entire packet (HEADER + DATA + XTRA DATA) is checksummed. When computing a Entire packet (HEADER + DATA + XTRA DATA) is checksummed. When computing a
checksum use zero in place of MESSAGE_CHECKSUM header field. checksum use zero in place of MESSAGE_CHECKSUM header field.
Due to some unknown reason, method of computing checksums is different Method of computing checksums is different in each direction. For
in each direction. For packets traveling from server to client initial packets traveling from server to client initial checksum value is
checksum value is zero, otherwise it is HEADER + DATA + XTRA DATA zero, otherwise it is size of (HEADER + DATA + XTRA DATA).
size.
Checksums in server->client direction are computed as follows: Checksums in server->client direction are computed as follows:
@ -316,7 +315,7 @@ RDIRENT.HEADER types:
CC_INSTALL 0x44 - close and install file opened for writing CC_INSTALL 0x44 - close and install file opened for writing
request request
file position: not used file position: length of extra data
data: ASCIIZ filename data: ASCIIZ filename
xtra data: (not required) xtra data: (not required)
long - timestamp in Unix format long - timestamp in Unix format
@ -331,6 +330,11 @@ RDIRENT.HEADER types:
terminator) filename. This removes temporary data terminator) filename. This removes temporary data
created by upload. created by upload.
Compatibility
Upload cancel feature and sizing of extra data was
first used in fsp 2.8.1b22.
CC_DEL_FILE 0x45 - delete a file CC_DEL_FILE 0x45 - delete a file
request request
@ -388,7 +392,7 @@ RDIRENT.HEADER types:
CC_SET_PRO 0x48 - set directory protection CC_SET_PRO 0x48 - set directory protection
request request
file position: not used file position: size of extra data
data: ASCIIZ directory data: ASCIIZ directory
xtra data: 2 bytes of protection change command xtra data: 2 bytes of protection change command
1st byte: 1st byte:
@ -409,6 +413,9 @@ RDIRENT.HEADER types:
FSP versions older than 2.8.1 beta15 used p flag instead FSP versions older than 2.8.1 beta15 used p flag instead
g flag. +p = -g g flag. +p = -g
Sizing of extra data in request was added in
fsp2.8.1b22.
CC_MAKE_DIR 0x49 - create a directory CC_MAKE_DIR 0x49 - create a directory
request request