-
Notifications
You must be signed in to change notification settings - Fork 709
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new rule service_dhcpd6_disabled
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
linux_os/guide/services/dhcp/disabling_dhcp_server/service_dhcpd6_disabled/rule.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
documentation_complete: true | ||
|
||
title: 'Disable DHCPD6 Service' | ||
|
||
description: |- | ||
The <tt>dhcp6</tt> service should be disabled on | ||
any system that does not need to act as a DHCP server. | ||
{{% if product in ['ubuntu2404'] %}} | ||
{{{ describe_service_disable(service="isc-dhcp-server6") }}} | ||
{{% else %}} | ||
{{{ describe_service_disable(service="dhcpd6") }}} | ||
{{% endif %}} | ||
rationale: |- | ||
Unmanaged or unintentionally activated DHCP servers may provide faulty information | ||
to clients, interfering with the operation of a legitimate site | ||
DHCP server if there is one. | ||
severity: medium | ||
|
||
platform: system_with_kernel | ||
|
||
template: | ||
name: service_disabled | ||
vars: | ||
servicename: dhcpd6 | ||
servicename@ubuntu2404: isc-dhcp-server6 | ||
packagename: dhcp | ||
packagename@rhel8: dhcp-server | ||
packagename@rhel9: dhcp-server | ||
packagename@ubuntu2404: isc-dhcp-server |