I'm looking into public-facing UNIX/Linux systems (are these just systems that are used by the public?)
Recall that these systems are primarily Server system and not desktops.
(yea, we see users with the DT versions, but that's a minority use for these OSs).
A public facing system is one with direct access to the internet (ignoring the physical wiring).
Such systems might be a web server, public DNS for the company 'public services' and or LDAP, Email servers. Have you see this topology yet?
ISP==Firewall#1---DMZ systems ---Firewall#2----Internal infrastructure
Everything in the DMZ is public facing .
and ways in which you can "harden" them. I'm not really looking for coding but just methods that can be used.
Harding per se is purely configuration issues;
Close unnecessary ports
Use a bi-directional firewall
Activate an IDS and monitor it
Crossing Firewall#2 is also tightly controlled as the goods on the otherside are the gems of the company.
A common technique is to disallow common ports (eg 80,443, 20,21, 25,110,143)
and to remap them into non-standard choices (eg 10080,10443, 10020, 10021, 10025,10110,100143)
and a proxy server to control access
You should know that everything in the DMZ is subject to being compromised and therefore
a complete scratch-and-rebuild process should be in place for every component.