Jaffer project is a Java implementation of Appletalk File Protocol v3.1 using TCP Transport. Performance on a Gigabit network exceeds both Samba and Netatalk. No, Really. Disable debugging.
This program will act like a native Appletalk file server. You must run it as root to use Appletalk's normal port 548. But it's just as happy running on any unpriviledged port. To access shadow passwords, the server must be run as 'root'.
Your client must be a Mac OS X 10.2 or newer system.
Download a recent build and source code.
Or browse the source in svn.
Run the server:
java -jar jaffer.jar -config [config-file]
or, alternatively, for quick testing:
java -jar jaffer.jar -server [port] [volume-name] [path-to-export]
From the OS X Client, mount the new volume:
mount_afp afp://[user]:[pass]@[host]:[port]/[volume-name] [mount-point]
The '[user]:[pass]@' part of the url is optional. If omitted, the mount will be attempted as a 'Guest' user.
Most of your work will most likely be done in the AFP_Session class implementing additional AFP calls. When you do this, please be mindful of comments in the code. They are sparse, but very important. When you add call implementations, please make sure they are represented in the AFP_Constants file and annotated with the page number in the AFP3.1 reference PDF.
Most of the implementation is geared towards AFP3.1 which means that some of the helper and common methods are not usable for AFP2.3 or earlier protocols.
What's New in This Release:
· added zipfs, refactoring for jdk1.5