Contents

Tftpd32 version 2.11

A full featured TFTP server, a TFTP client and a SYSLOG server combined into a single program which takes less than 100kBytes.

The Tftp Protocol

The Syslog Protocol

Getting Started

Tftpd32 Setup

Tftpd32 registry entries

FAQ

License

Why Tftpd32 has been created ?

What's new with this version ?


FAQ

 FAQ

Q: Where can i get the latest version of Tftpd32 ?

Q: Has TFTPD32 an official home page ?

A: TFTPD32's home page is http://tftpd32.jounin.net.

Q: Does TFTPD32 work with Netscape or Internet Explorer ?

Q: I am unable to use TFTPD32 with my FTP client !

A: TFTPD32 is a TFTP server, whereas Netscape and IE need an FTP server. The protocols are quite different and are not interchangeable.

Q: Sometimes the client begins a transfer correctly, but  receives no data; what's wrong?

A: The requested block size is too high. Either decrease it from the client or disable the option negotiation switch from the server.

Alternatively you can adjust the MTU parameter in your TCP/IP settings.

Q: I have checked "Hide Window at startup" option and i am now unable to change settings anymore !

A: Look at the right of your task bar. You will find the TFTPD32 icon near the clock. Double click on it and the main window will be displayed.

Q: Can i run Tftpd32 as a NT service ?

A: Microsoft provides a utility called SRVANY.EXE. This program turns a daemon program into a service.  Users have reported that it works with tftpd32.

Q: Can i speed up transfers ?

Q: My network bandwidth is of 256 kB/s and a file transfer with TFTPD32 never exceeds 50 kB/s.

Q: How do i tune the anticipation window ?

A: TFTP protocol has not been designed for efficiency. However you can increase bandwidth's use by increasing the size of the message. Moreover, you can enable an anticipation window of two to five messages.

Q: Can Tftpd32 logs history into a file ?

A: You have to edit registry and set the TftpLogFile entry to the log file name.All transfers will be timestamped and logged.

Q: How to desinstall Tftpd32 ?

A: Start tftpd32, go in the settings part and click on Default. This will remove the registry entry.


License

 License

TFTPD32 is a freeware package copyrighted 1998-2002 by Philippe Jounin (philippe@jounin.net).

TFTPD32 is a free, non-commercial product. All documents, software and archives that are attached or included, hereafter referred to as TFTPD32, are protected by applicable copyright laws. TFTPD32 is provided as is, without warranty of any kind; guaranties for fitness for a particular purpose, either expressed or implied, are hereby explicitly disclaimed.

You may freely distribute and copy TFTPD32 as long as no fee is charged and the TFTPD32 archive contains unmodified copies of the original files as produced by its author. No part of TFTPD32 may be modified, altered, reverse engineered, sold, or distributed in any form involving exchange of currency or services without prior written permission from its author.

Please send any comments to philippe@jounin.net.


Tftpd32 advanced setup

 Tftpd32 advanced setup

Some options are available only by modifying the registry entries.

Tftpd32 saves its configuration into the registry.

The key used is :

     \\HKEY_LOCAL_MACHINE\SOFTWARE\TFTPD32

It uses the following entries :

BaseDirectory    	Type Char : The base directory

Beep	Type BOOL

DirText              	Type BOOL.

Hide                  	Type BOOL.

LocalIP                	Type Char: The IP address of the enabled interface. Empty string if unused.

MaxRetransmit  	Type DWORD.

Negociate           	Type BOOL.

SecurityLevel     	Type DWORD. O -> None, 1 Standard, 2 High

Services	Type DWORD. The services activated at startup

0x0001	Tftp server

0x0002	Tftp client

0x0008	Syslog server

ShowProgressBar	Type BOOL.

TftpLogFile	Type Char: Name of the logging file, Empty string if unused.

TftpPort            	Type DWORD.

Timeout            	Type DWORD.

UnixStrings	Type BOOL

WinSize           	Type DWORD: The size of anticipation window


Tftpd32 setup

 Tftpd32 setup

TFTPD32 allows the user to modify the base (default) directory (used both for read and write requests), the security behavior and many communication parameters.

The base directory can be changed at any time, but it does not affect the transfers in progress.

3 security states are defined:

•  None

The client can read or write any file anywhere on the system.

