Slashdot Mirror


SmoothWall Firewall Review

ray-x sent in a pointer to a review by c't of the Smoothwall firewall product. c't's reviewer described several flaws in the firewall. We asked Smoothwall for their comments on the review, which are posted below.

Daniel Goscomb, one of the lead developers of Smoothwall, responds:

In our opinion this article is extremely badly researched and written. Furthermore it shows a lack of knowledge on the author's part.

The main concern he has is that of people being able to log in to the firewall and read configuration files. This point is irrelevant as there is only a single user that can access the shell, root. This also removes the need of shadow password files, if you have access to the machine to get the passwd file, you are already in as root anyhow.

Secondly he complains of plain text passwords for the ppp passwords. This is not our doing. The passwords are stored in this format as pppd requires them to be in plain text in the two files. He also mentions that the permissions of these files are wrong. If he looked a little more closely he would have seen that they are in fact symlinks to the 2 real files, which do have the proper permissions on them.

He also mentions the same "problem" with the shared keys system in FreeSWAN. Again, they are stored like this as FreeSWAN requires them in this format to read them.

As to the part about user authentification of the CGI scripts. This is completely irrelevant. There is no authentication in the CGI scripts. The authentication is done via .htaccess files, and has no interaction with the CGI at all, other than when you change the passwords.

I also find it disturbing that the author gave us no room for comment in his article, nor did i see anything to suggest he had even asked us about these so called "problems". We would have been happy to answer any questions he had.

Sincerely,

Daniel Goscomb.

