8 ms·
Dear clueless assholes: stop bashing bash and GNU
- chris_wot 12y agoI'm amazed that he's being bashed for this. There are a LOT of security flaws out there, this one is - as Stallman says - a blip on the radar.
- jimktrains2 12y agoWell. blip because it'll be fixed and we'll move on. It's not a game changer, it's a (major and very problematic) temporary annoyance.
- chris_wot 12y agoI have to say, it's ironic that weev is feeling offended by mild criticism though. Given he ran the GNAA to deliberately offend, it seems a little rich that he is so upset.
- rabite 12y agoYou're missing the point. The GNAA is built to offend worthless parasites who contribute nothing to the world. Social justice whiners, socialites, et al. Such garbage deserve no respect. Stallman is the antithesis of worthless parasitism. Stallman spent his entire life selflessly giving to the world, and the world gave him nothing but disdain in return. He's truly a prophet, like Diogenes or Ezekiel. He deserves respect, and he gets far too little of it.
- maximumoverload 12y agoHow is a "socialite" and "social justice whiner" different from "free software whiner"? Idiot. Also, RMS is a socialist if you read more of his writings. So you should go die.
- ci257 12y agoWas Kathy Sierra garbage?
- honestcoyote 12y agoweev's fame and notoriety is based on not only offending but also direct harassment, often of people who could not fight back. He's a classic bully & troll, and his opinions on this matter cannot be taken seriously.
- jsmthrowaway 12y agoNobody is bashing Stallman, least of all that Guardian article. I'm honestly not sure what weev is trying to white knight here, but the post is so hilariously off base that I lost what respect for him I had. The point made in the G by an interviewee (not the author) about the Bash codebase and undermining "all bugs are shallow" is actually quite good in the face of two giant counterexamples, and I would have liked to have seen Stallman counter that. He didn't, and instead took another opportunistic shot at proprietary software, just like the FSF's tone-deaf statement. That weev would get The World vs. Stallman from that, then invest his time into a defense of poor Stallman and shame the world for not giving him money (when his politics and ideals create an economic scenario where he is unlikely to ever receive money from those who benefit most, and ostensibly he accepted this decades ago), is just bananas. I will continue to criticize whatever I like, bash's codebase and GNU process potentially being on the list, and I do not need weev's permission or acceptance to do so. Maybe if we on HN and in Silicon Valley culture found his racial epithet organization amusing, he wouldn't have to talk about us like a lower class.
- chris_wot 12y agoGiven that rms never said the "all bugs are shallow" statement, I'm not surprised he didn't comment. You are thinking of ESR I think.
- jsmthrowaway 12y agoDidn't say it was his. He can comment on it when the topic is process failures that led us to this situation (not saying whether there were any, mind, just that's the topic).
- chris_wot 12y agoFair enough. However, it's possible that there weren't many eyes on the code. Now there are... it will be interesting to see if someone forks bash.
- aet 12y agoAlso -- it's not clear that he is being bashed. Can someone post examples?
- keithpeter 12y agoIs it actually the case that Stallman has no permanent home? If so, is that by choice or circumstance? He has done so much.
- jiggy2011 12y agoAFAIK it's mostly choice, he spends a lot of his time travelling and doesn't have a family.
- Goopplesoft 12y agoThis post might shed some light into Stallman's lifestyle: http://gizmodo.com/5853729/please-do-not-buy-richard-stallman-a-parrot-and-other-rules http://gizmodo.com/5853729/please-do-not-buy-richard-stallma...
- oftenwrong 12y agoOn his personal FAQ, he says: >Until around 1998, my office at MIT was also my residence. I was even registered to vote from there. Nowadays I have a separate residence in Cambridge not far from MIT. However, I am rarely there, since I am nearly always travelling out of town. https://www.stallman.org/rms-lifestyle.html https://www.stallman.org/rms-lifestyle.html In general, there is a lot about RMS that runs contrary to societal norms. He marches to the beat of his own drummer.
- jsmthrowaway 12y agoAnd he wants it that way, which weev missed, apparently.
- clarry 12y agoSo is it wrong to criticize bad code for being bad if it was written by Mother Theresa? I think that if code is bad, it should be pointed out. Some will take it as bashing. Doesn't matter. We all want to run well written, secure software. When you're getting exploited, it doesn't matter if the code was written by a saint.
- woutervdb 12y agoWhat you're missing here, is that bash wasn't the software with an error. It's like you use ice cubes for building a house, observing your house is melting and then blaming the developers of ice cubes for making such horible building blocks. Ice cubes were never meant to be used to build houses with.
- clarry 12y ago> What you're missing here, is that bash wasn't the software with an error. Is the FSF wrong for issuing a statement which says A major security vulnerability has been discovered in the free software shell GNU Bash. The most serious issues have already been fixed, and a complete fix is well underway? I think you missed the news that there's a bug in bash. And if you're making the argument that bash should've not been used in the first place because it's an ice cube or fragile or whatever, then you are with those who make the argument that bash is bad code.
- woutervdb 12y agoI know about Shellshock and I know what it means. However, I think it's wrong to blame bash for the fact that almost everything seems to be vulnerable. Those developers were wrong by using untrusted user input in places where it didn't belong. It's the FSF's responsibility to release a fix simply because the whole world depends on their (the world's) own stupid mistakes when developing their programs.
- vertex-four 12y ago> Those developers were wrong by using untrusted user input in places where it didn't belong. Environment variables are text. So long as you control the name of them, and the name doesn't conflict with any other name in the system, there should be absolutely no issue with putting user input into environment variables. Programs like bash should only be executing things that are explicitly marked as trusted code through a flag that is not contained in the value. Some distros have implemented a patch to this effect already in bash, disallowing bash from treating any environment variable whose name doesn't start with BASH_FUNC_ as anything but text. This resolves every single related vulnerability out there.
- vezzy-fnord 12y agoProtip: Just because it's a GNU project doesn't mean RMS is behind it. RMS is an invaluable figure, but sometimes the cult of personality around him is ridiculous (though I'd wager this is mostly because of him becoming a 4chan meme).
- quakershake 12y agoAnyone who bashes open source code for bugs is an idiot. Maybe the "community" should start auditing code instead of blogging and tweeting about how awful things are. This functionality has been around for so long it is generational. +1 to the person(s) responsible for finding this. Everyone complaining should stfu
- nailer 12y agoI actually think it's fine to have an opinion on any piece of software. However weev is completely correct in telling people that shell environment variables were an obviously bad place for arbitrary data set by people on the internet back in the 90s. The shell wasn't designed for that, it's known to be insecure. HNs defence of Apache doing silly things seems to be more love of Apache and lack of knowledge of Unix fundamentals than hate of free tools.
- quakershake 12y agoAgreed. Misuse is a problem. However sometimes being too flexible opens itself up to unintended misuse. It seems as if though foss is so reliable that people start to act entitled when shit hits the fan. Software has never been problem free and never will. I'm just glad I haven't seen a libreBash or some other lame fork instead of just adding more eyes to the existing functioning project.
- hiphopyo 12y agoIsn't Zsh basically libreBash though?
- quakershake 12y agoNo. As far I as I know it is not a fork. Forking b/c of an overreaction due to a "bug" that was patched as soon as it was reported is asinine.
- nailer 12y agoBash is already libre - see http://www.gnu.org/software/bash/ http://www.gnu.org/software/bash/
- thegeomaster 12y agoI think that bashing bad code, bad practices and whatever lead to any security-critical bug (and any bug whatsoever, for that matter), should happen. If there weren't rants, flame wars and insults in the free software movement, I guarantee it wouldn't have come near where it is today. It's a big part of what drives innovation in all spheres, not just this one: the harsh (and not-so-harsh, sure) comments, the passive-aggressive forks, the rewritings, the heated discussions. But bashing a person for writing that code? Never. I can't say my views on software politics are aligned with Mr. Stallman's, and neither I can say I have given that much thought to them. But I have enormous respect for everyone who has contributed to free software and helped shape the world, even with the smallest contributions... And Mr. Stallman's are one of the biggest. Everyone in this area should have the deepest respect for the enormous amount of work this man has done, and given it all to the community. It's hard, if not impossible, to stumble upon an anticonformist such as Stallman, who honestly does not care about the superficial things we all, unfortunately, do. I guarantee he could've leveraged everything he's done and been a multi-billionare by now. Instead he decided that the benefit the community can get from his work is far greater than the benefit he himself can get, so he did the only moral thing to do: he gave it all for free. And look at the GNU project now, or the FSF. Magnificent stuff. Mistakes such as this one (and a great majority of developers make dozens of these on a weekly basis), are probably the most idiotic reason to call out a person for incompetence or senility. It's ridiculous. It's completely unacceptable to now demonize a man such as RMS, if not for other reasons, then because none of us will probably ever come close to what he has done to change this world for the better.
- jjnoakes 12y agoI see many people calling him out not for making a mistake, but for downplaying its significance when confronted with its full ramifications. I agree that mistakes happen. But someone who deserves respect, in my opinion, owns up to mistakes and tries to get them fixed. Someone who downplays the mistakes in order to save face deserves nothing from me.
- Donzo 12y agoI don't think he wants anything from you. Perhaps you're putting too high a premium on your gratitude.
- bjornsing 12y ago> Anyone that has untrusted input embedded within a shell script does not know what they are doing. That's obviously false. To the contrary, I have serious concerns about the judgement of anyone that thinks an interpreter like bash should parse the contents of every environment variable on startup.
- Mankhool 12y agoI stopped reading at, "a__holes".
- Mankhool 12y agoMr. Auernheimer needs to learn to write like an adult if he wants to be taken seriously.
- hahainternet 12y agoStopping reading because someone said something offensive is not an adult behaviour, so the irony here is palpable. Read the fucking article.
- zak_mc_kracken 12y agoThe problem is not being offensive but being childish. The vocabulary used gives you a hint about the level of arguments you are about to read, and if you read the rest of the article, you realize that the author of the post is indeed quite immature.
- cpncrunch 12y agoThe article was fairly mature. However what would make me more skeptical about anything weev writes is the fact that he is an angry paranoid due to his drug use (http://seclists.org/fulldisclosure/2009/Oct/82 http://seclists.org/fulldisclosure/2009/Oct/82). His account of his gay hacking incident is interesting. How could he possibly know it was gay people who flagged his posts ? That's either paranoia, ironic trolling, or homophobia. I thought maybe he was just trolling when he says that gay people flagged him, but after reading the Lisa Simpson post above, I think he might actually believe it. No intelligent person would do drugs like heroin if they did a little research and understood about neurotransmitter receptor downregulation. Basically, doing any drugs (including alcohol, caffeine or nicotine) will downregulate your neurotransmitter receptors for up to 2 weeks after a single dose (depending on the amount), resulting in the exact OPPOSITE effect of the drugs for up to 2 weeks afterwards. (With chronic use, the downregulation can take years to reverse). In summary, he is one truly fucked up dude due to the drugs.
- Tharkun 12y agoWhat does Shellshock have to do with RMS? RMS didn't author Bash. And I can't see any Shellshock related RMS bashing. So why the angry post?
- fmoralesc 12y agoThere was a backlash of sorts against the statement the FSF did regarding Shellshock.[1] [1]: https://www.fsf.org/news/free-software-foundation-statement-on-the-gnu-bash-shellshock-vulnerability https://www.fsf.org/news/free-software-foundation-statement-...
- tim333 12y agoThe Guardian seem to have chatted to RMS as the most prominent advocate of free open source software.
- zak_mc_kracken 12y agoSo there's been one article that is mildly (to put it nicely) critical of rms about the ShellShock exploit and this guy blows a gasket calling thousands of people clueless assholes? He needs to grow up.
- dschiptsov 12y agoThe clueless assholes could not be stopped, because it is another name for the vast majority - the 84%.) The problem is the same as with openssl's flaws - when we accept all the contributions without detailed code-review we often incorporate code written by over-enthusiastic amateurs (and sometimes even over-confident idiots). Lots of problem of really open open-source projects (sorry for this tautology) are from the fact that they are open for everyone. Imagine everyone could commit (without code review) in Haskell compiler tree, Linux kernel or, say, OpenBSD. But in early times of GNU movements this was a very common case. So, the problem is in the lack of code-reviews, not in GNU movement, let alone Stallman himself. It is quite easy for ignorant to under-emphasize the importance of GNU tools to what we now call the Internet. It is not just bash, which is very important tool, but in the first place Emacs, GCC, Binutils, GNU make, flex, bison - all the development tools which made possible the raise of early BSD and Linux systems. It is impossible to imagine the world of free, open source software without GNU toolchan. Nowadays I very much like the example of nginx - it has bigger market share than IIS, while originally was a solo effort, compared to millions of dollars and man-hours which have been spent on development and marketing of IIS. This is how open source model works. Another good example is Erlan/OTP.
- mackwic 12y agoOh come on, you can't seriously say that Erlang/OTP is good open source. It's mildly-good corporate open-source, that's not making it good open source in any way. But that's off-topic. The thing is, code review is a necessary thing where the audience is large, the tool is critical, and the tooling (here, the compiler) doesn't give any warranty in term of code correctness. Code review are important, but it's an human process, which have its own flows and inconsistence. That's no silver bullet, no more than static checking, strong typing, and test suites. If you want to warrant, you'll have to prove. If you want to prove, you'll have to take time and do it mathematically. This process would have killed any OSS project, that's simply not feasible. Shit happens, man. That's no reason for protectionism, elitism, and OSS aristocracy. OSS is open and should stay open whatever it cost, period. Moreover, even if this hole is big, environment has always been a real security hole in Unix. ksh, anyone ? Or worst: csh ? The situation has greatly improved since, and we have all rights to be disappointed to lost a security we all took for granted. That shouldn't make us forget the road we already crossed.
- theoh 12y agoI think this post misses the point. It is notoriously difficult to write robust code for most varieties of unix shell. This has been the case for decades. It's a bad situation and the GNU project's attempts to remedy it (e.g. Guile) haven't got any traction. It is an embarrassment.
- wirrbel 12y agoI really love the idea of GNU, yet the FSF seems to more interested about "principles" than shipping good code and empowering collaboration. In times of Github and low-entry barrier participation, GNU sticks to the old ways like a dinosaur - petrifying. It reminds me a little of vim, as bash, it has a really old code base, old-style function headers (not ANSI C). For Vim it took a github-based fork (neovim) to get a big community on board, establish tests and perform the necessary refactoring. All of this is great, just as the work of the founders of these programs. The criticism is not aimed at the work that was done by the "founders" of these landmark programs, but the stagnation of development and refactoring.
- anon1385 12y agoThe FSF are quite explicit about the fact that they don't really care about code quality. Their recent statements about shellshock are just the most recent examples of that. GNU is primarily a political project, not a software project. If you want software that puts code quality ahead of politics then you should look to one of the BSDs.
- mempko 12y agoIf you see a TV on the side of the road and take it. Is it the person's fault if it burns your house down? I am not saying programmers who make free software leave it out like garbage. I am saying people who use free software for their benefit treat it that way, yet act as though they bought it.
- teamhappy 12y agoAnybody know Bryan Lunduke? He's a guy giving talks called "Linux sucks" in which he basically bashes Linux for 20 minutes and then concludes that Linux is the best FOSS OS community because they can take the bashing (get it?). He's been giving these talks for quite a while now. Everybody knows Theo de Raadt is crazy (and Stallman isn't) and of course everybody knows Apple fanboys tear up every time somebody implies Apple software has a bug in it. In my experience it's the exact opposite. I've been hearing a lot of explanations for the bash debacle in the last couple of days and they all amaze me to a certain degree. Let me share a couple of them with you. 1. Total breakdown - "No software is ever safe, so what the hell do you want from me." Yeah, well ... don't write software then. 2. It's not my fault - "Bash is written in C. C is unsafe." Quite a lot of people write safe, well tested, maybe even formally verified C code. So, yeah ... don't hack in C maybe. 3. Linux is still fine - "Bash is just a tiny part of Linux. The rest is still good to go." Turns out the bash codebase looks a lot like the rest of the GNU/Linux universe. Old, untested C code that's hard to read and even harder to understand. That's why nobody dares to touch it in the first place. 4. It's FOSS - "You can't expect anything to work. Cause, you know, it's free." If that were true, using FOSS would be a terrible idea. 5. You're using it wrong. ... just wow. Can't we just all agree that this kind of thing is an endemic problem in most of the code bases we use (including my beloved FreeBSD) and we have to figure it out over the next couple of years. There are loads of tools that should have never been implemented in C/C++ in the first place (SSH, Make, APT, etc.). I'd say the best idea is to port a lot of these code bases to languages like Go or Rust maybe, but if that's not feasible for some reason, at least write some unit tests and do static code analysis. And, this is probably the most important point, if you don't want to do any of this, please don't make lame excuses when it all falls apart eventually.
- quakershake 12y ago"There are loads of tools that should have never been implemented in C/C++ in the first place (SSH, Make, APT, etc.). I'd say the best idea is to port a lot of these code bases to languages like Go or Rust maybe, but if that's not feasible for some reason, at least write some unit tests and do static code analysis." This is the exact problem with everything today. Languages do not make bugs, people do. If that weren't the case, there wouldn't be bugs is python/ruby/shell/etc. Rewriting something is only guaranteeing that more bugs be created initially. And all the time and effort gets you..what? The same thing that was just patching in a different language. Awesome... You should be familiar with "bikeshed" being a freebsd user..
- gandalfu 12y agoI just joined the FSF.
- Pxtl 12y agoam am I the only one who has always been kind of creeped out by environment variables? They just seem to exist so far outside of the normal security system.
- judk 12y agoReplace "environment variables" by "command line arguments", and the issue is essentially the same
- cpncrunch 12y agoNot really...you have to actually make some effort to parse a command line argument (and you would hopefully do some sanitization at that point). The problem with environment variables is that they are passed automatically from parent to child processes.