•  Standard

The client can read or write files only in the base directory.

•  High

The client can read or write files only in the base directory;  Moreover, TFTPD32 will only accept a write request if the file exists and is empty.

Advanced options

•  The option negotiations as described in RFC 1782 can be allowed. Block size can be increased to a maximum of 8192 bytes and decreased to 8 bytes.

•  Create dir.txt files automatically creates a file named dir.txt which contains the contents of Tftpd32's base directory.

•  Show Progress Bar allows Tftpd32 to display a gauge window for each transfer in progress.

•  Hide Window at Startup enables a daemon-like mode: TFTPD32 just adds an icon in the task tray and the main window remains hidden.

•  Translate Unix File Names allows Tftpd32 to translate Unix-like file names (such as '/tftpboot/system.rom') into DOS names.

•  Beep for long transfer will produce a single beep when a long transfer (over 10 seconds) has ended.

•  Use Tftpd32 only on this interface enables TFTP on the designated interface only. TFTP requests incoming from any other interface are ignored. Do not use this option if you have only one network interface.

•  Use anticipation window allows Tftpd32 to send in a row one or more data packets without waiting for each separate acknowledgement. This can greatly improve transfer speed. Since it is prohibited by the TFTP specification, a special warning is displayed when this box is checked.

Other settings

Some other settings are available by modifying the registry entries. They have been described into the advanced settings chapter.


The Syslog Protocol

 The Syslog Protocol

The syslog protocol is a very basic protocol made for event logging.

Many network equipements can transfer debug or informational

messages to a syslog server. The syslog window will display them

just as they come.


The Tftp Protocol

 The Tftp Protocol

TFTP (Trivial File Transfer Protocol) is a simple protocol used to transfer files to and from a TFTP server (daemon). This protocol was designed by Noël Chiappa. Its second version (TFTPv2) is described by RFC 1350, «The TFTP Protocol (Revision 2).»

 TFTP is designed to be compact and easy to implement.  Therefore, it lacks most of the features of a regular FTP.  The only thing it can do is read and write files from/to a remote server.  It cannot list directories, and currently has no provisions for user authentication.

 TFTPD32 is my implementation of a TFTP server for Windows 95/98/Me and Windows NT/2000/XP. It supports the Get and Put commands, but does not support the netascii transfer mode (but who really needs it?).

Tftpd32 supports the TFTP extensions described in RFCs 1782 to 1785.


What’s new with Tftpd32 version 3.0 ?

 What's new with Tftpd32 version 3.0 ?

Version 1.0	June 3 1998

Version 1.1	June 19 1998

Add Hide window at startup setting.

Version 1.2	July 30 1998

Bug fixed: Transfer can not exceed 65.535 blocks

Add TFTPv2 support.

Version 1.3	Mars 28 1999

Add progress bars

Add Show Dir button

Add Create dir.txt files setting

Version 2.0	April 4 2000

Anticipation window available

Add current directory button

Main window is resizeable

Version  2.1

Bug fixed: The statistics may give one block in excess

Add syslog server

Add tftp client

Logging into a file available via registry

Mail address changed into about window

Version  2.11

Bug fixed: The OACK packet has 4 NUL bytes in excess

Change Window size for XP

Use EclipseHelp as Help maker.


Why Tftpd32 has been created ?

 Why Tftpd32 has been created ?

I use TFTP to save or load configurations or softwares from network devices . My Unix station has been removed, and i was compelled to use MS Windows. I have therefore spent a lot of time searching for an efficient TFTP server. The only ones i have found were amazingly huge (for instance the freeware Windows TFTP server from Cisco fills more than 1 Mb of disk space and sucks more than 2 Mb of memory from your system).

Thus i have decided to write my own TFTP server This one takes only 70 kB and has more useful features than many others (Tftp client, Syslog server, anticpation window, easy to configure security, ...)

Helped by "encouragements" from the Internet community, i still maintain it and provide now this new release. As promised, I still work on it in order to include a BOOTP or DHCP server.


Getting Started

 Getting Started

TFTPD32 is designed for

Windows NT/2000/XP

Windows 95/98/Me

TFTPD32 has no installation program. To run TFTPD32 just launch the executable file tftpd32.exe.

The following window appears:

TFTPD32 is already listening for incoming requests and the syslog server is running.