<def-group>
  <!-- THIS FILE IS GENERATED by create_sysctl_checks.py. DO NOT EDIT. -->
  <definition class="compliance" id="sysctl_runtime_net_ipv4_conf_all_accept_redirects" version="3">
    <metadata>
      <title>Kernel "net.ipv4.conf.all.accept_redirects" Parameter Runtime Check</title>
      <affected family="unix">
        <platform>Red Hat Enterprise Linux 6</platform>
      </affected>
      <description>The kernel "net.ipv4.conf.all.accept_redirects" parameter should be set to "0" in system runtime.</description>
      <reference source="JL" ref_id="RHEL6_20150216" ref_url="test_attestation" />
    </metadata>
    <criteria operator="AND">
      <criterion comment="kernel runtime parameter net.ipv4.conf.all.accept_redirects set to 0" test_ref="test_runtime_net_ipv4_conf_all_accept_redirects" />
    </criteria>
  </definition>

  <unix:sysctl_test id="test_runtime_net_ipv4_conf_all_accept_redirects" check="all" check_existence="all_exist" comment="Check net.ipv4.conf.all.accept_redirects kernel runtime parameter" version="1">
    <unix:object object_ref="object_runtime_net_ipv4_conf_all_accept_redirects" />
    <unix:state state_ref="state_runtime_net_ipv4_conf_all_accept_redirects" />
  </unix:sysctl_test>

  <unix:sysctl_object id="object_runtime_net_ipv4_conf_all_accept_redirects" version="1">
    <unix:name>net.ipv4.conf.all.accept_redirects</unix:name>
  </unix:sysctl_object>

  <unix:sysctl_state id="state_runtime_net_ipv4_conf_all_accept_redirects" version="1">
    <unix:value datatype="int" operation="equals">0</unix:value>
  </unix:sysctl_state>

</def-group>