126 of 495 comments (clear)

  1. Smoothwall is Great! by beezly · · Score: 5, Interesting
    I've been using Smoothwall for a while now. I'm extremely satisified with it. I've hand crafted firewalls in the past and I decided to give it a try to ease the burden and it has more than filled the shoes of the things I manually configured before.


    It's secure, featurefull and easy to configure - what more could you want?

    1. Re:Smoothwall is Great! by DaveJay · · Score: 4, Interesting

      I, too, found it extremely easy to configure. I have been using it, and appreciate the availability of it.

      Ultimately, though, this is a very interesting notation by Daniel:

      >"...nor did i see anything to suggest he had even asked us about these so called "problems"."

      In the review, the reviewer actually states:

      >"My concrete indications of security problems within SmoothWall found sheer disinterest with Richard Morrell, developer and project initiator. "That doesn't matter" was about the politest of all comments comment (sic)."

      The reviewer apparently did attempt to have a dialogue with one of the developers, and was rebuffed (apparently impolitely.) I have had a similar experience with at least one SmoothWall developer behaving somewhat less than tactfully.

      If the reviewer is wrong about the security issues, the development team may feel justified in treating him thusly -- At the same time, I sincerely hope that the development team keeps a reasonably open ear in case a legitimate bug is discovered.

    2. Re:Smoothwall is Great! by beezly · · Score: 2, Funny

      Walnut - don't be daft what use would a walnut firewall be?

    3. Re:Smoothwall is Great! by BenBenBen · · Score: 2, Interesting

      If my, and many of my friend's, experiences of Richard Morrell are any indication, the reviewer got off lightly with "That doesn't matter". There's not even an expletive in there. I'm sure many other users here would back me up on this: Richard Morrell is like RMS but without the charm or patience. Smoothwall, however, is very good stuff. It runs excellently on a battered old 486 and is the ideal solution if you are looking to share a DSL/Cable connection, at any level from a simple home LAN to a hosted domain

      --
      The Slashdot Paradox: "100% Overrated"
    4. Re:Smoothwall is Great! by Skip666Kent · · Score: 2

      Agreed. I use it at home to share a dialup and loves it much, I tell you what.

      --
      **>>BELCH
  2. sharethenet by graveyhead · · Score: 4, Offtopic

    For an affordable, very easy to configure, and speedy (excellent performance on my 386/33 with 8mb ram) firewall/gateway, you just can't beat sharethenet. I had it up and running in 1/2 hour, and there is almost no performance difference when I have my cable modem hooked up directly to my speedy p3 desktop. It "embeds" linux by loading it from a floppy onto a ram disk. If you get hacked, simply restart your machine, and you are back to factory settings. Downside is you need dedicated hardware, but OTOH, that hardware can be very old and still perform.

    --
    std::disclaimer<std::legalese> sig=new std::disclaimer; sig->dump(); delete sig;
    1. Re:sharethenet by mrpotato · · Score: 2, Interesting
      [...] but OTOH, that hardware can be very old and still perform.

      True. I have a 486/33Mhz acting as a router for 5 computers, and at 250 kb/s download using cable-modem the cpu usage is around 15-20% only.

      Using adsl and pppoe though used to get much worse performance, the cpu being used at 95-100% for 100kb/s download.

      --

      cheers
    2. Re:sharethenet by karnal · · Score: 2, Interesting

      I've recently been using a similar product (except $free as in beer) called BBIagent... or is it BBIagent.net? not sure...

      You go to BBIagent.net's page, and then proceed to answer a few questions about the machine you'll be using as the gateway (nic cards for WAN,LAN etc). Also, it has a built in proxy DNS and built in DHCP serving, so it can replace any firewall you have.

      The only extra support I'd like to see is a dial-up option (I have a dial-up line I dial into to make sure the links are up etc, and would like to run it on this same box)... But, it has basic QOS, Port Forwarding, and access controls!

      What more can you ask for than free? :)

      --
      Karnal
    3. Re:sharethenet by shani · · Score: 3, Insightful

      If you get hacked, simply restart your machine, and you are back to factory settings.

      And are hacked again in 15 minutes.

      This is why computer forensics are important.

    4. Re:sharethenet by hearingaid · · Score: 2, Interesting

      It's also why setting up a bootable CDROM is in many cases the way to go.

      Keep your logfiles on the HD. Nothing else really needs to be there.

      Of course, I don't do this. But I'm only protecting a few home computers. If I had an organization... I'd burn a CDR and boot firewalls from it. Just leave it in the drive. Good luck hacking that.

      --

      my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

    5. Re:sharethenet by hearingaid · · Score: 2

      Theoretically, the read-only mounted harddrive could be remounted as read/write. I admit that this would be hard.

      But it's theoretically impossible with a CDROM, as the media just won't cooperate. ;)

      Boot times should not be a great concern with a firewall; you should only be booting it once a year or so anyway.

      --

      my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

    6. Re:sharethenet by Anonymous Coward · · Score: 2, Informative

      70 Dollars?! Coyote Linux does this too, and is free.

    7. Re:sharethenet by shani · · Score: 2, Interesting

      It's also why setting up a bootable CDROM is in many cases the way to go.

      This isn't the point. The problem is that whatever exploit the script-kiddie used to root your box is going to still be there, no matter how many times you hit the big red button and reboot.

      You need to know what happened, so you can patch the hole.

    8. Re:sharethenet by hearingaid · · Score: 2

      Most exploits require writing to some files in /usr or /etc. If /usr is a CDROM - or better yet if / is a CDROM, then a lot of them get blotto'ed immediately.

      Your point is, of course, fundamentally correct; however, physically write-protecting the drive by making it a CDROM is another step in protecting your box, which is excessive for many uses (like, well, a home LAN :), but certainly not all: the more layers of protection, the more protection you have.

      --

      my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

    9. Re:sharethenet by hearingaid · · Score: 2

      If you're truly paranoid, don't send logs over the network to another system.

      Print them. Have a hardcopy printer connected to the firewall, a fast one with a big buffer. Send all your firewall logs to it, at least except for the ones which update fourteen times a second. ;)

      The ideal firewall has no netatalk, samba, or nfs capability.

      --

      my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

    10. Re:sharethenet by hearingaid · · Score: 2

      CMOS can be rewritten, yes. There's a way to deal with that too. Set up the CMOS the way you want it, and burn a copy of it on a PROM; replace the CMOS chip.

      I admit that this is beyond my level of expertise. But there are ways. It's just that the more paranoid you have to be, the more ways you use.

      --

      my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

  3. Response by wpanderson · · Score: 4, Informative

    we have an article taking what dang has said along with our comments on the way the article author behaved when collecting his "evidence" ...

    our response

    --
    neuro at well dot com (when I post, it's my opinions, no-one elses)
    1. Re:Response by Anonymous Coward · · Score: 2, Interesting
      You say he asked in IRC. Does anyone have the IRC log so we can judge for ourselves on his "rudeness"?

      (not to be rude myself, but it's clear that the technical points the review makes aren't true, and it'd be nice if the social points were also disproved)

  4. this really surprises me... by snake_dad · · Score: 3, Insightful

    as c't is (imho ofcourse) a much respected magazine, and normally I would call it a trustworthy source. I would certainly not expect them to publish such a damaging article without giving the authors of Smoothwall a chance to comment on the findings.

    --
    karma capped .sig seeking available Slashdot poster for long-term relationship.
    1. Re:this really surprises me... by cmkrnl · · Score: 2, Insightful

      Well I suppose if the source of whatever product they were reviewing committed an utterly hilarious PR faux-pas by calling C't "No-nothings! how dare you question the mighty dick@how-f*cking-stupid-can-you-be.org" (politely or otherwise).

      One can see their dilemma. Given their most excellent track record (shame my German is not much better). I would tend to give the benefit of the doubt to C't on this occasion.

      Curmudgeon

  5. Smoothwall & GPL by johnburton · · Score: 5, Insightful

    I used smoothwall for a short time to evaluate it and technically it looked like quite a nice product, but then I started reading about the attitude of it's creator to the GPL.

    Now I'm happy for people to write GPL software if they like, and I'm happy for people to write commecial software if they like, but smoothwall seems to want to get the benifits of both.

    They seem to want to get make free use of other peoples work through the GPL, but to feel free to only release parts of their software commercialy. I'm not claiming they are breaking the GPL or anything, but there seems something very unfair about their approach.

    Also if you get the GPL edition, there are all kinds of requests on the web site that you donate money to them "SmoothWall developers have kids and families too, and it's all about giving back to the people who helped you.
    ". And yet I would guess that about 90% of what they are giving out was written by other people and they don't suggest they are going to give 90% of their donations to them.

    Again, nothing wrong with that, I just don't much like it.

    Basically I suggest that people look at their web site, and search the internet for comments about the creators of this software and how unhappy some people are with them before they go and use it.

    --
    Sig is taking a break!
    1. Re:Smoothwall & GPL by johnburton · · Score: 2

      Yeah well I didn't say he'd done anything *wrong*, I just wanted to warn people that he's attracted an awful lot of negative publicity in the past for his comments on the gpl, the ownership of his software and on people changing it as they like (as the GPL allows - as he was relying on to allow him to make some money this way).

      --
      Sig is taking a break!
    2. Re:Smoothwall & GPL by johnburton · · Score: 2

      Yeah I understand that.

      And in case my comments came over as too negative earlier, this *is* a good piece of software which is certainly worth of consideration if you have an old PC to use as a firewall.

      --
      Sig is taking a break!
    3. Re:Smoothwall & GPL by Anonymous Coward · · Score: 5, Interesting

      I have also evaluated smoothwall, and while reading up about it noticed the "attitude" to the GPL so looked carefully at the licensing for all parts of the distro as they are very pushy about their rights to do what they like with code they have written (which I fully support).

      However the version I looked at (0.9.9) includes a java ssh terminal (MindTerm) that is a commerial product that is "Free for non commerial personal use and may be included with other products so long as the different license is drawn attention to" to paraphrase this license agreement. I saw no sign of this.

      I am posting this anonymously and I haven't rasied this elsewhere as the attitude of the developers to these sorts of questions is well known and I don't really have the time for that.

      How this applies to their commerial support offerings I'm not sure either.

    4. Re:Smoothwall & GPL by rossz · · Score: 3, Interesting

      Some of you go on about how great and how wonderful the GPL is. You say everyone should support GPL software.

      I went beyond that. I didn't just write GPL code as a hobby. I bet my family's well being on open source when I took a job with Sendmail, Inc. Unfortunately, Sendmail was forced into massive layoffs, and at the worst time economically. It took four months to find another tech job. It doesn't matter that I am good at what I do. There were a hundred other guys interviewing for the same job who were just as good or who wanted a lot less money.

      Your precious GPL doesn't pay my rent or buy clothes for my daughter. If I had a choice between unemployment and Microsoft, then what the hell, "start me up".

      --
      -- Will program for bandwidth
    5. Re:Smoothwall & GPL by rossz · · Score: 2

      The fact that people work on the GPL code of sendmail while on the Sendmail, Inc. payroll seems to be a good enough definition of releasing software under the license.

      --
      -- Will program for bandwidth
    6. Re:Smoothwall & GPL by psamuels · · Score: 2
      The fact that people work on the GPL code of sendmail while on the Sendmail, Inc. payroll seems to be a good enough definition of releasing software under the license.

      Sendmail is GPL software? News to me. It looks an awful lot like a BSD license from where I'm sitting.

      No, I'm not just being pedantic. There is a huge difference. And Sendmail, Inc. takes full advantage of the difference.

      --
      "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
    7. Re:Smoothwall & GPL by Anonymous Coward · · Score: 2, Interesting

      You mean like their IRC channel?

      Welcome to #smoothwall :: Please do not expect
      free support if you haven't donated.
      http://redirect.smoothwall.org/donate


      I guess it's not free support if you donate then so it's basically an unsupported GPL'd product. That's fine but too bad the author is a fucking putz. He reminds me of DJB or Theo from OpenBSD. They're all pompous arrogant primadonnas.

    8. Re:Smoothwall & GPL by Rupert · · Score: 2

      You want more money than someone who is just as good at your job, and that is somehow the fault of the GPL?

      Plenty of closed-source companies have had layoffs recently, too.

      --

      --
      E_NOSIG
    9. Re:Smoothwall & GPL by Futurepower(tm) · · Score: 3, Funny


      He's right, you need more sleep. It is self-destructive not to get enough sleep. You probably don't realize how crabby you have become.

      --
      Bush's education improvements were
    10. Re:Smoothwall & GPL by ajs · · Score: 2
      So, let's follow your logic here, just to be sure I understand.

      You liked the GPL.

      You joined a company that had a business plan centered on software that was distributed under an open source license (not the GPL, but I'll follow you that far).

      That company semi-failed and had to lay off employees (including you).

      Conclusion: The GPL "doesn't pay my rent"... Well, I suggest to the folks being laid off at Ford that "your precious e-commerce and online-stock trading (two of the side-ventures that hurt Ford) don't pay their rent". However, we cannot the extrapolate to say that the GPL, e-commerce and online stock trading are the ingredients that make for bad business models.

      Personally, I think that the GPL is a tough nut to crack for business, and it will be another decade before the economics of GPLed software are truely understood. This does not change the facts that
      • There are many successful companies from small mom-and-pop operations to fairly sizable public companies (RHAT) to behemoths like Apple and IBM that are doing very well interacting with GPLed and other open source software.
      • Companies with bad business plans, or which are overcome by market pressures will fail
      • The GPL is not, in and of itself a business model, good or ill.
      • Opinion: if your business plan is "GPL good, non-GPL bad", you will fail
      I'm sorry you got laid off. Really. But, please don't lay it at the feet of the GPL.
  6. Old debate...? by mwalker · · Score: 5, Insightful

    This debate seems to be over whether Smoothwall was designed to secure against attack from outside your DSL dialup or against attack from the inside. Shadow passwords are meant to provide a safeguard against dictionary attacks from logged-in users on a multiuser system. c't's complaint that there is no shadow password on a single-user system is valid; if you're worried about people in your own house trying to hack into your firewall.

    It is true that internal security against logged in users can help defeat attackers who can only partially penetrate external defenses. If, for instance, you can only use a CGI bug to get ahold of the passwd file, you can leverage this with a dictionary attack if shadowing isn't installed. Provided you can disable the packet filter and attempt to login as root externally once you have the password... or even use an su type exploit from your original CGI bug. Either way, there are a lot of large corporations with bigger security holes than this.

    However to claim that his review "shattered the illusion" of Smoothwall being a complete solution for home users is complete hyperbole. A home user who is trying to secure himself from internal attack from other logged in users in his house is probably pretty savvy in the first place and also has bigger problems. If the purpose of this product is have a CD you can ship to your parents to secure their DSL line against script Kiddiez and Hotmail's Traceroute function, then Smoothwall sounds to me like an outstanding effort.

    c't': Two demerits.

    1. Re:Old debate...? by strags · · Score: 4, Informative

      This debate seems to be over whether Smoothwall was designed to secure against attack from outside your DSL dialup or against attack from the inside. Shadow passwords are meant to provide a safeguard against dictionary attacks from logged-in users on a multiuser system. c't's complaint that there is no shadow password on a single-user system is valid; if you're worried about people in your own house trying to hack into your firewall.

      From what I understand, even a user in your own house wouldn't be able to get at the password file, since only the root account (which one would assume is password protected) has access to a shell. This isn't a multiuser system that people log into.

      (This is my understanding from what I've read - I've never used SmoothWall - please correct me if I'm mistaken).

    2. Re:Old debate...? by RC514 · · Score: 4, Insightful

      A false sense of security is worse than no security.

      Even if no users other than root should ever be able to log in to the firewall, there is a reason to carefully set file permissions: Just like on a server, the services running should do so under their private username. That is to prevent a security related bug (aka vulnerability) from compromising the whole system. This is obviously less important on a router/firewall where services are only provided to the inside, but the attitude shown by the authors of Smoothwall certainly destroys my confidence in their general ability to provide a secure system.

      Then there is the false discrimination between inside and outside: Especially when you deal with "non-techie" users you have to expect their systems to become infected by the latest worms and viruses. This opens the possibility of attacks from the inside which really are attacks from the outside. Granted, that is a remote possibility and if it happens, you have bigger problems than firewall file permissions, but it is still not understandable how an easy to fix thing like this is completely ignored. The german review makes it quite clear that the attitude of the firewall authors played a big part in the thumbs-down.

      --

    3. Re:Old debate...? by Hektor_Troy · · Score: 2

      "Even if no users other than root should ever be able to log in to the firewall, there is a reason to carefully set file permissions:"

      According to the response, the only files with "wrong"/"insecure" permissions are the sym-links. Granted, I'm the n00bs n00b in unix, but if your symlink points to something with different permissions, aren't the permissions of the ACTUAL file the ones used? If so, then the quoted "gripe" is a bit mute with regards to this product, wouldn't you say?

      --
      We do not live in the 21st century. We live in the 20 second century.
    4. Re:Old debate...? by RC514 · · Score: 2, Insightful

      From the review: The password for the DSL access was in plain text in an unprotected file.

      The provider password is probably the most valuable information on the firewall, second only to full backdoor access. I have not yet verified that it is actually the secrets file itself which has the wrong permissions, but since c't has a reputation to lose, they wouldn't let an obvious misperception as mistaking a link for the file slip through.

      There are many ways an attacker could gain inside access to the firewall. Most involve security vulnerabilities, others rely on uneducated users. Anyway, if the cgi-bins which are used to configure the firewall are not 100% secure, a buffer overflow in one of them could potentially be used to read any file which is accessible to the cgi-bins user. That's why file permissions do matter. Seeing how many people defend the "only root can log in anyway" statement, do you think they have really taken the necessary steps to avoid such a vulnerability by implementing several layers of security?

      Now aren't you in deep shit already if an attacker can use your inside systems to connect to the firewall? Of course you are. But think about this: Anti-Virus tools will eventually detect backdoors on your user system(s), but not on the firewall. An undetected attacker can easily cause much more damage by actively destroying your data or just abusing your connection for his purposes over a long time. And who would suspect a backdoor on a rock-solid, completely secure firewall? That's why a false sense of security is worse than no security.

      --

    5. Re:Old debate...? by Hektor_Troy · · Score: 2

      "That's why a false sense of security is worse than no security."

      I couldn't agree more, and I don't think I was in any way picking on that specific detail.

      I do a little programming myself, and I'm not so dumb that I think, that anything is completely secure. I don't know ANYONE who does. The kind of people, who think that something can be completely secure are probably 10% dumber than a plywood door placed in a hole in the ground, and as such wouldn't know a mouse from an accellerator, and they wouldn't be using a computer in the first place.

      --
      We do not live in the 21st century. We live in the 20 second century.
    6. Re:Old debate...? by jcostom · · Score: 3, Insightful
      Finally, someone gets it.

      In this day and age, the majority of network security incidents have some sort of internal connection. Implicitly trusting your internal users is suicidal in terms of network defense.

      I think c't is right on with his assessment regarding things like file permissions, shadowed passwords, etc. In a security device, there is no excuse for not finishing the job - that is, securing your file permissions, using shadowed passwords, etc.

      The SmoothWall people argue against the need for shadowed passwords as the only interactive user on the system is root. How about the CGIs that manage the applications? How about the possibility of exploiting some sort of weakness in one of them, resulting in the display of the encrypted passwords? Or are they so arrogant as to believe there couldn't possibly be any vulnerabilities in their code?

      --

      The unsig!
  7. running CGI's as root ? great idea huh by zzzeek · · Score: 3, Interesting

    He says shadow files are irrelvant as the box has only one account, root. Whatever happened to rule # 1 of having your web server and CGI's run as a different user ?

  8. Journalistic integrity? by chrysrobyn · · Score: 5, Interesting

    I hope it is on-subject enough to point out that I believe this is an excellent job Slashdot has done, going out and getting the rebuttal for the review. Although it is not quite perfect -- it acts partially to discredit the link source -- it is much closer to what I think Slashdot could be, a first-run news source with original articles -- for [nerds|geeks]. Until then, while the editors post their comments after a link, it's little more than the second-run movie theatres (which have their place, don't get me wrong). Thanks, Slashdot.

  9. Reveiwers have to listen... by hellcore · · Score: 4, Insightful

    I was in the Smoothwall IRC channel on several occasions when this reporter came in. First of all he didn't conduct himself like any other reporter I have ever met. He was elusive regarding his motives (ie he wouldn't say he was from the press), he was beligerent beyond belief and gave the impression he already knew what he was going to write. Refusing to even listen to the dev team's answers, the sticking the fingers in the ears behaviour he exhibited was most flattering. I just hope c't are more exclusive in future with regards to the staff they employ. This guy was nothing but underhanded and stubborn.

    --
    -- Steve 'Hellcore' Hughes: Graphics + Concepts @ SmoothWall. http://www.smoothwall.org http://www.smoothwall.co.uk
    1. Re:Reveiwers have to listen... by wpanderson · · Score: 3, Informative

      The first time he visited #smoothwall, he fully announced his intention, and the publication he was writing for ... however there was hardly anyone there. He was pointed to Richard's email address by me, as a public IRC channel is hardly the place to conduct a press interview.

      The second time he visited #smoothwall, he did not introduce himself as a journalist, nor did he say he was writing an article, and he proceeded to try and grill the channel members on the points he wrote about in the article. This is where some misunderstandings are appearing, as not everyone posting here about their IRC experience was online the first time Jürgen appeared.

      --
      neuro at well dot com (when I post, it's my opinions, no-one elses)
  10. Re:No room for comments? by DaveJay · · Score: 2, Interesting

    Actually, the reviewer seems to have contacted the developer. Daniel said:

    >"...nor did i see anything to suggest he had even asked us about these so called "problems"."

    In the review, the reviewer actually states:

    >"My concrete indications of security problems within SmoothWall found sheer disinterest with Richard Morrell, developer and project initiator. "That doesn't matter" was about the politest of all comments comment (sic)."

    The reviewer apparently did attempt to have a dialogue with one of the developers, and was rebuffed (apparently impolitely.) I have had a similar experience with at least one SmoothWall developer behaving somewhat less than tactfully.

  11. Excuses by Antity · · Score: 4, Insightful

    Secondly he complains of plain text passwords for the ppp passwords. This is not our doing. The passwords are stored in this format as pppd requires them to be in plain text in the two files. He also mentions that the permissions of these files are wrong. If he looked a little more closely he would have seen that they are in fact symlinks to the 2 real files, which do have the proper permissions on them."

    Tsstss.. Look at this excerpt from the article that this SmoothWall guy is complaining about:

    The PPP-Daemon complains in the log file, every start, about the permissive reading rights to its password file, hard to imagine that the developers missed this one.

    I also have a strange feeling about other "security" options that they choose. For example: Not using shadowed password files. They say it wouldn't be neccessary since the only user available is root anyway. But what is the _sense_ of not using shadowed password files? (And what is the sense to require the user to be root to configure the system? Even Apache is supposed to be quite secure, but nobody will run it as root because there still might be holes. Impossible in a hacked-together firewall distribution?) The bytes in length on the harddisk they would have saved would be a joke.

    All in all, I believe there are some truth- and insightful bits in the c't review, even if the reviewer did a mistake.

    btw: To complain that the passwords had to be plaintext because PPPd and FreeSWAN required it is complete nonsense for a Firewall! Sources are available, so why not add a patch to have the passwords encrypted if this is supposed to become a Firewall?

    (Sorry, had to emphasize this, since this is not some desktop distribution but supposed to be a Firewall.)

    --
    42. Easy. What is 32 + 8 + 2?
    1. Re:Excuses by Russ+Steffen · · Score: 2
      btw: To complain that the passwords had to be plaintext because PPPd and FreeSWAN required it is complete nonsense for a Firewall! Sources are available, so why not add a patch to have the passwords encrypted if this is supposed to become a Firewall?

      In all fairness, this is referring to passwords that have to be sent to remote systems, so the cleartext has to be easily computable. Even if you encrypt the passwords, you still have to store an encryption key somewhere, in the end that's really just obscurity, not security. Very few "professional" firewalls even take that step, opting just to store remote passwords weakly masked (ie. Cisco's type 7 password hash, takes about 3 lines of code to recover the cleartext).

    2. Re:Excuses by hearingaid · · Score: 5, Insightful
      I also have a strange feeling about other "security" options that they choose. For example: Not using shadowed password files. They say it wouldn't be neccessary since the only user available is root anyway.

      Let's go even farther on this theme of bad choices.

      You can logon directly to the root account remotely? You don't have to su first?

      Ouch, but that's a major hole. That's like waving a Big Flag. Kiddies, look at this "firewall." Guess what account you should try?

      Never allow remote logons to uid 0. Always at least force wheels to su.

      There are CGIs available to manage the firewall? Oh, and they use port 81 to access it. How... creative. And it gets better. SSH is on port 222. Have you guys ever heard of port scanners? Custom ports is a way of flagging to intruders which firewall software is being used, except when the custom port pattern is unique.

      I can go on. It has a built-in DHCP server. DHCP servers should never be mounted on external firewalls as their logfiles contain too much valuable information when the firewall's security is compromised.

      Hmm, at least it has an HTTP proxy. Probably Squid. No SOCKS support though. And yes, it uses NAT. Gack.

      Well anyway, maybe this c't review will convince a few people to give up a NAT-based solution. Sadly, they'll probably just go to another one.

      --

      my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

    3. Re:Excuses by WolfWithoutAClause · · Score: 2

      Agreed. Particularly on an open source product it makes no difference.

      Short of special hardware with BIOS support, or a password that has to be manually typed in to boot the firewall (you'd better have a *good* UPS!); there's no known way to do that securely.

      --

      -WolfWithoutAClause

      "Gravity is only a theory, not a fact!"
    4. Re:Excuses by hearingaid · · Score: 4, Interesting

      Mainly, NAT can be persuaded to become bidirectional with relative ease. That is, you can trick it into giving access to machines behind the firewall. This is especially easy if there are servers behind the firewall.

      The explanation on how is technical in the extreme, and while I mostly understand it, I don't trust myself to explain it correctly; I'll recommend the Zwicky book again, perhaps I should put it in my sigfile. :) If you're broke, go find your local university's library. Any decent uni library and many crappy ones will have at least the first edition of Zwicky.

      The simple answer, though: SOCKS4/5 is a server, and NAT is a router solution. Routers route packets around the 'net. They are designed to pass them back and forth. Servers, on the other hand, just receive packets, process them, and decide what to do with them.

      I talked about this a bit more in a BSD thread just earlier today: go here to see my other comment.

      Now, don't get me wrong; NAT is much better than just having an open connection. But it will usually pass ICMP packets, and that's an enormous security hole. Dumb network admins usually deal with it by blocking all ICMP packets, which of course breaks a whole pile of things. The better solution is to just not ever route packets from the 'net past the firewall. They should all be caught at the firewall and fed through some kind of proxy before they ever touch the inside. That can only be done if you give up NAT.

      --

      my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

    5. Re:Excuses by psamuels · · Score: 2
      um as far as i know the /etc/shadow is hashes, ONE WAY.

      That's for your local system. The issue under discussion is PPP - which is a protocol with a remote system. Some revisions of the protocol, unfortunately, require that you send a password in cleartext. That password has to be stored somewhere - or, presumably, you could have the user type it in when he boots the firewall ... but that's rather inconvenient.

      Until you can force all ISPs to migrate to schemes that don't require cleartext passwords (MS-CHAP, for example) you can't fix this one.

      --
      "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
  12. Attitude Problems with Smoothwall Developers by mathrawka · · Score: 5, Interesting

    I have noticed that the founder of Smoothwall, Richard Morrell has some issues to deal with. He has a huge ego and does not like users that do not pay for his "open source software." He enjoys complaining about how much money he has spent on making CDs and giving them away for free and how people don't donate to him. I have a few quotes that I have collected that he has said on the mailing lists for smoothwall. "i have contacts with people at the kernel team that none of you have... i know people who can get this fixed and i'm on top of it... so stop complaining because you don't know what you're talking about" "i used to work for microsoft, i know how they work" (he worked in the sales dept selling licenses) "You're also not a paying customer - I'll email DIRECTLY my friend who WROTE the official driver. Friendships help. Thats why I'm richard@linux.com" "this is fuck all to do with SmoothWall its hardware level" Also, Mr. Morrell decided to turn it into closed source "enterprise version" that isn't free with extra features. So he's not allowing open source developers to add new features to the open source project because it will compete with his private closed source project.

    1. Re:Attitude Problems with Smoothwall Developers by Anonymous Coward · · Score: 3, Informative

      Been there done that..I urge all who plan on downloading Smoothwall to first hang around for a minute in their IRC channel. Dick Morrell has the worst attitude I have ever seen. Their clame to fame is that it will run on older machines, so I tried it. The 540mb hard drive was filled with logs and took the box down after a couple weeks. I asked Mr. Morrell if it cleaned itself every once in a while and his reply was "get a bigger hard drive". He then started going off on how I shouldn't criticize his product because I'm not paying for it.. All I asked is if the logs would clear eventually! That's just my incident that happend within 5 minutes of meeting him online. I've heard much worse about him. Because of that, I will never tell my friends about Smoothwall again. If you would like an excellent firewall, with more options, better security, and an excellent support team, I recommend you check out www.astaro.com ( which is also a linux firewall ).

    2. Re: Attitude Problems with Smoothwall Developers by onya · · Score: 5, Informative

      for this reason, (and others) there has been a fork from smoothwall gpl to create a new project called ip cop. you can download a beta .iso from the website. ipcop.org

      for me it was a straightforward switch from smoothwall to ipcop. easiest install of any operating system i've ever seen. ipcop supports ext3 (for no extra cost!) which is great for unplanned reboots.

    3. Re:Attitude Problems with Smoothwall Developers by iGawyn · · Score: 3, Insightful

      However, if your product gets a bad reputation because you refuse to support people, because they haven't donated, then less people will want to use your product, which means less donations. It's a vicious circle, which eventually the Smoothwall developers will have to break.

      Sure, it's free, it's GPLed. Big deal. There are plenty of free, GPLed firewalls out there, and the developers of them are probably a lot nicer. What sets Smoothwall above the rest? Tech support? Reading /., that doesn't seem likely. Features? That only goes so far. Security? You have to plan for the worst, and just because you don't think there's a chance in hell of someone gaining root on the box doesn't mean you don't shadow your passwords, etc.

      Gawyn

  13. Not a real firewall review by Lumpy · · Score: 4, Insightful

    First off reviewing a firewall like that is just whining by a non-techie. you want to review a firewall? crack it... Show me times it took and what kiddie tools took it down or circumvented it because of a flaw in the firewall. bitching about how the scripts are written is clutching at straws and trying to add content to an already empty review.

    Why is it that we all will not listen to a SQL review without stats and figures but a firewall review get's any attention at all if it isnt even tested properly by the reviewer?

    This review was like a review about ram and bitching about the color and shape.

    --
    Do not look at laser with remaining good eye.
  14. Re:running CGI's as root ? great idea huh by zzzeek · · Score: 2, Insightful

    if a cgi script running as "nobody" is compromised, then it is possible that the user "nobody" can gain shell access as well. A shell is simply another executeable, just like the CGI script itself.

  15. Smoothwall by futuresheep · · Score: 2, Informative

    After trying several different Firewall products, I found smoothwall to be the easiest to setup and maintain. As far as the reviewers points, most are irrelavant, since the only access to the web interface and to SSH is from INSIDE your network. Unless you go out of your way to activate these things exterally, they're simply not seen to attackers. But then again, if you changed the way the product is shipped, then it's really working like it was intended anyway.

  16. Re:No room for comments? by snake_dad · · Score: 3, Funny

    And how exactly would shadowing help against over-the-shoulder-lookers? Oh wait, I get it, you create a shadow over the keyboard so it can't be seen.... Better pray that there is no IR filter on that security camera.

    I know... I know, don't feed... oh well.

    --
    karma capped .sig seeking available Slashdot poster for long-term relationship.
  17. Re:Daniel Goscomb seems far too complacent by byolinux · · Score: 2, Insightful

    Okay, maybe I was a little hasty, but if someone gives you a bad review, and this was a bad review, you should just suck it up.. Imagine Microsoft sending out a press release everytime someone at /. gave them a bad review - they'd have to pay Taco to incorporate random-ms.pl

  18. Re:running CGI's as root ? great idea huh by Wolfstar · · Score: 2

    He actually stated that the only shell-access account on the box is root. This means that the only way you can get a command prompt is if you're logged in as root. Theoretically, if you can exploit a CGI bug, you could execute /bin/sh and have a shell, but they've probably disallowed that.

    The Dachstein images from the LEAF Project are set up similarly. Root is the only shell access, CGI/Web runs from another user.

    --
    You thought that this sig was what you think that I thought you wanted me to think. I think.
  19. No more comments on Morrell, please! Try IPCop! by BitMan · · Score: 5, Informative

    As your momma always said: 'If you don't have anything good to say about someone, don't say it' or 'if you someone keeps "bothering" you, just stay away from them.' It's as simple as that.

    So if you don't like Richard Morrell, head of the SmoothWall project, consider:

    • ignoring him
    • the fact that SmoothWall is free software and freely supported (regardless of the "requests" for monetary support made)
    • disregarding SmoothWall altogether, if it really "bothers" you that much (see below)

    Personally, I'm sick of the "one-sided" reporting on Mr. Morrell. I've seen way too many people "complain" about him, but never comment on various personal details that are partially the cause of this -- let alone the daily on-slaught of Windows users who've barely heard of Linux, who don't bother reading the FAQ, let alone demand that SmoothWall automagically support every little, crappy-designed Windows application and their proprietary protocols that don't work well with firewalls anyway. After a week of being on the SmoothWall lists, I'd kill some very rude and ungrateful users well before Morrell. If you feel Morrell is "really bad for the project," then that's his problem, not yours!

    Now if you still want something like SmoothWall without the SmoothWall(TM), take notice that others have forked the project into a new one called IPCop. Version 0.1.0 features SmoothWall 0.9.9, all the major post-0.9.9 patches and various enhancements. A final 0.1.1 release is to follow shortly before the team starts to work on version 0.2.0, an Linux 2.4/Netfilter implementation.

    For all I care, you can think of IPCop as "SmoothWall without Morrell." Just don't say it outloud since many of us are all sick of hearing it!

    --
    -- Bryan "TheBS" Smith
    Independent Author, Consultant and Trainer
  20. Replying to the reply by OeLeWaPpErKe · · Score: 4, Insightful

    Daniel Goscomb, one of the lead developers of Smoothwall, responds:

    In our opinion this article is extremely badly researched and written. Furthermore it shows a lack of knowledge on the author's part.

    sjah ... reading on

    The main concern he has is that of people being able to log in to the firewall and read configuration files. This point is irrelevant as there is only a single user that can access the shell, root. This also removes the need of shadow password files, if you have access to the machine to get the passwd file, you are already in as root anyhow.

    so you only have one layer of security ? The inability of any attacker to get a shell ? That's it ? I must admit I have not checked if you do that or not but ...

    In my opinion you should at least take a number of these precautions ...

    -> no shell access for nobody but root (of course this is enforced by putting a check in the main loop of bash, which mails "murder" if anybody tries differently)
    -> all binaries --x--x--x, on a single partition which is the only one mounted without the "noexec" and with "ro" flag
    -> *all* daemons chrooted, none have anything in their /bin or /sbin directory that even remotely resembles a shell or mount program (ie do not use perl, use mod_perl, do not use php, use mod_php, etc)
    -> *all* programs compiled from source
    -> there is no such thing as an irrelevant permission

    Secondly he complains of plain text passwords for the ppp passwords. This is not our doing. The passwords are stored in this format as pppd requires them to be in plain text in the two files. He also mentions that the permissions of these files are wrong. If he looked a little more closely he would have seen that they are in fact symlinks to the 2 real files, which do have the proper permissions on them.

    plain text ? wrong permissions ? why would you take a chance ?

    He also mentions the same "problem" with the shared keys system in FreeSWAN. Again, they are stored like this as FreeSWAN requires them in this format to read them.

    again ... why take the chance ?

    As to the part about user authentification of the CGI scripts. This is completely irrelevant. There is no authentication in the CGI scripts. The authentication is done via .htaccess files, and has no interaction with the CGI at all, other than when you change the passwords.

    user authentication is only irrelevant until a hacker gets by the first layer of security (which apparently on your system is the *only* layer of security)

    I also find it disturbing that the author gave us no room for comment in his article, nor did i see anything to suggest he had even asked us about these so called "problems". We would have been happy to answer any questions he had.

    to quote the other article :
    When a group of developers- more than ever one active in the spirit of GPL-want to successfully distribute a good product, they are usually interested in feedback, in order to improve their product. My concrete indications of security problems within SmoothWall found sheer disinterest with Richard Morrell, developer and project initiator. "That doesn't matter" was about the politest of all comments comment. Trust in the developer's competence and integrity is a basic pre-requisite for the usage of security relevant software. Morell has thoroughly destroyed mine."

    this suggests he has contacted you ... wether or not he did I cannot verify, but if he quotes answers from you ("That doesn't matter"), he probably did contact you, and you certainly confirmed that comment with the above reply, I politely wonder about the next part of that sentence ( ... was about the politest of all comments comment.)

    1. Re:Replying to the reply by fatrat · · Score: 2, Interesting


      Also, as was pointed out on uk.comp.os.linux,
      anyone who thinks that

      /^\d+\.\d+\.\d+\.\d+$/

      is a correct way to match an IP address in a cgi-bin script shouldn't be let near a firewall.

      No shadow passwords? /etc/passwd is a+r on all
      systems I've ever seen (is Smoothwall different?
      I doubt it). That's why you need shadow passwords.

      Remember the old /cgi-bin/phf?cat%20/etc/passwd
      trick? Having seen the quality of the cgi scripts
      in smoothwall, do you want to promise that there's
      nothing similar in there?

  21. Another firewall product: Astaro by Jacco+de+Leeuw · · Score: 3, Informative
    Astaro seems like an interesting product. It too is based on Linux (GPL) and sports a firewall, IPSEC, PPTP etc. I have downloaded the ISO but haven't installed it yet since it insists on whiping the harddisk. Seems reasonable but I'll have to find a test machine first ;-).

    There's also a support community.

    Some companies such as Pyramid are reselling Astaro with hardware and support.

    --
    -------
    Warning: Slashdot may contain traces of nuts.
  22. The name?!?! by mikael · · Score: 2, Funny

    I don't want to buy a product made for stopping criminals that is called "SmoothWall". This is like calling a Rottweiler "Sugar". Gimme a better name, like "Brickwall", "Barbed wire" or "Minefield.

    Mikael

    --
    Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
  23. Re:Smoothwall is GREAT by wpanderson · · Score: 2, Interesting

    There's a difference between code released from a single source that has been audited, tested and integrated by the team, and code downloaded from tumtetum.tripod.com/haxx0rme/ and slapped in without thinking about it. I'm not suggesting that ALL homebrew patches are security holes in the making, but this is a security project, not an mp3 player.

    --
    neuro at well dot com (when I post, it's my opinions, no-one elses)
  24. Another alternative by SonicBurst · · Score: 3, Informative

    I've used Coyote Linux (http://www.coyotelinux.com) for about a year now, and it works great. It's a single floppy distro that runs on a dedicated 486 with 8 or meg of memory. It supports PPPoE and dial-on-demand (among other things), and is remotely manageable with ssh, if so desired. Just my $.02.

    --

    Geek used to be a four letter word. Now it's a six-figure one.
  25. It's not the first time... by 3247 · · Score: 4, Interesting
    ... c't publishes an article that completly pans a very hyped product. Of course, the author/vendor/manufacturer then loudly complains and quotes several articles from other respectec computer magazines that say his product is OK and c't is wrong.

    In most of these cases, c't is right. I think we can expect an exploit very soon... ;-)

    --
    Claus
  26. Try OpenBSD for a firewall with minimal hardware. by oobeleck · · Score: 5, Insightful

    OpenBSD is a good solution for anyone with a 486 and 8MB RAM. It is fairly simple and easy to use. (If you are familiar with Unix).
    You can find all kinds of examples of how to set one up like here.
    Older distro's used IPF, but as of 3.0 they use pf. You can read about pf here.

    OpenBSD has gone 4 years without a remote hole in the default install. Pretty impressive.

    But hey, only use it if you are SERIOUS about security AND don't want to pay anything.
    Although you should consider helping fund the project out of the kindness of you ./ heart...;-)

  27. Re:Smoothwall is GREAT by wpanderson · · Score: 3, Insightful

    Strange that we've yet to hear of an 0wned smoothie, outside of some theoretical situations, and some "i already have root because i installed the box" fiddlings.

    If we see a posting on bugtraq or a properly documented break-in sent to us, we'll act on it.

    --
    neuro at well dot com (when I post, it's my opinions, no-one elses)
  28. Re:running CGI's as root ? great idea huh by 3247 · · Score: 2

    That does not matter because we don't know how to do it better and still want to sell our product you ignored the fact that the CGI interface is already password protected.

    --
    Claus
  29. Re:Why not plaintext passwords? by Colloquy · · Score: 2, Insightful

    Sorry, this isn't how things work on Linux, nor many other modern operating systems. File space cannot be "allocated", then "read" in the manner described. You cannot allocate a file without writing to it, thus you cannot fish information from someone else's temp file like you describe. Maybe under DOS, but probably not on anything newer.

    Whoever moderated this post as "Informative" needs to stick to moderating posts on which they are competent to judge, not just anything that sounds good but might be a line of complete BS.

  30. Re:Bad Modding -1 offtopic by wpanderson · · Score: 2, Informative

    What company? SmoothWall GPL, which is the version reviewed, is released under the GPL by a volunteer team of developers, testers and helpers.

    --
    neuro at well dot com (when I post, it's my opinions, no-one elses)
  31. My smoothwall experiance (it was bad) by mwhahaha · · Score: 5, Interesting

    Twice this evening I've tried to get questions answered about their gpl'd smoothwall because my boss saw this slashdot article. And both times I've been nothing but insulted by Richard Morrell, the founder. The first time I was childish and incompetent all because I had the nickname 'nameless'. The second time I was k-lined from the server and he insults me because I have a german last name.

    smoothwall.org.txt and smoothwall.org2.txt

    Makes you wonder how these guys really act to customers.

    1. Re:My smoothwall experiance (it was bad) by DaveJay · · Score: 2, Interesting

      It does beg a question, but not "how (do) these guys really act to customers" -- I believe the better question is "when you financially reward sociopathic behavior, is it likely to stop?"

      Consider: if I donated money or purchased the product outright, project members might begin treating me with respect and patience -- but that respect and patience would have been purchased, rather than genuine. I assume that the boorish behavior would have continued behind my back. Equally possible is the chance that the boorish behavior would have continued to my face.

      Ultimately, it was this thought that led to me voiding a donation check I had written to the project. I voided the check two days after installing SmoothWall, a few hours after writing the check, and half an hour after being insulted by Richard Morrell on the users mailing list.

    2. Re:My smoothwall experiance (it was bad) by Anonymous Coward · · Score: 2, Insightful

      I concur with the assessment of Richard Morrell. Morrell doesn't appear to understand that getting angry at people that don't pay for SmoothWall is unlikely to encourage anyone to contribute charitably or think about purchasing a more functional SmoothWall. When people see Morrell cursing someone out on IRC, kicking and banning them from the channel and k-lining them from the server, they come away thinking Morrell has an explosive temper and they want nothing to do with him. If being on IRC helping people is that difficult for Morrell, he should reconsider going on IRC at all.

      Please don't misunderstand me: I understand it requires a lot of time, money and effort to bring SmoothWall into existance; the work is appreciated. SmoothWall is a valuable addition to the free software world. It is frustrating dealing with people who won't read docs. But there is no reason to be belligerant. Morrell does his work and his SmoothWall finances no favors by being rude.

    3. Re:My smoothwall experiance (it was bad) by night-shade · · Score: 3, Insightful
      Sometime ago I helped my younger brother with a smoothwall install (I had to bolt on a pnp init script for an NE2000 isa card). I read through the docs and mailing list stuff to see if this has:
      1. Been done before
      2. Being worked on now

      It didn't apper tobe the case so I joined the irc chan and asked about the problem I had had, result: kickban

      I was actually going to offer to write the pnp stuff I had done properly and then submit it to them, not any more thank you :)

  32. Re:Why not plaintext passwords? by Suidae · · Score: 2

    Bill, a guest-class user who wants higher-level access for nerfarious purposes, creates a file in /tmp

    If bill has access to the shell on a smoothwall system, he can do whatever he wants. No one disputes that shadow passwords are useful on multiuser systems, but this isn't one.

  33. Re:No more comments on Morrell, please! Try IPCop! by slydder · · Score: 2, Informative

    Are you speaking of me? Must be.

    Anyway, I do not know the gentleman that posted that little piece. However, I do have a tendency to agree with him.

    As for the spam. OK, if you see it that way.

    Also, I never claimed that it was anything other than a fork. As a matter of fact it's plastered in every piece I write on my site. http://slydder.homelinux.com

    I hate not being clear on matters.

    As for having problems from SourceForge, I don't think so. But then again if we did it could only be because a certain person keeps on us to remove all mention of SmoothWall. hehe. What a character.

    chuck

  34. SmoothWall and ISDN? by Suidae · · Score: 2

    I wanted to use SmoothWall as my firewall, but I have a USR Sportster 128 ISDN card, and I can't figure out how to get it to work with smoothwall (or redhat, the documentation is sparse and tends to be in german).

    Anyone know if Smoothwall will work with this card without alot of configuration effort?

  35. Security = Probability by 3247 · · Score: 5, Insightful
    The problem with the SmoothWall developers is that they completly fail to understand that security is always only a probability. A complex product can never have 100% security.
    Every part of the system has a (hopefully low) propability to be successfully hacked. The more barriers you have, the securer your system is.

    It's also worth nothing that the only interactive account is root. There are daemons running under different user ids (I assume in favor of the SW team). As with every remote exploit, these daemons are the entry gates. Also note that remote exploits by definition don't relate to any interactive accounts!

    Now, if one service has been hacked, the whole system is already compromised because there are no shadow passwords, files have the wrong permissions, etc.
    You can argue about the passwort files for remote connections. You can't argue about not using shadow passwords, that's just plain stupid.

    It's like leaving your safe unlocked because there is already the locked front door...

    --
    Claus
    1. Re:Security = Probability by ansible · · Score: 2

      Yup. The situation is worse if you have multiple machines.

      If I can hack a service on one firewall, and it doesn't have shadow passwords, then I'll eventually figure out the root password.

      This has two serious implications:

      1. I can now log in as root, and erase any previous evidence of a breakin. This'll make detection of a breakin much more difficult.

      2. If any other firewalls/routers/etc. on the site have the same root password, I now have full access to those machines too.

      In an ideal world, every machine and router would have a separate, strong password. And those passwords are changed every 3 months. And none of the admins ever forgets them or writes them down.

      Unfortunately, no one I know does this. It's just too hard and cumbersome. So you end up with one password for each class of machines.

      Kinda makes you wish everyone used Blowfish for encrypting the passwords, doesn't it? Viva OpenBSD!

  36. My Experience with Smoothwall's Richard by TellarHK · · Score: 5, Interesting

    Several months ago, I was messing around with Smoothwall as a possible simple solution to my home LAN situation. It was the eve of the 0.9.8 release, and I went on the Smoothwall IRC chat area and joked about getting an early copy of the release. Joked. I know that doesn't happen, and figured that with a technically oriented crowd, that I'd be understood as kidding. At the time, it seemed that I was. However.

    A couple days later, after having installed Smoothwall and found it to be almost-but-not-quite-right, I popped on and asked a pretty simple question. Why wasn't there a copy of any compilation tools present, or any other services that someone on a small, personal network might like?

    The response was pretty terse. "It's a firewall." Repeated inquiries resulted in various forms of the same answer. Now I understand that a firewall has one main purpose, but the -attitude- I got from the developers was really too much. I figured, after being booted from the channel, I'd email Richard and hope that a cooler, more corporate head might reside at the leadership of the Smoothwall project.

    Unfortunately, I could -not- have been further from the truth. The situation escalated with Richard harassing me VIA email for several days, after repeated requests of mine not to email me any longer. He continued, his crude insults became -threats-, and it took three days for the matter to settle.

    I am currently an assistant administrator at a small college using Linux as a gateway/NAS solution that's desperately in need of updating. Smoothwall might have once been a contender for this, but definitely not now.

    I have posted a rather extensive website airing the entire situation with Richard, my own warts and all, at my Smoothwall site for the perusal of anyone interested. Sure, I might have made a mistake or two, but I don't feel anything I may have said justified what I recieved.

    Anyone else have similar experiences?

    1. Re:My Experience with Smoothwall's Richard by lpontiac · · Score: 2

      The response was pretty terse. "It's a firewall."

      And that was the answer.. so why take it any further?

      I was considering setting up smoothwall for a friend, because they aren't Unix savvy and I liked the idea of it's web control panels (seemed a little better than freesco's). However, this person would be doing it with their existing hardware, and they had a winmodem. So I wandered into the IRC channel and asked whether smoothwall had any support for winmodems.

      The answer was one you'd probably consider to be terse: "No." But it told me what I wanted to know.. I mean honestly, what did you want, an essay?

      I really don't understand what you were trying to achieve by "Repeated inquiries." And I suspect the developer's attitude was "we've heard this thousands of times before, he's said it about 40 times so far tonight, we keep giving him the answer and he won't shut up!"

    2. Re:My Experience with Smoothwall's Richard by TellarHK · · Score: 5, Interesting

      I would like to add, as an afternote to this, that when I contacted my ISP in order to be sure that Richard was not going to pull a fast one and get my account yanked, that I was then contacted the following day and asked if I had indeed been hacking Smoothwall's parent site. My reply was no, and I pointed my ISP to the site given in my previous post. After a quick examination of my site, my ISP apologised for the trouble, and said things would be taken care of. Nothing ever came of that, but I hope others would agree that what happened was quite low.

    3. Re:My Experience with Smoothwall's Richard by TellarHK · · Score: 2

      My problem really was with wondering if the fact Smoothwall was a firewall somehow automatically -had- to preclude it from providing other features, such as the ability to run secure services for internal use. As Smoothwall was going on a machine with a three-gig hard drive, and would only use a few hundred megs, I was hoping that I could make use of that other space on a machine connected and up at all times. Also, if Smoothwall is so capable of running a web server for configuration on port 81 that's so secure, why couldn't a properly designed or even minimalist web server on port 80 be put in place with an emphasis on security?

      Given that Smoothwall's NAT features are at best, rudimentary (No port forwarding by range, no statically assigned IP addresses as of version 0.9.9) it seemed rather logical to want to be able to add in features myself, at my own rick, that would provide these functions. But without a C compiler, it's just easier to go with someone else.

    4. Re:My Experience with Smoothwall's Richard by TellarHK · · Score: 2

      Now tell me, though, does this excuse your boss from falsely accusing me of being a hacker to my ISP and attempting to have my account removed?

      Is this appropriate behaviour for someone in security? By no means. I made no threats other than disclosure. Richard threatened to, and attempted to, have me silenced by false accusations.

      As I stated on my site, not a single person at Smoothwall responded to the harassment issue. But I see the truth hurts.

    5. Re:My Experience with Smoothwall's Richard by cvn65 · · Score: 2, Interesting

      I read it, too. And I find Richard's responses to be entirely unlike your childish simplicity.

      I find him to be arrogant, overbearing, thoughtless, anal, and childish.

      Okay, -almost- entirely unlike you. But then, you are not making threats and false accusations of illegal acts against a person who has offered you neither insult nor any offense whatsoever. You aren't trying to abuse the law and the trust of a corporation to attack an innocent man. And you aren't posting pointless, silly, ad hominem slander.

      Oh, wait. You are posting pointless, silly, ad hominem slander.

      I guess you're not that different after all.

    6. Re:My Experience with Smoothwall's Richard by acceleriter · · Score: 2

      Sorry, dude. While Richard might have been annoyed, his responses and threats were far over the top. Richard appears to be quite fortunate that he didn't pick someone more quick to anger to fuck with--another person might have bought a transatlantic ticket and delivered him a nice and personal ass kicking for less. And if the emails on TeliaHK's site aren't selectively edited, I'd say he deserves one.

      --

      CEE5210S The signal SIGHUP was received.

    7. Re:My Experience with Smoothwall's Richard by milath · · Score: 2, Interesting

      I was reading this article's comments with just cursory interest until I came across this post. I headed to your website and read the whole exchange.

      Frankly, I think you are totally in the right here. The IRC exchange was typical, from what I've seen, for IRC. You even provided help to other customers of the company. I was absolutely astounded to read the reply(ies) you received to the email you sent the 'president' of this company. I cannot believe that anyone in charge of a company (or any company public or private) providing a product could be so daft. After reading through the other comments, I can also see this is not an isolated incident.

      Well, one thing is for sure: this could be the most secure firewall ever , but after reading this and other exchanges with the people who make it, I'm not even going to bother trying it.

      Absolutely disgraceful...
    8. Re:My Experience with Smoothwall's Richard by bfree · · Score: 2

      Not too long ago I read a dead-tree interview with Richard in one of the UK Linux magazines and it was very bizarre! I finished the interview thinking that perhaps the guy was having some form of nervous breakdown from the pressue of having to deal with his success. Well I think that the way he has handled his success will ensure that it will be 5 minutes of fame (and perhaps this slashdot story really will be the highlight). What cracked me up though was the incredible arrogance of the guy ("we have nnn,000 users and we know cause we get every smoothie to phone home" but what does that mean for the classic installed for two hours and rejected machines! do they actually have 1000 live systems even?). The other amazing thing about this guy was that he picked up XXX XXX Linux and created a modified GPL distro on top of it, thought nothing of it until a magazine (PC Plus) sent it out on their cover disc and then when he suddenly gathered thousands of people installing the system he saw dollar signs and hassle! He could have been polite and explained that the usage had exploded and that unless people sent him money he wouldn't be able to deal with their requests (but he'd keep the FAQ up to date) and been just like 90% of Free software projects but instead he went "fuck off and don't annoy me, you must pay us, we're closing the GPL project (to all intents and purposes though obviously the code as was can be forked) and don't forget that anyone using our work has to pay us or their scum freeloaders" (carefully forgetting all the money he obviously owes Linus and every other kernel hacker, compiler hacker, documentation writer etc. etc.). I just wish this moron had used BSD and then at least we could all ignore him much more easily (no one would think license violations and breaking the spirit of the enterprise). Does anyone defend this guy?

      --

      Never underestimate the dark side of the Source

    9. Re:My Experience with Smoothwall's Richard by sethg · · Score: 2
      Having a compiler on the firewall would be convenient for you, but it would also be convenient for any 31337 h@x0rs who manage to grab a shell on the firewall.

      In practice, I'm not sure how likely a problem this would be, but if I were writing a firewall distribution of Linux, I wouldn't want anything running on the firewall that wasn't necessary for the firewall's job. (Although I suppose it would be nice to package a utility with the firewall that would allow users to compile a program on another machine and then ship the binary over to the firewall. Someone who knows the ins and outs of autoconf/automake wouldn't have much trouble creating such a utility.)

      If none of the canned firewall distributions suit your needs, then maybe you'd be better off installing OpenBSD on that machine and learning how to use its packet-forwarding system.

      --
      send all spam to theotherwhitemeat@ropine.com
  37. My own damned reveiw.... (dammit!) by whoppo · · Score: 4, Interesting

    Being a geek *and* the firewall/vpn admin for a large network I was compelled by geekiness to set up a tunnel between the corporate network and my home network. The lack of desire to spend way too much money for an IPSec compliant appliance I opted to try numberous open source solutions, including Smoothwall 0.9.9se. Despite a few shortcomings, I found the "Smoothie" to be quite impressive. A 23 Meg ISO image yielded a bootable CD that installed without a hitch, identified all the hardware and prompted well for install input (reading the install docs is of course advisable). The box was online is just about 10 minutes with internal clients playing quake and surfing for porn. A quick, yet educated review of the default configurations and a nmap scan and I was confortable with the security... onto the VPN config: A straight forward, web based config menu has fields for all the usual Free-S/WAN VPN stuff, like gateway IP's, site network IP's, next-route-hop IPs, preshared secret, but lacked some specific config options that are needed to create a tunnel with a Checkpoint FW-1/VPN-1 gateway (the reason I was trying this product). Manually adding these config options to the ipsec.conf file was easy enough and in just a short while I was enjoying an IKE/3DES/MD5 tunnel into work.. well.. maybe "enjoying" isn't the right word. My next step was to add a few additional work subnets to the tunnel. This is done by creating an additional connection.. like a second tunnel with the same addresses and preshared secret.. piece of cake.. except, adding more info to the VPN configuration overwrites the ipsec.conf file with a newly created one. Doh!. Fortunately, the web interface is well written and it was pretty easy to add some code to make the admin script create the new ipsec.conf file with the Checkpoint specific changes. Total time invested for a fully functional, easily configurable firewall/VPN: just a few hours. Satisfaction level: 90% Summary: It's easy, fast and works as advertised. Pros: Fast install, Works with Static or dynamic IP's, Many other good features (check the website for details)., Easy to customize the code for personal gratification. Cons: it could offer more flexible IP chains config thru the web interface, Could use those additional VPN options for Checkpoint interoperability. I like it and the smoothwall folks can expect documentation of checkpoint compat. fixes along with a PayPal donation very soon.

    --
    chown -R us /base
  38. Re:The smoothwall team is full of GREAT IDEAs.. by Anonymous Coward · · Score: 2, Informative
    Well you're certainly loud, and vague, but it's all for nought.

    Smoothwall GPL requires seperate hardware interfaces (modem/nic) per ip. The internal NIC can only view the splash page of smoothwall, and the external can't see it at all. By merely spoofing packets you cannot get to the internal ip.

    But then you don't actually have an example of this spoofed packet that will fool smoothwall, do you?

    Yes, smoothwall doesn't filter email. It's a conventional firewall. It's not a virus-checker. Compromised machines on the internal network can view the splash page of smoothwall. The splash page reveals the smoothwall version number and " 1:19pm up [REMOVED] days, [REMOVED], 0 users, load average: 0.38, 0.54, 0.57".

    Anything more and you need http authentication. Show a theoretical exploit or calm down, please.

  39. I wanted to build a firewall kit once... by einhverfr · · Score: 2

    And probably still will. Here is my feedback on the issue relating to the Smoothwall review.

    1: Plain text passwords as sufficient security on a single-user system. OK. THis is sufficient security because the only user is root and thus if you are on the system you have complete control over it. However, it is not optimal security, which is what you really want in a firewall. If the root user changes the password, you know this as soon as you try to log in again and can take action, but if they can read the password, they cannot always be detected easily. Therefore encrypted passwords are important on a firewall because they can allow more freedom to an intruder after the first intrusion. Therefore, encrypted passwords are still useful and should be implimented.

    2: Protection of VPN keys is not exactly necessary either but it is good practice because it prevents someone from masquerading as your trusted server.

    3: Protection of your PPP password is less of an issue IMO, though with the modern wave of DMCA complaints on the part of the MPAA, it would probably be good...

    Therefore all the normal security rules for multi-user systems are beneficial for these dedicated firewalls, but for different reasons. For many people, the Smoothwall system as described is probably sufficient, but it si not for high-security environments.

    --

    LedgerSMB: Open source Accounting/ERP
    1. Re:I wanted to build a firewall kit once... by einhverfr · · Score: 2

      Read my original post. I am not saying it is good security practice, just that it is probably sufficient for environments that do not have to be that secure.

      My firewall kit would ideally have as few services as possible for its environment on it (maybe sshd if the admin wanted it, or httpd, but these would not be mandatory), and it would operate explusively from read-only media so the firewall would be untrusted to change any part of its own configuration-- it could only reload itself (changes to the configuration could be made to (depending on the network needs):

      a: a read-only nfs share or
      b: a write-protected floppy disk

      Authentication would either happen via something like Kerberos or using files mounted on the extension disks or shares (of course, the kit could require the firewall to be reconfigured and a new ISO image burned but the TCO there is prohibitive in all but the most secure environments). Logging would also be done on a separate syslog server or a local hard disk (but the local hard disk method is not recommended).

      As I say, Smoothwall may be sufficient for many applications, but it falls short of being "good security."

      --

      LedgerSMB: Open source Accounting/ERP
  40. Re:running CGI's as root ? great idea huh by FallLine · · Score: 2

    But if the permissions on the passwd file were setup so as to only be readable by root, it is effectively the same as having a shadowed passwords, which would require the user to already have root privilages read the actual hashes. It would be rather trivial to do since it's a single user system and its use is rather specific.

    I'm not saying this is what the configuration on this device is, but the article doesn't really deny this either.

  41. Morrell was helpful to me. by The+Panther! · · Score: 2

    I have installed SmoothWall four times, for friends, on machines running the gambit from P100/12mb ram to P166/96mb ram, and using ethernet cards for DSL/Cable, it's a dream. That is, as long as the distro has drivers for your card (damn Tulips).

    Then, for my parents who live in rural east Texas with a dialup connection, I had to figure out how to get an internal modem working in Linux. After reading the entire internet :-) and buying no fewer than four modems, I found one that should work. After another day or so of frustration, I contacted the helpful people at SmoothWall.org and I actually chatted with Mr. Morrell directly on their irc server. In five minutes, he'd set me straight and it was up and running. It was a CEBCAK (Computer Error Between Chair And Keyboard), naturally.

    For all the people bellyaching about how one guy represents the GPL developers, or doesn't use shadow passwords... whatever. At the end of the day, all that matters is getting the job done. And I recommend it to anyone who has a spare PC lying about, too.

    --
    Any connection between your reality and mine is purely coincidental.
  42. Re:No more comments on Morrell, please! Try IPCop! by BenBenBen · · Score: 3, Interesting

    You might be interested in what Mr Morrell has to say about IPcop...


    *dickmorrell* I'm actually having them shut down
    *dickmorrell* right now
    *dickmorrell* their Sourceforge listing
    *dickmorrell* for breach of GPL
    *dickmorrell* breach of copyright
    *dickmorrell* theft of documentation
    *dickmorrell* and oh
    *dickmorrell* see their lists ?
    *dickmorrell* I PAID FOR IPCOP f***o
    *dickmorrell* we sacked the crap developers involved
    *dickmorrell* they havnet the first f***ing clue
    *dickmorrell* lol
    *dickmorrell* we have 890,000 installs
    *dickmorrell* they have 82
    *dickmorrell* ipcop will need big pockets to get anywhere
    *dickmorrell* BIG pockets
    *dickmorrell* and BIG name friends
    --
    The Slashdot Paradox: "100% Overrated"
  43. Re:Try OpenBSD for a firewall with minimal hardwar by doorbot.com · · Score: 3, Funny

    It is fairly simple and easy to use. (If you are familiar with Unix).

    Is it just me or does that qualifying statement completely negate the previous statement?

    Of course it's "simple" and "easy to use" if you already know what you're doing.

  44. actually, shadow passwords should be used by austad · · Score: 4, Informative

    Even though the Smoothwall developers argue that shadow passwords are not required, I think they are. I have a box running right here with it. Apache runs as the user "nobody", and therefore can read /etc/passwd. If shadow passwords were enabled, reading /etc/passwd would not matter.

    By default, smoothwall does not allow access to the web interface from the outside, but, very frequently, people open that up to the world so they can get at it from anywhere (which is very easy to do through their menuing system). The box does not ask for a password until you actually get into the configuration screens, but cgi's that give you information are not protected by .htaccess files.

    I wanted to install it on a box that only had SCSI on it awhile back, but they ripped support out of the free version for SCSI. So I joined the irc channel and asked about it. They told me to wait until the commercial version was out and to buy that if I wanted scsi support. So I grabbed their *SDK* as they call it, and it had nothing useful in it at all. I joined back up to the irc channel to ask how to compile everything, they asked why, so I told them I was building in SCSI support so I could run it on the extra box that I had laying around. No one would talk to me after that.

    I found a different machine to run it on, but the only reason I'm still running it is because I haven't had time to get something else. I used to recommend smoothwall to people, but not anymore. The developers I talked to were conceited jackass's. If they had helped me out, I probably would have even donated a few dollars to them.

    --
    Need Free Juniper/NetScreen Support? JuniperForum
    1. Re:actually, shadow passwords should be used by keithdowsett · · Score: 2, Interesting

      I considered using smoothwall for my home network, but the lack of SCSI support was a problem. Instead I downloaded the Mandrake SNF firewall as an iso image. It's based on Mandrake 7.2 so it's not the latest and greatest. However it does include a facility to update its components if you don't feel like downloading the RPMs yourself.

      IIRC this does implement shadow passwords as well as the SCSI support I needed and a web interface. There is also a Java encrypted terminal connection, which allows you to login securely from a browser. This is really handy for tweaking the config files without needing a screen and keyboard connected to the host.

      There were two areas which needed a little manual tweaking - dhcpd.conf and lilo.conf. Once these had been fixed everything worked a treat, it even handled the VPN connection to my office seamlessly. So, nine out of ten for Mandrake SNF from me.

      Keith.

  45. Re:Why not plaintext passwords? by TheSHAD0W · · Score: 2

    Really? I'm surprised. There are some applications where being able to allocate a big chunk of disk space for a buffer is important, and writing zeroes over it would slow things down. Are you sure there aren't any functions for doing so, hidden in the OS?

    There are other reasons for keeping passwords in encrypted form as well, though such exploits are mostly limited to when people have physical access to the box. Not as likely, but still a good reason to routinely encrypt passwords.

  46. Re:you assume complete security from the inside by Genom · · Score: 2

    You also assume that all the machines behind my firewall are windows boxes.

    It only takes one compromised box on the inside to make an attack. Windows boxes happen to be particularly vulnerable because of Outlook's insane assumption that things attached to an email should be executed automatically.

    That's not to say that boxes running other OSs aren't vulnerable. They are. Just some more than others. All boxes on the inside need to be protected, and it's not bad practice to anticipate the worst - that is, an attack from inside your network.

    In a perfect environment, it'd never happen - but we all know the world is a less than perfect place. A good security policy takes this into account.

  47. The unfortunate failure of a great idea... by dr.ka0s · · Score: 5, Insightful

    I have visited irc.smoothwall.org only once. I do feel, however, that my experience there alone was almost enough to discourage my use of the product. I joined the #smoothwall channel in hopes that I might find answers from knowledgable users or developers that I had been unable to find in any of the available documentation (all of which I read in its entirety).

    Upon joining the channel, I was bombarded with the omnipresent topic, "Welcome to #smoothwall :: Please do not expect free
    support if you haven't donated. http://redirect.smoothwall.org/donate"

    Ignoring the blatantly anti-open-source sentiment, I proceeded to ask about features and functionality that I feel are paramount to implementation of a device designed to secure my entire network. Before anyone so much as regarded my first question, I was bombarded with "Have you paid yet?" A simple 'not yet' got me my first response: "Can't you read the f**king topc?!"

    Of course, I wasn't looking for support -- simply answers to questions about the products capabilities. Off to a great start.

    In the end, my questions were answered, privately, by MacGyver, whose answers unfortunaely indicated that features I think are critical in a firewall are only available in the commercial version. To suggest a few:

    - No support for multiple IP's on the external interface

    - No ability to write filter rules for outbound traffic

    - No inherent ability to manage IDS policies used by Snort

    - No immediate planned support for a stateful kernel

    etc...

    Granted, I could accomplish all of these tasks through custom modifications to the product -- but that would defeat the purpose of the product in the first place -- to create a secure filtering firewall that can be easily and securely managed through an integrated portable interface without the need for extensive customization.

    To comment on the article posted this evening, I think that despite the article author's process for review or lack thereof, SmoothWall's response was unacceptable. To say that passwords are not shadowed because the box has but the root user would be to say that Bind and Sendmail need not be firewalled because their latest revisions have no vulnerabilities...

    yet.

    To say that the open-source security packages that comprise the firewall _require_ clear-text passwords is to insult the intelligence of everyone here who knows better or has found more secure alternatives to the same problems in the past. The open-source community is not ignorant, nor are we fooled by any comapny's efforts to conceal laziness.

    Security is an unknown. We place our confidence in hybrid hardware and software solutions that provide protection from the exploits we've identified already, but we expect that new vulnerabilities are inevitable. We cannot neglect commonly accepted security practices because our products have not yet been broken. The correlary would be to argue against home alarms because we already have a lock on the door.

    A single layer of security is never enough. ESPECIALLY for a firewall. If this were to be an end-user distribution sitting _behind_ a firewall, the lack of external access would _probably_ be enough. However, as a firewall, such neglect for security practices that have a negligible effect on performance but provide such a significant measure of protection is both arrogant and ignorant at the same time.

    In conclusion, neither the product's lackluster featureset, nor it's father company's poor customer support practices would have individually discouraged my using it.

    Couple those with questionable security practices, though, and I can assure you that SmoothWall will never be enough to protect _my_ network...

    1. Re:The unfortunate failure of a great idea... by wpanderson · · Score: 2, Insightful

      > Ignoring the blatantly anti-open-source sentiment [...]

      what is anti-open-source about giving away the software under the GPL, but asking that people donate something back to the project to get support?

      --
      neuro at well dot com (when I post, it's my opinions, no-one elses)
    2. Re:The unfortunate failure of a great idea... by dr.ka0s · · Score: 2, Insightful

      ASKING? How about virtually demanding?!

      I use open-source software EVERY day, general applications and security tools alike. And you guys at SmoothWall are the _first_ I've encountered to beg for money and refuse to assist those who don't offer any. That's not GPL, that's shareware. Shit, that's not even shareware, that's worse than nagware. You give me a feature-limited product and when I ask about the product's capabilities, you tell me, "donate money for us to help you with it, pay more if you want a real version, or piss off and leave us alone."

      Many of the tools I use were written from scratch by people who had to expend at least as much time and money in development as your group. Look at Ethereal, Nessus, Astaro, FreeS/WAN, OpenSSH and the OpenBSD project.
      Spend a while using Trinux, whose developer has personally invested countless hours individually supporting the people who use his product simply because we've all helped him to make it better! The end result? A damn fine product! And a well-tested product at that!

      You guy's need to do a little reality check, here. If you want money for the development of your project/product -- then make it SO DAMN GOOD people feel karmically compelled to send you donations. Bullying people into paying isn't gonna make them like your product, and probably won't help with word-of-mouth either. Hell, that's why we're having this discussion in the first place...

  48. I AM SMOOTHWALL - I OWN SMOOTHWALL by Skip666Kent · · Score: 2

    Funny! True, but funny.

    No question that Rodney or whatever his name is is a bit of a RudeBoy, but there's also no question that you fed the flames as eagerly as he returned them. Granted, he sounds like a bit of a dork, but he has that right, as do we all.

    --
    **>>BELCH
  49. OpenBSD usability by Raetsel · · Score: 2

    Please consider this:
    • When I had my first experience with Unix, it was Solaris 7 / x86. I didn't learn
    • squat from it because of that damn CDE shell -- I didn't know where to look for anything, and (with my windows-addled brain) I didn't understand where the equivalent of the 'control panel' was.

      Fast forward (slightly) to 1998. I now had a cable modem, and wanted to share it between several computers. I had learned about the differences between proxies and NAT, and tried several products that would run under Windows. All of those were commercial demos, with rather aggressive pricing. I was not impressed.

      I had seen comments here about OpenBSD, so I looked into it. I took an old P-100, followed the directions, and had a working NAT firewall in a day. I had learned more about UNIX in about a week (this includes reading time) than I had in 4 months with Solaris!

      Today, it's still there. The same hardware, at least -- it just got upgraded to OpenBSD 3.0

    The moral of this story:
    • If you have the patience, it is both simple and easy to use. I found it very straight forward and logical -- follow the directions, it will work.

      (Yes, I know -- that can be a big "if.")


    On a side note, I installed OpenBSD 2.8 on a Thinkpad last year... it found the sound card, the peripherals (3com ethernet & US Robotics PCMCIA modem), and setting up XWindows was a piece of cake -- there were config files readily available. Perhaps not incredible, but it was easier than installing Windows on the same machine, and that is impressive!

    --

    "...America's great minds of today, teaching America's great minds of tomorrow. Poor bastards." -- A Beautiful Min
  50. Well, in this case.. by Da+VinMan · · Score: 2

    ..I think enough /.'ers are sufficiently interested in the idea of "turn key" open source security solutions to warrant discussion of the product.

    Isn't that enough?

    --
    Please mod this post only if you think others should/n't read this. I have enough ego^H^H^Hkarma. Thanks!
  51. Saga of a Network Installation with SmoothWall by infernalC · · Score: 5, Interesting

    Some of this post is very on-topic, but I include the rest for context. Moderators, please be kind.

    I and a buddy recently completed a network installation for a small business. They had about 25 PC's in a 100-year-old wood-frame office building with asbetos everywhere and wanted these people to be able to utilize the Internet for such tasks as tracking packages via web sites, etc. They wanted to reduce costs by eliminating some 6 dialup accounts and free up phone lines for voice. They were less than a quarter mile from the local telco POP. So, they tried ADSL on one PC and consistently got about 1.5 Mbps down and about half that up. They loved it.

    They asked me as an independent consultant what they should do to get the access to the other PC's. We looked at wiring the building, but due to the structural nightmare of the building, we decided that for their needs we could go with 802.11b. We dropped several CAT5e lines to three locations in the building: the computer room, where their mission-critical apps run on an AS400, and two access point mounts we set up.

    We set up a SmoothWall box as their NAT since the evil ISP would only give us one static IP. It looked a lot better than FreeSCO. It was painless, absolutely painless to configure. But it had a shortcomming: it did not support PPPoE, which was necessary for the ADSL drop. Schucks! So we double-NATed using a little Linksys NAT/switch thingy to actually negotiate the PPP for us. We thought this would be nice because if someone were trying to hack in, they would have to circumvent 2 NAT's. We also thought it would have no significant impact on throughput. Big mistake (read on). Regardless, the NAT solution could remain in place should they ever want to add a stateful packet inspection firewall or something like that, or switch to better broadband, or even wire the building.

    We spent almost an entire afternoon trying to configure the blasted access points. They were DLink 1000AP's. I followed DLink's instructions to the letter. I have a little beef with DLink about requiring a Windows machine to configure the things, but I can overlook that. I installed the configuration software on my laptop and was ready-to-rumble. The software failed repeatedly to detect the access point using a DLink branded 802.11b client device (USB DWL120). So I tried step two, isolating the AP's on an Ethernet segment. They failed detection again. So I fed the software MAC addresses manually. This failed. I was using only one machine with a known-to-work crossover patch cable. What the *(!@?

    We eventually tried swtiching PC's, and then we noticed that the typeface DLink used to print the MAC addresses on their AP's made 5's look like 6's because the ink ran too much. I was really pissed. Upon getting the conf software to work on a desktop, I went back to my laptop to try again. It flat out wouldn't work with either of my 3Com CC10BT PCMCIA cards in different machines. Don't know why to this day; DLink couldn't help me on that one. But it did work on a desktop wit a 3Com 3c509b.

    So, we got the access points set up and clients on all the PCs. We set up WEP encryption and tried to hack around a little to get in without the keys. We made sure we altered the default network ID and set good hard-to-guess passwords. It was like butta, for just one day.

    Next weekend, we came back and hooked up more PC's. We went up to say 18 from 12. This is where we started having problems.

    We used MAC address control on the APs as we promised the company we would. But after hours and hours of trial and error, we discovered that after adding more than 17 MAC addresses to the control list on one AP, the AP would spontaneously loose all of its configuration data. This worked this way on both AP's. DLink was not helpful. We would later RMA one of these and the replacement would do the same. So, we ended up having to have control lists that were local instead of network-wide. This defeated the roaming feature of 802.11b entirely (although nobody has a laptop there right now, I don't like it one bit). It also causes more difficulty in configuring the damn things. My friend, who is an Apple Campus Rep, haunts me to this day with suggestions of buying their AirPort brand equipment and says it would work better. Anyway, we choose DLink 'cause it was a hell of a lot cheaper than Orinoco.

    We saved the company lotsa money on their dial-up. Next, we moved their web pages in house on a Red Hat box on a DMZ. DMZ wasn't all that in SmoothWall at the time (no hole poking), but it did what we needed it to. We moved their primary DNS to publicdns.org and set up MX records, the whole works. Set up a sendmail box. Set them up with PHPGroupWare. And, we encouraged them to make donations to the various projects which provided them with these fine products and services. I felt all warm and fuzzy. I had turned them into a free-software shop on commodity hardware and it all worked.

    After a while, I started getting phone calls from them saying their web pages were only accessible to some clients. I looked into this. I left myself a way to get in (a port forwarded to a pc with sshd, I had permission to do this), and so I hopped on in and looked around. I became acutely aware that my ssh sessions were being dropped very frequently. I kept getting some sort of error from my ssh client during sessions.

    We went back down to isolate the problem. We kept removing pieces of hardware from the network to figure out what the &*^% was going on, but found nothing. Then we learned SmoothWall had added support for PPPoE. We scrapped the Linksys, and we had no more dropped TCP sessions. It was freaky . I have seen the same problem affect two other people who used port forwarding since then with Linksys boxes (I help folks out on Mandrake Expert). SmoothWall had also added better DMZ support. I just have to say the system works beautifully.

    Other issues we encountered in the project were users compromising security by using AOL clients. AOL clients create VPNs which in theory could allow hackers to circumvent your company's security. Don't let your users do this.

    Oh, I almost forgot, the AS400. Up until we set them up with a network, they were using this shitty twinax serial network to talk to their AS400. It was expensive. It required shitty ISA adapters to be installed in every PC. It almost made me puke.

    At the start of the project in our proposal we told them that they should use encrypt everything, even internally, and that that was just common sense. We told them they could put the AS400 on the LAN and use ssh instead of those card-and-twinax interfaces. I even verified this with my fiancee's dad, an old-AS400-fart himself, before I promised them this. WE WERE WRONG.

    IBM told us they COULD NOT RUN SSHD WITHOUT BUYING A NEW MACHINE. That is such a load of crap, but we, having no experience with AS400's, could do nothing about it. The IBM man convinced them to run telnet. We told them we would take no responsibility for that. End-of-story.

    Hope this has been an informative venting session for all of you. Please note that there was some relevant content in here, and that SmoothWall solved some of my problems, and I think it is a great product.

  52. Introducing: sparse files! by psamuels · · Score: 2
    Really? I'm surprised.

    Yes, really.

    There are some applications where being able to allocate a big chunk of disk space for a buffer is important, and writing zeroes over it would slow things down. Are you sure there aren't any functions for doing so, hidden in the OS?

    Unix has a very useful construct known as "sparse files". Almost all Unix filesystems support them, though "non-native" filesystems (like FAT or ISO9660) do not. A sparse file appears to be just like any other file except for certain disk-block-sized "holes". The holes are not written to disk, do not count against disk free space or your disk quota, but in all other respects behave like regular disk blocks. If you read the file you get zeroes where the holes are. If you write to a hole it is "filled in" (of course, if you write less than a full block, the rest of the block is zeroed).

    Thus you can have a 30-megabyte file on a 10-megabyte filesystem, where the 30-meg file really only has 8 megs of non-zero content and 22 megs of zero blocks that don't really exist. If you try to write to the whole file, of course, you'll run out of space.

    Aside: this was the source of an interesting glitch with Samba. Windows Explorer copies files by creating the destination file the right size first, to make sure there's room for it, then filling it in (and not doing sufficient error checking on the latter part). The Samba developers had to "fix" Samba awhile back to make sure it created a non-sparse file in that situation.

    Similar deal happens with memory. You might think allocating memory would give you access to all kinds of potentially juicy stuff left over from the last process to use that memory. You'd be wrong. The OS clears the memory before letting you use it. With many modern processors, it's possible to optimise this, using memory management tricks, so it doesn't cause the performance hit you might expect.

    --
    "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
  53. another free alternative... (Re:sharethenet) by osolemirnix · · Score: 3, Informative
    ...is http://www.fli4l.org/, a one disk (floppy) router, comes with all kinds of add-ons (firewall, etc.).

    Works very nice for me.

    --

    Idempotent operation: Like MS software, wether you run it once or often, that doesn't make it any better.
  54. another free alternative: dubbele.com by DreamerFi · · Score: 2

    Based on NetBSD, and it has been around for a while..

  55. BSD Based firewalls by DreamerFi · · Score: 3, Interesting

    And there's plenty of others based on BSD freely available... see www.dubbele.com

    -John

  56. point your boss by DreamerFi · · Score: 3, Informative

    To the firewall at www.dubbele.com

  57. My Smoothwall review by juct · · Score: 5, Insightful
    Just a couple of comments to the Smoothwall answer to my review:
    My major concern is not, that somebody other than the administrator might log into the machine. The major issue of a firewall system is, to tighten security, not to remove existing security mechanisms like tight access rigts to sensitive files, shaddow passwords, etc. But that is exactly what Smoothwall does in direct comparism to any standard linux distribution.
    I'm sorry, if the text doesn't make it clear, that I'm not complaining about the format of files but about sensitive files with passwords or secret keys, that are world readable (ie mode 0644). Something like
    -rw-r--r-- /etc/ipsec.secrets
    is a bad thing - period.
    I made every effort, to get "printable" response from the developers. I wrote several E-Mails about the issues to Richard Morrel - who was named as contact person- and I went to the IRC channel of the developers. The only printable comment to the subject I got there is "This doesn't matter".
  58. Re:sharethenet (one of the originals!) by King_TJ · · Score: 2

    "Share the Net" is the first PC firewall/Inet sharing product I ever used. I have to give it a lot of credit for being there before almost all of the others. Back when it came out, it was worth the $70. I got several sales for its author because friends of mine were sharing their apartments/homes with roommates, and this product saved them from having to add extra phone lines so both them and their roommates could get online at the same time.

    (Sure, sharing a 33.6K or 56K modem with 2 people sucked - but it was enough for IRC chat and checking email.)

    In today's marketplace though, I think its age is showing. For starters, there's no reason to pay $70 for it, when better products are out there that are *free*! Second, SharetheNet hasn't been updated in quite a while, last I checked. It uses a pretty old Linux kernel version - and doesn't support a lot of features that have become standard in other firewall software products.

  59. Re-boots by why-is-it · · Score: 2

    Boot times should not be a great concern with a firewall; you should only be booting it once a year or so anyway.

    Once a year? Well, for those people who run firewalls on m$ products, once a week is more like it!

    I work for a managed service provider and we run a bunch of firewalls for customers. Everything runs under Solaris on suitable Sun hardware, and even then I would like to see them re-booted 3 or 4 times a year.

    Let's face it, UNIX rocks, but it does buffer lots of things in memory. One of my colleagues told me about a system he ran for two years without re-booting it, and when it finally was re-booted, it did not come up again. The occasional re-boot can't hurt it any. Besides, E250's and E450s boot in about a minute.

    --
    *** Where are we going? And what's with this handbasket?
    1. Re:Re-boots by hearingaid · · Score: 2
      Once a year? Well, for those people who run firewalls on m$ products, once a week is more like it!

      How about, once a lifetime. That should be enough to conclude MS Proxy is --- not so good. :)

      Solaris can be frightening at times. I'm not sure I would really want to run a firewall on it. (Lovely machines though.)

      However, 3 or 4 times a year comes into the "or so" part of my post. :)

      --

      my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

    2. Re:Re-boots by why-is-it · · Score: 2

      Solaris can be frightening at times. I'm not sure I would really want to run a firewall on it.

      I'm curious. What about Solaris would give you that opinion?

      IMHO, I would not want to run a firewall on anything else when it protects anything more a home LAN. The OS is quite stable, and it is widely supported by vendors.
      It would probably be more secure to run firewall code on something like a Mac (because there are not as many people out there trying to 0wn a Mac. But on the whole, I have no issues with Solaris.

      Unfortunately, in the corporate world, unless I can get a 24x7 maintenance contract from a recognized provider (IBM, GE, etc) Linux is a hard sell for mission-critical servers.

      --
      *** Where are we going? And what's with this handbasket?
    3. Re:Re-boots by hearingaid · · Score: 2

      Solaris has too much of a fondness for spawning daemons. It's also the OS of choice for university systems, which is where a lot of kiddies learn their trade.

      And then there's the whole sunrpc issue.

      As for running a Mac-based firewall: It's impractical with Classic, unfortunately. Classic is great for not spawning daemons randomly (which is why certain elements of the DoD switch over to it for their webservers), but it doesn't have any reasonable proxy solutions available.

      OS X, of course, is a different matter. I'm not sure how secure X is in general, but of course it's got all the *nix proxies available to it.

      Then again, I wouldn't want to run a Linux firewall either. Same problem as Solaris, except for the sunrpc obsession. :) I'd probably use a *BSD solution.

      --

      my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

  60. Re:well done /. community by travisd · · Score: 2

    So how much of the software that they used to make the prduct is GPL'd? Sounds like taking it proprietary is going to be a long road while they recreate all of the GPL's components - like the ones that they blame for insecure password storage, etc.

  61. Re: Unfair? How so? by King_TJ · · Score: 3, Insightful

    Almost all of the complaints I've ever seen lodged against Smoothwall were either accusations of the author being rude, a jerk, etc. - or accusations of GPL violations.

    I think it's pretty clear that they haven't openly violated GPL. (They had a previous version where some wording needed a couple small changes to fully comply with GPL, but those changes were made before the latest release.)

    As for the author, so what? The guy invested a lot of his time to give you a product that you can use for free. *That* is the bottom line. Is there a requirement anyplace that says you have to regularly report to Richard Morrell or interact with him directly in any way while you use Smoothwall? Not that I know of!

    I joined the Smoothwall mailing list for quite a while, and what I saw was a flood of beginner questions that could have been answered by the user reading the instructions (or by actually installing the product before asking if it did or didn't have certain features!). If I was the author, I'd get angry with these people after a while too.

  62. Re: Sounds like my #linux experineces on EFNet! by King_TJ · · Score: 2

    Have you ever had a truly good experience getting support on *any* IRC channel?

    I can't begin to count all the rude and insulting people I've run into on plain old channels like #linux when I ask a question about something.

    If I judged the quality of a product by that, I'd be 100% pro Microsoft by now!

  63. Re:Heh Try their IRC channel :^P by Suidae · · Score: 2

    You're right, after seeing the IRC logs some people have provided, I'm not going to bother with it.

    fli4l looks like it might work, and its floppy based, which is nice, since the win98+winroute setup I'm using now wont' be disturbed.

    What sucks is that the windows setup flawlessly detects and operates my Sportster 128 ISDN card without any intervention, but none of the linux-based stuff can even tell its in the machine.

  64. I had a good experience by EvilStein · · Score: 2

    The free smoothwall is good if you have one IP and a small LAN.
    I've got 32 IP addresses and the need for a DMZ. I contacted the Smoothwall folks about this, and received a prompt and detailed response. I got another response a few days later with an organized product map and descriptions of the products. The prices aren't bad, and aside from the odd crabby person on the IRC channel, the experience has been pretty good so far.

    I don't know one way or the other about the GPL violations... I just want a firewall product that's easy to deal with and *works* - ipchains/etc is too difficult for some clients to manage, but smoothwall isn't.