{"description": "\nThe <code>zebra</code> service can be disabled with the following command:\n<pre>$ sudo systemctl mask --now zebra.service</pre>", "rationale": "Routing protocol daemons are typically used on routers to exchange network\ntopology information with other routers. If routing daemons are used when not\nrequired, system network information may be unnecessarily transmitted across\nthe network.", "severity": "medium", "references": {"cis-csc": ["12", "15", "8"], "cobit5": ["APO13.01", "DSS05.02"], "hipaa": ["164.308(a)(4)(i)", "164.308(b)(1)", "164.308(b)(3)", "164.310(b)", "164.312(e)(1)", "164.312(e)(2)(ii)"], "isa-62443-2013": ["SR 3.1", "SR 3.5", "SR 3.8", "SR 4.1", "SR 4.3", "SR 5.1", "SR 5.2", "SR 5.3", "SR 7.1", "SR 7.6"], "iso27001-2013": ["A.13.1.1", "A.13.2.1", "A.14.1.3"], "nist": ["CM-7(a)", "CM-7(b)", "CM-6(a)"], "nist-csf": ["PR.PT-4"], "srg": ["SRG-OS-000480-GPOS-00227"]}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "the \"zebra\" is loaded and not masked", "ocil": "To check that the <code>zebra</code> service is disabled in system boot configuration,\nrun the following command:\n<pre>$ sudo systemctl is-enabled <code>zebra</code></pre>\nOutput should indicate the <code>zebra</code> service has either not been installed,\nor has been disabled at all runlevels, as shown in the example below:\n<pre>$ sudo systemctl is-enabled <code>zebra</code><br/> disabled</pre>\n\nRun the following command to verify <code>zebra</code> is not active (i.e. not running) through current runtime configuration:\n<pre>$ sudo systemctl is-active zebra</pre>\n\nIf the service is not running the command will return the following output:\n<pre>inactive</pre>\n\nThe service will also be masked, to check that the <code>zebra</code> is masked, run the following command:\n<pre>$ sudo systemctl show <code>zebra</code> | grep \"LoadState\\|UnitFileState\"</pre>\n\nIf the service is masked the command will return the following outputs:\n\n<pre>LoadState=masked</pre>\n\n<pre>UnitFileState=masked</pre>", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": "system_with_kernel", "platforms": ["system_with_kernel"], "sce_metadata": {"check-import": "stdout", "platform": ["multi_platform_all"], "environment": "any", "filename": "service_zebra_disabled.sh", "relative_path": "ubuntu2204/checks/sce/service_zebra_disabled.sh"}, "inherited_platforms": [], "cpe_platform_names": ["system_with_kernel"], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Disable Quagga Service", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/services/routing/disabling_quagga/service_zebra_disabled/rule.yml", "template": {"name": "service_disabled", "vars": {"servicename": "zebra", "packagename": "quagga"}, "backends": {}}}