Fun with userspace AppleTalk

I didn’t see one called that, but I did try turning off a bunch of extensions including one called Foreign File Exchange. Now the PHOTO_CD request is gone which is good, but Mac OS still locks up so seems like that was a red herring. Definitely think it’s some rogue extension now
 
The malformed packets may be a problem... or not. Gotta love the lack of error handling in classic MacOS though. When trying to root out bugs in Netatalk, I've found it helpful to do packet traces using one of Apple's AFP servers to see how the communication should progress. The built-in file sharing in System 7+ should be fine for this.

I also have a wide variety of clients on hand since they have their fair share of bugs too. For example, ASC 3.7.x has some quirks in its DSI implementation.
 
At this point I dont _think_ I have any malformed ones left. The only one I am unsure about is FPGetSrvrMsg - Even though that should only be in AFP 2.1 and I am only advertising AFP2.0 and under it still seems to send it. Wireshark seems happy about what I am sending, though.

But yes I think you're right - I have a B&W G3 desktop I should fire up and just capture the conversation between the two to see what I might be doing wrong
 
Just tried booting Mac OS 9.2 on the PowerBook and it gets much farther, before exploding because I have yet to implement the rest of the directory bitmap types 😅 But that seems to confirm at least that on a clean setup it doesn't stall at the FPGetSrvrMsg call.
 
Success! After implementing far more AFP commands than I ever thought I'd need to, I have Linux to Mac OS file copying working with AFP 2.0 via EtherTalk (and indirectly to LocalTalk clients via an Asante). Of course have to get my favourite Rust crab copied first, and using it to copy a load of extra software now too.

So pleased to see it working. Now just to get the other direction working which I _think_ just needs a few more commands and I'll have a pretty basic daemon working that supports AFP and PAP. Afterwards I'll be adding support for it directly using TashTalk, and getting this published for others to start toying with,
IMG_2610.JPEG
 
Back
Top