Problem solve Get help with specific problems with your technologies, process and projects.

Securing Fedora Core 5 against attackers

A Linux security expert recommends several best practices for hardening your Fedora Core 5 proxy server.

How can I secure my Linux proxy, Fedora Core 5, from hackers, viruses and attackers?

Generally speaking, a proxy is a little more vulnerable than some other kinds of hosts, and they are often targets of internal users trying to bypass corporate policies and controls. I recommend the following general steps:

  1. Firewall your host carefully and only allow access to those ports you absolutely require.
  2. Only install and run the minimum services needed to perform the proxies function.
  3. Regularly update and patch your host.
  4. Review and check your logs -- both OS and proxy.

More specifically for proxying, I recommend ensuring you scan incoming and outgoing content for viruses and malicious code. There are a number of open source or commercial virus scanners that can work in conjunction with Squid. If you use Squid you can also make use of blacklisting with a tool like SquidGuard and you can find a number of other Squid-related tools.

Lastly, make sure you use some kind of authentication for your proxy users. You will want to make certain that appropriate access control lists (ACLs) are configured in Squid to ensure that only your users can make use of your proxy and, preferably, that users must authenticate against a directory such as LDAP with a username and password.

Dig Deeper on Linux servers

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.