Sun Shield is a free preference pane firewall that has A LOT of customization. Then there's Little Snitch (not free) for outgoing connections and Netbarrier (also not free) detects attacks on your computer, shows you a world map of where they come from and can even block the IP address of the person attcking you automatically.
IT's well worht the money and all of the above work in the background.