Open-source News

Microsoft 3D Movie Maker Released As Open-Source

Phoronix - Thu, 05/05/2022 - 01:14
Microsoft has made public the source code to the original Microsoft 3D Movie Maker software...

AMD Renoir Seeing Nice Uplift Moving From Ubuntu 20.04 To 22.04 LTS

Phoronix - Wed, 05/04/2022 - 19:36
With my Ubuntu 22.04 LTS benchmarking thus far it's been focused on shiny and exciting high-end hardware, the latest flagship desktop processors, and interesting old hardware comparisons. But what about Ubuntu 22.04 LTS performance on recent but mature hardware platforms? For this round of testing I am looking at the Ubuntu 20.04 LTS versus Ubuntu 22.04 LTS performance on AMD Ryzen and Intel Core industrial PCs from OnLogic. Especially in the case of AMD Ryzen "Renoir" there is still more performance being squeezed out of this new Ubuntu long-term support release.

Fedora 37 Will Not Deprecate Legacy BIOS Support

Phoronix - Wed, 05/04/2022 - 18:41
Following weeks of vibrant public discussions over the change proposal to deprecate legacy BIOS support in Fedora 37, the Fedora Engineering and Steering Committee (FESCo) has rejected the change and will keep around the BIOS booting support for now...

Btrfs RAID 5/6 Sub-Page Support Readied For Linux 5.19

Phoronix - Wed, 05/04/2022 - 18:13
The latest Btrfs file-system work on its native RAID5/RAID6 mode is now supporting the file-system's sub-page functionality...

Qualcomm MSM DRM/KMS Driver To See Display Improvements With Linux 5.19

Phoronix - Wed, 05/04/2022 - 17:31
The Qualcomm "MSM" DRM/KMS driver is set to see several display improvements with the upcoming Linux 5.19 merge window...

Rewritten Apple Silicon CPUFreq Driver Posted For Linux

Phoronix - Wed, 05/04/2022 - 17:08
A new Apple SoC CPUFreq driver has been posted by Asahi Linux's Hector Martin with the CPU frequency scaling driver, of course, being important for achieving optimal performance and power/thermal management...

How I manage my own virtual network with ZeroTier

opensource.com - Wed, 05/04/2022 - 15:00
How I manage my own virtual network with ZeroTier Kevin Sonney Wed, 05/04/2022 - 03:00 Register or Login to like Register or Login to like

Automation is a hot topic right now. In my day job as a site reliability engineer (SRE), part of my remit is to automate as many repeating tasks as possible. But how many of us do that in our daily, not-work, lives? This year, I am focused on automating away the toil so that we can focus on the things that are important.

While automating everything, I ran into some difficulty with remote sites. I'm not a networking person so I started to look at my options. After researching the various virtual private networks (VPN), hardware endpoints, firewall rules, and everything that goes into supporting multiple remote sites, I was confused, grumpy, and frustrated with the complexity of it all.

More on automation Download now: The automated enterprise eBook Free online course: Ansible essentials Ansible cheat sheet eBook: A practical guide to home automation using open source tools A quickstart guide to Ansible More articles about open source automation

Then I found ZeroTier. ZeroTier is an encrypted virtual network backbone, allowing multiple machines to communicate as if they were on a single network. The code is all open source, and you can self-host the controller or use the ZeroTierOne service with either free or paid plans. I'm using their free plan right now, and it is robust, solid, and very consistent.

Because I'm using the web service, I'm not going to go into detail about running the controller and root services. ZeroTier has a complete reference on how to do that in their documentation, and it's very good.

After creating my own virtual network in the web user interface, the client installation is almost trivial. ZeroTier has packages for APT, RPM, FreeBSD, and many other platforms, so getting the first node online takes little effort.

Once installed, the client connects to the controller service and generates a unique ID for the node. On Linux, you use the zerotier-cli command to join a network, using the zerotier-cli join NETWORKID command.

$ sudo zerotier-cli info
200 info 469584783a 1.x.x ONLINE

You can also use zerotier-cli to get a listing of connected and available nodes, change network settings, and leave networks.

Image by:

(Kevin Sonney, CC BY-SA 4.0)

After joining a network, you do have to approve access for the node, either through the web console or by making a call to the application programming interface (API). Both methods are documented on the ZeroTier site. After you have two nodes connected, connecting to each other — no matter where you are or what side of any firewalls you may be on — is exactly what you would expect if you were in the same building on the same network. One of my primary use cases is for remote access to my Home Assistant setup without needing to open up firewall ports or expose it to the internet (more on my Home Assistant setup and related services later).

One thing I did set up myself is a Beta ZeroNDS Service for internal DNS. This saved me a lot of complexity for managing my own name service or having to create public records for all my private hosts and IP addresses. I found the instructions to be very straight forward, and was able to have a DNS server for my private network up in about 5 minutes. Each client has to allow Zerotier to set the DNS, which is very simple in the GUI clients. To enable it for use on Linux clients, use:

$ sudo zerotier-cli setNETWORKID allowDNS=1

No other updates are needed as you add and remove hosts, and it "just works."

$ sudo zerotier-cli info
200 info 469584845a 1.x.y ONLINE
$ sudo zerotier-cli join
93afae596398153a 200 join OK
$ sudo zerotier-cli peers
200 peers
<ztaddr> <ver> <role> <lat> <link> <TX> <RX> <path>
61d294b9cb - PLANET 112 DIRECT 7946 2812 50.7.73.34/9993
62f865ae71 - PLANET 264 DIRECT 7946 2681 50.7.76.38/9993
778cde7190 - PLANET 61 DIRECT 2944 2901 103.195.13.66/9993
93afae5963 1.x LEAF 77 DIRECT 2945 2886 35.188.31.177/41848
992fcf1db7 - PLANET RECT 79124 DI47 2813 195. 181.173.159/9993

I've barely scratched the surface of the features here. ZeroTier also allows for bridging between ZeroTier networks, advanced routing rules, and a whole lot more. They even have a Terraform provider and a listing of Awesome Zerotier Things. As of today, I'm using ZeroTier to connect machines across four physical sites, three of which are behind NAT firewalls. Zerotier is simple to set up, and almost completely painless to manage.

ZeroTier is an encrypted virtual network backbone, allowing multiple machines to communicate as if they were on a single network.

Image by:

Jonas Leupe on Unsplash

Networking Automation What to read next This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. Register or Login to post a comment.

Pages