From 8b9df8a48bf571e784aa3c5f54d30ec5e8e4a63e Mon Sep 17 00:00:00 2001 From: hsn <> Date: Tue, 29 Mar 2005 20:24:23 +0000 Subject: [PATCH] *** empty log message *** --- ChangeLog | 7 ++++++- TODO | 3 +-- configure.ac | 1 + fspd.conf | 29 ++++++++++++++++------------- man/fspd.1 | 7 ++++--- 5 files changed, 28 insertions(+), 19 deletions(-) diff --git a/ChangeLog b/ChangeLog index d65a0b3..627e02a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,9 +2,14 @@ Version NEXT removed test for size of penis in configure.ac corrected misleading comment in client/lib.c default packetsize changed to do best fit into maximum 1500 mtu - Ethernet frame. This is needed for speedup the booting of + Ethernet frame = 1460. This is needed for speedup the booting of Etherboot clients. PROTOCOL: when computing checksum declare *t as unsigned char * type + changed typo setguid -> setgid in fspd.conf + fspd.conf: added note that only numeric uid values works + fspd.conf: added more information about packetsize + fspd.1: updated information about packetsize + fspd.conf: repaired some spelling errors by ispell Version 2.8.1b24 - 19 Feb 2005 use getopt from stdio.h instead of getopt.h in fspscan.c diff --git a/TODO b/TODO index c89e01d..8896b5e 100644 --- a/TODO +++ b/TODO @@ -80,12 +80,11 @@ Current performance 1925648B/s MAN: separate manpage for 7 fsp (protocol definition) == write FSP RFC Register udp/21 for FSP in http://www.iana.org/ FSP RFC needed! -manual page for fsetup.1 POSSIBLE NEW PROJECTS FSP Proxy repeater - take a look at old code, but we have NAT and fspproxy today. -Experimental transfer HTTP over fsp transport +Experimental transfer HTTP over fsp transport. Coder needed! libraries and support for FSP protocol ====================================== diff --git a/configure.ac b/configure.ac index a439e77..50d2f28 100644 --- a/configure.ac +++ b/configure.ac @@ -3,6 +3,7 @@ dnl tested with autoconf 2.57 AC_INIT(fsp,2.8.1b25,hsn@netmag.cz) AC_CONFIG_SRCDIR(server/main.c) AM_INIT_AUTOMAKE([dist-bzip2]) +AC_PREREQ(2.57) AM_MAINTAINER_MODE AC_CONFIG_HEADERS(include/config.h) AC_ARG_WITH(lockprefix,AS_HELP_STRING([--with-lockprefix=path],[Set lock prefix path to (default /tmp/.FSPL)])) diff --git a/fspd.conf b/fspd.conf index 5b2df60..33457e5 100644 --- a/fspd.conf +++ b/fspd.conf @@ -22,17 +22,19 @@ port 21 # The 'packetsize' sets maximal data size which will send FSPD in one packet. # FSP definition allows up to 1024 bytes of data (default value) and it is a # recommended to use this value unless there is a reason to use a smaller one. -# If your fsp site eats too much bandwidth try smaller value. +# If your FSP site eats too much bandwidth try smaller value. # -# You could try larger values. Almost all networks today works with 1300 -# and most with 1400. Larger values are possible, but FSP packet will be -# split into 2 or more IP packets which lowers reliability of file -# transfers. +# You could try larger values. All networks are required to transfer 500 bytes +# long UDP packets. Almost all networks today works with 1300 and most with +# 1400. On Ethernet you can go to 1460. Larger values are possible, but FSP +# packet will be split into 2 or more IP packets which lowers reliability of +# file transfers but you can get some speed gain. # # Packets > 1024 bytes are never send out unless client requests them. +# 12 byte long FSP header size is not included in packetsize. # -# !!! If you change this value in 64-1024 range you must delete all -# prebuilded directory listings stored in .FSP_CONTENT files !!! +# !!! If you change this value in 64-1024 range you must delete all prebuilded +# directory listings stored in .FSP_CONTENT files !!! # packetsize 768 @@ -51,7 +53,7 @@ homedir /usr/fsp/data homedir_restricted yes # 'use_access_files' if server should check for special .FSP files -# in directory and set access rights acording to that. +# in directory and set access rights according to that. # In most installation, yes is right. Use `no` if people can upload # files starting with .FSP into fsp server homedir. use_access_files yes @@ -139,7 +141,7 @@ logfile ../logs/logfile # for example: # log all !errors -- will log all commands sent, but no error messages. # log all !getdir -- will log all commands except getdir and all errors -# EXCEPT those that occured on a getdir command. +# EXCEPT those that occurred on a getdir command. # log install getfile errors -- will log all install and getfile commands # as well as any errors that occur on ONLY those commands. # If no log command is given, logging will be turned of (same as 'log none') @@ -147,7 +149,7 @@ logfile ../logs/logfile log all !readonly #The 'xferlog' command tells server where to use wuftpd compatible -#transfer log file. Loging substem currectly do not support +#transfer log file. Loging subsystem currently do not support #recording of partial transfers. xferlog ../logs/xferlog @@ -167,11 +169,12 @@ xferlog ../logs/xferlog # If you do this then ensure that the user id you assign to fspd has the # necessary permissions to read and write from the directories you have # assigned elsewhere in this configuration file. +# YOU MUST USE NUMERIC USER UID! setuid 56 # # setuid off -# The 'setguid' command is similar to setuid, but sets a group. -# setguid off +# The 'setgid' command is similar to setuid, but sets a group. +# setgid off # The 'umask' for uploaded files. Standard octal value. # umask 0033 @@ -255,7 +258,7 @@ xferlog ../logs/xferlog # pass after new packet with the old KEY from client will be accepted # FSP protocol definition says that must be at least 3 secs, but you # can set this to shorter time and allow faster error recovery. It is -# higly recommended to keep it at least 3 seconds. +# highly recommended to keep it at least 3 seconds. # retry 3 # The "timeout" command specifies how much time must pass after new diff --git a/man/fspd.1 b/man/fspd.1 index 110866b..b33bfa9 100644 --- a/man/fspd.1 +++ b/man/fspd.1 @@ -1,4 +1,4 @@ -.TH FSPD 1 "Dec 2004" FSP +.TH FSPD 1 "Mar 2005" FSP .SH NAME fspd, in.fspd \- File Service Protocol (FSP) server .SH SYNOPSIS @@ -81,9 +81,10 @@ bytes per second. .PD 0 .TP 20 .B -s packetsize -Sets maximum allowed packet size or prefered packet size. Server must +Sets maximum allowed or prefered packet's payload size. Server must support packets up to 1024, but may prefer to send smaller packets. -It may accept packets over 1024 bytes. Default value is 1200 bytes. +It may accept packets over 1024 bytes. Default value is 1460 bytes. +All networks must be able to transfer 500 bytes (RFC requirement). .LP .SH FILES