|
* TinkerDifferent *
Retro Computing Community |
| Home | Forums | What's New | Search | Settings |
| Netatalk 4.0 - Future-proofing Apple File Sharing |
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Jul 20, 2024 - #1
The current Netatalk release series (2.x and 3.x) are finally in a good place where we have a modern and flexible build system, with fully functioning user authentication. I can finally pivot to what I wanted to do in the first place: consolidate the best of 2.x and 3.x into one Mac file sharing suite to rule them all.
I hereby present: The Netatalk 4.0 Roadmap. The mission statement is: A future-proof file sharing suite for Apple //e to macOS and everything in-between. In the long run, I want to stop supporting two very different branches and have one branch will all the code modernization of 3.x with the support for old clients that 2.x provides. At a high level, these are the projects: AppleTalk- Graft the AppleTalk protocol modules back onto libatalk: asp, atp, nbp, ddp- Bring back the AppleTalk daemons: atalkd, papd, timelord, a2boot - Bring back the AppleTalk networking tools: aecho, getzones, nbp, pap - Bring back afpd support for AFP 1.1, 2.0, and 2.1 Modern Tech- Write a CNID backend in SQLite (Berkeley DB is abandonware)- Write a Spotlight indexing and search backend in Elasticsearch (Gnome Tracker has not been working well) - Use Nettle as crypto backend (eliminate the remaining dependencies on OpenSSL) - Use GDBus as D-Bus client (dbus-glib is going away) On top of this, I want to remove the old Autotools build system, shore up all the insecure memory mangement, write unit tests... Needless to say, this will be a massive undertaking. I am looking for collaborators to make this happen. If you or someone you know has a knack for C (or is willing to learn) I can offer a job that is unpaid but comes with the glory of keeping the dream of Apple file sharing alive for the next generation. :) Liked by LongAlphabet,Zane Kaminski,Opualuanand 11 others |
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Jul 29, 2024 - #2
All of the relevant code from 2.x has now been restored to the main development branch, and the build system has been retooled to build it.
The next step will be to adapt the various interfaces that were refactored or simplified during the 3.0 release cycle. Notably, the daemon child process handling was simplified to only support DSI (TCP) processes, so it needs to be reworked to manage ASP (AppleTalk) AFP processes again. If you want to keep track of the progress (and perhaps contribute in some form) see the "appletalk" label in the issue tracker. Liked by Durosity,MacBrian,PL212and 2 others |
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Sep 7, 2024 - #3
We are now looking for alpha testers of Netatalk 4.0.0.
It's a one-way migration path from Netatalk 2.x, so please upgrade only on AFP volumes that have backups, or create fresh volumes for testing. 4.0.0 has a handful of new dependencies, not related to AppleTalk. Notably, Nettle and the Unicode DB. See this pre-release build appendix for concrete packages and commands: https://netatalk.io/4.0/htmldocs/compile ... To get started, clone the latest "main" branch in the Netatalk git repo, and build it with Meson! Netatalk has to be built with the "-Dwith-appletalk=true" and then you have to put "appletalk = yes" in afp.conf to enable the transport layer. As with 2.x, your OS has to supply appletalk (DDP) networking in the kernel for this to work. What we want to ascertain right now is twofold: Does AFP-over-AppleTalk work in your environment and workflow. And, is there no performance degradation (file listing, transfer, deletion, etc.) Looking forward to hearing your feedback! |
|
NJRoadfan New Tinkerer -------- Joined: Feb 6, 2022 Posts: 75 Likes: 21 |
Sep 7, 2024 - #4
One thing I haven't extensively tested is the conversion of Apple Double data from the old .AppleDouble folder format to native extended attributes and "dot" files (ex: ._MyFile). So..... back up your shares before trying this! The code should work fine as it wasn't really touched, but always use caution regardless. So far I've tested the following clients:
AppleShare Workstation 1.1 (AFP1.1) Apple IIgs System 6.0.1 (AFP2.0) Apple IIgs System 6.0.1 using AFPBridge to connect via TCP/IP (AFP2.0) The ProDOS 8 2.0.3 client bundled with the above (AFP2.0) System 7.1 with the stock ASC 3.5 (AFP2.1) MacOS 8.1 with the stock ASC 3.7.4 via both AppleTalk and TCP/IP (AFP2.2) macOS 10.15 via TCP/IP (AFP3.4) Eventually I'll get an XP/2003 image spun up and try Services For Macintosh and PCMacLAN. Most of this was via emulated machines, so real hardware testing is always appreciated. Get out your rare clients like an Apple IIe Workstation card, or AppleShare for MS-DOS and break this thing! Modern TCP/IP client testing is appreciated as well as I'm concerned about any possible regressions. |
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Sep 15, 2024 - #5
Netatalk 4.0.0 beta is available as a Docker image now. It comes with all the best parts of the 3.x release series, and the 2.x release series that you all know and love!
If you have a host computer with an AppleTalk network stack (Linux or NetBSD) you only need to follow the instructions to get started. All options are named in the same way as the previous Docker releases. |
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Sep 29, 2024 - #6
4.0.0 is out now!
Release Netatalk 4.0.0 - Netatalk/netatalkNetatalk 4.0.0 is available! The Netatalk team is proud to announce the first release in the Netatalk 4.0 release series. This release constitutes major changes over Netatalk 3.2, and is recommende...
[Image: github.com]
github.com
If you are a brave early adopter, why don't you take it for a spin today? :)
Liked by MacBrian,fogWraithanderic |
|
V.Yakob Tinkerer Syktyvkar -------- Joined: Sep 6, 2023 Posts: 129 Likes: 46 |
Sep 29, 2024 - #7
The first attempt to run "meson setup build" failed:
I decided it like this
The second attempt to run "meson setup build" failed:
And this puzzles me, because the manual says about the optional requirement of xsltproc [manual: Optional: avahi or mDNSresponder (for Zeroconf support) cracklib and cracklib dictionary (for password strength check in afppasswd) Docbook XSL and xsltproc (for manpages & manual documentation) GLib 2 and D-Bus (for afpstats support) Kerberos V (for krbV UAM support) libacl (for ACL support) libldap (for LDAP support) libpam (for PAM support) libtirpc or libquota (for Quota support) tcpwrap (for TCP wrapper support)] Moreover, brew does not know such a package.
Maybe there is some way to ignore it?
|
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Sep 29, 2024 - #8
@V.Yakob This page has some hints how to build on macOS with Homebrew: https://netatalk.io/stable/htmldocs/compile#build-macos
In short, the xsltproc tool is in the `libxslt` bottle. Liked by V.Yakob |
|
V.Yakob Tinkerer Syktyvkar -------- Joined: Sep 6, 2023 Posts: 129 Likes: 46 |
Sep 29, 2024 - #9
@rdmark На первый взгляд, всё хорошо.
Now this PM8100 copies several large files for testing. [Versions: /opt/homebrew/sbin/netatalk -V netatalk 4.0.0 - Netatalk AFP server service controller daemon /opt/homebrew/sbin/afpd -V afpd 4.0.0 - Apple Filing Protocol (AFP) daemon of Netatalk] At first glance, everything is fine. (y) In the last line of the installation output, I noticed that the old approach of installing daemons is used
Maybe it's better this way?
|
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Sep 29, 2024 - #10
@V.Yakob Wonderful, thanks for sharing!
Interesting, I didn't know launchd daemon management procedure had changed. Do you have a GitHub account? The best way to track this would be if you could file a bug over at the issue tracker. We can confirm the details and fix it in a future release. Build software better, togetherGitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
[Image: github.com]
github.com
|
|
V.Yakob Tinkerer Syktyvkar -------- Joined: Sep 6, 2023 Posts: 129 Likes: 46 |
Sep 30, 2024 - #11
@rdmark, Changes have been there for a long time, starting with Yosemite. There is a good cheat sheet for managing demons and services, and even a graphic application (LaunchControl) for symbolic money.
Yes, I have an account on GitHub, I'll write. Liked by rdmark |
|
JDW Administrator Japan -------- Joined: Sep 2, 2021 Posts: 2,534 Likes: 1,981 |
Sep 30, 2024 - #12
I only noticed this thread today. I'm big on "layman's terms" and dummying down difficult concepts into a form digestible by mortal man.
You know... FOR THE REST OF US. I Googled a bit to figure out even what Netatalk is, but that led me to a bunch of techno jargon that made my eyes glaze over. Although my experience with ChatGPT4o has been mixed, I decided to give it to summarize and simplify, so my feeble brain can better understand Netatalk. Specifically, I asked ChatGPT4o to give me a proper explanation in simple terms, and then asked it to tell me how Netatalk 4.0 is installed, and then I asked why I would even need it versus just using a FloppyEMU and BlueSCSI like I do now. Below is what it told me. Feel free to correct the info below appropriate. The main reason I feel this kind of explanation important is because when people understand what a given thing is, that understanding will often drive more interest in it. This appears to be an excellent project that could use more participants. Netatalk OverviewNetatalk is a piece of software that allows Unix-like operating systems (like Linux or BSD) to act as file servers for Macintosh computers. Essentially, it helps different types of computers talk to each other and share files easily.Here's why you might find Netatalk useful:
General Installation and Setup Netatalk 4.0Installing Netatalk 4.0 can vary in complexity depending on your familiarity with Unix-like systems. Here's a simplified overview:
Installing Netatalk 4.0 on macOS:
Considerations:
Alternative:If you prefer a simpler setup, using a Linux-based virtual machine (VM) on your Mac to run Netatalk might be a more straightforward solution. This way, you can leverage the full support and documentation available for Netatalk on Linux while still using your Mac.Advantages of a Netatalk Server vs. Using SD Cards with FloppyEMU or BlueSCSINetatalk Server Advantages:
Liked by Certificate of Excellence |
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Oct 1, 2024 - #13
@JDW You are absolutely right, I've been neck-deep in this project for three years now so I sometimes forget that not everyone knows everything about it. :)
The AI did a pretty good job at summarizing the pros and cons. I might steal some of those blurbs for the homepage or wiki landing page. Unsurprisingly, its data is a bit old. It has outdated information about how to build Netatalk. For macOS, this is the latest for Netatalk 4.0.0: https://netatalk.io/stable/htmldocs/compile#build-macos We also have this wiki page, which has a mix of new and old information (as it goes with a wiki): https://github.com/Netatalk/netatalk/wiki/Installing-Netatalk-on-macOS FWIW, I've gradually been trying to make f.e. the top section of the homepage a little bit more friendly to first-time users: https://netatalk.io/ I'd love to hear concrete suggestions on how to better promote and explain Netatalk! Liked by JDW |
|
JDW Administrator Japan -------- Joined: Sep 2, 2021 Posts: 2,534 Likes: 1,981 |
Oct 1, 2024 - #14
The first sentence on your website says this: Netatalk is a Free and Open Source file server that implements the Apple Filing Protocol (AFP). After reading that, someone totally oblivious to the advantages of "file servers" or "AFP" may wonder: "I currently use a Blue SCSI or FloppyEMU to move files between my modern Mac and my old Macs. Is Netatalk something I really need? Can it benefit me in a way I can understand and easily use? Or is it just for people smarter than me in some kind of specialty use case?" If common questions like that can be answered in super easy layman's terms, I think Netatalk then can be better understood and possibly more desirable to have by a larger number of people. In other words, it's not about telling a newbie "here's how our file server works." It's about explaining: "here's why you could stand to benefit from this." |
|
joevt Tinkerer -------- Joined: Mar 5, 2023 Posts: 218 Likes: 85 |
Oct 1, 2024 - #15
Why do I want AFP? Why don't I have AFP already? When did I stop having AFP?
I have Intel Macs (Mac OS X10.4 to 15.0) and PCs (Linux/Windows). I have PowerPC Macs that can run System 7 to OS X 10.5. They can connect to Intel Macs that are running early versions of Mac OS X (either booted or in a VM). It would be beneficial to not have to reboot to an older OS or start a VM. I think I remember installing netatalk on a jail broken iPod touch and/or iPad in the past. I could then use it to transfer files to the iPod or iPad for emulators or whatever. Liked by JDW |
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Oct 1, 2024 - #16
@JDW I can categorize the Netatalk "customers" in three rough categories:
1. Enterprise. Specifically, IT or SRE folks that operate large scale deployments at offices or schools. This category is probably shrinking, but they still exist and are pretty vocal. 2. Regular home users. Folks using Netatalk primarily with modern Macs. Time Machine backups seems to be a popular use case. Long-time users swear by Netatalk because transfer speeds tend to be better than Samba/SMB. 3. Retro Mac users. Y'all. :) The most effective communication strategy should strike a balance between the expectations and needs of all user segments. I don't want to position Netatalk as a retro Mac solution, exclusively. Liked by JDW |
|
JDW Administrator Japan -------- Joined: Sep 2, 2021 Posts: 2,534 Likes: 1,981 |
Oct 1, 2024 - #17
|
|
V.Yakob Tinkerer Syktyvkar -------- Joined: Sep 6, 2023 Posts: 129 Likes: 46 |
Oct 1, 2024 - #18
|
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Oct 2, 2024 - #19
|
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Oct 2, 2024 - #20
The old iPhone port of Netatalk was a super cool hack indeed. The era of easy-to-jailbreak iOS devices is in the distant past unfortunately. In this day and age I think a Raspberry Pi is a great option for an energy efficient and compact file server! |
| Page 1 of 8 | Next > | Last >> |
| Home | Forums | What's New | Search | Bookmarks | RSS | Original | Settings |
| XenForo Retro Proxy by TinkerDifferent.com |