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:

git.lepiller.eu/guile-netlink

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

Follow

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

@dthompson
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
Toot.Cat

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