Skip to contentSkip to conversation

main: Add 'veth' to the default blacklist

PATCH Applied Javier Bassi 2 participants 2 messages Apr 3, 2025 – Apr 4, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 main: Add 'veth' to the default blacklist

Connman conflicts with Docker, breaking networking, as explained and fixed in 9eb1772d31b6f ("Don't add route for invalid dst and gateway address combinations"). However, that fix was reverted in d8a634f20de3 due to conflicts with WireGuard.

This approach is simpler and does not conflict with the WireGuard daemon, as tested in https://github.com/moby/moby/issues/49653

---
 doc/connman.conf.5.in | 2 +-
 src/main.c            | 1 +
 src/main.conf         | 4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)
doc/connman.conf.5.in +1 -1
index 9d3dfb94..7ab0b28b 100644
@@ -107,7 +107,7 @@ List of blacklisted network interfaces separated by ",".
 Found interfaces will be compared to the list and will
 not be handled by connman, if their first characters
 match any of the list entries. Default value is
-vmnet,vboxnet,virbr,ifb,ve-,vb-,ham.
+vmnet,vboxnet,virbr,ifb,ve-,vb-,ham,veth.
 .TP
 .BI AllowHostnameUpdates=true\ \fR|\fB\ false
 Allow connman to change the system hostname. This can
src/main.c +1 -0
index 31a9f90a..5d13fb7b 100644
@@ -91,6 +91,7 @@ static char *default_blacklist[] = {
 	"ve-",
 	"vb-",
 	"ham",
+	"veth",
 	NULL
 };
 
src/main.conf +2 -2
index cbfef228..53de3cd2 100644
@@ -66,8 +66,8 @@
 # Found interfaces will be compared to the list and will
 # not be handled by ConnMan, if their first characters
 # match any of the list entries. Default value is
-# vmnet,vboxnet,virbr,ifb,ve-,vb-,ham.
-# NetworkInterfaceBlacklist = vmnet,vboxnet,virbr,ifb,ve-,vb-,ham
+# vmnet,vboxnet,virbr,ifb,ve-,vb-,ham,veth.
+# NetworkInterfaceBlacklist = vmnet,vboxnet,virbr,ifb,ve-,vb-,ham,veth
 
 # Allow ConnMan to change the system hostname. This can
 # happen for example if we receive DHCP hostname option.
Signature · 1 line
2.39.5
#1 lore raw
This patch was applied to connman.git (master) by Denis Kenzior <[email protected]>:

Hello:

This patch was applied to connman.git (master)
by Denis Kenzior <[email protected]>:

Quoted 9 lines · On Thu, 3 Apr 2025 15:53:01 -0300 you wrote:

Connman conflicts with Docker, breaking networking, as explained and fixed in 9eb1772d31b6f ("Don't add route for invalid dst and gateway address combinations"). However, that fix was reverted in d8a634f20de3 due to conflicts with WireGuard.

This approach is simpler and does not conflict with the WireGuard daemon, as tested in https://github.com/moby/moby/issues/49653

[...]

Here is the summary with links:
- main: Add 'veth' to the default blacklist

    https://git.kernel.org/pub/scm/network/connman/connman.git/?id=b412b726e4df

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html