From: Yu Watanabe Date: Thu, 2 Nov 2023 04:29:45 +0000 (+0900) Subject: network: disable IPv6AcceptRA= in several default config X-Git-Tag: v255-rc1~36^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=71164ee9fe1abf649ced47a9df7119ff1bc4eec7;p=thirdparty%2Fsystemd.git network: disable IPv6AcceptRA= in several default config Also, - drop DHCP=no, as it is the default setting, - enable IPv6SendRA= for wifi access point, - enable MulticastDNS= for wifi adhoc mode. --- diff --git a/network/80-auto-link-local.network.example b/network/80-auto-link-local.network.example index 7f6a14ac419..286b5324960 100644 --- a/network/80-auto-link-local.network.example +++ b/network/80-auto-link-local.network.example @@ -16,6 +16,5 @@ Property=ID_NET_AUTO_LINK_LOCAL_ONLY=1 [Network] LinkLocalAddressing=yes -DHCP=no IPv6AcceptRA=no MulticastDNS=yes diff --git a/network/80-container-ve.network b/network/80-container-ve.network index d295d131aad..5e94041be60 100644 --- a/network/80-container-ve.network +++ b/network/80-container-ve.network @@ -27,4 +27,5 @@ DHCPServer=yes IPMasquerade=both LLDP=yes EmitLLDP=customer-bridge +IPv6AcceptRA=no IPv6SendRA=yes diff --git a/network/80-container-vz.network b/network/80-container-vz.network index 7d902e78bd5..a8b4d462a0f 100644 --- a/network/80-container-vz.network +++ b/network/80-container-vz.network @@ -26,4 +26,5 @@ DHCPServer=yes IPMasquerade=both LLDP=yes EmitLLDP=customer-bridge +IPv6AcceptRA=no IPv6SendRA=yes diff --git a/network/80-vm-vt.network b/network/80-vm-vt.network index 7979871e2c0..a58f753cfce 100644 --- a/network/80-vm-vt.network +++ b/network/80-vm-vt.network @@ -26,4 +26,5 @@ DHCPServer=yes IPMasquerade=both LLDP=yes EmitLLDP=customer-bridge +IPv6AcceptRA=no IPv6SendRA=yes diff --git a/network/80-wifi-adhoc.network b/network/80-wifi-adhoc.network index d7a341d018a..fd3faca60c1 100644 --- a/network/80-wifi-adhoc.network +++ b/network/80-wifi-adhoc.network @@ -17,3 +17,5 @@ WLANInterfaceType=ad-hoc [Network] LinkLocalAddressing=yes +IPv6AcceptRA=no +MulticastDNS=yes diff --git a/network/80-wifi-ap.network.example b/network/80-wifi-ap.network.example index 6ea10243126..09de9192d71 100644 --- a/network/80-wifi-ap.network.example +++ b/network/80-wifi-ap.network.example @@ -17,3 +17,5 @@ WLANInterfaceType=ap Address=0.0.0.0/24 DHCPServer=yes IPMasquerade=both +IPv6AcceptRA=no +IPv6SendRA=yes