I worked a bit on my #guile netlink implementation yesterday and added the RTM_*ADDR types for rtnetlink. This was enough for me to write some code that adds an IP address (v4 or v6) to an interface! The goal is to use it to replace the current static-networking-service-type in #guix as it currently only supports ipv4. You can find the code here:


and I have a manual at git.lepiller.eu/guile-netlink/


@roptat this could also be used to do real network isolation in guix container. cool stuff!

Yep, that's also part of the plan. I saw that their is a netlink_netfilter protocol, so I'm wondering if I can implement a firewall in guile too :)

Sign in to participate in the conversation

On the internet, everyone knows you're a cat — and that's totally okay.