]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: disable IPv6AcceptRA= in several default config
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 2 Nov 2023 04:29:45 +0000 (13:29 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 3 Nov 2023 02:41:52 +0000 (11:41 +0900)
Also,
- drop DHCP=no, as it is the default setting,
- enable IPv6SendRA= for wifi access point,
- enable MulticastDNS= for wifi adhoc mode.

network/80-auto-link-local.network.example
network/80-container-ve.network
network/80-container-vz.network
network/80-vm-vt.network
network/80-wifi-adhoc.network
network/80-wifi-ap.network.example

index 7f6a14ac419f57100ce3856d17bcf12d17595537..286b5324960fe9cbfee8d35bdfd3577d3335e0d6 100644 (file)
@@ -16,6 +16,5 @@ Property=ID_NET_AUTO_LINK_LOCAL_ONLY=1
 
 [Network]
 LinkLocalAddressing=yes
-DHCP=no
 IPv6AcceptRA=no
 MulticastDNS=yes
index d295d131aadd89a4666cb6e6c064dfe6130e84cf..5e94041be609c2031d57b907c37be97d2d89131d 100644 (file)
@@ -27,4 +27,5 @@ DHCPServer=yes
 IPMasquerade=both
 LLDP=yes
 EmitLLDP=customer-bridge
+IPv6AcceptRA=no
 IPv6SendRA=yes
index 7d902e78bd5c0d97fca96590b51f279887575411..a8b4d462a0f8f7cfba8a1adb20af74871b5a1fca 100644 (file)
@@ -26,4 +26,5 @@ DHCPServer=yes
 IPMasquerade=both
 LLDP=yes
 EmitLLDP=customer-bridge
+IPv6AcceptRA=no
 IPv6SendRA=yes
index 7979871e2c053b23a775866bb581f12b6fc2ab31..a58f753cfcea3b0441ab5ef13433bff173049296 100644 (file)
@@ -26,4 +26,5 @@ DHCPServer=yes
 IPMasquerade=both
 LLDP=yes
 EmitLLDP=customer-bridge
+IPv6AcceptRA=no
 IPv6SendRA=yes
index d7a341d018a04eed72270a96118e16be6a87d0a8..fd3faca60c1aa1654de6c9071172aca40a8c063e 100644 (file)
@@ -17,3 +17,5 @@ WLANInterfaceType=ad-hoc
 
 [Network]
 LinkLocalAddressing=yes
+IPv6AcceptRA=no
+MulticastDNS=yes
index 6ea10243126b7f6b35ebc6f9bee6b5bff48f6271..09de9192d713ed20b1ee912d66249f1cbdcc2a5c 100644 (file)
@@ -17,3 +17,5 @@ WLANInterfaceType=ap
 Address=0.0.0.0/24
 DHCPServer=yes
 IPMasquerade=both
+IPv6AcceptRA=no
+IPv6SendRA=yes