Slashdot Mirror


Ask Slashdot: Is Running Mission-Critical Servers Without a Firewall Common?

An anonymous reader writes: I do some contract work on the side, and am helping a client set up a new point-of-sale system. For the time being, it's pretty simple: selling products, keeping track of employee time, managing inventory and the like. However, it requires a small network because there are two clients, and one of the clients feeds off of a small SQL Express database from the first. During the setup, the vendor disabled the local firewall, and in a number of emails back and forth since (with me getting more and more aggravated) they went from suggesting that there's no need for a firewall, to outright telling me that's just how they do it and the contract dictates that's how we need to run it. This isn't a tremendous deal today, but with how things are going, odds are there will be e-Commerce worked into it, and probably credit card transactions... which worries the bejesus out of me.

So my question to the Slashdot masses: is this common? In my admittedly limited networking experience, it's been drilled into my head fairly well that not running a firewall is lazy (if not simply negligent), and to open the appropriate ports and call it a day. However, I've seen forum posts here and there with people admitting they run their clients without firewalls, believing that the firewall on their incoming internet connection is good enough, and that their client security will pick up the pieces. I'm curious how many real professionals do this, or if the forum posts I'm seeing (along with the vendor in question) are just a bunch of clowns.

348 comments

  1. Its Fine. by Anonymous Coward · · Score: 3, Funny

    Everything is Fine.

    1. Re:Its Fine. by beschra · · Score: 3, Insightful

      I think Target may disagree. Firewalls on database servers may not have kept their data safe but their experience proved that it is unwise to assume that all internal network traffic is trustworthy.

      --
      It is unwise to ascribe motive
    2. Re:Its Fine. by Anonymous Coward · · Score: 0

      If a firewall would not have kept the data safe, and you have to pay someone to maintain the firewall, they why would you bother? It's not like Target was some kind of wake up call, the industry is already aware of the fact that internal network traffic can be malicious.

    3. Re:Its Fine. by scubamage · · Score: 1

      This is true, however some databases simply aren't compatible with local firewalls. Oracle for instance requires your server to be more or less wide open (request comes in on one port, a response is sent back indicating the port to actually communicate on, then the client resends the query to that new port - so, more or less all ports have to be unblocked). This is where stuff like centralized authentication, nagios, monitoring of the /home/*/.history files, etc comes in useful. Sometimes local firewalls simply aren't an option.

    4. Re:Its Fine. by Anonymous Coward · · Score: 0

      [...] monitoring of the /home/*/.history files, etc comes in useful.

      How is that any useful? I always symlink mine to /dev/null because having "rm *" in history is asking for trouble. Anyone malicious could do the same to avoid your cutting edge monitoring of .history files.

    5. Re:Its Fine. by scubamage · · Score: 0

      It's actually quite useful if you have something which monitors those files. No open CM ticket for a server, but you suddenly see someone logged in and making changes? Sound an alarm. .history shows you everything a user types as soon as they type it (even modifying the shell to keep 0 history would show up initially). We use splunk to monitor it, and also monitor /etc for any changes to system files. It's lightweight and has helped us find a number of issues before.

    6. Re:Its Fine. by TitusGroan8856 · · Score: 1

      so on the client side you would run rules such as "established and related" or specifically allow all UDP or TCP to/from the required server's IP. You should still run a firewall, but the rules would be a little more relaxed.

    7. Re:Its Fine. by Anonymous Coward · · Score: 0

      A guard at the door, a lock on the big safe and small locks on individual safes don't stop banks from getting robbed... might as well just remove all those safeguards since they are apparently useless.

    8. Re: Its Fine. by Anonymous Coward · · Score: 0

      Exactly this. Un(der)trained sys adkins that wear 12 hats supporting users, vendors who's techs don't even know what ports need to be opened. There are many contributing factors, but yes, this is common.

    9. Re: Its Fine. by Anonymous Coward · · Score: 2, Informative

      Not true. We ran host based firewalls on all our oracle servers, solaris, windows and Linux.We opened up port 1521 (sql*net) and that was it. If I recall, windows based servers defaulted to a handoff port like you describe, but it could be easily configured for just 1521.

    10. Re:Its Fine. by Anonymous Coward · · Score: 0

      .history shows you everything a user types as soon as they type it

      What shell are your users using? That's not what I see at all.

    11. Re:Its Fine. by Minwee · · Score: 1

      .history shows you everything a user types as soon as they type it

      What shell are your users using? That's not what I see at all.

      Sounds like Korn shell. You probably see Bourne-again shell writing to ${HISTFILE} when it exits, but ksh will continually update .sh_history as commands are entered. This can get a bit awkward if you are using a shared account with more than one person logged on at once.

    12. Re: Its Fine. by scubamage · · Score: 1

      FYI, it depends if you're using a shared or dedicated server process. Shared uses a single interface, dedicated creates a new instance. We use dedicated in our environment. Check section 3.4.2 per the 11g docs: http://docs.oracle.com/cd/B283...

    13. Re:Its Fine. by scubamage · · Score: 1

      Correct - for all of our telephony servers KSH is set to the default (some weird carry over from the way the vendor software reconfigures linux to act more like earlier solaris did). So, whenever users log in, they're using ksh. Usually folks use their own accounts thanks to centralized auth or they get nastygrams.

    14. Re:Its Fine. by Bacon+Bits · · Score: 1

      The possibility of a resonance cascade scenario is extremely unlikely!

      --
      The road to tyranny has always been paved with claims of necessity.
    15. Re:Its Fine. by colinjl · · Score: 1

      Everything is Awesome.

      FTFY

    16. Re:Its Fine. by Anonymous Coward · · Score: 0

      Well, it might be. Firewall != security. If they have hardened the machines removing/disabled ALL services which are not needed on the machines then you have the same security as a firewall that lets those things through. However, Hardening Microsoft machines after XP is close to impossible. The service dependencies are poorly documented and many of the operating system functions rely and fail badly of everything isn't "ON".

      So the answer is:
      If it is a Microsoft windows machine you MUST have the local firewall on if you want the machine to function properly and still have some security. If you run BSD/Linux or some other non "toy" OS and the machine has been hardened you don't have to use of a local firewall on the machine. A firewall between your local net and the Internet is a must however.

  2. Common? by bengoerz · · Score: 4, Insightful

    Is stupidity common? Yes. Yes it is.

    In my experience, the stupid people tend to get fired eventually. But the mess they leave behind can be tremendous.

    1. Re: Common? by Type44Q · · Score: 2

      Judging from the state of things in the world today, they climb to the very top of the shit-heap (who knew you could wear your stupidity and use it like a jetpack?!)...

    2. Re: Common? by Anon-Admin · · Score: 1

      Johney Cash's Song "The Farmers Almanac" --
        It's a little off-beat and a little off-track
      But it says in the farmer's almanac, it says
      'In rivers and bad government the lightest things flow to the top'

    3. Re:Common? by Shortguy881 · · Score: 4, Informative

      I worked in the restaurant point of sale industry for a few years and one thing all the business owners had in common was technology illiteracy. They have no idea how things like this can impact their business, especially when it comes to credit cards.

      On the bright side, PCI compliance highly regulates credit card information security and will scrutinize any company/network/point of sale equipment that comes in contact with credit card info. They will never pass inspection with no firewall, which means that they will need to become PCI compliant or face fines.

      That point alone was usually enough to convince our clients to do things the right way.

      --
      Brilliance without wisdom, power without conscience. Ours is a world of nuclear giants and ethical infants.
    4. Re:Common? by bill_mcgonigle · · Score: 1

      Right. See if it meets PCI requirements (you need to at least be able to reference them if you're in this line of work). If so, leave a note with the employer as to what might (will) happen and move on.

      If every port on the VLAN is 802.1x certificate-authenticated you might not need to actually worry. Hahahaha, yeah, I'm sure it is....

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    5. Re:Common? by Ravaldy · · Score: 1

      Missing information.

      As far as I'm concerned the number 1 priority is to protect the local network from the outside world using a firewall. I'm assuming this is already done. Considering there are 2 terminals I doubt disabling the software firewall on the box is a big deal especially if the OS is kept up to date. If disabling the soft firewall on the machine was the solution to getting the clients working then I assuming they didn't want to spend anymore money dealing with the problem.

      Disabling the soft firewall is often the path of least resistance when dealing with port connectivity issues.

    6. Re:Common? by Ravaldy · · Score: 1

      ShortGuy,

      I agree. Small business owners are often victim of lack of knowledge of what can happen. Our duty is to educate them properly. I work for a small corporation (150 employees) and the owners tend to brush off issues like security. All I do is show them articles to disasters other companies have had. I also had one of my old employers come in to explain how damaging their failed backup procedures were to the company revenues for that year. You have to hit them where it hurts to make them understand the importance of something.

      As I often say: "It's not a priority until it's too late to be pro-active".

    7. Re:Common? by Minwee · · Score: 1

      They will never pass inspection with no firewall, which means that they will need to become PCI compliant or face fines.

      Unfortunately some clients think that "never" only applies to other people.

      What's worse is that it can be quite a long time before they are proven wrong.

    8. Re:Common? by cmdrbuzz · · Score: 1

      With PCI you'd still need a host firewall. Daft but thats just how the "tickbox auditing" happens.

      We have a DB host connected via FICON to the mainframe, and the DB box only has a FICON adaptor and the cable goes from mainframe => DB, not even via a switch.

      We still needed a host firewall to comply with PCI and it wasn't worth arguing over that it was pointless, we did it anyhow. Admitted we are a large financial services company, but the rules apply across the board.

    9. Re:Common? by Anonymous Coward · · Score: 0

      PCI compliance is self-inspection and enforcement. Even if you find faults, you are directed to give them your planned remediation steps. Very few companies are required to actually provide compliance certificates from a 3rd party to their payment processing vendors.

    10. Re:Common? by Anonymous Coward · · Score: 0

      On the bright side, PCI compliance highly regulates credit card information security and will scrutinize any company/network/point of sale equipment that comes in contact with credit card info. They will never pass inspection with no firewall, which means that they will need to become PCI compliant or face fines.

      That point alone was usually enough to convince our clients to do things the right way.

      This is unfortunately a sham and very easy for ISV's to get a tick.

      If their documentation says "open all ports" and the firewall is configured to do so, then they've met their PCI compliance requirements.

    11. Re:Common? by Anonymous Coward · · Score: 0

      "In my experience, the stupid people tend to get fired eventually. "

      YMMV.
      In a lot of places its the smart people who get fired or walk away and its the stupid people that stick around.

    12. Re:Common? by cthulhu11 · · Score: 1

      For years I worked for a global company - almost all servers run by a certain BU are on public addresses with little or no ACL / firewall protection. I periodically tried to get at least ACL's set up, but the team responsible for adding those to the router configs couldn't be bothered, no matter how clear I was about our exposure. I had to disable network IPMI on servers to remove that intrusion vector. After a number of years of trying I'd started to get some traction on setting up a private management network for the netmgmt and other embedded interfaces, but again disinterest from those in the deployment path stalled implementation. I'm astounded that we never got pwned in a serious way.

  3. Every stupid idea is common by i+kan+reed · · Score: 4, Insightful

    Not just because plenty of things are run by stupid people, but also because otherwise smart people can have pretty damned important blind spots. And other IT people have been talked out of it by their clients just like you're letting happen.

    Whether it's common or not has no bearing on whether it's a good idea.

    The only question you need to ask them is weather they're willing to accept the quantified risks from having exposed systems.

    1. Re:Every stupid idea is common by nospam007 · · Score: 1

      "The only question you need to ask them is weather they're willing to accept the quantified risks from having exposed systems."

      And you might be able to make a quick buck with that information later.

    2. Re:Every stupid idea is common by Anonymous Coward · · Score: 0

      This is a reasonable stance. You're there in a contracting position, not a long term security adminstrator. Make recommendations, detail what could possibly happen both now and in the future. I'd raise the point that if a company takes this stance on a firewall how secure could the rest of the system be? A firewall only blocks unwanted traffic. What about when you have to open ports to interface with their software? How secure is the underlying service? I'd argue not very.

    3. Re:Every stupid idea is common by rnturn · · Score: 1, Funny

      Well... at least they were spelled correctly.

      --
      CUR ALLOC 20195.....5804M
    4. Re:Every stupid idea is common by aussiedood · · Score: 3, Funny

      The only question you need to ask them is weather they're willing to accept the quantified risks from having exposed systems.

      I'm not sure asking them about weather is going to help. ;)

    5. Re:Every stupid idea is common by indeterminator · · Score: 1

      Your username claims you can read, but makes no such claims about writing. Making a spelling mistake and then noticing it yourself seems logically consistent with that.

    6. Re:Every stupid idea is common by Dan1701 · · Score: 1

      Yes, I know. The reason we have agreed-upon standards for machines where I work, which include as restrictive a firewall as is possible without compromising machine usability, is that this basic set of guidelines prevents a lot of smart but woefully ignorant people from shooting themselves in the foot. We're not quite at the level of routinely portscanning machines, but the luser I encountered yesterday who hadn't troubled to put a firewall on his Debian box "because there isn't anything listening on it" (nmap proved otherwise, BTW) will shortly be having a short lecture on the merits of listening to security experts and installing a bloody firewall, damnit!

      Computer security and standard health and safety are actually a lot alike. There are basic rules to each which are enforced because they prevent trouble; we systems administrators administer the rules because we're the poor schmos who get to clear up the mess after the twit who thought he could ignore rules finds out that in fact he can't.

  4. Depends by Anonymous Coward · · Score: 0

    Is there a reverse proxy and a DMZ to the outside world and transparent VPN on the internal network between the database and the clients?

  5. Apparently... by Type44Q · · Score: 0

    Apparently only if you possess data that someone else might want... ;)

    1. Re:Apparently... by i+kan+reed · · Score: 5, Insightful

      Or bandwidth. Or visitors. Or intern-connections. There's a lot of room for serious damage from a lack of security, and not all of it is data theft.

      People using your server as a spambot is bad.
      People infecting your sites visitors with malware is bad.
      People jumping to a different, more secure system from your server is bad.

      We tend to notice the data theft issues most these days, because a lot of companies keep a lot of sensitive data, so a Target credit card hijack is tremendously bad and newsworthy.

      But that doesn't mean other classes of security risk don't exist.

    2. Re:Apparently... by Jason+Levine · · Score: 5, Insightful

      Exactly. Too many people (both businesses and home users) say "Well, I don't have anything that 'those hackers' would want so why bother with protections?" The thing is, though, you DO have something they want. At the very least, a home user has bandwidth. If a malware author hijacks a computer, he can use it to pump out tons of spam. The user might notice an annoying slowdown but otherwise wouldn't know what was up. In the case of businesses, infecting your customers with malware (due to being hacked) or your site slowing down to a crawl (because it is a spam bot and is spending precious resources spamming people) is a sure method to lose customers. I'd wager that the money "gained" by not doing a proper firewall network is more than lost by the "lost sales" of customers fleeing after the servers have been hacked.

      --
      My sci-fi novel, Ghost Thief, is now available from Amazon.com.
    3. Re:Apparently... by multimediavt · · Score: 1

      And, you forgot DDoS and relay attacks from your machine! Even if you have "nothing of value" on your system (your identity info, tax returns, etc. count, duh!) the system itself is valuable to an attacker if they can gain control of it. When the DHS guys show up on YOUR doorstep because someone hacked into Pentagon computers from YOUR machine that's going to be an interesting day for you, until they figure out you were a pawn. That last bit can take a long time, btw and in the mean time you have no computer and usually can't go near one until the investigation is over. If this happens as part of your job, well, then there's the job hunting that will need to start and the trying to change careers because no one will hire a DUMBASS server admin!

  6. Fire(wall) and forget by RichardJenkins · · Score: 4, Insightful

    It sounds a little like you're trying to just fling a firewall at the system and improve some sort of objective security metric.

    What threats are you risks to mitigate with the firewall? What threats will it help guard against?

    They don't come for free, and configuring them don't come for free.

    1. Re:Fire(wall) and forget by Maxwell · · Score: 2

      Stop being rational. Just, stop it. You never need a business case for awesomely complex, double reverse DMZ firewall setups here on /. !

    2. Re:Fire(wall) and forget by Anonymous Coward · · Score: 5, Insightful

      It sounds like you're some bureaucrat trying to justify the costs of standard security practices.

      The objective of any firewall is to prevent traffic on all unused ports in order to limit potential attack vectors. This is a given and no specific threat needs to be stated.
      Put the firewall up FIRST, and open essential ports as necessary. This is network security 101.

    3. Re:Fire(wall) and forget by bickerdyke · · Score: 3, Insightful

      But again. What IS the threat of network traffic to a port no one is listening on? None. What your firewall is you protecting from is NOT bad stuff from the outside. It's protecting you from the inside danger that some service suddenly opens a port which is reachable from the outside. (Hate to dig out the old Win vs. *nix, but the usual suspects for this are usually Windows servers you need to lock down first, as they're usually asuming that they're in a friendly network. On *nix machines you usually need to manually add those services one by one, as you would open the ports on your firewall)

      --
      bickerdyke
    4. Re:Fire(wall) and forget by Bert64 · · Score: 2

      If ports are unused, then the hosts themselves will reject any traffic sent to them without the need of a firewall...
      If the hosts are running services you don't want, then you haven't configured your hosts correctly and hiding poorly configured hosts behind a firewall is not the answer.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    5. Re: Fire(wall) and forget by Anonymous Coward · · Score: 1

      If the ports are unused, what is the firewall doing?

      I rarely use firewalls on or in front of a server. Focus on maintaining security updates to the software which is network facing. It's the best you can do. A firewall in front of a server with an open port is stupid because it already has a giant hole in it.

      Now, a firewall between local networks, that's a different matter.

    6. Re:Fire(wall) and forget by praxis · · Score: 4, Insightful

      But again. What IS the threat of network traffic to a port no one is listening on? None. What your firewall is you protecting from is NOT bad stuff from the outside. It's protecting you from the inside danger that some service suddenly opens a port which is reachable from the outside. (Hate to dig out the old Win vs. *nix, but the usual suspects for this are usually Windows servers you need to lock down first, as they're usually asuming that they're in a friendly network. On *nix machines you usually need to manually add those services one by one, as you would open the ports on your firewall)

      The firewall provides defense in depth. Yes, if nothing else goes wrong, the Firewall is unnecessary. On the other hand, if something else does go wrong, the firewall become another obstacle for the attacker.

    7. Re:Fire(wall) and forget by gstoddart · · Score: 3, Insightful

      If ports are unused, then the hosts themselves will reject any traffic sent to them without the need of a firewall...

      Unless someone figures out how to glean information from your system, or exploit something you don't know about in the operating system. If I can figure out what ports you have stuff listening on, I can work on exploiting the things that I can determine are listening.

      Without a firewall, you're allowing external entities to map the system, when they shouldn't even be able to reach the system.

      if you're going to try for security, assume nothing, trust nothing, and act as if it was really important stuff.

      If you're not going to try for security, well, the Ostrich Algorithm is a strategy, but one whose consequences you might need to live with.

      I'm more of the school that says packet requests from sources you don't trust should simply be dropped, and not provide them with any more information than necessary.

      --
      Lost at C:>. Found at C.
    8. Re:Fire(wall) and forget by Maxwell · · Score: 1

      No that is Windows Server Security 101. Network security is different. If you had network security you don't need firewalls on every single server in your enterprise because that traffic is already caught and logged elsewhere. By the time they are at your server, and you haven't detected it, it is too late.

    9. Re:Fire(wall) and forget by UnknowingFool · · Score: 0

      But again. What IS the threat of network traffic to a port no one is listening on? None.

      That's like saying what is the purpose of locking all the doors and windows in your house that no one uses? Hey if you want to keep the side windows and the garage doors unlocked, go ahead. If someone strolls in and steals your possessions, that's you own fault.

      --
      Well, there's spam egg sausage and spam, that's not got much spam in it.
    10. Re:Fire(wall) and forget by Electricity+Likes+Me · · Score: 1

      But again. What IS the threat of network traffic to a port no one is listening on? None.

      That's like saying what is the purpose of locking all the doors and windows in your house that no one uses? Hey if you want to keep the side windows and the garage doors unlocked, go ahead. If someone strolls in and steals your possessions, that's you own fault.

      This metaphor is incredibly wrong. A port no one is listening on is a damn wall. It does not do anything. It isn't a doorway. It's a blank featureless wall.

      Which is the OPs point: a firewall on internal network hosts doesn't make a lot of sense a lot of the time. The reason to do it would be if you were adding IP rules to the port some service operated on - but for a lot of them that's likely to be "accept all connections from local IPs". And it's not very useful to IP limit if you have dynamically assigned hosts, or you use cloud services and SSL to talk to your database server or the like, since you might end up updating the firewall incredibly often to stay up to date with the rules.

      A firewall on a regular consumer desktop PC is a good idea mostly because at any given time you tend to vary what you run, and don't want things opening up ports you don't quite expect them to. But even then...still more of a Windows problem then a Unix one.

    11. Re:Fire(wall) and forget by Electricity+Likes+Me · · Score: 1

      The original post was about the firewall on a host vs. the network firewall. The network firewall prevents people going around mapping ports on systems. Heck, unaltered raw NAT does that which is why people fought to keep it even in IPv6.

    12. Re:Fire(wall) and forget by plover · · Score: 5, Informative

      It doesn't matter if it's a rational argument backed up by facts or not, or if he's done a risk assessment, or if it's a free, cheap, or expensive firewall. The Payment Card Industry's Data Security Standard (PCI DSS) has as their very first requirement 1: "Install and maintain a firewall configuration to protect cardholder data." It's not an optional requirement, and you can't justify not having one.

      If you're going to handle credit cards on the system, it has to be protected with a firewall.

      If your POS vendor isn't requiring a firewall, either they are not selling a system that takes credit cards, or they are selling shoddy, insecure systems that are in violation of PCI DSS. Fixing these problems will cost you dearly; worst case, they are setting you up for a breach.

      --
      John
    13. Re: Fire(wall) and forget by Em+Adespoton · · Score: 2

      If this were the 1990s, this would be the perfect answer. Back then, the idea was that you use a firewall as a perimeter defense in a defense-in-depth strategy.

      But this isn't the 1990s, this is 2014. Nowadays, you have to assume that at least one endpoint on your local network is compromised in some way, whether that be via malware infection, clueless intern, corporate espionage, disgruntled employee, etc.

      These days, any decent firewall does a lot more than prevent access to ports -- most actively monitor the traffic passing through any open port, and when configured correctly (in this case for a DB server), they'll lock anything down and flag that doesn't look like a SQL transaction, and then check for common SQL exploits, for connections to network points that should not have access to that port, for binary objects being passed in the SQL queries, and more.

      What this means is that if you consider a firewall to be enabling the Windows Firewall on your MSSQL Server/Windows Server 2008 box, it's probably a good idea just because those boxes are usually not locked down correctly, and someone could be browsing facebook in IE on that box unless the firewall prevents it. But this isn't really the sort of firewall you should be applying to a transaction server that may one day have to be PCI DSS compliant.

      See https://nakedsecurity.sophos.c... for one case study of how things can go horribly wrong incrementally.

    14. Re:Fire(wall) and forget by Anonymous Coward · · Score: 0

      NAT didn't do anything like that, the firewall the NAT was implemented on top of, did. The only thing NAT does is forward packets and change addresses. Many NAT implementations aren't even stateful.Quite a few NAT implementations allow punching holes to a specific LAN IP from the WAN side. NAT is a minefield of poor implementations of an unofficial concept. NAT provides absolutely no security, only the firewall does, and NAT is almost always on top of a firewall.

    15. Re:Fire(wall) and forget by operagost · · Score: 1

      Ironically, the software that most often makes it difficult to run a local firewall is AV software. Symantec is notorious. They need dozens of ports opened. And when you upgrade, suddenly they need a different set.

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    16. Re:Fire(wall) and forget by UnknowingFool · · Score: 2

      From the summary: "This isn't a tremendous deal today, but with how things are going, odds are there will be e-Commerce worked into it, and probably credit card transactions... which worries the bejesus out of me."

      From what I understand, having multiple layers of protection is a benefit even if it is internal. This means that an intruder simply cannot bypass one layer and then have access to everything. This is what happened at Target. Someone stole credentials from one of their vendors and was in the network where they proceeded to hack other systems.

      --
      Well, there's spam egg sausage and spam, that's not got much spam in it.
    17. Re:Fire(wall) and forget by Anonymous Coward · · Score: 0

      Gee, you mean figure out requirements and acceptable tradeoffs of security vs performance vs cost? That's just crazy talk! Don't you know that we have to live in ivory towers in which we insist that our personal agenda is more important than everyone else's?

      With respect to the particular scenario, it comes down to defining trust levels and performance issues. If internet access has to come through a firewall already, then you've already mitigated that risk. So the question is whether there are legitimate risks from the inside network and how much risk do they actually pose.

      Putting a firewall on the server itself introduces a number of operational problems. First, software firewalls limit throughput and can cause unexpected networking conditions (due to the firewall not being able to keep up with packet flow under heavy network conditions - not talking into my hat here - I've seen this happen in the real world more than once). Secondly having filtering happening in multiple places makes diagnosing network problems much more difficult because you don't know who may have setup a firewall at some random spot in your network.

      Also note that blocking ports is really only important when one has something actually listening on that port. In most cases a production server will be running only the services that it wants to publish, so blocking ports where there is nothing listening in the first place doesn't serve any real purpose.

    18. Re:Fire(wall) and forget by Anonymous Coward · · Score: 0

      The only way that something goes wrong in that scenario is that someone has figured out how to hack the server through the published interfaces to get root level access on the server. Once the attacker has root-level access on the server, your local, software-based firewall on the server doesn't provide any security at all because that is the first thing that the attacker would change.

      You need to have the firewall on a separate, hardened device. iptables and Windows firewalls (and other local, software-based firewalls) do nothing to protect you if you are trying to address the scenario of an attacker compromising your server via existing, published services.

    19. Re:Fire(wall) and forget by Electricity+Likes+Me · · Score: 2

      NAT maps a bunch of internal addresses to a single external address. You can't, from outside of a NAT'd host, easily identify any internal hosts and you certainly can't connect to arbitrary ports on them - that's technically impossible since 65536 isn't going to somehow become 2 or more times it's own number.

    20. Re:Fire(wall) and forget by Anonymous Coward · · Score: 1

      Even with proper border security, it's still useful to limit cross traffic between your own servers, just in case one of them becomes compromised. There's a long list of major incursions that began with exploiting an individually inconsequential device that everyone forgot about but was inside the network.

    21. Re:Fire(wall) and forget by mcrbids · · Score: 1

      Put the firewall up FIRST, and open essential ports as necessary. This is network security 101.

      Duh?

      I think the question is whether or not you trust iptables to be the firewall, or whether or not you have a dedicated device as a firewall.

        Sadly, as a security device, dedicated firewalls are their own can of worms. For example, firmware updates for dedicated firewall devices are often much less frequently issued, and the update process is typically far more painful than you'd see as a mindful admin for a Linux box. Many "dedicated firewall" devices are little more than Linux + iptables + proprietary interface anway, meaning you aren't protected at all if there's a common kernel flaw found. Lastly, being heavily stripped down, you have no way to audit them to see if they *are* compromised, because half your toolchain is missing even if you do have shell access, even though, as a full-fledged, turing complete computing device, they are quite useful to a black hat.

      All that said, I do frequently use dedicated firewalls, but also use locked down Linux servers interchangeably. Given the 10+ years of excellent security track record I've maintained going this route, I'm pretty confident this doesn't mean I'm incompetent, as would seem to be the opinion around here.

      I am a bit paranoid about security, disabling password access anywhere possible, relying on default-deny firewalls, using port-knocking & non-standard ports for SSH, not using non-ssl connections for *anything* administrative, VPNs required for access to insecure services like IPMI, etc.

      --
      I have no problem with your religion until you decide it's reason to deprive others of the truth.
    22. Re:Fire(wall) and forget by GameboyRMH · · Score: 1

      This. A firewall is a good substitute for imperfect control over listening ports. People tend to run them whether they're really needed or not, like putting armor plates over a vehicle which may or may not already be bulletproof. So a firewall may not actually improve anything, if all services with the capability of opening listening ports are configured absolutely correctly (which is only possible if they're all capable of this - which, I admit, would be unusual).

      --
      "When information is power, privacy is freedom" - Jah-Wren Ryel
    23. Re:Fire(wall) and forget by GameboyRMH · · Score: 1

      D'oh, meant to say "a firewall is a good solution to imperfect control over listening ports."

      --
      "When information is power, privacy is freedom" - Jah-Wren Ryel
    24. Re:Fire(wall) and forget by Anonymous Coward · · Score: 0

      Except when the firewall itself is broken (into). A firewall may be risk both to security and availability.

    25. Re:Fire(wall) and forget by Anonymous Coward · · Score: 0

      The objective of any firewall is to prevent traffic on all unused ports in order to limit potential attack vectors

      That seems like a silly and unnecessary use for a firewall.

      If a port is unused, it's, well, unused.

      A firewall adds to security when it's used to control access to *used* ports -- like rate-limiting incoming connections, and restricting access to outgoing connections.

    26. Re:Fire(wall) and forget by nine-times · · Score: 1

      It depends on what you're talking about, and where. A firewall between the LAN and the Internet, yes. Generally speaking, put it up, and then figure out what needs to be opened.

      Beyond that, it starts to get a bit more foggy. Security is often a trade-off between making access too easy for attackers vs. making access to hard for authorized personnel. It's not uncommon for security software to do more harm than good, blocking things that shouldn't be blocked, breaking the networking stack in weird ways. When it comes to software antivirus and firewalls, my view is that you should use the more lightweight, least intrusive solution that meets your needs.

      I'm not sure, but it seems to me that the original poster is asking about the built-in Windows firewall. Should that be enabled on all machines?

    27. Re:Fire(wall) and forget by Anonymous Coward · · Score: 0

      This is the most common configuration for consumer grade routers, however it is only one of many possible implementations of NAT. NAT can just as easily map 256 internal IP addresses to 256 external addresses and not change the port information. Without a firewall, then all of your internal hosts are exposed.

    28. Re:Fire(wall) and forget by Anonymous Coward · · Score: 0

      If you're going to handle credit cards on the system, it has to be protected with a firewall.

      If your POS vendor isn't requiring a firewall, either they are not selling a system that takes credit cards, or they are selling shoddy, insecure systems that are in violation of PCI DSS. Fixing these problems will cost you dearly; worst case, they are setting you up for a breach.

      There IS a firewall in the system - it is just at the network border rather than on every individual host on the network. This configuration WILL pass PCI unless the system is much larger and the network has untrusted users on the inside - in which case having a second internal firewall at a border between trusted and untrusted users will make it comply again.

    29. Re:Fire(wall) and forget by indeterminator · · Score: 1

      This is network security for Windows 101.

      FTFY.

    30. Re:Fire(wall) and forget by Anonymous Coward · · Score: 0

      First, software firewalls limit throughput and can cause unexpected networking conditions (due to the firewall not being able to keep up with packet flow under heavy network conditions - not talking into my hat here - I've seen this happen in the real world more than once).

      Amen to that. In one instance we had to close one of our stores for half a day (which normally makes 150,000€ in that time) because the POS terminals installed a few days earlier didn't have their firewall disabled (as our default would be) and ran into some freak race conditions when it got busy on that day.

      People have to weight the "what is the risk and damage when someone that shouldn't get in or out can?" against the "what is the risk and damage when someone who should get in or out can't?" Just the same way that you would have to build "real firewalls" in a way that they stop fire but still allow evacuation in an emergency.

      Also, as you said it makes no sense to put a firewall on ports that are not open anyway. But what we do instead of that is scan all boxes periodically if there are ports open that shouldn't be. So far we only found "OK, we didn't know that program also uses that port in that specific circumstance" cases a few times a year, nothing that we could trace to an attack. But every time we did find those instances an active firewall would probably have caused unexplainable "glitches" in those programs.

    31. Re:Fire(wall) and forget by nine-times · · Score: 1

      Correct me if I'm wrong, but PCI compliance doesn't necessarily require a firewall between each system that takes credit cards. It just requires a firewall to protect all the systems that take credit cards. If you have a few POS systems and a SQL server that access credit card info, you don't need a software firewall on each of those systems. You could set up one hardware firewall that protects all of those systems from Internet traffic (and other LAN traffic, if needed).

    32. Re:Fire(wall) and forget by vux984 · · Score: 1

      On the other hand, if something else does go wrong, the firewall become another obstacle for the attacker.

      What is this "something else that goes wrong"?

      That someone outside the system gains access to the system via the ports that were publicly open, that the firewall would have let them in through anyway? (And once in, they can change your firewall... so that's not buying you much.)

      What else can go wrong? That you the admin opened a service you weren't supposed to? Ok... yes, that could happen.

      And a firewall gives you some defense in depth to that. But so would a separate hardware firewall between the server and the rest of the network.

      I suppose you could misconfigure THAT one too. Oops. Is adding yet another firewall really a solution? Why not 2 hardware firewalls, one after the other? Why not 7 just in case you botch the first 6? Is that better? If you need that, maybe you shouldn't be in network admin?

      Meanwhile, this additional firewall you add, its software, so you've added another point of failure that could itself have vulnerabilities, defects, and of course you have to configure it correctly.

      Sure, in 99% of scenarios a local firewall makes sense, is a no-brainer, is defense in depth, etc. But one can absolutely deploy a system without one in the right circumstances.

    33. Re:Fire(wall) and forget by Anonymous Coward · · Score: 0

      I think that you need a network firewall. Not a firewall installed on a server.

      And this if you are talking about a pci dss. If pci dss isn't required, pci doesn't apply.

    34. Re:Fire(wall) and forget by Noah+Haders · · Score: 1

      There's an argument for implementing best practices even when there's no defined direct benefit. Often it can take longer to analyze whether something's justified than just to plan on the best practice. Also, considering this system could be in place for 10 years then someone else touches it, it is good to know that best practices have been used to date. kinda like building codes that way.

    35. Re: Fire(wall) and forget by Zan+Lynx · · Score: 1

      Software that monitors the traffic for unusual patterns or attack patterns is not a firewall. It is an IDS (or IPS depending on configuration) such as Snort.

      Consumer desktop PCs have "antivirus" software which is a combination of firewall, IDS, antivirus and other malware detection systems. Enterprise network admins have firewall, IDS, NAT, and many other systems with each one configured separately.

      Network admins have many words for things like Eskimos do for snow because precision is important.

    36. Re:Fire(wall) and forget by entrigant · · Score: 1

      Your analogy can be extended even further. Armor plating a vehicle has an enormous cost in fueld efficiency and handling. This could be directly compared to the labor and complexity costs of managing host firewalls on large numbers of servers when they're indiscriminately applied.

    37. Re:Fire(wall) and forget by multimediavt · · Score: 1

      It sounds a little like you're trying to just fling a firewall at the system and improve some sort of objective security metric.

      What threats are you risks to mitigate with the firewall? What threats will it help guard against?

      They don't come for free, and configuring them don't come for free.

      What planet are you from? You don't setup a firewall to counter known threats. That's what software patches are for. You setup a firewall to prevent unknown threats on unused network ports. Just because you're not using a port doesn't mean there isn't a service attached to it that's vulnerable. That's why we have firewalls. And yes, firewalls do indeed come for free as part of most operating systems and network switch OSes and configuring them should take minutes for anyone with half a brain and some level of network admin competency. If in today's server admin world you take longer than a few minutes to setup the firewall as part of your config you've got a ridiculously complex set of services or you're in the wrong profession!

    38. Re:Fire(wall) and forget by Sir_Eptishous · · Score: 1

      Keep in mind that the regs and red tape from PCI are now being used as revenue generating mechanisms by many companies that have their fingers in the PCI pie:
      We charge you $ to audit and approve your compliance or you can just be non-compliant and then pay us a monthly fee...

      --
      We play the game with the bravery of being out of range
    39. Re:Fire(wall) and forget by Anonymous Coward · · Score: 0

      But again. What IS the threat of network traffic to a port no one is listening on? None.

      This is erroneous logic. If you allow traffic to a port with no explicit listener, then you have allowed for undefined behavior and increased your surface area for attack. Such packets collectively can help with OS fingerprinting (based upon default TTL and TCP options and open ports, even if secured). It does not take long to fingerprint an OS with no firewall. Often a sever will have services running that do not need to be exposed to the Internet at large, but are needed for normal operation. For example, a web server usually does not need to serve the database port to the Internet. With the OS fingerprint, additional specialized attacks may be quickly selected. Ephemeral ports (Windows and Unix) will come and go as your server operates and communicates with other internal systems. There is no reason to allow a malicious actor the ability to inject traffic into the middle of such a connection if it easy to block.

      Here is a real DoS attack. An attacker can send traffic to that port and then get a response packet rejecting the connection. Combine this with an amplification attack (there are many variants on this) and a spoofed address and now an attacker has your server eating bandwidth with error message packets and responses to malicious traffic. The logs on the server will most likely have no record of any such activity, but performance will be impacted.

    40. Re:Fire(wall) and forget by Anonymous Coward · · Score: 0

      I'm pretty sure PCI DSS requires a firewall on the network (wan) not on each machine.

    41. Re:Fire(wall) and forget by gamanimatron · · Score: 1

      A port no one is listening on is a damn wall. It does not do anything. It isn't a doorway. It's a blank featureless wall.

      This too is wrong. To continue the metaphor, a port no one is listening on is a door with a deadbolt thrown on it. Anyone inside the house can open it up whenever they feel like it and start moving furniture in or out. A firewall can - at your option - leave it that way, add a fingerprint reader to the inside or brick up the doorway.

      --
      cogito ergo dubito
    42. Re:Fire(wall) and forget by bickerdyke · · Score: 1

      No. Exactly not. Windows and doors are like open ports. If you have them, you need to secure them. A firewall works fine in those cases.

      Putting a firewall where no open ports are makes as much sense as locking non-existant doors. That makes only sense if you're expecting doors to magically appear in your house. Which for a typical windows installation, is less absurd then it may sound. But then those appearing doors are your main problem.

      --
      bickerdyke
    43. Re:Fire(wall) and forget by Anonymous Coward · · Score: 0

      No, an unused network port is a door that, last time you checked was closed. A firewire adds bars in front of that door so you can be confident it is not useful even if someone decides to open it. Ideally no one would open the door, but there's an ongoing risk someone will, and the cost of adding bars is quite low.

      You'd be amazed how many poorly designed tools open remotely-addressible ports just to facilitate on-box communication, and having your POS compromised because your HVAC control program accepts data from arbitrary network sources is not a risk you should take for one-time savings of not configuring a firewall when you install/update a program that needs inbound access.

    44. Re:Fire(wall) and forget by JesseMcDonald · · Score: 1

      You can't, from outside of a NAT'd host, easily identify any internal hosts and you certainly can't connect to arbitrary ports on them - that's technically impossible since 65536 isn't going to somehow become 2 or more times it's own number.

      None of which will matter unless you have an unwanted local service listening on those ports. On the other hand, if there is a malicious service inside your network which wants to allow incoming connections, there are any number of ways to implement NAT traversal. It's even fairly common for common services to incorporate NAT traversal these days due to the prevalence of NAT and the ways it breaks network routing. If you want to reliably filter traffic—even incoming traffic—you need a proper firewall customized to your traffic requirements, NAT or no NAT.

      --
      "The state is that great fiction by which everyone tries to live at the expense of everyone else." - Bastiat
    45. Re:Fire(wall) and forget by Anonymous Coward · · Score: 0

      If you have services running with root-level access you deserve to be hacked. Services should be running under their own accounts with only as file system/network as they need to operate.

      Firewalls at the software and hardware level are not mutually exclusive, they work together. On a properly configured and secured system software firewalls prevent errant processes from forming in/out connections that would have only been permitted to a different process. There's no way for a VLAN/LAN/WAN firewall to know which particular process is receiving/initiating a given in/out connection so you don't have per-process controls at that level, only protocol, address and port controls.

    46. Re:Fire(wall) and forget by Bios_Hakr · · Score: 1

      You'll see a lot of references to defense in depth. If you browse a CISSP syllabus, you'll see they talk about everything from parking lot lighting to ring 0 code. Between an adequately lit parking structure and ring 0, there are a lot of things you can do. Each one adds a bit more security. You do hit diminishing returns quickly, but host-based firewalls are quick and cheep.

      To harden a host based fw, turn on remote logging and have the logging server flag configuration changes as critical.

      No one should be doing a configuration change without notifying your change mgmt team. If they get a red line on their monitor, they contact and chew out the offending employee. If no one feses up, nuke the server, restore, and re-harden.

      It is important to know that your server administration can also be the change manager on small teams. You just need to have him/her mentally firewall the two jobs.

      --
      I'd rather you do it wrong, than for me to have to do it at all.
    47. Re:Fire(wall) and forget by Bios_Hakr · · Score: 1

      IIRC, you are using the term NAT when you really mean PAT. In true NAT, you will have X internal addresses mapped to Y external addresses.

      If X>Y, then you may have requests get dropped or mangled.

      PAT is 1 external to many internal shifting/translating the port numbers to create a unique channel.

      As long as Internal32768, then you should be okay ; you need to reserve a port for each end of the channel. Realistically, most channels will have 80\443 as an end point. On those types of networks, you can get much closer to 65535. Still, a few badly.configured torrent clients can easily exhaust ports and bring the network down with almost no utilization.

      --
      I'd rather you do it wrong, than for me to have to do it at all.
    48. Re:Fire(wall) and forget by Canth7 · · Score: 1

      This. PCI DSS has a tone of requirements, not the least of which is having a basic firewall. Unfortunately it's all too common having vendors who choose the path of least resistance such as requiring domain administrator credentials to run a service or disabling any firewall services simply because they haven't taken the time to learn a proper security mindset. Just because many vendors are clowns doesn't give this particular vendor any excuse. A perfect example - a large financial information provider that will go unnamed installed a service in our data center for pricing. They delivered 3 PCs, 2 switches and 1 router. None of the equipment was redundant and any single component failure took down the entire system. When asked why they didn't offer 2 routers, 2 switches and use failover - they admitted that they just didn't do it that way. Incompetent comes in all sizes - always object when you can.

    49. Re:Fire(wall) and forget by praxis · · Score: 1

      Sure, in 99% of scenarios a local firewall makes sense, is a no-brainer, is defense in depth, etc. But one can absolutely deploy a system without one in the right circumstances.

      Of course there is no absolute rule one way or the other, but for a vendor to refuse to permit a firewall on their system is a red flag that they did not weight the options but instead opted for the lazy development approach of assume all ports are fair game. That kind of development laziness is the exact scenario where defense in depth makes more sense than not! If the vendor had made a rational argument it would be a different scenario all together.

    50. Re:Fire(wall) and forget by cheater512 · · Score: 1

      "Yes of course we have a firewall installed on the server"
      "Err but is it actually enabled?"
      "Nope, this security checklist just said it needed to be installed"

      Doing something for no particular reason is really really stupid.
      Firewalls aren't magical bits of software that block security threats with zero configuration you know.

    51. Re:Fire(wall) and forget by Anonymous Coward · · Score: 0

      Perhaps what the OP should do is ask the company's lawyers if there is a financial risk for the company not running a firewall. That should solve the problem pretty quickly.

    52. Re:Fire(wall) and forget by Noah+Haders · · Score: 1

      i like the apple firewall on my airport, it just works.

    53. Re:Fire(wall) and forget by Anonymous Coward · · Score: 0

      But again. What IS the threat of network traffic to a port no one is listening on? None. What your firewall is you protecting from is NOT bad stuff from the outside

      And my rootkit botnet thanks you :D

      While in general your windows/linux statement is pretty accurate, for this particular case the poster mentioned Microsoft SQL Server Express.
      This is the version not licensed for any production use outside of development work, and typically gets installed on desktops. Since they are committing copyright infringement I doubt they satisfy any PCI compliance, and while it sounds dumb to run a workgroup of desktops in this day and age I've seen it too many times now to claim it is rare or doesn't happen.

      If this was a standard/enterprise SQL server version and it was installed on a server system that was not used for day to day GUIing (or ideally for any internet use, but not everyone has WSUS or an update cacher, and the IE icon is still right there front and center begging to be used) then I would highly likely give them a pass on an OS firewall as so long as they still had firewalls on the network, and especially one blocking internet sourced packets to the server.

      Sadly from the description, it sounds like a slim to none chance that is the case though.
      Windows Desktops come with more listening services running out of the box than linux has man pages, so your chances of not having a potentially flawed service listening is basically zero percent.
      You are banking completely on that "potential" word, and this is Microsoft we are speaking of here... They may be making some great improvements, and kudos for it, but their current state and past track records are enough to stop any such notions from bouncing around my mind.

      Even on the off topic Linux side of things, no firewalls is a pretty stupid thing to do. NAT has a nasty side effect of acting like a firewall in some cases and gives the equivlent of client side no team kill effects (and certainly is better than nothing), but their supposed layered approach to security is putting a whole lot of reliance on that one internet to lan firewall/router device...

      Also the chances of a script kiddie being given an exploit in a service more than a couple seconds after you run apt-get upgrade is still non-zero, even if pretty damn low.

      I had a wonderfully interesting conversation with a script kiddie over new years a decade or so ago, when I was debugging a NFS problem. I had a network sniffer running the whole time, ended up getting ticked off enough to just disable the NFS related firewall rules for about 15 minutes, and sure enough I see an automated scan hit followed by someone trying to manually install an eggdrop on my router.
      I was fortunate in that I had packet dumps with literally every last thing done so knew for sure it didn't go past that one machine, as well as never disabled my egress rules so his bot never could hit IRC. He just restarted it a few times and gave up, but not before I copied the files elsewhere first.

      Being my IP it was trivial to assume the nick/user of his bot and join his passworded channel.
      I just had to avoid speaking for a few minutes before he oped me, and he didn't react fast enough (well at all) to my other bots I brought in to take over with.

      Was easy enough to neuter his little botnet and at least set him back a few weeks. His initial concern was me reporting him to the cops (hah like that would have much effect) so once he believed I had no intent to do so we had a nice couple hour conversation.
      He claimed he wanted to "get out of the scene" anyway but it was so easy and with nothing else to do apathy kept up old habits. I have no idea if he actually did, although a week later his channel was empty and was the last I checked (not that he couldn't have just moved elsewhere)

      Anyways, he told me the exploit was already patched and at least for debian was pending in the security repos to be released in the next day or

  7. Is it a Windows box? by fatboy · · Score: 0

    If it's a Windows box, the firewall for the local subnet is down if the "Network Location" is a "Domain Network" anyway, so it really doesn't matter.

    --
    --fatboy
    1. Re:Is it a Windows box? by Anonymous Coward · · Score: 1

      False. If it's part of an active directory domain the firewall policy can depend on what the policy is.

      In fact you can google and find some people complaining about the opposite "problem" - they can't turn off the firewall due to domain policies.

  8. Remember cornflicker? by Anonymous Coward · · Score: 1

    When I came here, the AD server (2003) where the Oracle Sales DB and the ERP were installed were in the called "DMZ" (at router level) because "Somebody in the European HQ wanted to browse some tables".

    Yes, that's in a home router, DMZ, where it means "route everyhing that doesn't match a rule to that server".

    Aaaaaaand it had cornflicker. The DC. The DB server. The ERP server. All-in-one and out of our control.

    The reality is that there are a lot of enterprisey guys who don't have a clue of what they're doing.

    =/

    1. Re:Remember cornflicker? by Anonymous Coward · · Score: 1

      Cornflicker? Was that a Conficker knockoff written by Alabama rednecks?

      The reality is that there are a lot of enterprisey guys who don't have a clue of what they're doing.

      =/

      The irony here is painful.

    2. Re:Remember cornflicker? by Anonymous Coward · · Score: 0

      Ouch. Then not only didn't they know what they were doing network-wise, they also didn't heed the "Never install an Oracle Server on a DC" advice.

      (Because then the account Oracle run some things under has to be a domain administrator account that otherwise work fine with local unprivileged accounts.)

  9. It Depends by MightyMartian · · Score: 4, Interesting

    I've set up networks where the server infrastructure itself is on its own segment, so there's no need for firewalls between the servers themselves, but the whole subnet is firewalled by a border router.

    A lot depends on how tightly you can lock down a server. On my *nix boxes, I tend to only run daemons with listening ports to the extent absolutely necessary. I have a LAMP server that basically has ports 22, 80 and 443 open, and everything else either shut down or set to listen only on 127.0.0.1. Do I really need to configure iptables?

    --
    The world's burning. Moped Jesus spotted on I50. Details at 11.
    1. Re:It Depends by Anonymous Coward · · Score: 0

      Mod parent up -- If you have a border firewall, there's no reason for a software firewall on the server itself.

    2. Re:It Depends by Anonymous Coward · · Score: 0

      Yes, of course you really do.

      You also need monitoring/logging any abnormal traffic or access attempt as the bare minimum.

    3. Re:It Depends by i.r.id10t · · Score: 5, Informative

      Depends on the quality of the web apps running under LAMP

      If they get hacked, it may be possible for the attacker to spawn a new process running on some other port (ie, a shell), or sending stuff out to other machines, so having a firewall that only allows the services you have listening may be good, as well as possibly having it restrict new outgoing connections.

      And no, you don't need to write complicated iptables scripts/rules to do this. The ufw utility (available in Debian, Ubuntu, Mint, etc) has truly simple syntax

      ufw allow ssh
      ufw allow http
      ufw allow https
      ufw enable

      --
      Don't blame me, I voted for Kodos
    4. Re:It Depends by bleh-of-the-huns · · Score: 3, Interesting

      I disagree. The border is just one aspect, and your typical threats tend to be the result of intentional stupidity (employee systems), or internal maliciousness (soon to be ex employee). A border firewall will not help in this particular case. Additionally, depending on the users access, no firewall may help. My preference, is typically to setup every server with a default deny, permit IPSEC traffic only to and from the support components on the internal network. Then obviously open the business requirements to provide a server. Example, a Web server that connects to a DB and image processing server, port 80/443 open from external to DMZ web server (DMZ and Application zones are separate), all other incoming ports from external are blocked, your border router can cover this. Internally, default deny to everything, permit IPSEC, between Web Server, DB and Image processing server, as well as terminal/jump servers. Tunnel all communications over IPSEC between the servers. In that way, man in the middle attacks become almost impossible, there is no sniffing traffic if a user manages to get local segment access, If the system is compromised in some way (SQL injection, etc, assuming the services are not running as administrator), the servers cannot be used as a jump point to other servers and components in the network, and vice versa.... Call me paranoid.. but that is how I do things. Also, there is no additional cost (except system overhead, and that can be compensated for by crypto cards, or the new Intel AES CPU instruction sets on their current gen Xeons, and I am sure other procs) to running IPSec, it has been included on every Windows server since 2003, and for Unix, Raccoon is free and works just fine.

      --
      I came, I conquered, I coredumped
    5. Re:It depends by Anonymous Coward · · Score: 1

      Sad, it's just bad documentation.

      SELinux does not need to be disabled, it needs to be configured. It's a hard piece of software to learn but once you know it, it can save your bacon against bad updates, typos in code that can open up some nasties.

      Whichever way you look at this, disabling security features is just lazy. Learn your software properly and security is easy to deal with. As always, we don't take the time, rush rush rush. move to the next guys and deal with problems when they arise. Have the customer throw more money at more devices to protect what could have been protected if installed right the first time.

      Boy, I'm really cutting loose today !

    6. Re:It Depends by mlts · · Score: 2

      Out of habit, I like using iptables or firewallD with existing services. At first, there will be initial configuration breaks (especially outgoing stuff), but it provides me three assurances:

      1: Machines not configured to talk with the machine will not be able to. This narrows down the attack surface greatly. For example, if a DB server only communicates to some machines in a DMZ, a limitation is put on to only allow that port, so another machine on the same subnet that gets compromised won't be able to access the DB. This also protects against unauthorized nmap scans.

      2: If non-root malware gets on the box, it won't be able to phone home or get itself a connection outside. Defense in depth is often overlooked because it has been habit to focus on network security, with relatively little attention to paid to individual hosts and OS level security. Well, other than desktop malware that is.

      3: It looks good in audits when you can prove that individual machines have packet filters in place.

    7. Re:It Depends by Bert64 · · Score: 3, Informative

      That's completely the wrong approach..
      If your hosts aren't secure enough to be on the public internet, they shouldn't be on an internal network either. Many attacks come from the inside, and if you have a large number of insecure hosts hidden behind a border firewall then all it takes is one tiny hole and everything can come crashing down, as has happened many times in the past.

      A firewall is not the ultimate answer, and nor should it be your only line of defense. If hosts are correctly configured, then a firewall won't actually improve security as the only services exposed on the host will be ones you intended to run and thus explicitly allowed through the firewall.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    8. Re:It Depends by Anonymous Coward · · Score: 0

      It depends - when your LAMP stack gets compromised through a common PHP vulnerability, do you want to block the outbound connections the script makes to download kernel exploits or not?

    9. Re:It Depends by hey! · · Score: 3, Insightful

      Until someone install something else on the network segment. Like a wireless access point. Or until malware takes over one of the trusted hosts.

      Security vulnerabilities always involve violations of some assumptions you make, e.g. that anything coming from a certain set of hosts is benign, or that if a process on a server opens up an IP port it's *supposed* to do that. You want the security of a system to depend on as few assumptions as possible. If it does no harm in day to day operations and offers protection when your assumptions fail, why *not* run a software firewall?

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
    10. Re:It Depends by Electricity+Likes+Me · · Score: 1

      Attacks from the inside are an entirely different type of beast to start with. How did they get in in the first place? If someone can physically log on to an inside system and pretend to be a real user, then you have a physical or user security problem, still not an internal security problem. A firewall wouldn't save you, because the attacker looks like a regular legitimate user who would have access to those services anyway.

    11. Re:It depends by scubamage · · Score: 1

      I disagree. When we have 15 million customers on a 3rd party's platform, we can't suddenly turn around to that vendor and say "yeah, no, you're using SELinux no matter what." We either build things to their spec, or we lose support. Their spec stipulates disabling SELinux and iptables, so they get disabled. Case closed. So, while I agree in principle, I have to disagree that it's always possible.

    12. Re:It Depends by gregsmac · · Score: 1

      lol "only" 80

    13. Re:It Depends by Anonymous Coward · · Score: 0

      The majority of hacks are internal.

    14. Re:It Depends by silas_moeckel · · Score: 1

      Yes you should config iptables, If you thing all it's supposed to do is block inbound access your not really using it well. You should be locking down outbound as well per user/group. So rules for a LAMP stack box might only allow some very specific outbound connections from nobody, outbound packets to your log server, outbound connections to your config server and inbound connections to SSH from your jump box. Frankly I would not run a LAMP box in the modern day rather splitting up a web server box a DB box running on top of a VM server. Possibly adding in an application specific firewall/proxy/load balance VM in front. Allowing for you to expand laterally as needed.

      Mind you I nearly never see just a LAMP box, you end up with an ecosystem once you add in backup, separate storage and compute tiers, management and monitoring applications etc etc etc.

      --
      No sir I dont like it.
    15. Re:It Depends by Anonymous Coward · · Score: 0

      Just because you have a border firewall up doesn't mean you should automatically trust the OTHER SERVERS too.

    16. Re:It Depends by SampleFish · · Score: 1

      You have obviously never used the Metasploit Meterpreter. It can pivot off any running process and run commands with that privilege level. It can also traverse your network creating tunnels as it goes along. This is why you want to prevent privilege escalation and the tunnel creation. If they can't escalate or create a tunnel then they are stuck on the first box that is exploited. It's damage control. It also buys you time to respond. If you can detect the activity you want to be able to stop it before the threat spreads.

      In an eCommerce environment this is the difference between losing your user database and losing customer information. There have been many breaches in recent history where user data was leaked but no customer information was compromised. The bank is able to reset all passwords before damage is done. I imagine there was some form of internal security that kept the intruder away from sensitive data on another server deeper in the network.

      A layered security approach has benefits. Is it overkill? That depends on a changing threat landscape. Tomorrow we may all be vulnerable again.

      Check the exploit DB for APACHE exploits and come back a paranoid security advocate:

      http://www.exploit-db.com/sear...

    17. Re:It depends by Anonymous Coward · · Score: 0

      You don't need to disable local firewalls, all that you need to do is configure it! Disabling it for lack of configuration knowledge is firmly in the zone of incompetence. It is like removing your front door when you need to rekey the lock.

    18. Re:It Depends by grilled-cheese · · Score: 1

      I've set up networks where the server infrastructure itself is on its own segment, so there's no need for firewalls between the servers themselves, but the whole subnet is firewalled by a border router.

      This is the same approach taken with many industrial control systems (i.e. SCADA) that weren't designed to be used in an internet connected world.

    19. Re:It depends by Anonymous Coward · · Score: 0

      This.

      For small installations, it's not inappropriate for LOB software to run some kind of web service on a desktop (not a real server). That requires that the software firewall be disabled on that desktop in many cases, not because having the firewall running is a bad thing, but because the firewall itself is a steaming piece of shit (read: application-level firewall). These installations tend to be behind a hardware firewall anyway, and they're typically not the sort of system where the user is going to install random bits of software downloaded from some sketchy internet site.

      Also, there is no valid use-case for an application-level firewall in any business environment anywhere ever. Do not use them. (This includes the built-in firewalls in both Windows and Mac OS X 10.5+.) They're made strictly for know-nothing home users so they don't get completely owned within five minutes of power-on when they first buy a new PC. Beyond that, they're not terribly useful and provide a false sense of security.

    20. Re:It depends by scubamage · · Score: 1

      Reread the other comments - if you are in a situation where you have millions of users on a vendor-supported platform, you meet whatever requirements the vendor requires to continue receiving support as stipulated in their contract. If they say no application firewalls because they interfere with their application's functionality, it's not incompetence, it's a hoop you jump through to continue receiving support under your contract. Or, you get to explain why the vendor won't take the operations guys' calls at 4am in the morning when you've got 2 million customers without service.

    21. Re:It depends by richlv · · Score: 1

      we disable local firewalls when we're deploying telephony application servers because of vendor requirements. Likewise, some applications require SELinux to be disabled as well.

      they are simply badly designed apps, the vendor was lazy.
      i'm guilty of doing that sometimes myself, but i'm not going to try and justify it - i was just lazy or pressed for time. it does not make it a good practice in any case.

      --
      Rich
    22. Re:It depends by richlv · · Score: 1

      it's not about possibility, it's about attitude. that approach is bad. sure, sometimes it can't be avoided because of a crappy vendor - but that does not mean it's "just fine", it should be listed as a risk & drawback in your security assessment reports

      --
      Rich
    23. Re:It depends by scubamage · · Score: 1
      Or they are apps that have been around for 20+ years on solaris, predating stuff like SElinux. They've updated somewhat frequently, but a lot of core technology hasn't changed. Also, the move from unix to linux introduces some interesting issues that show linux's relative immaturity in comparison. For example, linux doesn't handle network multihoming very well in comparison. You can only stipulate a single default gateway normally - you have to set up a workaround by adding additional routing tables, bind each to an interface, create rule and route files, etc, which to my knowledge don't play nice with a number of linux security features. IPTables is notorious for having issues with multihomed linux servers. Point is, saying "you aren't using a firewall and that is wrong!" is a blanket statement that has many exceptions for different situations.

      Given the vendor supports infrastructure for several national governments, I don't think they're likely to change very quickly. I actually just checked the vendor's website - as of release 20, they now support SElinux in permissive mode. Still not supported on enforcing mode.

    24. Re:It depends by scubamage · · Score: 1

      Right, we'll tell them and get told "hey, thanks, but Deutsch telekom doesn't want to change, so we're not implementing it." We've tried. We aren't their largest customer by a longshot, and so long as they are providing critical infrastructure for several governments, they're going to move to change things at glacial speeds.

    25. Re:It depends by richlv · · Score: 1

      sure, i didn't say it's easy to change - but it's important to recognise that this is wrong and laziness on their part :)

      --
      Rich
    26. Re:It depends by scubamage · · Score: 1

      That I will certainly give you :) And we do have some workarounds - namely using hosts.allow and hosts.deny. It still functions essentially the same as a firewall, but it doesn't require the additional process that interferes with their software.

    27. Re:It Depends by multimediavt · · Score: 1

      I've set up networks where the server infrastructure itself is on its own segment, so there's no need for firewalls between the servers themselves, but the whole subnet is firewalled by a border router.

      Ask Target how well that scheme worked out from them.

    28. Re:It Depends by multimediavt · · Score: 1

      Have you actually got this in practice somewhere? I've theorized on this setup for over a decade now and have not had the time to implement a test case. I was looking at this as a solution for remote user access and security overall. The remote users login via VPN (IPSEC) when they're on the road now, so why not just have everyone use VPN all the time to connect to services, local and remote users. In a lot of ways it makes sense. Users use the same procedures for service access wherever they are and the servers in turn talk to each other and users all over IPSEC. I am sure someone will bring up some caveat to this setup that might ruin the idea, but it really seems solid.

    29. Re:It Depends by Anonymous Coward · · Score: 0

      Let's not make assumptions like "everything coming from a certain set of hosts is benign". It won't ever be. Just securely authenticate your users for all services. Never trust a host, even on "the internal network" (which you shouldn't trust). Trusting a host (which is often done by IP) is putting security on the wrong layer. The network layer wasn't designed to offer security. You should design your systems so that rogue access points or compromised machines are assumed to be there and shouldn't compromise your security.

    30. Re:It Depends by Anonymous Coward · · Score: 0

      The best approach is the Harry Potter firewall. It is open only to connections to port 80.5

  10. PCI Compliance by ebrandsberg · · Score: 4, Informative

    As soon as they start handling credit card transactions, they will need to conform with PCI standards, which will mandate much much higher levels of protections. There are significant fines associated with non-compliance so you may want to forward them over information about this.

    1. Re:PCI Compliance by EvilJoker · · Score: 1

      Also, "Install and maintain a firewall configuration to protect cardholder data" appears to be the VERY FIRST requirement of PCI.
      Now, I'm not sure if that can be met with a separate (hardware) firewall, but I suspect they require firewalls on each piece.

      I'm assuming by "vendor", the OP meant a small company that sold the equipment and installation, not the manufacturer.

    2. Re:PCI Compliance by ebrandsberg · · Score: 1

      This requirement is normally done at the network boundary, so a hardware firewall will meet this requirement, although for web facing servers, often companies also like having application level firewalls (protocol level) that can inspect for suspicious activity at layer 7, not just the simple stuff. There is a huge business around certification and auditing for this, nobody should just jump into handling credit cards without knowing what they are getting into.

    3. Re:PCI Compliance by skyryder12 · · Score: 1

      This. You can also configure IPSec between the machines. This link gives you some specific info: http://www.it.cornell.edu/serv...

    4. Re:PCI Compliance by operagost · · Score: 1

      No auditor I have dealt with in five years of PCI DSS has demanded software firewalls. They do require that systems be monitored for changes and only critical services be running.

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    5. Re:PCI Compliance by Jaime2 · · Score: 1

      Believe me, this install will never be PCI complaint. Either they will choose a solution that doesn't store cardholder data, or will outsource the credit card processing to someone else. It isn't cost effective to have a PCI compliant installation this small. So, this issue can be ignored when discussing "should a server like this have a firewall?".

    6. Re:PCI Compliance by zlives · · Score: 1

      iPad with squareup is about as dumb as it gets and will probably be the CC processing for something like this.

    7. Re:PCI Compliance by zlives · · Score: 1

      dumb as in simple and easy to manage

    8. Re:PCI Compliance by Anonymous Coward · · Score: 0

      PCI compliance is not all the same - it is based on the number of transactions and dollar amount. A small shop with 2 PCs one of which doubles as a server for the other, likely falls into the "audit yourself and use a vendor that claims PCI compliance" tier.

    9. Re:PCI Compliance by WaffleMonster · · Score: 1

      As soon as they start handling credit card transactions, they will need to conform with PCI standards, which will mandate much much higher levels of protections. There are significant fines associated with non-compliance so you may want to forward them over information about this.

      The real question is legal liabilities flowing from a compromise. Weigh the risks, talk to your lawyers.

      PCI is not backed by law and as such is rather harmless in and of itself.

    10. Re:PCI Compliance by multimediavt · · Score: 1

      As soon as they start handling credit card transactions, they will need to conform with PCI standards, which will mandate much much higher levels of protections. There are significant fines associated with non-compliance so you may want to forward them over information about this.

      Very true and the changeover process for the required configuration is non-trivial as well. I remember when our organization met PCI compliance for CCs and it took months and lots of dollars to get all the systems that were processing credit cards up to spec. If they're going to do CC processing, even on an off chance, they should look into the requirements and do the setup that way NOW! It's more secure overall anyway so why not just do it from the ground up rather than trying to go through the Hell of modifying the setup for compliance later.

  11. Run only services you need by Anonymous Coward · · Score: 3, Insightful

    The key is to only ever run the services that are absolutely needed, carefully configure these and keep them up to date. If you follow that advice a firewall is an added level of security but not necessarily needed.

    1. Re:Run only services you need by multimediavt · · Score: 1

      The key is to only ever run the services that are absolutely needed, carefully configure these and keep them up to date. If you follow that advice a firewall is an added level of security but not necessarily needed.

      The main caveat or gotcha to that approach is the time between vulnerability discovery and patch. There are services that may also be a requisite to a mission critical service that have exposed ports without a firewall. These can create vulnerabilities without a firewall protecting them. Let's put it this way, there are A LOT more reasons to run a firewall than to not run one. It's always better to err on the side of caution/paranoia when it comes to net security.

    2. Re:Run only services you need by Anonymous Coward · · Score: 0

      and keep them up to date.

      Why this bit? There are three possibilities: (a) development of software typically improves its security over time; (b) development typically diminishes security; and (c) development has no effect on security (i.e. the number of holes remains roughly constant). In case (a), software should be perfect by now - and it isn't, so we can rule that out. Which leaves us with case (b), in which case updating is actively harmful; and case (c), in which it makes no difference. So why update?

    3. Re:Run only services you need by Anonymous Coward · · Score: 0

      This, all the people going on about the value add of a firewall and parrotting defence in depth wrongly are deafening and this is a jewel of a comment in a sea of crap. Really, close off any ports not explicitly needed by the services and application. That way if one day someone accidentally puts in a default accept rule, your exposed box isnt sitting there weak and vulnerable listening to rlogin or similar that the firewall was masking. THAT is defence in depth.
      Also if you have something that HAS to be network listening, acl it where possible. Unless its a public facing webserver with no upstream load balancer, or a smtp server, chances are you can lock it down to a limited range, or only listen the needed services on its management interface. Again, don't rely on a single nic and vlan seperation, as the day someone breaches the vlan seperation somehow you will be caught with your trousers down again.
      I would put the firewalls upstream also on their own dedicated device, not on the box itself, that way you can leave a ids sensor inside the "protected" space and if any change happens to the security footprint of the device or odd packets the ids can detect it happening. Plus hardware firewalls are very very resilient to tampering and network attack, but if someone compromises your webserver, its trivial to open up a entry on the firewall ruleset once you have privilege.

      I actually work in this area, for large bluechips.

  12. Depends by Anonymous Coward · · Score: 0

    Is there a reverse proxy and DMZ to the outside world and a VPN between the clients and database server on the internal network? This will mitigate some of the risk.

  13. Could you repeat... by Anonymous Coward · · Score: 1

    Could you repeat the ip address of this server, you know, for research and the children... :)

  14. Firewalls are useless by Anonymous Coward · · Score: 0

    They don't prevent attacks, nor do they keep your data in. If you correctly secure your infrastructure, ie by using point to point, white listed communication pathways, you have done more than a firewall will ever do.
    Firewalls are just like the TSA. They sure say they do their job, but do you really believe them?

  15. Tower Systems by criten · · Score: 2

    Is a POS vendor used by most Australian newsagents. Their contract not only mandates the lack of a firewall, but a writeable share of the C: drive on the Windows machine acting as a server - with no authentication.

    While this is incredibly negligent, the support contract makes the vendor completely liable for any security breach that occurs while honouring their contract requirements.

    1. Re:Tower Systems by roman_mir · · Score: 2, Informative

      I build and supply retail chain management systems and part of the platform is a store management system, which communicates with POS machines (in most cases via a share). So our solution to what you are describing (a common problem with POS systems) is to put our store management system on a Linux machine that has 2 network cards in it, one is the Internet connection and the other is LAN, this Linux machine runs the store management system and it becomes local network manager and a firewall.

      The POS machines are on the LAN only, no Internet connection for them, the store management system connects to the retail management system that is external to the store (controls the entire chain). This way we can avoid this huge security breach.

    2. Re:Tower Systems by mlts · · Score: 1

      Next to using POS machines which are basically a 3151 terminal, a cash box, a PINpad and a credit card swipe item, I'd say this is the best approach one can get in this line of work.

      Only thing I'd add would be some way of protecting if someone decided to hop onto the POS network (physically unplugging a cash register, plugging in their laptop.) This could be somewhat solved by a smart switch that locks ports to MAC addresses for starters. Not "serious" protection, but will stop some kid trying to get on the LAN in their tracks.

  16. Picking battles... by Kookus · · Score: 4, Insightful

    The problem with this battle is that you're a contract worker. So if reasoning/persuasion doesn't work, then you're only options are to end the contract, or fulfill your obligation.
    Keep documentation that shows that you brought up the problem, and were rejected. Bake in language on subsequent contracts that give you an out under these types of scenarios, and move on.
    If someone is unwilling to listen to reason, is in a position of power, and there's no laws that they are breaking, then that pretty much gives you all of the information you need to know about your options! Just learn to stop worrying and love the bomb.

    1. Re:Picking battles... by Anonymous Coward · · Score: 0

      In common words of downtown.... Tru Dat !

      As contractor, you might get stuck with the issue later if they call you back.

      - Bring up the issue.
      - Offer solutions, I usually show what could be done immediately and a best case scenario should they be willing to spend.
      - Bring up backups, test restores. (this might get you a customer for life.)

      The only question to ask is this.
      How much are they willing to lose?

      Good luck.

  17. Data point by sigmabody · · Score: 1

    I don't run a local firewall on my work system, for reference. As a developer, it's common to need to have "random" ports open for various things for testing, and having to deal with a firewall is one more nuisance I don't want to account for. A local (on system) firewall won't prevent most attacks anyway, so I don't feel I'm giving up much real security.

    I do run a local firewall at home, but only because it has not annoyed me enough to be disabled yet.

    I don't know how useful that information is; consider it a data point.

  18. Firewall is a requirement, end of story by Anonymous Coward · · Score: 0

    PCI v3 compliance *REQUIRES* a firewall. End of story. Do not pass go, do not collect $200.

    1. Re:Firewall is a requirement, end of story by rubycodez · · Score: 1

      so does PCI v2, with mandatory six month reviews of firewall rules

    2. Re:Firewall is a requirement, end of story by WaffleMonster · · Score: 1

      PCI v3 compliance *REQUIRES* a firewall. End of story. Do not pass go, do not collect $200.

      It does no such thing. The requirement is only a tool to keep the whole network from falling under the PCI.

      An air-gapped network or an internal only network of trusted peers can be PCI compliant without a firewall.

  19. Trusted network zones by bluefoxlucid · · Score: 4, Informative

    If your database is in a trusted network zone, it's fine.

    If you have a bunch of assets outside the corporate firewall, you're doing it wrong. These belong behind a DMZ firewall, blocking any ports not strictly necessary, possibly with PNAT and coalescence (i.e. an FTP, Web, and Mail server, natted to the same address, ports 80, 443, 25, 21, and FTP PASV going to different addresses behind that).

    Within that DMZ, servers provide whatever services they're going to. MySQL on port 3306 will provide MySQL on port 3306; if you add a local firewall, you will have a firewall that blocks all non-listening ports and leaves port 3306 open, so no difference. If you're worried about ssh, use an IP console card (DRAC, etc.) on a separate subnet, or put the database servers behind another firewall. It is, in fact, common to create trust zones for front-end, application, and database, such that i.e. your Web servers connect through WSGI to a CherryPy application, which connects back to a Database, through a firewall in each step. You can do this with vlans and broken-down subnets, one switch, and one firewall.

    You have to consider everything when you design secure network architecture.

    1. Re:Trusted network zones by Dan667 · · Score: 1

      they are called firewalls for a reason.

    2. Re:Trusted network zones by Anonymous Coward · · Score: 0

      If your database is in a trusted network zone, it's fine.

      You making the assumption that there is such a thing as a trusted network zone.

      As soon as someone enables IPv6 somewhere, there isn't.

    3. Re:Trusted network zones by blackiner · · Score: 1

      I seem to recall a story a bit back about how Apple and Google no longer consider the concept of internal vs external network access even remotely useful, and that in today's networking world with ubiquitous BYOD and VPN, you MUST consider that attackers have complete access to your internal network. So yeah, put firewalls on the special servers, or put them behind a separate firewall and do something to guarantee nobody else has access to that network.

    4. Re:Trusted network zones by bluefoxlucid · · Score: 1

      Yes, but that's what a separate database zone is: you make your /24 subnet break down into /28, you VLAN it, break down the firewall rules, and have groups of 14 nodes. Databases (3 x MongoDB, 3 x PostgreSQL), application servers (might be one server, or might be 3 subnets), HTTP servers, your SSL concentrators, etc.

      Your DMZ is going to be an isolate bubble: even the production LAN can't get into it, except for services offered. So even if you have one DMZ on a /24 that's got HTTP, database, SSL concentrators, and so on, your situation isn't as bad as you suggest. VPN? Either the VPN has SSH access to all your databases (i.e. your on-database-server firewall allows SSH from internal, and the VPN isn't trapped in a firewall that blocks SSH) or it doesn't. Either it has database access or it doesn't.

      I really did mean "Trust Zones". DMZ is a trust zone, and you are trusting it to interact with your Private LAN trust zone in a specific way. No matter where you put the firewalls, it interacts the same way. Firewalls on that host in particular aren't necessarily useful: why is it exposing Console Character Service or CUPS Print Service if it's not supplying print services to its own subnet? Configure that shit off, or bound to 127.0.0.1 or a local socket. If it's supplying those services to the subnet it's on, then your border firewall shouldn't allow those services through to that subnet--from private LAN, from Internet, or anywhere else.

      The old idea of "The Internet" versus "The Private LAN" is obsolete. We group things on subnets and put firewalls between the subnets now.

  20. Ubiquitous by Anonymous Coward · · Score: 0

    The 3 machines are presumably firewalled from the broader internet?

    The server isn't offering services beyond those needed by the clients?

    If these are both true, I'm not convinced a local firewall on the server offers much security benefit, and is yet another thing to configure/troubleshoot.

    What is the gain from running a local firewall? There are significant downsides in maintenance and troubleshooting time (not always, but not infrequently in my experience).

  21. Like anything, it depends. by Anonymous Coward · · Score: 0

    Depend if you have ports open? Some OSes install a lot of extra crap that you cant remove and should firewall off, but its not always the case.

    Usually a firewall is a good thing, as it can drop packets that would otherwise use your programs, but it is possible that the only ports they have open are the ones they are meant to access, in which case it doesn't really do anything for you unless you set up access rules.

  22. Every vendor does this... by Bugler412 · · Score: 1

    In some way every third party vendor does this. Anything that can potentially complicate their installation or support gets eliminated, rather than configured in a way that is appropriate or best practices. It reduces their support cost and increases their profits. Overspecing hardware and network resources for their app is another area where this is done.

  23. common or not, it's not prudent by roman_mir · · Score: 0

    Well, whether this practice is common or not is probably irrelevant, it is still not a prudent thing to do.

    I build and supply retail chain management software to a number of chains, there are dozens of stores that use it, we switch at least one computer in a store to a Linux machine that runs the store management software (the chain management software is a central system and it doesn't run in a store, but all stores talk to it.)

    Store management system is on the Linux machine that faces the Internet, it has 2 network cards, one is the Internet and the other is LAN (the same machine controls the LAN). Since this is Linux, iptables is used to filter out any unnecessary traffic.

    I think there should be some sort of packet filter on Internet facing equipment, POS or anything else.

  24. It depends by scubamage · · Score: 2

    From the sounds of it, you're discussing disabling a software firewall, not an actual hardware firewall. There's a lot of applications which require local firewalls to be disabled - for instance, we disable local firewalls when we're deploying telephony application servers because of vendor requirements. Likewise, some applications require SELinux to be disabled as well. All of our servers are still collectively behind a firewall, and beyond that we have a number of ACLs and centralized authentication controlling them. As for not running a firewall being lazy - firewalls are tools. Sometimes they're the right one, and sometimes they aren't. The only way to tell is experience on when to use each tool (and budget too). The more time you spend with networking, the more you'll come to realize that. But since you're learning, stick to what you've been told until you master it. As Picasso said, "learn the rules like a pro, so you can break them like an artist."

  25. Internet servers by pcjunky · · Score: 0

    Plenty of companies do. This is standard Operating procedure for ISP's and online services. Google, Facebook, Ebay all do. If your server needs to be accessible from the public Internet then yes. Firewalls are overrated as a protection measure. If you can run them from behind a firewall then I see no reason not to unless you have to open a bunch of ports to allow access to the server in which case the firewall won't help much. This is usually port 80 and it's where most of your attacks will come from anyway.

    If only a select group of people will be accessing this server from the Internet then the safest way may be to make it accessible only via VPN. Users would have to log into the VPN first. Much stronger protection than a server behind a firewall with ports open.

    1. Re:Internet servers by kencoe · · Score: 1

      Uhm, this is SO not true. Google, for example has done white papers and research docs, written articles, blogs posts, and practically screamed from the mountain that they use a "no trust" model including a wide range of individual measures on each resource. While firewalls are not used on ALL devices, they are used on many.

      Facebook also uses asset level security, including asset level firewalls; discussing this in an article about them signing a deal with Duo Security, and Ann arbor, MI based security company.

      Both of these companies have repeatedly made public statements that there is no canned answer for security, and that even individual resources are treated differently depending on case. You should not use random companies for example without knowing that your facts are correct.

    2. Re:Internet servers by Anonymous Coward · · Score: 0

      Google has very strict firewalls. They even have the same ips for youtube, google, google maps, and all other services. Nest hasn't been added yet.

    3. Re:Internet servers by Anonymous Coward · · Score: 0

      Google, Facebook, Ebay all do.

      You have no idea what you are talking about. Stop.

  26. FISMA / PCI / SOX by Anonymous Coward · · Score: 0

    They can write whatever they want in their contract, but that means jack and shit when it comes to complying with federal regulations. They're required to run a firewall, and if they can't code to comply with that, then you should alert the appropriate regulators.

  27. Regardless of client or application by Virtucon · · Score: 1

    A zoned security architecture is always best and implementing intra-zonal firewalls is likewise a best practice however there's always pragmatic considerations because of cost or risk of the information being protected. If any of the servers are Internet facing or face an internal desktop network, that should be firewalled off at a minimum.

    --
    Harrison's Postulate - "For every action there is an equal and opposite criticism"
  28. Is it common... by Anonymous Coward · · Score: 0

    ... to run mission critical servers on Windows?
    It's the only OS on which "to firewall or not to firewall" is actually a question.
    On a proper OS you would only have the minimum services necessary open... and a firewall would add nothing.

  29. Interesting Microsoft article on this subject by Anonymous Coward · · Score: 0

    http://blogs.technet.com/b/exchange/archive/2013/07/17/life-in-a-post-tmg-world-is-it-as-scary-as-you-think.aspx
    Microsoft seem to indicate that they do NOT use a firewall in front of their Exchange and SharePoint systems; no UAG, TMG, nothing. BUT, they admit that to do this requires a very different way of managing security. The Application Development and Support people MUST take FULL responsibility for keeping their applications secure, and CANNOT just leave security to the Network/Security teams. The days of securing buggy software by sticking a security appliance in front of it are gone, but many IT departments have NOT caught up with this yet. Networks and Security people still don’t trust Microsoft applications to be secure, while Application people think Security is something Networks or Security people should look after. The perimeter collapsed and nobody noticed....

    Bob G.

    1. Re:Interesting Microsoft article on this subject by Anonymous Coward · · Score: 0

      Having set up dozens of POS systems on Windows, I can say with some authority that you DO need a firewall. A strict network topology can mitigate much of the risk, but there are 0 day exploits available for every Windows OS at all times, guaranteed. It is not a matter of IF that system will get owned, it is a matter of when. As a contractor though, you can pick up some hefty maintenance checks for cleaning out infected POS systems due to negligence, which is how almost every Windows tech I know makes money: repeated cleaning of infected systems and a total lack of ability to secure them.

  30. Software or Hardware? by Anonymous Coward · · Score: 0

    The OP makes it sound like their environment is not running a firewall at all. Do they have a hardware firewall that sits between the outside and inside? Do they have a DMZ?

    If they have a hardware firewall and other security appliances, there's not really a benefit to a firewall on an internal server, and it can get in the way of specific services or necessary apps needlessly.

    If they have nothing between the server and the outside, however, then yes, a firewall is necessary.

  31. Well... by thieh · · Score: 1

    Is your firewall "mission-critical"? I meant if your mission involves being accessed from the outside then the firewall is as critical as whatever stuff behind it that you are trying to access.

  32. The vendors are clowns, but not the funny kind by Stolpskott · · Score: 1

    If the POS (point of sale... although if the vendor are as lax about their quality assurance as they are about network security, that might just also stand for "piece of shit") and the back office PC are completely isolated from the internet, then I would agree there is no need for a firewall. However, retail POS systems almost always now come with a built-in credit card payment system instead of having separate terminals for that... so the POS cannot be guaranteed an airgap out to the internet unless the POS vendor is also supplying a separate credit card payment system with separate hardware that will reside on a completely separate network from the POS and back office system.

    My advice to the OP would be to register their extreme dis-satisfaction with the setup verbally with the client, and in writing/email to the client and vendor, detailing the concerns about data security. That way, it at least limits OPs liability for the inevitable fuck-up and loss of customer credit card data to the time and effort involved in hiring a lawyer and producing said documentation when the shit hits the fan and law suits alleging incompetence start flying.

    From experience, I know that as the 3rd party implementation consultant, you are nothing more than an annoying buzzing sound to the vendor unless you get the client on board, and even then it will still not work unless there are break clauses around client satisfaction built into the vendor-client contract. All OP can really do is cover his/her own ass, do their best to educate the client about the dangers involved, and leave it at that.

    No firewall is probably because the vendor is too lazy to figure out how to configure the POS firewall so that they can still connect to it for remote support/maintenance tasks.

    1. Re:The vendors are clowns, but not the funny kind by bobbied · · Score: 1

      Excellent advice. I would only add one thing. PRINT said E-mail and any replies you receive from it and put them in a safe place where you can find them when the lawsuit comes up. You might actually get your customer to sign and date your hard copy if you wanted to really make the point.

      --
      "File to fit, pound to insert, paint to match" - Aircraft Maintenance 101
  33. How about NO by Anonymous Coward · · Score: 0

    Back in my consulting days I would throw in an openbsd firewall running on a customer provided machine as part of my services to them. The customer would get the documentation and passwords for it as part of the deal for whomever followed me. It was the ounce of prevention vs the pound of cure. Customer's who wanted wanted to just hang their gear on the internet without it were customers I declined to deal with.

    Its true the customer is aways right. But they can be right with someone else. I had a reputation of providing a quality service. Not going to sacrifice my good name and reputation with reports of shoddy work.

  34. with the push to virtualization by 0xdeaddead · · Score: 1

    we run firewalls on the hypervisor a'la vGW. But a firewall won't stop people from doing stupid things, but it sure makes day to day annoying as shit.

  35. Very common by Lumpy · · Score: 1

    For incredibly inept companies that really know nothing at all about security to run without firewalling.

    Make sure you have a clause written in that without a firewall your client is fully responsible for any and all damages their unsecured server will cause.

    --
    Do not look at laser with remaining good eye.
  36. No Excuse really these days. by upuv · · Score: 1

    I do a ton of infrastructure builds. From a few boxes to 1000's of VM's. There is no excuse for no firewalls.

    If a vendor is disabling the firewall then they should absolutely be approached. If the clown you are talking to says that's the way it's done then go over his head. Tell your boss.

    Be gently of course. Doing the run around my hair is on fire dance is not going to win any one over.

    You can even help the vendor. There are a ton of tools for all OS's that will help you determine the port that need to be open. Simply run up the software and scan the open ports. Tada you have a simple set of fire wall rules at least. Are they perfect? Of course not they can be improved on. But it's something at the very least. I'm not overly a fan of point to point rules in firewalls as they are self defeating in the long run. ( This is a longer story )

    So yes host firewalls should always be enabled. And the rules you use better be documented.

    1. Re:No Excuse really these days. by WaffleMonster · · Score: 1

      If a vendor is disabling the firewall then they should absolutely be approached. If the clown you are talking to says that's the way it's done then go over his head. Tell your boss.

      Be gently of course. Doing the run around my hair is on fire dance is not going to win any one over.

      You can even help the vendor. There are a ton of tools for all OS's that will help you determine the port that need to be open. Simply run up the software and scan the open ports. Tada you have a simple set of fire wall rules at least. Are they perfect? Of course not they can be improved on. But it's something at the very least. I'm not overly a fan of point to point rules in firewalls as they are self defeating in the long run. ( This is a longer story )

      So yes host firewalls should always be enabled. And the rules you use better be documented.

      Why? What is supporting reasoning for your position?

    2. Re:No Excuse really these days. by upuv · · Score: 1

      Do you mean the position that we need firewalls?

      I would have thought that that the need for firewalls was self evident. Especially in a business context. Even more so in this context were financial transactions are being processed.

      The smart devices we use today all tend to have a variation on mainstream OS's. All of which come with some form of host based firewall. Thus the management of these devices from a firewall perspective is even easier. So much so that it is now possible for most marginally technical people to ensure they are properly configured at least at the time of device activation / installation.

      How many times have we heard stories about POS terminals at places like McDonald's being compromised and the bad guys scoop tons of customer data. Far too many is the answer. These devices had little to no protection at all from would be bad guys. Simple protections put in place like firewalls go a long way to addressing these vulnerabilities. Are they perfect. Of course not. But they are a lot better than having nothing. Today these protections can be implemented in a manor that has almost no impact on how people do business. Which means that when implemented correctly they will not cause any additional labor on the part of the end user in order to ensure that they remain secure.

      Since it cause none or very little impact on the way you do business why wouldn't you implement these simple safe guards?

      Data breaches and losses are a significant threat to companies. Small one more so than the large ones. Small companies fold when bad things happen. It's a trivial insurance policy that shockingly very few actually implement.

    3. Re:No Excuse really these days. by WaffleMonster · · Score: 1

      Do you mean the position that we need firewalls?

      Yes, was curious to understand reasoning behind position.

      I would have thought that that the need for firewalls was self evident.

      The industry is full of bad ultimately harmful ideas which see widespread adoption for locally optimal reasons. It is far from self-evident to me firewalls do not fall squarely into this category.

      The smart devices we use today all tend to have a variation on mainstream OS's. All of which come with some form of host based firewall. Thus the management of these devices from a firewall perspective is even easier. So much so that it is now possible for most marginally technical people to ensure they are properly configured at least at the time of device activation / installation.

      I think today anything claiming to be a "smart device" needs no firewall because it accepts no incoming connections. It operates by calling home to the vendor. If you want to access your "smart device" you connect to the vendors server and ask nicely to please access your own gear. A mega ultra cloud firewall...!!1!!!!1!

      More generally would be interested in understanding why a device with a specific purpose is more secure when it listens for commands through an internal firewall vs the same listener without? Is a bluetooth headset more secure behind a Bluetooth firewall? Perhaps a concrete example...

      How many times have we heard stories about POS terminals at places like McDonald's being compromised and the bad guys scoop tons of customer data. Far too many is the answer. These devices had little to no protection at all from would be bad guys. Simple protections put in place like firewalls go a long way to addressing these vulnerabilities. Are they perfect. Of course not. But they are a lot better than having nothing. Today these protections can be implemented in a manor that has almost no impact on how people do business. Which means that when implemented correctly they will not cause any additional labor on the part of the end user in order to ensure that they remain secure.

      Since it cause none or very little impact on the way you do business why wouldn't you implement these simple safe guards?

      Data breaches and losses are a significant threat to companies. Small one more so than the large ones. Small companies fold when bad things happen. It's a trivial insurance policy that shockingly very few actually implement.

      Why do you feel firewalls are effective? There seems to be an implicit assumption that firewalls are effective... what makes that true?

      What if all the worlds firewalls were thrown in the trash heap and in their place systems were configured to accept only Authenticated, Authorized, Integrity protected, Encrypted inquiries from acceptable locations?

      Would that world have better or worse security outcomes than todays world? I think no question it would be better.

      No more making security decisions by ports and trivially spoofed address headers or checking worthless boxes on a compliance chart only to have the whole house of cards collapse when Debbie in accounting clicks on the wrong untrusted email message with spoofed from header.

      Instead of administrators configuring ports and addresses in firewalls what if they instead spent that same time managing the only thing that means squat in a secure system ... TRUST

      It is not like the technology does not exist. People ignore it because it is easier to hide behind their precious firewalls. So they allow it and by extension allow their suppliers to continue to supply them with crap.

    4. Re:No Excuse really these days. by upuv · · Score: 1

      Do you mean the position that we need firewalls?

      Yes, was curious to understand reasoning behind position.

      I would have thought that that the need for firewalls was self evident.

      The industry is full of bad ultimately harmful ideas which see widespread adoption for locally optimal reasons. It is far from self-evident to me firewalls do not fall squarely into this category.

      You are stating that firewalls are harmful. What back this statement up?

      The smart devices we use today all tend to have a variation on mainstream OS's. All of which come with some form of host based firewall. Thus the management of these devices from a firewall perspective is even easier. So much so that it is now possible for most marginally technical people to ensure they are properly configured at least at the time of device activation / installation.

      I think today anything claiming to be a "smart device" needs no firewall because it accepts no incoming connections. It operates by calling home to the vendor. If you want to access your "smart device" you connect to the vendors server and ask nicely to please access your own gear. A mega ultra cloud firewall...!!1!!!!1!

      More generally would be interested in understanding why a device with a specific purpose is more secure when it listens for commands through an internal firewall vs the same listener without? Is a bluetooth headset more secure behind a Bluetooth firewall? Perhaps a concrete example...

      Smart device do not only initiate connections. If you use a stock OS as a base for you smart device you are also accepting the fact that these devices will also implement service listeners. You may have a crack team of coders that does a very good job of inspecting each service and only allowing the bare minimum and none that have rogue listeners. But your developers are not always able to review each line of code that is used in patches moving forward. Things change. And they should change. As things improve a good vendor will patch these devices. So Where am I going to invest my effort. I'm going to invest effort into making sure my product works perfectly. If I spend a tiny amount of time ensuring that things are blocked with a firewall I don't have to worry if some changes in apps and services that I'm not in total control of all of a sudden have listeners. I could care less if the firewall is blocking them. This means I'm investing far less effort into on going maintenance and getting the same secure result. Easy win for me.

      The interesting thing is you do have a firewall on bluetooth. You do if you use bluetooth to carry IP traffic. This is of course if you use a firewall. So yah you are more secure from bad blue tooth devices if you have a firewall.

      Why do you feel firewalls are effective? There seems to be an implicit assumption that firewalls are effective... what makes that true?

      What if all the worlds firewalls were thrown in the trash heap and in their place systems were configured to accept only Authenticated, Authorized, Integrity protected, Encrypted inquiries from acceptable locations?

      Would that world have better or worse security outcomes than todays world? I think no question it would be better.

      No more making security decisions by ports and trivially spoofed address headers or checking worthless boxes on a compliance chart only to have the whole house of cards collapse when Debbie in accounting clicks on the wrong untrusted email message with spoofed from header.

      Instead of administrators configuring ports and addresses in firewalls what if they instead spent that same time managing the only thing that means squat in a secure system ... TRUST

      It is not like the technology does not exist. People ignore it because it is easier to hide behind their precious firewalls. So they allow it and b

  37. Yes, but not the way they do it... by Anonymous Coward · · Score: 0

    There are plenty of mission-critical servers run without a firewall. That's because they provide services (web hosting, DNS, and the like) to the internet at large, and the firewall functionality is built into the server.

    This is called a "bastion host". It runs a severely stripped-down system (for both security and performance reasons), and is usually reimaged periodically from a secure master copy.

    So yeah, I do it all the time. There's no need for a separate firewall. But the server is configured from the ground up with a heavy emphasis on security.

    Now, did this vendor provide a highly secure OS image and a process for reimaging it if there's a problem? Or did he just give you a binary to install on a generic MS-Windows install?

    In the latter case, the vendor is a fucking idiot.

  38. Vendors do stupid things. by Fencepost · · Score: 1

    The most recent one I'm dealing with is an IE-specific browser-based EMR (electronic medical records) package that apparently has some issues with newer Flash versions, and by "newer" I mean "released within the past 3 years." They want us to roll back to some version of Flash 10.x (the product mostly works with newer, but has some very annoying delays).

    My basic take on this is to go to the practice manager and say "According to the EMR vendor, their requirements are that we run an incredibly insecure configuration. I can do that, but my recommendation is that if we do so, no computer should be able to use both the EMR and other parts of the Internet." It makes me wish we were a Citrix shop; I'd set up a terminal server/app server running that insecure configuration, then just share direct app access via desktop icons for the end users.

    --
    fencepost
    just a little off
    1. Re:Vendors do stupid things. by Anonymous Coward · · Score: 0

      Just a friendly note: Citrix doesn't guarantee shit for security.

    2. Re:Vendors do stupid things. by Fencepost · · Score: 1

      Agreed that Citrix doesn't guarantee anything about security, but they've been the forefront of sharing only specific applications on Windows for some time. If FroggyMed requires that users be on IE8 with Flash 10.2 and Java 1.4.2 I can put that in place and lock things down so that terminal server cannot access anything not on the specific provider's ip blocks.

      A lot of hospitals have started doing that for their physician portals - they don't have to worry about client VPNs, which version of Java is installed on PCs, those weird Mac-using doctors who want to review charts from the couch every evening, etc. Their portal works on every platform for which there's a current Citrix client.

      --
      fencepost
      just a little off
    3. Re:Vendors do stupid things. by Fencepost · · Score: 1

      Given the cost (as an annual subscription no less!) and the fact that I found nothing about compatibility with 2008R2, 2012R2 or Remote Desktop Services, I'm probably better off spending half the money one time, to get another 2012R2 Standard license good for 2 VMs, then using the RemoteApp functionality in 2008R2 and 2012R2.

      --
      fencepost
      just a little off
  39. It may be common ... by gstoddart · · Score: 1

    But it's a terrible idea.

    During the setup, the vendor disabled the local firewall, and in a number of emails back and forth since (with me getting more and more aggravated) they went from suggesting that there's no need for a firewall, to outright telling me that's just how they do it and the contract dictates that's how we need to run it.

    If this is what your vendor is telling you, they're either lazy or incompetent when it comes to security.

    My advise, you need to get management to sign off on it to do a little CYA, otherwise someone is going to blame you for this when you get hacked (assume there is no 'if' in this situation).

    If they've signed a contract with this vendor saying it "needs" to be ran without a firewall, then the person who signed that contract wasn't reading carefully, or didn't understand what they were signing.

    Telling you that you don't need a firewall is like telling you that your car doesn't need brakes -- it should be a giant warning that someone is either lying to you, clueless, or doesn't give a damn.

    "Real professionals" are paranoid about security, and don't take stupid risks. Me, I'd go with your assessment of "bunch of clowns".

    Yes, this might be a small shop, and with a limited budget -- but hanging your production database outside of a firewall is just asking to get pwned. You can safely assume someone is trying to hack into you right now, because there's a good chance they are.

    --
    Lost at C:>. Found at C.
    1. Re:It may be common ... by Anonymous Coward · · Score: 0

      shouldn't your Edge firewall catch it though? your ass may be hanging out of your pants, but you still have that level of protection for you.

  40. Really depends on the details by gnu-sucks · · Score: 2

    Your post is not clear on what you mean by "without a firewall". There are so many places in a typical setup where a firewall could be placed, and yes, it is safe to leave them out in some situations.

    For example, your store has a firewall at the internet connection and everything inside is a private ip address. The cash registers run on their own network, firewall'd away from the other computers in the store, with rules to allow for outgoing credit card authorizations and that sort of thing. Does each cash register need a firewall? Probably not, and it might even be a significant expense to maintain updated rules every time the network needs to be reconfigured.

    So yeah, it depends on the entire configuration. The tone of your post suggests that the situation is not good though, and of course, it's a lot easier to argue for a firewall these days than against one.

  41. PCI-DSS or Tokenization by paysonwelch · · Score: 2

    You need to look at the PCI-DSS requirements because this is what dictates the security standards of your network if you are storing credit card information. Specifically PCI-DSS dictates (not your contract) that there needs to be multiple levels of firewalls. Ergo you will need a firewall in front of the web server. You will then need a separate firewall in front of the DB servers. And the preferred setup is a three or more tiered system. Web server with firewall connects to the Application (WCF / web service server) which also has a firewall, which connects to your database server which also has a firewall. Also note that I am referencing hardware firewalls such as a Cisco ASA or a Dell Sonicwall. The servers should also have their own software firewalls enabled whether it's Windows Firewall or Linux IPTables. With that said we are "supposed" to be PCI-DSS compliant and should be for the sake of liability (and doing it the right way). Unfortunately I know many vendors who don't want to spend money on proper setups and run very insecure systems. If you can avoid it don't work for these people and go find a client that has the budget to do things right. PCI-DSS: https://www.pcisecuritystandar... A better option for a cheap client is to not store any customer data and use a tokenized system. Authorize.Net will store all sensitive data for an extra $10/mo and allow you to skirt PCI-DSS regulations. You should still run a firewall though and be as close to PCI-DSS as possible though. http://www.authorize.net/solut...

    1. Re:PCI-DSS or Tokenization by Anonymous Coward · · Score: 0

      You lost me at sonicwall.

    2. Re:PCI-DSS or Tokenization by WaffleMonster · · Score: 1

      You need to look at the PCI-DSS requirements because this is what dictates the security standards of your network if you are storing credit card information.

      Handling credit card information is closer to reality than "storing".

      A better option for a cheap client is to not store any customer data and use a tokenized system. Authorize.Net will store all sensitive data for an extra $10/mo and allow you to skirt PCI-DSS regulations. You should still run a firewall though and be as close to PCI-DSS as possible though

      This is the biggest PCI related farce on the planet. If you don't handle credit card numbers either directly or by proxy then and only then does PCI not apply to you.

      The only difference is your not on the hook for secure storage of PAN. **EVERYTHING** else still applies. If your website which stores nothing but handles cards is hacked it can be used to collect everything just the same. Wordsmithing around sales pitches for these systems is to say the least inaccurate.

  42. Depends on the industry by thalakan · · Score: 1

    Some industries do make it a standard to disable firewalls on everything except perimeter devices. Networking talent is rare in these industries so it makes a certain amount of economic sense. You might be surprised to hear that SCADA and industrial control are one of the industries where this is common.

    It's not totally crazy, either. If you know that if anything were to ever get on your internal network, you're going to be more diligent than usual about letting things on it. If you put all your eggs in the perimeter firewall basket and it's pretty good, then what's the problem?

    Well, here's a big difference: the guy running your water plant is way different than the minimum wage guy you have running the till. The cashier has more incentive to attack the system, especially if he can get away with running a skimmer without getting caught. But the cashier has physical access to the system for several hours per day! What's the firewall going to do to stop him? He can just reboot the machine into an OS he controls, then turn off the firewall by writing to the disk directly.

    There's another more important problem: if SQL Server Express is involved then I'll bet the PoS app is doing cleartext database writes, which might include credit card transactions in the future. If that's the case, the firewall has to be configured to allow these writes in cleartext. Mr. skimmer guy just needs to put a tap inline with the register's network port to get all this data, firewall or not. The app is the problem here.

    Security is a people problem. Think about your staff and your vendors and choose them wisely. Until that's done pontificating about firewall best practices probably shouldn't be your first priority.

    --
    -- thalakan
    1. Re:Depends on the industry by david_thornley · · Score: 1

      It's not totally crazy, either. If you know that if anything were to ever get on your internal network, you're going to be more diligent than usual about letting things on it.

      I don't think that's a good thing to rely on. All you need is one slip-up and everything you've got may be vulnerable. This may be one person hooking up a personal device to your network, or connecting a laptop to an external source and then your network, or something like that. With trained people, it's not likely to happen in any given month, but people do make mistakes, and you do need to count the cost of this training. It may be cheaper to hire decent network people and maintain internal firewalls around important zones.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
  43. Where makes a difference by Thyamine · · Score: 1

    A firewall between you and the outside world, yes, absolutely. If you have to open ports to your network, that is expected, and you should make every effort to minimize those ports and encrypt when possible. If you can establish a DMZ even better.

    Internally you should be maintaining a secure environment anyhow, so there is no need. Between users and vulnerabilities, I can understand why people would want to turn on internal server firewalls, but generally no I don't see that happen. And that's from small to very large corporate entities. Mostly what I see is people who don't know how to manage their networks, or don't understand security, saying 'well I'm going to turn on the firewalls and now everything is Secure'. Most applications on internal networks expect wide ranges of ports to be open, and yes that is normal. If you have the time to manage every server at the port level, go ahead and enable them, but most administrators do not have enough time to handle normal day to day activities, let alone micromanaging networks like that.

    --
    I will shred my adversaries. Pull their eyes out just enough to turn them towards their mewing, mutilated faces. Illyria
  44. It SHOULDN'T be common by darylb · · Score: 1

    Seriously. Don't do it.

    I had a smallish consulting client from 6-7 years ago that ran their Oracle server on a system that had no firewall protection, because it made it easier for the application server to get to it. It also simplified remote access by a contract developer. As the remote DBA, it was also easier for me, although I advised against it from the beginning.

    Sure enough, an intrusion happened (whether my script kiddies or someone more serious I don't remember). The intruders left behind a lobotomized database and who knows how much rootkit. The latter was the bigger issue, as a big part of my job was to ensure that reliable database backups were being taken. I knew I could recover with what I had, but the admins had to know the system was uncompromised.

    So...a good day or two of downtime resulted as a new system was built and deployed. (It wasn't a mission critical system, which is why contract offsite DBAs and developers were used.) I restored the database, AND a firewall was put in place to limit all but the most sophisticated of intruders. I also configured CMAN (Communication Manager) to restrict database access itself to known systems only, even though the database wasn't the intrusion vector.

    If the system is valuable, or could serve as a gateway to the rest of an internal network, it must have a firewall. MUST have a firewall.

  45. If by "local firewall"... by Anonymous Coward · · Score: 1

    ...you mean the windows firewall, the answer is yes - a thousand times yes.

  46. You need to understand why you need firewalls. by Anonymous Coward · · Score: 0

    To start with a pedantic nitpick: Strictly speaking most firewalls are packet filters, as they don't look further than TCP (or UDP) port numbers. We'll call 'em firewalls here anyway. That said:

    The reason it's been drilled into people to "use a firewall" is that *cough* certain systems *cough* are rather notorious for running all sorts of services, and so opening all sorts of ports to the world, with basically no way to turn them off. On top of that they historically have shaky network stacks that could use a little help filtering out "weird" packets.

    If you know what you're doing and use (other) more robust systems where services only get enabled when the administrator says so, then it's not a requirement to run a firewall. If either is not the case then the traditional chicken waving with "enabling the firewall" is likely a better idea than having no firewall.

    Above assumes a public network connection. If not, well, the need isn't nearly as pressing. Though we all know eg. SCADA systems are rather notorious for assuming a "safe" network and ending up connected to the public internet anyway. Sounds a bit like your situation is one of these: Assumptions of secure network so insecure configurations (on shoddy systems) are permissible, only not so much in reality. Nothing much you can do except swap suppliers, or hire someone who does know what they're doing and drill better practice adherence into the supplier. Or have them pick a better supplier to swap to.

  47. Not Your Circus, not your Monkeys by robstout · · Score: 1

    Yes, there should be firewalls (Not sure if client side is needed, depends on the AV used on the devices. There is AV, right?). However, with you being a contractor who is not responsible for this aspect of the design, and you notfied your client of the issue, and they told you to back off, its no longer your problem. Depending on how involved you are with the project, you may want a written document specifying that you mentioned your concerns about this, and they decided to not follow your suggestions, simply as a CYA manuver.

  48. Depends by jimmifett · · Score: 1

    tl;dr: Make your professional opinion known politely to the client in writing, with your advice, them let the client decide, and have records of this decision.

    While I agree with you that security should be paramount, in reality, it is often trumped by adhoc business needs and costs. The owner/C-level want this or that to be able to happen, even tho you know it's bad security. You explain it, recommend alternative, then go with what they decide, no matter how asinine, provided you like receiving money. Document the decision so that when the inevitable happens, you've covered your posterior.

    From the outset, it doesn't seem like the client is taking things too seriously when it comes to data, they are using sql express after all. The client typically doesn't want to be bothered with our techno babble of how they are doing it wrong, they want it to just work and on budget. They purchase service contracts and warranties so that when something does go wrong, they pick up the phone to get it fixed or point fingers of blame towards when legal gets involved. It's all about passing responsibility. That's why you document and get signed off that the client is aware of these shortfalls and that you work doesn't cover any breach due to the shortfalls. The client sure as hell doesn't need or want a pissing match between you and another vendor, even if you are correct.

    Don't piss off the client. Call it a day, cash your check, have some beer.

  49. Fences are not Firewalls by Anonymous Coward · · Score: 0

    When there is only one listener on your server, and only one port permitted inbound or outbound on the firewall, you should ask yourself:

    Why am I putting a high latency, trivially DoS'd additional hop in front of my service?

    In other words, yes, there are online configurations where no firewall is necessary, and adds no value. Personally, I've run several public facing (as in, a single Interface, public IP) hosts since 1996 and have never suffered a breach, because I actually read my logs and maintain my systems.

    Hell, most "firewalls" are nothing but low performance, poorly configured routers, in many environments. If that's the case, put ACL's on your router and remove the firewall.

    However, I will say one thing.. I would -never- do this with Windows. Linux? Sure. BSD? Sure. Solaris? Sure. Windows? Nope.

  50. Necessary? by Bert64 · · Score: 1

    Assuming the servers are correctly configured and hardened, then a firewall is an additional layer - ie the ports allowed by the firewall will be those ports that you have explicitly opened on the server, nothing else should be present irrespective of what the firewall allows. Wether you then need one depends on your budget, your risk profile, wether you need to comply with any external requirements (like pci-dss) etc.

    Personally i have many servers with no firewalls, because having a firewall would add additional hosting cost, additional point of failure, additional attack surface, additional latency, and the servers themselves don't run any services that aren't intended to be open to the internet (and thus everything thats running would be allowed by the firewall anyway).

    The benefits of having a firewall in my case - an extra place for logs incase my host is compromised, and the ability to control outbound access if the host is compromised, are outweighed by the downsides. The chance of the host actually becoming compromised in the first place wouldn't be decreased by the addition of a firewall, but you'd have the additional risk that the firewall itself could be compromised.

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  51. If its an isolated network... by Yew2 · · Score: 1

    eg. offline - no internet connection - then I wouldnt worry about not having an operating system/software firewall enabled on the 2 systems. Heck, even if you had a linksys giving them shared internet access it could even prevent the RPC worms and stuff from getting in. The day you start surfing on them or otherwise let the internet in then its horrible practice to go without a good edge firewall on that connection; but if the network is entirely offline I wouldnt worry about it. In the larger networks firewalls are independent devices; we no use software firewalls. Oh no..

    --
    will work for dragon quest localization
  52. Re:Its Fine. - not by Anonymous Coward · · Score: 4, Informative

    Sorry to barge in like this.

    Oracle does not have issues with firewall. A proper firewall will allow a specific program to monitor a range of ports.

    Ex.
    Open port 80 system wide.
    Open ports 40000-65000 for sqlserver.exe TCP and UDP.

    You may have multiple listener processes, it takes a few moments and some research but in the end, you ensure the door is opened only for the ports and processes you want. This blocks the door for ports and processes that may be vulnerable thru bugs.

    It's not perfect, nothing is. But it's better than staying opened.

    Will you get hit if you don't, not necessarily but what if you do??? How much is your data worth? Restore time and data lost since that last restorable backup? What? You don't have a backup or have not tested your restore recently... (excuse me while I rotfl).

    Sorry for the nasty punts, but let's face it, the day you get hit. I will say the same thing as today. Rather you hear it today, it's cheaper for you and if I helped in anyway, I'll be glad to not laugh later. I do go see humour shows, I don't need this for entertainment.

    Good luck, and best of chances either way you go.

  53. Severe myopia all around by Anonymous Coward · · Score: 0

    If a vendor is telling you that a contract dictates to not use a firewall, get it in writing, and then bring this to your customer's attention detailing why this is unwise. While bringing this to your customer's attention, do it in a way that gets them to think about their risk tolerance. E.g. How do they want to handle:

    a) Security compromises (machine trojaned, etc, but no evidence of other issues)

    b) Demonstrated data loss (hackers steals data, maybe posts it to public forum)

    c) Demonstrated public web site defacement (brand damage)

    Once you get them to start thinking about these risk, THEN you can start talking about what tools and processes they want to use to mitigate these risks.

    Recognize that firewalls do NOTHING to protect against poorly written services. If a vendor has custom code in play, and is talking as you indicate they are talking, I would personally RUN from them as fast as I could. Because even if the firewall is in place, it's a safe bet that an experienced individual could breach the service in short order. The only secure server is an airgapped one (and even not then). Realize that firewalls are only one tool, will not protect exposed services, and need to be one tool of many to be considered in any security process.

  54. Yes. This happens a lot. It sucks. by lwap0 · · Score: 2

    In my experience, many smaller companies, especially ones who offer a specific one-off product, this is a common attitude. This means they've done no real security testing on their product, or how their product is deployed and managed in a customers environment. I think it stems from a couple of things: 1) They aren't security literate. They know how to code or deploy, but they can't be bothered to learn and implement security. They have enough to worry about as it is, and security isn't one of them. It's nothing less than willful ignorance. 2) Sometimes it's more nefarious. They don't want anything impacting their customer experience. Two factor authentication? Firewalls? Application white-listing? Those things get in the way of a customer using their code they paid for. They will not endorse or support it. More over, if YOU implement, it could violate your warranty and null any SLA's. Read the fine print. Ultimately, the (real professionals) answer is this: Defense in depth. For a small business (assuming 1-2 workstations as you've described), a premise (ISP) router based firewall will suffice, and then host based firewalls for each individual client/server/workstation. Keep AV installed, and signatures up to date. Implement a basic change management procedure, and ensure everything stays patched and up to date. All of those things can be done for relatively low cost and high yield for security return. Heck, just doing those basic things puts you head and shoulders above many peers.

    --
    I bring nothing to the table.
  55. Risk Assessment!! by dclydew · · Score: 3, Insightful

    There are lots of different risks that must be considered when securing a network or system. In my many years of securiy architecture, I've found it make the most sense to create a risk assessment.

    Threat x Vulnerability x Impact = Risk

    Once you have defined the risks, you can define the best protection method to reduce each risk.

    Application firewalls may not be the best protection method depending on the rest of your network security controls. If you have strong network firewalls and every device that connects to the network must be authenticated (and scanned for viruses) before its given an IP address, an application firewall may not reduce much risk. If it doesn't reduce much risk, it may not be necessary.

    In business, security is like insurance. You have to justify how much to spend, based on how it will protect us if something bad happens. Further, you have to make sure that whatever the security control is, it doesn't interfere with what the business needs to function. If the database cannot function with a firewall, a firewall is not the best protection method and other options should be considered (Network Intrusion Prevention systems, Data Protection [encryption/tokenization/hashing], Anti-Virus, File Integrity Monitoring, etc). There are many tools available to security professionals today. A firewall is a good tool, but not the only tool... depending on the situation, it may not even be the right tool.

    --
    Get a life, not a lifestyle. - Hikem Bey
  56. Re:Its Fine. - not by scubamage · · Score: 4, Informative

    After 4 weeks of oracle training, the advice from the oracle trainer was that oracle simply doesn't play well with firewalls. I'm not a DBA (thankfully), but that's from their actual instruction.

  57. ANY to ANY by Headrick · · Score: 2

    I've seen firewalls that simply allow any port on any protocol right on through.

    Many PHBs seem to think that merely having a firewall is a panacea for all security issues.

    If I hear "but it's behind the firewall!" one more time...

  58. It Depends by mjwalshe · · Score: 1

    Depends on the network design for high security networks yes it is common to have sensitive machines on a physically separate network with firewalls between.

  59. PCI DSS by Alioth · · Score: 1

    If you are going to be working with credit cards then read NOW and not later the PCI-DSS (Payment Card Industry - Data Security Standard) standards and follow them, or the company could be liable to penalties from your financial institution. Firewalls are indeed mandatory, as is proper documentation, management and review of the firewall rules.

    Download PCI-DSS v3.0 here: https://www.pcisecuritystandar...

  60. Yikes. This handles people's money by Tool+Man · · Score: 1

    In my humble experience, POS systems are those most forgotten, and least protected once you get on to the network. Few patches if any, and the vendors often squawk about only supporting ancient versions of Windows XP. Yes, the POS systems are probably Windows. Probably no AV either, and quite likely all administered with shared accounts that everybody knows. A firewall is by far the least they should be doing.

  61. no firewall, but something similar by one_who_uses_unix · · Score: 1

    Some large (internet scale) services run without a firewall, although typically ACLs on the router serve a similar function. The issue is that firewalls have a hard time scaling to internet scale volumes. (source: I have served as the lead systems architect on very large scale internet infrastructure).

    --
    KK4SFV
  62. Protection against security bugs. by jcdr · · Score: 1

    You simply don't know the future security bugs that will affect your infrastructure. Just look at http://www.cve.mitre.org/ or any distribution security announcement like https://www.debian.org/securit... . Security bugs are discovered all the time. With this fact in mind you realize that you need more than a single protection layer to get a chance to detect and drop a harmful traffic. The bug could be deep into the kernel, making almost any magic possible from the application point of view. Having only a few ports open is not enough to protect against this, as the kernel structure and notion of port could be corrupted.

    1. Re:Protection against security bugs. by WaffleMonster · · Score: 1

      The bug could be deep into the kernel, making almost any magic possible from the application point of view. Having only a few ports open is not enough to protect against this, as the kernel structure and notion of port could be corrupted.

      The above can be read as a perfectly sound explanation why firewalls can themselves be dangerous with plenty of CVEs having already been logged against several popular choices.

      You now have to worry about two separate kernels being corrupted by low level packet wizardry with dire consequences arising from compromise of either.

    2. Re:Protection against security bugs. by jcdr · · Score: 1

      Yes firewall has bugs. It's still simple to swap firewall model in case of a successful attack against one of them. If the infrastructure is really so critical, adding layers for packet monitoring and for packet validation should probably be a good idea.

  63. Know what firewalls do. by nine-times · · Score: 2

    Honestly, determining whether you need a firewall isn't as simple as "yes, always, all the time" or "no you don't need one." You have to know what the firewall is doing, and what security is required. You can set up a firewall, allow all ports to be forwarded through without inspection, and while you have a firewall, it's not helping you. Or you could have a server running a secure OS with only the vital ports opened, without access to anything other than the Internet, in which case a firewall probably isn't doing you a lot of good.

    Also, it seems you're talking about a software firewall installed on the server? I wouldn't trust it. If I'm running Internet accessible servers, I generally want separate hardware firewall, and I want to put those servers into a separate DMZ if I can. I might leave the built-in Windows firewall turned on if it's not causing any problems, but if I have to disable it, I don't worry too much about it because I have the hardware firewall.

    A properly secured Linux/Unix server should be able to sit directly on the Internet without issues, but you may as well put it behind the hardware firewall if you have the option.

    But are we talking about disabling the built-in software firewall on a machine that's only accessible by other computers on the LAN? That's probably fine. You should have some security preventing unauthorized personnel from accessing the LAN, and I would assume the SQL databse it password protected, right?

    I guess my bottom line here is this: Since you can't trust a the built-in Windows firewall to actually protect from very much, you shouldn't worry too much about disabling it. Make sure your network is secure without it.

  64. Re:Its Fine. - not by BitZtream · · Score: 2

    Your trainer was an idiot, not a network admin. Oracle database and the various Oracle apps I've used have no silly issues with firewalls. They may have some apps with issues, but not the main product which uses a single consistent TCP port for connections.

    --
    Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
  65. Firewalls are overrated and misunderstood. by metrix007 · · Score: 2

    A firewall will not stop most attacks. A firewall has to allow traffic to the services that are permitted (duh), and so that open channel, attacking and exploiting the service is what will allow the attack.

    A firewall could not stop that by design.

    If an internet facing server is secure correctly, there is no need for a firewall in front of it.

    There is however a need for a firewall between the DMZ (which is where this server should be) and the internal network, to prevent access to the internal network in the event the server in the DMZ is compromised.

    --
    If you ignore ACs because they are anonymous - you're an idiot.
    1. Re:Firewalls are overrated and misunderstood. by smash · · Score: 1

      A firewall can be useful to limit the spread of malware on your internal network. The days of relying on an edge firewall only are over.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    2. Re:Firewalls are overrated and misunderstood. by smash · · Score: 1

      And to clarify - yes you need to open ports on the box, of course to provide services. But there is zero reason that you should be enabling non-user facing traffic to be sent or received to/from the box from end user machines.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    3. Re:Firewalls are overrated and misunderstood. by Anonymous Coward · · Score: 0

      A firewall is a second layer of defense (the first being correct configuration of the server), and a mitigation measure in case of a breached server (against server hopping, reverse shells, etc.).

  66. Have the Vendor sign a waiver by Anonymous Coward · · Score: 0

    alternatively, have the vendor sign a waiver accepting full responsibility for any damages and liability that could be attributed to not using a firewall

    I am sure that the company lawyers would be very eager to have something like this in place.

    After all, this is the vendor's recommendation, which should be in writing anyhow.

  67. Re:Its Fine. - not by Anonymous Coward · · Score: 0

    Their actual instruction isn't wanting to "get into" all the possible firewall configuration problems that exist, no doubt...

    Oracle training is just that. It's not custom Oracle expert deployment contracting. You "can" use a firewall, done right.

  68. CYA and GFTO, IMHO by Anonymous Coward · · Score: 1

    I'd make every effort to inform them of this security violation, then make every effort to explain it, and then highlight that POS systems are now being considered for hacking. Once you've done that, and the customer still refuses, keep the documentation and GTFO because they're as dense as lead.

  69. Let's get this in writing. by Alien54 · · Score: 1

    After all, this is the vendor's recommendation, which should be in writing anyhow. Have the vendor sign a waiver accepting full responsibility for any damages and liability that could be attributed to not using a firewall I am sure that the company lawyers would be very eager to have something like this in place.

    --
    "It is a greater offense to steal men's labor, than their clothes"
  70. Vendors.... who needs them... by TMYates · · Score: 1

    I have seen this so called "requirement" on occasion and think the company that requires it needs to go though a security audit of their own. I also think that anyone that requires Domain Admin/Root access for their software to run doesn't know a thing about security (I get this commonly too). The problem you may face will be through regulatory compliance for various things (as some here mentioned PCI already) There are other regulations you should probably try to discover if you are required to comply with especially if you will be hosting PII (Personally Identifiable Information). Not just talking HIPAA, but some e-commerce sites require a little more security for their data.

    That being said, as long as there is a firewall to the internet and your server does not have critical internal only ports open, in most cases you would at least pass basic security requirements, albeit not optimally. Make sure you run a test using something like NMap! As for alternative ideas, you could set rules in the local firewall to allow unrestricted traffic between the servers involved while limiting access from all others to the default rules. You could also set up IPsec tunnels between machines to encrypt that traffic. I would at least make sure you have a path to separate as many features that require higher security as possible. For instance, PCI will require more strict rules and if that is a problem for this vendor, budget a separate server for transaction processing.

    Some of those options may help find some middle ground between your requirements and theirs (after all, you are not limiting traffic of interest to them). I would push to have a Business Associates agreement signed by them saying that by not following your configuration requirements, they will hold some or all of the responsibility for a breach involving their solution. It would still hurt you in the case of a breach, but at least it puts them on edge to make sure they do everything they can to secure their solution since they now have a financial consequence for a breach.

    Last but not least, make sure you put the POS system in it's own VLAN separate from all other systems. Lock down that network to only POS traffic and put no other device unrelated to the POS system on that network. This is part of the reason for recent breaches from some of the major retailers.

    1. Re:Vendors.... who needs them... by Malfuros+the+Wizard · · Score: 1

      Oooh yeh I love VLAN's they make your network so secure..... not... VLAN is merely simple tagging of packets on the network, wire level packet capture stills gets all the packets from all the VLANs, if you are running a VLAN for security you are doing it wrong...

    2. Re:Vendors.... who needs them... by TMYates · · Score: 1

      It depends on whether you are running tagged or untagged VLANs. You are correct for trunk ports that carry tagged VLANs, but the catch there is that you have to have a tap or sit on a trunk port that can see the same tags. Both of these cases require physical access to monitor or make changes (or remoting into a switch). If physical access is a problem, you have bigger issues on hand. VLANs are not end all security, but to completely push them aside is ludicrous. Properly done, VLANs are a great augmentation to security, but I would not rely on them as the only means.

      I mainly use VLANs with layer 3 routing so I can have firewall rules at the switch level between the VLANs which I put on separate IP networks. I avoid using the same network across multiple VLANs.

  71. Simple. by LWATCDR · · Score: 1

    The Vendor will have issues with their product running if you do not configure the firewall correctly and will cost the Vendor support time.
    If you get hacked because you let malware onto your POS systems or put a compromised machine on the network it is your problem.
    A firewall will just prevent an exploit of a service. So only run the services you need. The real issue for this POS would be an exploit that gains access to the SQL server and a firewall is probably not going to stop that.

    --
    See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
  72. yes it is common by smash · · Score: 3, Informative

    ... because muppets pretending they know how to adminster a network are common.

    Don't be a muppet. Limit the spread of malware on your network as much as possible by only opening things that need to be open, to places they need to be open to. There is ZERO reason, for example (plucked at random to illustrate a point), for your end user PC network being able to directly connect to SMB on your SQL server, for example.

    Yes, in theory they need credentials to do that. But why leave it open to anyone who obtains credentials when you can be more pro-active about defending the box?

    --
    I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  73. Firewall != Windows Firewall by Todd+Knarr · · Score: 1

    You said they disabled the local firewall. That's how I'd run most Windows servers on a network of any size, because the local firewall just eats up resources on the server that could be better used for the server's actual job. The firewalls should be proper hardware firewalls built into the networking infrastructure located a) between the outside world and the client networks to control access to the network in general, b) between the POS terminal segment and the server segment to control what access the terminals have to the servers and to block the servers from unnecessary access back to the POS terminals, and c) between the two client networks you mention to control what access each client has to the other's network.

    The Windows Firewall itself is fairly useless in a large network because as far as incoming connections go it can't control things any better than a hardware firewall can, and for outgoing connections it's pointless because any malware that might try making unwanted outbound connections has to be assumed to have enough access to disable or bypass the Windows Firewall.

    1. Re:Firewall != Windows Firewall by steppin_razor_LA · · Score: 1

      The argument for running a windows firewall *in addition* to physical firewalls is that you create a "soft underbelly" if the individual servers do not have their own defenses. Say someone compromises server #1 -- now they can attack server #2 - #4 and have access to a significantly larger threat surface (i.e. Server #1 has direct access to ports on #2 - #4 that you wouldn't want an attacker to see).

      The basic principle is - keep your attack surface as small as possible from as many attack vectors as possible. This means inefficiency and overlapping defenses.

      --
      Evolution: love it or leave it
    2. Re:Firewall != Windows Firewall by Todd+Knarr · · Score: 1

      The problem there is that the Windows firewall itself creates it's own attack surface. You have such a large range of internal machines that need access to so many different services on the servers for monitoring, administration, deployment, support and so on, and so many of those services are either so poorly documented or multiplex so many different functions/services over the same port that it's difficult to write specific rules for them, that in the end your firewall rules for the servers end up being unmanageably complex. They end up not protecting you nearly as much as you think they are, and they actually cause problems and contribute to failures (I could count on spending at least half a day every week diagnosing firewall-rule-related problems, and every release tended to result in several rollbacks and re-deployments over the course of a couple of days because of errors or omissions in firewall rule changes which we also had to diagnose). Plus, for all that cost, the primary threat wasn't from other compromised servers, it was from internal machines which legitimately had access to the servers (ie. the desktops belonging to DBAs, sysadmins, managers and so on) which were compromised by malware coming in via other vectors that bypassed all the firewalls.

  74. PCI DSS Standards by maz2331 · · Score: 2

    That design tells me that you need to put a PCI-compliant hardware firewall between the POS and its associated DB server, and the rest of the internal network. And you also need to have a firewall logger that is actually looked at daily, plus you need to do vulnerability scans both internally and externally. A Windows firewall is not sufficient and won't meet PCI DSS requirements in any event, ever, and isn't going to provide any benefit if the firewall between the POS network and the rest of the store/enterprise is in place.

    Any device that processes, carries, or stores ANY credit/debit card data that isn't encrypted *must* be behind a firewall that only permits it to send traffic to specific hosts that are necessary for the functioning of the system, and even then only on the bare minimum number of ports, and almost all inbound traffic is denied as well.

  75. With less security your faster to market by jader3rd · · Score: 1

    If you don't run a firewall and you and your clients are the only one trying to connect to your server, then people see that running a firewall only interferes with things working. Meetings with management are really fun when they run along the lines of "We turned security on and things started breaking.", "Then turn off the security". So if no one is attacking you, you might make it to market faster with less resources than your competitors when only dealing with security after an incident.

  76. More common than you think by ErichTheRed · · Score: 2

    My job requires that I deal with a lot of, to put it politely, vertical market software companies. As in, they're the only game in town for that particular function in the industry I work in. It's extremely common to see stuff like this, and it's usually justified by saying "firewalls won't protect you anyway, so why bother?" I only slightly agree -- in my mind the most important thing is to severely limit the use of admin/root accounts and protect their passwords, since you can shut off any security measures once you're through the door.

    Usually, it's just laziness on the part of the vendor. The software is assumed to be running on a closed network with no external access in many cases, and a lot of people don't get that even closed networks aren't really closed anymore. I'm completely platform-agnostic, but I've noticed this a lot with typical Windows DCOM fat client / SQL Server (or worse, Jet/Access DB) pairings. As soon as you try to run these securely on a general purpose desktop, you find that port-based firewalling is very difficult to do without opening a huge range of ports due to the way RPC works. Yes, there are workarounds, but in general the protocol is not firewall-friendly. And, the golden rule of vertical market software is "thou shall not upgrade thy technology stack, ever." I do desktop systems integration -- OMG, getting poorly coded VB6 applications working on Windows 8 is a nightmare even with the compatibility toolkit, etc. Not sure what it is with the market segment I'm in, but I see lots of VB6 married to a Jet database, and lots of craptastic fat Java applications. Both can be killers to fix and get working without access to the code/programmer.

  77. Re:Its Fine. - not by Zmobie · · Score: 2

    To be fair, just because the network is properly setup and allows for certain behavior etc. does not mean the application will play well with that setup. I've seen it happen before (and have been able to demonstrate it with proprietary software) that sometimes the network will not react correctly with certain network setups. At my company we have had to implement special protocols and features in our software just to overcome some inherent network limitations that our IT group pretty much said, "we have no way around this issue, sorry."

    I only have limited experience with Oracle though, so take that statement as what you will. I have seen other software exhibit this kind of behavior though.

  78. Discussion with Client legal by ewenix · · Score: 3, Informative

    they went from suggesting that there's no need for a firewall, to outright telling me that's just how they do it and the contract dictates that's how we need to run it. This isn't a tremendous deal today, but with how things are going, odds are there will be e-Commerce worked into it, and probably credit card transactions... which worries the bejesus out of me.

    I suggest you relegate the 'is this common' question to a discussion after hours over a beer.
    Your real issue is security. I would want to schedule 2 different meetings, preferably with everyone attending in person. The first is a prep meeting with your client and their legal counsel to discuss your concerns, review the contract language that is being referenced by the vendor, and what liability the vendor has if the machine is compromised due to the vendor required there be no software firewall.
    The second meeting would be with your client, their legal counsel, and the vendor.

    1. Re:Discussion with Client legal by Anonymous Coward · · Score: 0

      That sounds great. However, I have done a dozen multi million dollar networks in a myriad of locations and businesses. I have never, ever seen legal counsel present in a network planning meeting. In fact, despite working for a network vendor, as a consultant and as an employee. I have never even heard of that happening.

      Having legal counsel at hand when making/implementing network decisions and vying for infrastructure dollars would be pure bliss.

      Not sure that it will happen though. If they have already outsourced their help desk and contracted their network team they why should they worry when it blows up ? They have all the scapegoats in place already.

  79. Re:Its Fine. - not by scubamage · · Score: 4, Informative

    FYI, oracle requires ports from 1024-65535 to be open for any client. 1521 is only used for initial setup dialog. This also forks a new oracle process, which gets its own socket. Afterwards, as stated above, this information is sent back to the client which reconnects on the new socket. This oracle doc explains what I am talking about: https://asktom.oracle.com/pls/...

  80. Re:Its Fine. - not by scubamage · · Score: 1

    The actual training did "get into" why it works that way. See the above referenced article explaining how SQL*NET works. 1521 doesn't handle the actual sql query, it forks a new oracle process for that particular request which has a new socket associated with it.

  81. Re:Its Fine. - not by scubamage · · Score: 1

    Yup, this is our case. There's also a common misconception that with oracle you can just open port 1521 and everything works, but per oracle, that's only part of it. SQL*NET is weird software.

  82. Absolutely it is, and that's ok by holophrastic · · Score: 1

    You drive your car quite fast on roads with on-coming traffic separated by nothing more than a stripe of paint.

    There's no limit to the amount of security that you can add to a network. But in the end, the odds are fairly good that fixing the few problems likely to occur is far simpler and more cost-effective than preventing them in the first place.

    Obviously, we're talking about a small business, that isn't subject to large and persistent attacks. And should the day come when it is, that's when increased security can come around.

    Regarding the ecommerce side of things, most small companies use ecommerce to receive money. So the worst thing that can happen is that they receive more money. That'll be noticed. Providing they aren't storing credit cards, then there's nothing to lose.

    Safety third: first the job needs to actually get done, otherwise there was no point in starting it. second, the job needs to be worth doing, or there was no benefit to having done it. third it needs to be done safely. think of all of the great achievements that came from numbers one and two without any degree of reasonable safety. think the discovery of new worlds, exploration, animals, major construction, and every dangerous job out there. the line of what's considered "safe" moves quite freely to accomodate the other two priorities.

    Safety Third.

  83. Security design is hard by Spyder · · Score: 1

    First and foremost, the most common reason I see to have poor network traffic controls (on network or system level firewalls) is that defining the traffic ACLs is to skill/labor intensive. You need to have the skills and patience (read: time) to make sure that everything works and you're blocking everything else.

    That being said, I tend to design systems to rely primarily on the network level when I can for traffic controls because I reduce the number of possible points of configuration which helps configuration management, auditing, and troubleshooting. If I do want focus on the host I am more likely to use host level firewalls on Linux systems for 2 reasons, 1) the services to be permitted are easier to isolate, and 2) iptables configurations are much easier to archive, manage, and audit (at least for me, I really haven't had much success with any kind of task automation with the windows firewall or ForeFront).

    Cloud IaaS can make this complicated, because it's much more involved to employ network or "soft" VM based firewalls, and creating traffic isolation in elastic environments is tricky. The times I've designed for Amazon AWS, I pushed the systems design to Linux, rather than windows (Drupal/MySQL system that was being migrated from a Windows implementation to cloud hosting) partially because of the network traffic controls.

    Network security design is not about firewalling everything, it's not that simple and the more things you have manipulating traffic, the more trouble you're buying down the road. It's about defining your security zones (how needs access to what, and how are they getting there), and then determining what controls to use. If, in the OP's instance, it's a web server and DB server in a DMZ that has ingress of HTTPS (443/TCP) and no egress, then I'm not sure that an additional control between the 2 servers buys you too much. The main advantage I see is limiting the depth of exploit if either of the 2 servers is compromised, but given that they are windows servers, and it's likely that they are using SMB/CIFS (137/TCP, 139/TCP, 445/TCP) rather than SQL server authentication, you have to allow all the ports you'd want to block anyway.

    --
    Spyder
    1. Re:Security design is hard by Anonymous Coward · · Score: 0

      This.

      Audit needs\requirements, document them, Determine security zones.

      Determine the context for each zone; block everything allow specific, allow everything block specific.

      Determine which services to provide security with, work from the network (Port, Traffic inspection) to the OS (Antivirus) to the Application (LDAP authentication setup, rules, user provisioning and responsibility, data storage, encryption, et-cetera).

      If a vertical software market vendor says their software is sufficiently hardened to be exposed directly to the network, provide that documentation to your client, inform them of just your disagreement, and move on and be wary that the Vertical Software Market Vendor might not be around for much longer.

      If they want to know more, 3-5 sentence response then "I can spend additional time hardening but...".

      For Financial systems, I am unaware of any software company that's stupid enough to tell you it's secure enough to connect to the internet.

  84. local firewalls by roc97007 · · Score: 2

    My current company has a firewall for the incoming internet connection. (What sane company doesn't?) We also have individual firewalls on each PC but no individual firewall on any server. I'm not a network administrator -- it's a black box from my viewpoint, but I can rattle it and guess what's inside. The servers, I believe, are protected in two ways -- (1) to get out on the internet, you must go through a proxy, and the servers do not know how to do that. (2) traffic on the server subnets are blocked by the internet firewall, except for a few in a designated DMZ. We run into this all the time when applications have features that report back to vendor tech support, but are always blocked by the firewall. (In one case we had an application that would hang when it couldn't make an ftps connection with the vendor's tech support site -- who the heck uses ftps anymore? We stopped using that app.)

    So to answer your question, a well designed network will have clients that can get to the outside through a proxy server, and servers that can't get to the outside at all, and servers that can cautiously get to the outside from the DMZ. The servers that are blocked from getting to the outside by the network don't necessarily have to have individual firewalls, and in fact, local firewalls can cause problems with some applications.

    Now, if you're running the back end part of the system on a local PC that can also get out on the internet... whoo boy... that sounds dangerous.

    --
    Oliver's law of assumed responsibility: If you're seen fixing it, you will be blamed for breaking it.
  85. Common? by Anonymous Coward · · Score: 1

    Is it common, yes. But does common = good? no.

    If common sense really was (common), the world would be a much better place.

    Unfortunately, lots of (even smart) people to very stupid things, and all too often people focus on "getting it to work" more than "making it safe to operate" (which is, in effect, "being lazy"). So you should keep on arguing for good security practices. The results of not doing so speak for themselves (i.e. Target, etc)

    Also, firewalls are one piece of an overall security plan, but an important part. But to talk only about firewalls is kind of missing the boat.

    And all this discussion about databases not working well with firewalls - I think people are missing the point. Generally, I would expect "customers" to have a well defined path to this POS - i.e. a web site/api, etc, and that this would communicate to the DB, so all the communication between your POS app and the DB are together behind a firewall, so communication to the DB wouldn't be affected by said firewall. To have the DB directly open to something outside... seems like a recipe for a security disaster...

    Having said all that, since we don't know much about your environment, the two clients, how they are connected (the implication is over the Internet, but you don't really say), requirements, design, other security measures in place, etc, we can't really give specific advice for such a general case - it's possible a firewall is unnecessary, but we can't say for sure given the info we have.

  86. Not only not common, but not allowed by whitroth · · Score: 2

    Unless *all* datafiles on your client's system are encrypted, also, and I don't think even that's enough.

    ObDisclosure: I worked for about 4 months on a contract at Trustwave, a root CA.

    Leaving that huge hole in your defenses... I suggest you look, if you don't already know, at .

    From the 1.2 std: "Firewalls are a key protection mechanism for any computer network. Other system components may provide Firewall functionality, provided they meet the minimum requirements for Firewalls as provided in Requirement"

    Even all data between two systems *MUST* be encrypted, for full compliance, if you're doing your own.

    So, what this vendor is doing... I'd say you and your client need to reread the contract *VERY* closely, and if they say they're adhering to stds, they're in violation of the contract.

                            mark

    1. Re:Not only not common, but not allowed by geekoid · · Score: 1

      "Unless *all* datafiles on your client's system are encrypted,"
      haha.
      If I can get into your system(I can) then I can install a number of tools to find you keys. Or install keyboard sniffers and have everything sent to me.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    2. Re:Not only not common, but not allowed by Anonymous Coward · · Score: 0

      root CA?

      Are you joking? This isn't the usual case.

      You can't think that it is the usual level of security in other companies.

      The usual: no firewall in servers. It adds lot of work and complexity. For this funcion are the network firewalls (checkpoint, ASA, etc).

  87. Network best practices may say this... by bferrell · · Score: 2

    "A firewall is a MUST".... However

    1.) If you are a contractor (or an employee for that matter), and you're explicitly told not to do something, document your concerns, in writing and either do what they tell you or quit. This covers your butt when thing blow up. Note I said, when, not if. You don't get to dictate the business objectives in either case (contractor or employee).

    2.) The networks/firewalls are only one part of the picture. I've noted other posts asking questions concerning the surrounding environment. These are good, even if they don't address point (1.) If a "best practice" for an element in the environment breaks the environment, then the "best practice" is invalid and MAY be ignored. It may also be that the app in question is brain dead, but that's a whole 'nother topic.

    I've seen way too many "best practices" that do not account for the specific environment and even more "checklist" jockeys who can't figure out how to make things work without them. Learn to do more than to follow a flowchart/checklist.

  88. network security -101 by globaljustin · · Score: 1

    The objective of any firewall is to prevent traffic on all unused ports in order to limit potential attack vectors. This is a given and no specific threat needs to be stated.

    honestly you could not be more wrong/trolling...

    you completely avoided the question

    **of course** the objective of any firewall is to do as you say, but stating that fact is not an answer to GP's question

    I really want to hear a good answer to GP's question....I used to have my CCNA, but mostly did database and research query stuff...I'd really like to see a specific answer to the question

    You really are trolling more than just GP...you're trolling all of us, everyone on here who is an industry professional should have a decent ***specific*** answer to GP's question.

    To top it off, you accuse GP of acting like a typical "bureaucrat"

    It sounds like you're some bureaucrat trying to justify the costs of standard security practices.

    No.

    Just dead wrong.

    bureaucratic functionaries don't ask analytical questions that demand real world, specific answers...and they use manipulative language to justify **getting a bigger budget** as well

    --
    Thank you Dave Raggett
  89. CYA - get a copy of their 'policy' by Anonymous Coward · · Score: 0

    My guess is they are too lazy to determine which ports they actually need. So tell them you need their configuration policy document which states 'firewall is not allowed' for your company records for when you get audited (or hacked and audited)

  90. Re:Its Fine. - not by Anonymous Coward · · Score: 0

    That still leaves a fairly large number of fairly *important* ports that you may as well firewall off. Not to mention you can also firewall off entire IP ranges from reaching any of your ports, or even better, limit to specific IP's to reach any ports. Why not secure it down as much as possible ? It's simply cleaner. The "open all" approach is bad administration, imo. Maybe not in a particular case, but it indicates there will be bad management across the environment.

    Sometimes sloppiness is on purpose, and a good idea, but make sure that's what it is.

  91. According to the Microsoft CompTIA Security+ book by __aaclcg7560 · · Score: 1

    I just started reading the Microsoft CompTIA Security+ certification book. A sidebar story mentioned that a data center kept no firewall on the network because it had other forms of network security in place. The tradeoff was a faster thoroughput performance versus an increase possibility of a network attack.

  92. Re:Its Fine. - not by scubamage · · Score: 1

    For us, we control everything else using both hard firewalls and ACLs. Everything in those subnets purposefully needs to be able to talk to everything else. Plus, as mentioned elsewhere, we're beholden to the vendor whose application is running on those boxes, and their config requires iptables and selinux to be disabled on individual hosts. So, we control everything with network equipment above them. I think the only thing we are using IPTABLES for is mangling dscp markings.

  93. Windows firewall? Who cares? by citylivin · · Score: 1

    I always disable it on internal networks. Causes problems for the most part and serves no purpose behind a NAT or even a properly firewalled network. Why have two firewalls? (with one of them being a buggy microsoft one)

    I used to work with a guy who firewalled everything off from everything else. I am pretty sure he did it for job security, because no one else could figure out the russian doll sequence of firewalls in order to fix any of "his" machines. Luckily he was fired for incompetence after losing the backups for an entire department.

    --
    As a potential lottery winner, I totally support tax cuts for the wealthy
    1. Re:Windows firewall? Who cares? by geekoid · · Score: 0

      A) the MS firewall works well.

      B) There are more then on vector into a network.

      You are taking a risk. The issue you have are dealt with by being a professional and documenting them.

      I'm not saying they other guy did it right, only that I would fire you for incompetence.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  94. Re:Its Fine. - not by Anonymous Coward · · Score: 0

    Well, it seems this only applies to Windows only, and, BTW, this behaviour can be quickly modified (and it is the default in Oracle >= 10):

    From the article you linked:
    "If you are on Oracle 8, you can use a WINSOCK V2 API feature called Shared Sockets .
    This allows a socket to be shared (or passed) between multiple processes. To use this
    functionality in a single Oracle Home enviroment, set USE_SHARED_SOCKET = TRUE in the
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE section of the registry. If you are using Multiple
    Oracle Homes, change to the desired Oracle 8 Home and view the oracle.key file in
    ORACLE_HOME\BIN to find which registry key to add USE_SHARED_SOCKET to."

  95. Common? by Jawnn · · Score: 1

    Yes. Foolish? Sometimes. From your description PCI DSS is going to apply. That means the server and the network it runs on are "in scope". Defending a no-firewall "policy" is going to be a tall order.

  96. Why would you need a firewall by Anonymous Coward · · Score: 0

    Why would you need a firewall when the attack is going to come from that disgruntled employee you fired last month and YOU never changed the password for the single user in the system that everyone shared.

  97. Where'd you say those servers were? by tinpipes · · Score: 1

    Thanks for the ip addresses and/or domain data.

  98. performance by Chirs · · Score: 1

    f it does no harm in day to day operations and offers protection when your assumptions fail, why *not* run a software firewall?

    Connection tracking can be expensive. If you need that, it's going to cut into the performance of your server, so it can be beneficial to do that on a separate box.

    1. Re:performance by hey! · · Score: 1

      Connection tracking can be expensive. If you need that, it's going to cut into the performance of your server, so it can be beneficial to do that on a separate box.

      Of course. But putting your servers behind a separate firewall isn't the same as putting them on the same network as the clients with *no* firewall.

      In any case, we're talking about an in-store POS system with TWO clients. We're not talking about an Internet facing server that has to handle thousands of connections per hour. Even if the server had FIFTY client terminals the impact on performance would be nil.

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  99. Obscurity by g0bshiTe · · Score: 1

    Security through obscurity is not secure at all.

    Do you run your home computer without a firewall? Of course a firewall is useful keeping things out but they also let things out from within.

    --
    I am Bennett Haselton! I am Bennett Haselton!
    1. Re:Obscurity by geekoid · · Score: 1

      "Security through obscurity is not secure at all."
      false.
      It's one of many layers of security.

      Here is the code for my car:
      7261

      Good luck finding out where my car is located.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  100. Re:Its Fine. - not by Anonymous Coward · · Score: 0

    That's no problem; the firewall on windows can be configured to allow traffic to and from certain services and executables while blocking the same ports for other services and executables. Just find the oracle binaries that need to be allowed and you are almost done.

  101. They won't meet by geekoid · · Score: 1

    PCI compliance.

    I hate these crappy 3rd party vendors who don't know how to write software. I just dealt with this with some 3rd party products here. We were finally 'Get it to work with the firewall or we'll send you your crap back'

    Magically, the "impossible to do" was done in a week.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  102. Do you need a firewall? by Danathar · · Score: 1

    So...

    If you had a Server with one port open inbound (port 22).

    Would you still need to put up a firewall? I don't see why.

  103. Firewalls are a DDOS vector by Anonymous Coward · · Score: 0

    For a high traffic carefully managed and locked down internet server that does nothing else a firewall is dangerous single point of failure. Not using firewalls on very high traffic webservers is common.

    At the same time at lower load with less active supervision where you the hardware is bored with your workload a firewall can be a useful impediment to enabling services you didn't mean to enable.

  104. Re:Its Fine. - not by Hans+Adler · · Score: 1

    Sorry if this is a stupid question - I may just be out of touch with what firewalls can do nowadays. How would the firewall know whether it is dealing with sqlserver.exe on port 40264 or some other program? If it's not running on the same computer? I can imagine that some expensive solutions can do this, but I would be surprised to learn that a stock OpenBSD, say, can do it.

  105. Air Gap the best by Hairy1 · · Score: 1

    The article talks about this being a small local area network. No discussion about it being connected to the Internet. This is the best firewall of all - a physical air gap between you and the rest of the universe. In many respects this is the best security. So what do local firewalls on each box achieve? In this context virtually nothing except CPU overhead. The database server shouldn't be exposing anything but the database port anyway. The client need not expose any endpoint at all. Configure it this way and there is little opportunity for compromise.

    Now as a way to protect your internal lan from the evils of the Internet a firewall is a great idea on the edge, but again they provide very little protection running on the internal servers. You can't just sprinkle firewalls over your network and assume security. They are a tool to limit a specific kinds of attack; to insulate your internal network from external bad actors. If you have a office and servers put the servers behind their own firewall.

  106. Re:Its Fine. - not by scubamage · · Score: 1

    We're using Oracle Grid Infrastructure/Data guard on linux. Windows firewall doesn't apply.

  107. Firewalls are stupid by WaffleMonster · · Score: 2

    This whole "network security" meme is a failed experiment needing to be called out as the ridiculous farce that it is. Firewalls are the equivalent of mounting castle defense against an airforce. It does not work and never has. The opportunity cost of squandering resources on castle building vs standing up an opposing airforce is both high and sad.

    Host-based firewalls are even more amusing. They come enabled by default. High probability any application installed needing to listen() is going to automatically punch a hole to do so as vendors have zero interest in dealing with firewall support nightmares. This begs the obvious.. what is the effective difference between listen() and firewalled-listen() ?

    If you really want a secure internal system then lock down services/listeners and configure each system to use only secure communication protocols. If this is not possible set IPsec = required and secure the transport E2E only.

    The further away from application domain you apply security the increasingly worthless that security is.

  108. Re:Its Fine. - not by scubamage · · Score: 1

    Also, hosts.deny all:all and then adding the hosts you want to allow in hosts.allow works just as well as a firewall, without having an extra process running on your systems.

  109. No Excuse really these days. by indeterminator · · Score: 3, Insightful

    How about this: If you find yourself needing a firewall, your system design has already failed. Every single system should assume actively hostile environment.

    I can only repeat your original subject.

  110. Re:Its Fine. - not by scubamage · · Score: 1

    This applies to all oracle installations, and from training, this is still the default (at least as late as 11g, I haven't tried 12 yet - again, that is per oracle training). We're running oracle grid with dataguard (4 separate 2-node clusters with failover sites) on RHEL5. It functions the exact same way. Shared socket works so long as you don't mind the bottleneck it creates. It's far easier to remove iptables from the picture, let oracle function as it is supposed to. Any sort of access control can be handled by using hosts.allow/hosts.deny and letting tcpd handle it instead of having a whole extra process in the picture.

  111. Re:Its Fine. - not by scubamage · · Score: 1

    FYI, I looked at the 11g docs and you are correct, the default is now to use a shared instance. We are still using dedicated instances on our end. Section 3.4 covers it here: http://docs.oracle.com/cd/B283...

  112. firewalls that shut closed doors are not helpful by dominux · · Score: 2

    There are firewalls and firewalls. If you have a box with port 80 listening and nothing else listening, and you install a firewall that blocks connections to ports that are not port 80, you haven't really added a whole heap of useful. If you have a firewall that allows port 80 from anywhere and ssh connections only from a particular subnet, then maybe the firewall is earning it's keep. If you have a firewall that warns you about outgoing connections from your server that might be to command and control botnet servers if it gets compromised, then maybe it is worth doing. If you have a stateful firewall that is doing traffic analysis and shutting down particular attacks on your server then great. Shutting closed doors just for the sake of buzzword compliance is not a useful function.

  113. Why does this happen? From my perspective... by Anonymous Coward · · Score: 0

    it starts with the vendor accepting client firewall software. Then supporting every firewall software becomes unmanageable, so there may be a list of approved firewall software. Then, the number or support requests for firewall-related issues still rises due to the amateur nature of inexperienced end-users setting them up and the firewall software itself changing over time causing the approved firewall list to dwindle down to something like OS native firewalls only. Then the OS native firewall changes with the OS version becoming more complex and problems continue. Eventually, no firewalls are supported because the software engineers and support staff is lazy, understaffed, or just has a directive to not support firewalls.

  114. Deny all, allow whats needed by Anonymous Coward · · Score: 1

    Deny all, allow minimal that is needed. ie. FTP should only have port 21 open. Why open your whole server subnet, if someone compromises one box they have network level access to all.

  115. Re:Its Fine. - not by ndrw · · Score: 1

    The "open all" approach is bad administration, imo.

    I concur with your opinion.

  116. Re:Its Fine. - not by Anonymous Coward · · Score: 0

    Or say the data is responsible for multiple national electrical grids, meaning that if it gets out people can shut them down in a non fixable manner. The Vaxxen used to run much of our grid offer a challenge to someone who wants to be entirely digital, but give me a drill and a stick of dynamite and I could plunge a major city into darkness for up to a year(details omitted for safety). I've got this data because it's my job, so don't worry, only disgruntled contractors at a fairly high level could do this too easily. You think peoples credit cards are a big deal? Try being able to plunge them back to the iron age because of a badly configured(or missing) firewall.

  117. Idiots by Anonymous Coward · · Score: 0

    1) They should read up on PCII compliance since these are POS systems. Perimeter defense is not good enough these days... (was it ever?)
    2) What's the difficulty in setting up a local DAPE policy? punch a hole through for SQL/SQLBROWSER (TCP/UDP) for the other system to connect..
    3) When I have systems that absolutely require a local "SQL Express" install, I usually change the method the software is installed. Rather than binding to the dotted quad 0.0.0.0 to allow anything to connect to the SQL services, I change the binding to only bind with the loopback 127.0.0.1. Instant DAPE whether or not the firewall is on/off or even installed. This works great, but the Information Assurance idiots get pissed because they can't scan my SQL instance remotely for vulnerabilities. Neither can anyone else that is trying to exploit them remotely! It's called hardening, or reducing the threat surface. Get off your lazy ass and run some SQL queries locally if you want to confirm everything else is STIG'd properly.

  118. You are doing it wrong. by Zero__Kelvin · · Score: 4, Interesting

    I think you are pretty confused. If you need to use enterprise level tools you use enterprise level hardware and network configurations. This means that, if you are going to use it you have a separate NIC for each node and an "Oracle Only" subnet. If you don't / can't do that, you are most likely using a tool for which there is no actual need. In other words, you're doing it wrong. Even in this case, you should certainly be blocking the unneeded ports in the 0 - 1000 range.

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    1. Re:You are doing it wrong. by scubamage · · Score: 1

      I think you should read the oracle documentation I posted pointing out how oracle functions before you make assumptions about what we are doing (http://docs.oracle.com/cd/B28359_01/network.111/b28316/concepts.htm). We aren't using oracle by choice, it is bundled inside a vendor's application and configured as they need it configured. Hardware is based on their specs. Software is configured based on their specs to maintain support. We are blocking the ports at the network level using a firewall. We are also blocking the ports at a local level using hosts.allow and hosts.deny. You don't NEED to use a firewall process to block things. Tcpd reads hosts.allow/hosts.deny every time a connection comes in and determines whether or not a host is allowed, and also what services are allowed from that host.

    2. Re:You are doing it wrong. by Zero__Kelvin · · Score: 1

      "We are also blocking the ports at a local level using hosts.allow and hosts.deny. You don't NEED to use a firewall process to block things."

      A firewall isn't a process, and you misinformed us. You originally claimed you don't have a firewall, but you just said you do have a firewall, you just don't know that you have a firewall. That being said, Have a nice day though!

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    3. Re:You are doing it wrong. by scubamage · · Score: 2
      No, a firewall is an application, a process that brokers all incoming and outgoing communications and maintains a state table of those inbound and outbound connections. The key there is that it maintains a state table. TCPd is a shim process that acts between inetd and the actual application. It is not a firewall. It doesn't drop packets. It doesn't maintain a state table, so it can't, for instance, handle reflexive policies or tell whether or not a dialog has been established. It does handle access control for applications based on IP. However, there's a difference between a firewall saying "you aren't on my allowed hosts list, DROP" and inetd saying "packets accepted, looks like you want to launch application X, tcpd, is that cool? No? ok, sorry, not allowed. SIGTERM." In the end you get similar results, but they're significantly different processes.

      This is why I strongly disagree with the idea that firewalls are always needed. They're just another tool, and there are other tools that do similar things.

    4. Re:You are doing it wrong. by Zero__Kelvin · · Score: 1

      "No, a firewall is an application"

      Please learn what the hell you are talking about. I accept your apology.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  119. Walk Away ... by Anonymous Coward · · Score: 0

    See subject.

  120. Headache Central by HideyoshiJP · · Score: 1

    Yes. Often times in less critical systems, it happens. If it's critical, though, or has any privileged accounts that can access critical stuff, it definitely keeps it. Let me tell you, as nice as the Windows Firewall interface is in Server 2008 and above, it can be a painstaking endeavor to find all the exceptions you need. Then there's always the support guy asking "Umm... why come... why come I can't ping this? It's broke. Fix it."

  121. It is the usuall/the right way: no firewall server by Anonymous Coward · · Score: 0

    Firewalls in the servers are useless.

    They aren't manageable. If you manage 40/60 servers, it is impossible to manage 40/firewalls. At the end you don't now what you allow/forbirds (you will need to open 40/60 machines with different OS and different firewalls: it would be a nightmare).

    The only case for a firewall in a server, if the server isn't behind a firewall. It is the case of personal firewalls at your home.

    The purpose of have a network firewall is to have centralized management. If every server has a firewall, the usefulness of a network firewall is near to zero.

  122. We ran for yearswith no firewall - and no problems by wbean · · Score: 1

    We ran a Windows server for many years with no firewall. We took credit card info (which was immediately encrypted). We had spent over a month hardening the server by shutting down all but the services that we truly needed. We never had a problem with that arrangement. We added a firewall when PCI required it but I'm still not convinced that it mattered.

  123. Your scenario is not unusual by Anonymous Coward · · Score: 0

    Posting anonymously so I don't identify my employer, but I work at a large university, and it is common practice to turn off the OS firewall and allow the network firewall to do the job of blocking unwanted ports. The network firewalls ARE very tightly controlled, so, for instance, servers are firewalled from clients.

    I don't see the harm with doing something like this, because if you think about it, if you have a subnet that is completely firewalled from the outside world is effectively the same as having each machine in that subnet firewalled from the outside world.

    The only threat would come from other machines on the same subnet, and in order for something like that to happen, the threat would have had to get through that subnet's firewall in the first place.

  124. Re:Its Fine. - not by Bacon+Bits · · Score: 4, Insightful

    Application support always says to turn off everything that might possibly interfere with their precious application. They would have you shut down the operating system if they didn't need it. Application support lives in a fairy land where the only thing they have to worry about is their application. They don't have to fix anything if the application isn't broken. They have no interest in anything else. A good vendor will program their application to work with the system standards. Most ISVs are not good vendors.

    As a system or network admin, you have to protect the application from the rest of the network and protect the rest of the network from the application and protect everything from the users and the Internet. Part of doing that is firewalling the crap out of your core network, and if you can't do that you should be looking at adding more VLANs and controlling traffic that way.

    --
    The road to tyranny has always been paved with claims of necessity.
  125. What is the point of a firewall? by DanielOom · · Score: 1

    Take a good look at your exposed host. Install only the software that the clients will need and make sure only the essential ports have services listening on them.

    Now there is no traffic left for your firewall to filter (except connections to your internal network going through a different interface).

  126. yah, it's all unicorns and rainbows. by swschrad · · Score: 2

    and we don't keep logfiles, so we don't have to worry about checking for breakins and cooptions. hey, we don't comment or document our code, either, it's just us two guys. that way, we get to keep all the millions.

    hang on, the phone just started melting and my screens went blue...

    --
    if this is supposed to be a new economy, how come they still want my old fashioned money?
    1. Re:yah, it's all unicorns and rainbows. by Anonymous Coward · · Score: 0

      We are really secure, we keep all our sensitive files in a folder called "Confidential" so that the bad guys know they are not allowed in there.

  127. Facebook doesn't use firewalls by Anonymous Coward · · Score: 0

    Facebook puts F5 load balancers on the edge, which function as firewalls in some sense, but aren't actually dedicated firewalls. The goal you should have is perimeter security, lots of ways to skin that cat.

  128. it depends... by Tom · · Score: 1

    There are two kinds of people who run servers without firewalls: Nitwits and professionals.

    Nitwits do it because they think they don't need a firewall and it gives them a bit more performance or whatever.

    Professionals do it when they know the conditions are right to justify it and they've made a risk assessment that confirms they are right. For example you run a high-traffic server that does exactly one thing on one port and the server software is robust - a firewall wouldn't do you any good, it's just additional security in case you open a port you didn't want to or such.

    --
    Assorted stuff I do sometimes: Lemuria.org
  129. Networks are small until they aren't by Anonymous Coward · · Score: 0

    Their argument probably revolves around the fact that this will be a small network and nothing will hook up to it that could present a threat to an unprotected box. My argument is that the guy who works on that POS 2 years from now may not know that assumption was made, and be asked by management to hook a WiFi AP up to it so that they can have POS terminals w/o wires. Now all the sudden you have unfirewalled boxes on WiFi. Then the guy who replaces him will be asked to set up an data circuit off-site so that folks at the warehouse can do data entry. Now you have off-site access to the unfirewalled box. Then the contractor who replaced the guy who replaced the guy will set up a web server application to interact with the stuff at the warehouse, not realizing it is on the same network as the unfirewalled POS server. And so on and on. They will claim that doing any of the above invalidates the contract, and the result won't be their problem. Fine. Add a small firewall appliance to the project cost and configure it on deployment so that traffic is not forwarded to unauthorized machines. Management won't understand firewalls and network segmentation, but they understand a cost line-item for something which already comes in Windows for free. When management sees the actual security cost front-loaded (rather than tacked onto a later project), they will be more willing to take up that battle.

  130. Risk = likelihood x consequence by Anonymous Coward · · Score: 0

    I think you are using a strange model for rating risk. I'd suggest you look up a copy of AS/NZS 31000 or other recognised standards on risk management.

    1. Re:Risk = likelihood x consequence by dclydew · · Score: 1

      The example provided here is a very high level Slashdot comment ;-) There are several different risk models that can be used, either qualitative or quantitative. The right model depends heavily on the type of organization you're working with.

      The one I mentioned is from the InfoSec Handbook. Others cover the value of the asset instead of Impact (Threat x Vulnerability x Asset) and some include accounting for mitigation and countermeasures like TIK (threat*vulnerability/countermeasure * Impact or Asset). I've worked for companies that have their own internal models, companies that want very complex models and companies that use very simple models which every variable is ranked 1 - 5 (1&2 Low, 3&4 Medium, 5 High).

      The core thing here is not the specific model. As long as a consistent model is used to rank vulnerabilities and threats and can define a useful value for determining the cost of the event versus the cost of the protection method, then its useful (and may be sufficient, depending on the situation).

      --
      Get a life, not a lifestyle. - Hikem Bey
  131. Hardware firewalls yes, windows fw NO WAY. by Anonymous Coward · · Score: 0

    I run a couple of realtime servers and over the years we have had to turn of all aspects of the windows firewall on the server and on some cases on the clients. (don't forget to turn it of in domain level, it sort of hidden).

    The windows firewall creates terrible delays and jitter, so the impact on for instance sip telephony is terrible.

    So I totally agree that server should be protected, but software firewalls for windows are simply not fit for the work.

    The real problem is that we usually have to let the problem get problem and then ask them to turn of the firewall. If we ask the to do it first they won't do it as they think it's a good product.

    1. Re:Hardware firewalls yes, windows fw NO WAY. by mysidia · · Score: 1

      The windows firewall creates terrible delays and jitter, so the impact on for instance sip telephony is terrible.

      It seems that your past frustration with one specific application has clouded your judgement.

      The windows firewall is not to be disabled, period. "Stopping the service associated with Windows Firewall with Advanced Security is not supported by Microsoft." (System will no longer be supported after doing so, and there will likely be a number of kinds of network issues -- for example, disablement of the firewall breaks certain applications, may cause problems with terminal services, etc.)

      Now, there will be some exceptional situations where bypassing windows firewall security may be necessary, and an acceptable compromise; providing a compensating control is put into place --- such as a dedicated network segment for the one computer, with additional hardware firewall.

      But past pains do not justify another wrong.

  132. Re:Its Fine. - not by Anonymous Coward · · Score: 0

    Trainer was wrong! If possible (without leaving yourself wide open), set a temporary firewall rule allowing any:any between the Oracle client, the Oracle DB server(s), and DNS(s). _Run_ _a_ _sniffer_ (wireshark) while testing the Oracle app. Note _every_ communication logged on the sniffer for this test. Write an "allow" rule which includes _all_ of the communications logged in the sniffer. Disable the temporary "any:any" rule. Test with your new "allow" rule enabled. DONE!

  133. Partition the network by Anonymous Coward · · Score: 0

    Partition the network into groups of logical units. You don't need firewalls, but smaller groups enable you to pinpoint the originating machine. Then again, if you have an idea about the destination target's ports, monitor the ones that try to hit non specific ports, aka scans. There's an optimum point of how large this group is, the provider organisation will have a clue. However, if it's not in the vendor requirements, do it to spec. Large vendors seem to have a vested interest in snafus that pump up the bottom line in the long run. They also have an incentive to make things seem as complicated as they can, while delivering as few as possible. It's a business after all and their incentive is large margins. If you have liability, then approach the client. If you have to maintain a maintenance contract, consider liability and support dollars. They'll pay you if something screws up, but you'll have to find out how much the affected areas are. Depending once again on your stance to cleanup, you'll either recommend complete overhaul ( kaching for you, show you delivered and to spec ), or if it's a business you have an interest in (i.e. you are the business owner), do a root cause analysis as fast as possible to minimize the areas affected.

    Once again, as vendors they have an incentive to fluff up the bottom line as much as possible, while the customer wants it as low as they can get. Do you see a conflict of interest when the consultants are the same people that provide the machines?

  134. Always plan for nefarious behavior by chaoskitty · · Score: 1

    It's much better to assume that a server may be or is exposed to malicious traffic than it is to assume not. Even if there's only ever a direct ethernet connection between two machines, assume someone may compromise one of the machines and protect the other. Using a username and password is one thing; if you can filter based on IP address, use software firewall rules to only allow connections on certain interfaces and from certain addresses (or, better yet, localhost), et cetera, you're always better off.

    Hope for the best, plan for the worst.

  135. No. by nurb432 · · Score: 1

    Next question?

    --
    ---- Booth was a patriot ----
  136. No, Lieutenant... by Greyfox · · Score: 1

    Your servers are already pwned.

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  137. Re:Its Fine. - not by QuantumRiff · · Score: 2

    I setup all our Oracle databases.. (Many, many of them). Only port 1521 is open in iptables. (actually, for some, I have secondary listeners).. The Junipers also ONLY allow access on port 1521, (and a secondary, if specified)
    I have never had issues connecting to the database.

    --

    What are we going to do tonight Brain?
  138. Honeypot by AHuxley · · Score: 1

    People can work out a vast complex network exists. All that national spread of small factory complexes with just in time delivery and payment.
    Add in a tail end network thats waiting on international parts delivery.
    So they find their way onto trusted systems and go for the main complex.
    Finding a way in they use skill and poor design to transfer out 'plans'.
    Some time later they spend big trying to make the plans work. Their own well funded lab comes back empty. Something is wrong, missing or it was never a real project.
    To make the above work you need a vast amount of tame press telling the world about sloppy code, successful intrusions, countries getting away with decades of digital design over a few short years.
    At a lower level its all about vendor lock in, ensuring the sale of that next version and then chasing the intrusion clean up work.
    Systems are open to the net for a reason - as bait or to rent seek clean up contracts.

    --
    Domestic spying is now "Benign Information Gathering"
  139. Firewalls and Condoms by enter+to+exit · · Score: 1

    The case for not having a firewall is a lot like the case for unprotected sex:

    > The horror stories only happen do dumb people who should have known better (I'm different).
    > I know exactly what's coming in and out of my systems
    > It adds an extra layer of complexity i don't want to deal with.
    > She's taken contraceptive measures anyway.
    > It'll probably be fine.

  140. Run away. by paradisaeidae3616 · · Score: 1

    Run away from this client. Do not walk.

  141. PCI TL;DR by caitriona81 · · Score: 1

    If credit cards are involved, then PCI-DSS guidelines are almost certianly mandated by merchant agreements.

    PCI-DSS guidelines say, among other things that firewals are required, and that they have to be in their most restrictive ("DENY ALL") configuration, with only the specific connectivity required being permitted.

    Therefore, by extension, if this is a point of sale system, and credit card processing is happening on the same network, then by extension, the firewall is required by the merchant agreement, and not only required to be present, but also required to be locked down.

  142. Because developers are not network engineers by Anonymous Coward · · Score: 0

    Most places I have worked, developers and their management think they know everything about computers, the OS, the network, the backups, and just about everything related to IT and networks. Network engineers are a hindrance and cannot design anything, tech support is stupid, and system administrators are there just for you so your stuff works, and the VM and SAN guys? Yeah. They are totally useless and have no idea what is going on.

    In the long run, the other teams do not make many of the decisions but yet are held responsible for the decisions that are being made. To be accountable for something, you have to have the power to make decisions. When the power is not there to make the decision, you should not be accountable for that decision. Unless your organization is committed to security, support, administration, backups etc, decisions you make that others may not like because it may reduce their productivity will be seen as an obstruction. People will work around obstructions and circumvent your decisions but still hold you accountable in the end.

    A company gets hacked through an unsecured DB. The group of people that worked around your security or complained they could not do their job done with your restrictions in place are probably not going to get the blame in the early investigations or possibly never get blamed. The security guy will.

           

  143. Sometimes idiots work at vendors by dbIII · · Score: 1

    Escalate the situation up the tree until it reaches someone with a clue, or who can take advice from someone with a clue.
    I had some phone system idiot that wanted to be able to telnet directly in without needing a password. The problem was almost self corrected forever when he took a open can of drink into the server room and put it down on a 5kW UPS. He muttered something about earth leakage circuit breakers upon being informed about how suicidal that was, totally unaware that 5kW of DC shorting directly through him would not have gone anywhere near such a thing.
    Similarly the vendor mentioned here is expressing a view beyond their skill level.

  144. You are not doing it wrong, just differently by dbIII · · Score: 1

    Ever wondered why there is the phrase "stateful firewall"? It's as if that wasn't the only kind of firewall isn't it :)
    The way you are using a list of allowed ports and hosts is a non-stateful firewall, just like very simple ipchains/iptables/ipfilter rules.

  145. Re:Its Fine. - not by Anonymous Coward · · Score: 0

    The actual training did "get into" why it works that way. See the above referenced article explaining how SQL*NET works. 1521 doesn't handle the actual sql query, it forks a new oracle process for that particular request which has a new socket associated with it.

    I think you have misunderstood a lot of things and I guarantee you that establishing a connection to an Oracle database does not require 2 TCP handshakes. It is also the reason that you can do a "netstat -an | grep 1521" on the server or client and see the open database connections.

  146. Two things by Anonymous Coward · · Score: 0

    If it is e-commerce and they will in some manner take credit cards, pull the PCI regs on the vendor. Firewall = required, no wiggle room on that.

    Second, tell the customer if they do not back you that you will walk. It is not worth risking your reputation for a vendor with blind ignorance.

  147. PCI-DSS or Tokenization by Anonymous Coward · · Score: 0

    Close but not quite. PCI-DSS does not say that you have to have separate firewalls nor does it say anywhere that you need multiple levels of firewalls.

    1.1.4 Requirements for a firewall at
    each Internet connection and between
    any demilitarized zone (DMZ) and the
    internal network zone

    Do they need isolation from each other by a firewall? Yes.
    Does it say anything about separate firewalls? No.

    1.2.3 is only applicable if you have a wireless network and still does not say a separate firewall.

    Maybe you are thinking about a WAF? Section 6.6 touches this and would be applicable here once e-commerce comes into play.

    6.6 For public-facing web applications,
    address new threats and vulnerabilities on an
    ongoing basis and ensure these applications
    are protected against known attacks by either
    of the following methods:

    And for heavens sake, you cannot skirt PCI-DSS. In most cases if you are a business owner and take credit cards on your e-commerce site, even if you transfer ALL risk (outsourced your payments), you still fall under PCI. The only possible exceptions are items like Paypal. I'm not certain where payment systems like that fall but I am guessing that they are assuming all the risk for the fee you pay them. It is worth it for a small company.

    To make sure I am clear, I am not saying to only have a single firewall. Have at least one. I am saying that nowhere in the DSS does it state you must. Try not to read anything into any compliance regulations. You'll end up doing more and spending more for marginally better gains. I'd rather have one firewall and have all of the systems kept up with patches and scanning than have multiple firewalls and everything else ignored.

    Thank you for up selling for the appliance vendors.

  148. Vendors do stupid things. by kad77 · · Score: 1

    Why not try Sandboxie?

    I've had similar experiences with EHR vendors requiring old, old versions. The lag time and impracticality of their limitations can be frustrating. One product I've worked on shares a parent company that was part of the Obamacare website roll-out (they wrote middleware). After spending some time working with the database on that product, I began to believe in the Infinite Monkey Theorem.

  149. I run a lan behind a gateway, then a router by Anonymous Coward · · Score: 0

    My ISP gives me the gateway. It feeds to the router, and that goes to the switch. Everything else connects to either the router (wireless) or the switch (wired). I run nmap and wireshark against the network regularly, and change passwords regularly too. Its not perfect security even though I only keep 3 ports open, but its not bad.

  150. Re:Its Fine. - not by Anonymous Coward · · Score: 0

    If you didn't need the operating system, running without one would increase your security, performance and reliability.

    -puddingpimp

    "The cheapest, fastest, and most reliable components are those that aren’t there." -Gordon Bell

  151. mod parent down - uninformative. Only NT by bingoUV · · Score: 2

    Highly uninformative post as it doesn't mention this situation is only for NT. On UNIXes, port 1521 (or whatever port is selected in installer) is enough.

    Oracle's emphasis is rarely on Microsoft's operating systems. Not only in RDBMS, but many other products support UNIXes primarily, and Microsoft's operating systems secondarily.

    --
    Bingo Dictionary - Pragmatist, n. A myopic idealist.
    1. Re:mod parent down - uninformative. Only NT by Anonymous Coward · · Score: 0

      I can't even imagine why somebody would willingly want to run an Oracle database server on Windows NT. It just doesn't make sense.

    2. Re:mod parent down - uninformative. Only NT by bingoUV · · Score: 1

      Not sure what you mean. In case there is some confusion, in a lot of unofficial Oracle communication, "NT" means all Microsoft operating systems based on Windows NT. Some other old school software companies also use the word "NT" for this meaning even today.

      So "NT" includes Microsoft server 2012 R2.

      --
      Bingo Dictionary - Pragmatist, n. A myopic idealist.
  152. Re:Its Fine. - not by Anonymous Coward · · Score: 0

    I'm using an Oracle 10g RAC cluster and have been since 2008, and we also have multiple 11c clusters and single machines. They are ALL firewalled and they are all operating fine. Financial Institution regulated by the FSA, so people pay attention to this kind of thing around here.

    Your instructor gave you poor/bad info - Oracle plays perfectly well with firewalls.

  153. Re:Its Fine. - not by tommeke100 · · Score: 1
    I've had to do the "port forward - tunneling - port reconnect" thing for Oracle, and I'm pretty sure you can put the reconnect and initial connection on the same port, or at least you can specify a specific port where that reconnect happens. Because indeed otherwise you're left with a range of open ports or you don't know which port to tunnel on.
    The database had to be in a certain mode though (Don't know if it was shared or dedicated), and some changed to the ORA file or other were necessary too to specify the port.
    Oh yes, and in good Oracle fashion, this was only possible from Oracle9i, or before Oracle10 or something like that :-)
    And why it pays to be an Oracle consultants, folks :-) (I'm not an Oracle consultant for the record).

    Next lesson: try installing Oracle on a linux platform...I hope you guys know something about library linking, compiler options and make files

  154. Re:firewalls that shut closed doors are not helpfu by Anonymous Coward · · Score: 0

    This mythical box that only listens on port 80. How do you monitor it's health when you are not sitting in front of it manually tailing logs? How do you get content on that box that only listens on port 80 or is it all static content that NEVER changes? How do you patch it and maintain it? Manually? That would suck unless you only have a few servers you are responsible for. What about outgoing ports? Can it spew outbound mail? Can it get to the internet? When a person installs something else on that machine either on purpose or by accident that listens on other ports? Do you want to only rely on individual local firewall rules on multiple machines? If you are willing to do that and see the advantages, how do you not see the advantage of a firewall at your gateway?

    Leave the network and security to those responsible, not the DBA. Just as a network engineer should not be setting policy or giving advice to the DBA or the web site designer on how to do things.

  155. Host based? by LessThanObvious · · Score: 1

    The post sounds to me like it is asking about host based firewall on the server. If you have a firewall on the internet connection then not running firewalls on the hosts themselves is exceedingly common. Historically the hard crunchy outside and soft chewy center model is all anyone ever expected. Now it is considered more important to have additional security in the interior. If all it takes to completely compromise internal security is for one user to wander in with an infected laptop, that isn't good. The need for, benefits of and headaches attached to host based firewalls on servers vary depending on the environment. It isn't something I insist upon.

  156. Retro reference incoming by DeathByLlama · · Score: 1

    Mechanic: Somebody set up us the firewall. Operator: Main firewall turn off. CATS: All your [data]base are belong to us. CATS: You have no chance to survive make your time.

  157. No and Hell No by avgjoe62 · · Score: 1
    If a developer or vendor cannot tell you what ports and protocols their software uses it is time to re-evaluate how much you need their software.

    In most companies of any size that I have been involved with an application portfolio would need to list the ports and services that it would use.

    You could also turn off the firewall, run nmap against the system and see what ports are open. Ask the developers what their application uses from the ports discovered and then turn the firewall on again. Then block what you don't need and open what you do. Yeah, it's a pain in the ass, but not every machine inside your network is always going to play nice with everyone else, so firewalls on important systems are needed.

    --

    How come Slashdot never gets Slashdotted?

  158. Not for Windows by Anonymous Coward · · Score: 0

    It's perfectly fine for Unix based system, since open ports and services are few enough for you to disable/configure properly, and nothing you can't recognize anyway.

    But very unsafe for windows because networking is enabled and required for everything including registry, WMI, etc, etc. Even if you know about all of them, you can't just turn them off or change the listening address to localhost.

  159. Re:Its Fine. - not by Anonymous Coward · · Score: 0

    To be fair, just because the network is properly setup and allows for certain behavior etc. does not mean the application will play well with that setup.

    This means your application is shit. DON'T fix a properly set up network FIX THE APPLICATION or get rid of it and find an application that does play well with the network. Never give up security for a buggy app. If your application does not play well with a firewall it isn't to proper TCP/IP Internet Standards.

    Yes this means you Oracle and Microsoft!

  160. Re:Its Fine. - not by jwhitener · · Score: 1

    I think most firewalls handle that dynamic re-assignment of connections to higher ports automatically. None of the oracle server's I have access to show firewalls open to wide ranges of ports.

    Maybe it is a windows firewall issue? (I'm all linux solaris)