|
* TinkerDifferent *
Retro Computing Community |
| Home | Forums | What's New | Search | Settings |
| Netatalk 2.4.0 released |
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Jun 23, 2024 - #1
The Netatalk team is proud to present version 2.4.0 of the venerable AFP file sharing suite. Grab the source code, or a Docker image, today!
This version is primarily a future-proofing release, introducing the modern Meson build system, while integrating an embedded WolfSSL as the encryption provider for the DHX and RandNum user authentication modules. To make a long story short, you can now run Netatalk 2 on any modern OS and still be able to authenticate securely with old Macs (and IIGSes). It also ships with a range of bugfixes, documentation updates and quality-of-life improvements. See the release notes (linked above) for the full list of changes! Additionally, a massively improved v2.0 of the Webmin module for easy administration has been released in parallel, with support for all features in Netatalk 2.4.0. I'm looking forward to hearing your feedback!
Liked by Ubik,trag,PL212and 4 others |
|
Byte Knight Tinkerer -------- Joined: Oct 21, 2021 Posts: 133 Likes: 116 |
Jun 23, 2024 - #2
Sweet! What's the easiest way to upgrade to this version of Netatalk on my PiSCSI?
|
|
speakers Tinkerer San Jose, CA -------- Joined: Nov 5, 2021 Posts: 154 Likes: 99 |
Jun 24, 2024 - #3
To serve my ancient machines, I decided to downgrade my Pi 4 from the apt-installed Netatalk3 as follows:
At this point I trawled through the installation docs and noticed that I was missing a number of "optional" packages (including libcrack2-dev) for the Debian distribution which Pi uses. So I built for a third time with all Debian dependences installed and with-init-style=systemd. Third time was a charm! I think Appendix A. Compile Netatalk from Source could do with a Raspberry Pi OS section. Liked by Byte Knight |
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Jun 26, 2024 - #4
One trick you can do is to edit PiSCSI's easyinstall.sh and update the line that defines the netatalk version number. Should be in the function called `installNetatalk()'. It should just work. But let me know if you try it and run into weird errors. Liked by Byte Knight |
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Jun 26, 2024 - #5
Do you remember exactly what the log messages said? And the full list of packages you installed to make it work? If libcrack was mandatory to make auth work then we have a bug somewhere. It should be a highly optional library that is only used by the Random Number UAM. To my best knowledge, installation instructions for RPi OS would look exactly the same as for Debian, for the same base OS version (e.g. v12 Bookworm). Were there any special steps you needed to take on RPi OS? And finally, an improvement to the build system is being developed as we speak that will attempt to auto detect the appropriate init script, so in the next release there will be one less thing that can go wrong. :) |
|
speakers Tinkerer San Jose, CA -------- Joined: Nov 5, 2021 Posts: 154 Likes: 99 |
Jun 26, 2024 - #6
Dedging the log, I saw sequences like this:
Liked by rdmark |
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Jun 29, 2024 - #7
Netatalk 2.4.1 has been released today!
It contains a patch for a published CVE vulnerability, so it's recommended to upgrade your 2.x deployment, especially if serves a public IP. We also restore support for SLP (Server Location Protocol) in the Meson build system, for those who you like to network your OSX 10.1 or 10.2 machines. :) Liked by Byte Knight |
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Jul 6, 2024 - #8
Continuing the saga of old-school encryption in Netatalk, we released version 2.4.2 today which addresses a licensing issue raised by the Debian project. As a result, we have reverted to relying on OpenSSL/LibreSSL with the bundled SSL provider... for the CAST algorithm only.
This is only a concern for redistribution, as we have been told, so it doesn't hinder distribution (as in: the Netatalk project distributing its own package, or private use by end users) but if you're redistributing a binary package of Netatalk in, say, a Linux distro, then upgrading to 2.4.2 is mandatory, as it were... But IANAL; the above is just what laypersons are telling other laypersons about legal things. I'm definitely glad that we could jettison the code with iffy licensing terms, so I think it's a change for the better. My collaborator is looking into potentially using libnettle for our crypto needs, and bail on the OpenSSL ecosystem once and for all. I can't wait! Additionally, the release includes a bunch of build system fixes for specific platforms and use cases. Liked by Byte Knightandbakkus |
|
Mk.558 Tinkerer -------- Joined: Nov 11, 2023 Posts: 112 Likes: 45 |
Jul 6, 2024 - #9
What do you guys think about incorporating MacIP routing and NAT, at least an option?
I haven't done macipgw stuff, but I'm thinking that for the Guide, I probably should, but that's when I noticed it hasn't been updated in 9 years. |
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Jul 6, 2024 - #10
How do you imagine macipgw could be best incorporated with netatalk? What is the drawback of the current situation where macipgw is its own project that you can install and run if you need it? How would the user experience improve if the two projects were more closely integrated?
I'm genuinely curious to get your perspective on this... macipgw has been on my radar for a long time but I've yet to actually use it. |
|
Mk.558 Tinkerer -------- Joined: Nov 11, 2023 Posts: 112 Likes: 45 |
Jul 6, 2024 - #11
I'm a user. My opinion probably counts for less than useless. Incorporation could be one .conf file that is edited, or using the webmin tool, another page.
You'd be reusing an AppleTalk stack you already have and is being actively maintained by some devout people, who as far as I can tell, know it pretty well and would be the best men for the job.
Anybody who is doing AFP2.1 and earlier could benefit from it in a TCP world. Odds are pretty good even if you didn't use it, it's a nice perk. Incorporating Web Rendering Proxy is probably too much though, i wouldn't do that. But the whole 9 years thing is getting me slightly worried, but probably for the wrong reasons. And odds are pretty decent if you are using netatalk to serve files and stuff to your Macintosh Plus, having TCP so readily accessible for FTP is just so ... good. |
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Jul 7, 2024 - #12
From my perspective, your opinion as a user is the most valuable of all. :) I agree that macipgw not being updated for 9 years is worrying. It's unlikely to build cleanly on modern systems anymore. There are pros and cons to integrating macipgw into netatalk proper. Some practical concerns include the compatibility of licensing terms, security, maintenance overhead, as well as the idea of making the netatalk2 package even more monolithic and sprawling than it already is. That said, I'm personally invested in rescuing vintage open source projects, so regardless of the final shape, I would like to try to do something! At the very least, I can fork the GitHub project in my personal namespace and freshen it up. If you want to help us out, I would appreciate a ticket over at the netatalk GitHub project where you break down the details of your request. |
|
Mk.558 Tinkerer -------- Joined: Nov 11, 2023 Posts: 112 Likes: 45 |
Jul 7, 2024 - #13
Done.
|
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Jul 8, 2024 - #14
Thank you!
If anyone wants to lean in, the ticket is https://github.com/Netatalk/netatalk/issues/1204 |
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Jul 14, 2024 - #15
Version 2.4.3 is out now. This is mainly a Meson build system feature and bugfix release, as part of my effort to deliver Debian deb packaging of Netatalk. It fixes fun stuff such as Kerberos API checks, 64 bit architecture detection, library runpaths, pkgconfdir overrides, and support for installing multiple init styles. (Debian is weird that is encourages packages to supply old-school SysV init scripts, but the init.d backend is actually just systemd under the hood AFAICT.)
If you don't care about any of the above, there's no rush to upgrade! Liked by ericandbakkus |
|
Slimes Tinkerer -------- Joined: Jul 26, 2023 Posts: 42 Likes: 30 |
Jul 15, 2024 - #16
Anyone get this working on Sonoma? Is the config in the launch daemon or in specific places? The docs don't say where the config files like afpd.conf actually go. etc? etc/netatalk? A step by step guide to macOS installation with a shared guest folder would be handy to get started understanding how this works on macOS.
|
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Jul 15, 2024 - #17
If you have installed netatalk 2.x, run afpd -V. This is an example from my Sonoma MBA:
The shared volumes are defined in AppleVolumes.default using a very simple syntax...
Create that dir somewhere on your file system and give it appropriate permissions. In the default configuration, the system users will be able to authenticate. What kinds of Mac clients do you plan to connect to this AFP server? |
|
Slimes Tinkerer -------- Joined: Jul 26, 2023 Posts: 42 Likes: 30 |
Jul 15, 2024 - #18
Does afpd respect resource and data forks on modern macOS? Liked by rdmark |
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Jul 15, 2024 - #19
If you want better macOS host interoperability, I recommend running Netatalk 3.x, which does store all metadata as filesystem EA on the host machine. Dunno exactly how compliant it is with APFS specifications... but it works. :) BTW, this is all transparent to the client. The clients don't really care what format the metadata is stored in on the host. |
|
rdmark Moderator -------- Joined: Oct 3, 2021 Posts: 196 Likes: 260 |
Jul 20, 2024 - #20
Netatalk 2.4.4 is available. This is yet again a build system bugfix release, working towards stabilizing Debian deb packaging. If Netatalk is working fine for you, take this is an optional upgrade.
At this point, I consider the current Netatalk release series (2.4.x, 3.2.x) stable and "done". This project is 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, so stay tuned... |
| Page 1 of 2 | Next > | Last >> |
| Home | Forums | What's New | Search | Bookmarks | RSS | Original | Settings |
| XenForo Retro Proxy by TinkerDifferent.com |