From 042a9f36bc0bcf4174c472cf5228dc2eb0f0c64e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathijs=20M=C3=B6hlmann?= Date: Wed, 21 Jan 2026 09:35:39 +0100 Subject: [PATCH] generate UDP on outside interfaces Binding the udp socket to 127.0.0.1 prevents it from sending packages to outside localhost. --- lading/src/generator/udp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lading/src/generator/udp.rs b/lading/src/generator/udp.rs index 3e84560b8..c62929621 100644 --- a/lading/src/generator/udp.rs +++ b/lading/src/generator/udp.rs @@ -237,7 +237,7 @@ impl UdpWorker { let total_bytes = self.block_cache.peek_next_size(&handle); tokio::select! { - conn = UdpSocket::bind("127.0.0.1:0"), if connection.is_none() => { + conn = UdpSocket::bind("0.0.0.0:0"), if connection.is_none() => { match conn { Ok(sock) => { debug!("UDP port bound");