The discard daemon must be disabled on AIX.
An XCCDF Rule
Description
The discard service is used as a debugging and measurement tool. It sets up a listening socket and ignores data that it receives. This is a /dev/null service and is obsolete. This can be used in DoS attacks and therefore, must be disabled to prevent attacks.
- ID
- SV-215377r958478_rule
- Version
- AIX7-00-003072
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
In "/etc/inetd.conf", comment out the "discard" entries by running commands:
# chsubserver -r inetd -C /etc/inetd.conf -d -v 'discard' -p 'tcp'
# chsubserver -r inetd -C /etc/inetd.conf -d -v 'discard' -p 'udp'
Restart inetd:
# refresh -s inetd