3 posts with tag network
Tokio: receive variable-sized data from a UdpSocket
Imagine you're listening on a tokio::net::UdpSocket and you know you're going to receive a packet, but don't know the size. The first option was to find out what the other party might send, but that i…
·
1 minute reading time
Ubuntu 24.04: disable systemd-resolved's stub listener
I'm rebuilding my server and I need to make sure the server itself does not listen to port 53 as we'll be hosting a Docker container with AdGuard on port 53. To do that we need to disable systemd-reso…
·
1 minute reading time
You cannot disable rDNS (IPv6) nameservers with netplan
I am playing with IPv6 and wanted to statically configure /etc/resolv.conf's nameservers. I wanted to avoid getting any from the Router, even though I wanted an IPv6 address through SLAAC. First try S…
·
2 minutes reading time