Why would it need a firewall running?
Why would it need a firewall running?
Today you setup you shiny new host and you know exactly what is running on it and what ports are open. Some months/years later?
Yes, a single purpose mail server can get by with tcp/22 and tcp/25 for all it's useful life but something more complex?
Or when you don't even know for sure what are defaults are and you 'move fast and break things'? Should I remind you about MongoDB fiasco? [0] Are you sure all your 'internal' services (DBs and whatever) are bound to localhost and not to 0.0.0.0?
Running a firewall in the default drop/whitelist mode (at least for the inbound traffic) protects you against your own mistakes.
Add to this what while you can be an exceptional localhost admin, as soon as you have more than 5 hosts and/or work with other people you can never be sure what every host is properly configured, secured, don't have anything unnecessary running.
[0] https://krebsonsecurity.com/2017/01/extortionists-wipe-thous...
>> If installed on a server with the default settings, for example, MongoDB allows anyone to browse the databases, download them, or even write over them and delete them.
Edit: with a 'deemed safe enough by Gordonjcp@HN' column of course.
Your argument is "software might have unsafe defaults, so you should rely on a piece of software that might have unsafe defaults".
My argument is having an additional layer of protection just in case. Do you wear a helmet only on the days you fall off from your bicycle?
> you should rely on a piece of software that might have unsafe defaults
Well, if you just took the helmet with you but never bothered to wear it...
If you cannot install a server without ensuring you're running what you expect to be running, you've no business running it at all.
It's a skill that everyone should know, if they want to run servers. It's a skill you can acquire by reading some very simple instructions.
Imagine if bridges were designed and built by the fuckwits that created (or indeed use) MongoDB.
The other way in which the analogy is flawed is that I might very well consider myself a perfect cyclist, but that still doesn't protect me from that drunk driver in a SUV shooting out a side alley where I have no chance to react.
A firewall does nothing useful if there's nothing to firewall.