[SSHd] Limiting access from authorized IP's
jon at radel.com
Fri Apr 18 17:19:10 UTC 2008
Paul Schmehl wrote:
> I see this statement all the time, and I wonder why. What does a
> firewall on an individual host accomplish?
> I have maintained publicly available servers for a small hobby domain
> for almost ten years now. Initially, I bought in to this logic and ran
> a firewall. (At that time we only had one server.) What it cost me was
> CPU and memory. What it gained me was nothing. I turned it off. I have
> never run a firewall on a publicly available host since.
> Firewalls are for preventing access to running services. By definition,
> if you are running a service, you want it to be accessed. So firewalls
> are self-defeating or completely useless at the host level **unless**
> you don't know what you're doing. For an enterprise they make a great
> deal of sense. No matter what a user inside your network might do, you
> can prevent access by simply not allowing traffic on that port.
Yes, in a world where nothing ever breaks, all system administrators
never make dumb mistakes, and no one ever breaks into your box to
install services that you certainly wouldn't approve of, the
defense-in-depth techniques being discussed here are pretty much a waste
of time. Alas, alack, my machines prove every couple of years that they
don't live in such a world. Must be me. ;-)
> If *everyone* knew how to properly configure and maintain a host, even
> enterprise firewalls would be completely unnecessary.
And if you've got users on your network.... Oh, my, users do the
darnedest things. As one little example: My firewall blocks outbound
traffic to port 25 from all those pesky workstations to anywhere other
than the local SMTP servers. Why? Makes me worry just a bit less about
some Windows box pumping spam out to the world due to an unfortunate
choice made by a user. I doubt there's an enterprise in the world where
every user both knows enough about host security *and* is disciplined
enough to apply that knowledge every minute of every day.
But then, I'm the guy who takes the time to put on his seatbelt each and
every time he starts the car, despite never, not once, having to
actually use it in 3 decades of driving.
> Firewalls are too often crutches for people that don't want to learn
> how to properly maintain a host.
Now that, on the other hand, I can completely agree with.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3283 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080418/278d96ac/smime-0001.bin
More information about the freebsd-questions