Securing your Red Hat Linux network
What steps should I take to secure a network of computers running Red Hat Linux Fedora Core 3?

    Requires Free Membership to View

    When you register, my team of editors will also send you resources covering Linux administration and management; integration and interoperability between Linux, Windows and Unix; securing Linux and mixed-platform environments; and migrating to Linux.

    Margie Semilof, Editorial Director

    By submitting your registration information to SearchEnterpriseLinux.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchEnterpriseLinux.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

I can provide some general recommendations for securing a network of Red Hat Linux systems. These are listed below:
  • Only install the packages and components you require for your hosts. Any host build should start from the Red Hat 'minimal' build and then add any required additional packages.
  • Update your hosts frequently and ensure any known vulnerabilities are addressed using patching, updates or workarounds.
  • Remove any unneeded users and groups. Also change the passwords of, and preferably lock, any user accounts which do not need to log in. Remember to chose strong passwords and change them on a regular basis.
  • Remove any unnecessary process, daemons or services. Red Hat comes with a number of services you probably don't need, for example, unless you need NFS you should disable it and any related services.
  • Firewall your hosts and your network. Install a firewall such as iptables to your host and secure it. Install a firewall between your hosts and any external networks. Ensure you firewall both incoming and outgoing traffic so as to only allow those services and daemons which you actually require to send and receive traffic on your host.
  • Secure incoming connections to your hosts. This includes tools such as ssh where you should, for example, disallow root logins. This also applies to securing services, such as mail, which you might want to allow through your firewalling. Limit access to these services to the resources, hosts and networks that require them.
  • Install network- and host-based Intrusion Detection Systems (HIDS) and/or integrity checking application such as Tripwire on hosts.
  • Look at hardening the base operating system and kernel of your hosts with additions such as Security Enhanced Linux or Openwall.
  • Log. Log some more. And then sort, correlate, alert and -- most importantly --review your logs and alerts.
  • Review Red Hat's security announcements and general Linux security lists for vulnerabilities or bugs relevant to your hosts. Awareness is the first step in prevention.

This was first published in July 2005