Search Results: "willi"

3 April 2006

Uwe Hermann: HOWTO: Disk encryption with dm-crypt / LUKS and Debian

A few weeks ago I published a small HOWTO for using loop-aes to encrypt your hard drive, usb thumb drive etc. As I have bought a new 300 GB external USB disk drive on Friday, I have tried something new this time: disk encryption using dm-crypt / LUKS. It has been suggested to me multiple times that dm-crypt is superior to loop-aes, however I didn't get a real reason. Yes, it doesn't require any kernel patches and is easier to setup. But has any serious cryptographer looked at it sharply, yet? Did it withhold his eye contact? Anyways, here's how I encrypted my 300 GB drive. I largely followed the guide at the EncryptedDeviceUsingLUKS wiki page...
  1. Make sure you run Linux 2.6.16 or better. Previous versions suffer from an implementation problem which affects the security of dm-crypt, see Linux Kernel dm-crypt Local Cryptographic Key Disclosure.
  2. Enable the following options in your kernel:
    • Code maturity level options
      • Prompt for development and/or incomplete code/drivers
    • Device Drivers -> Multi-device support (RAID and LVM)
      • Device mapper support
      • Crypt target support
    • Cryptographic options
      • AES cipher algorithms
  3. Overwrite the whole drive with random data in order to slow down attacks on the encryption. At the same time perform a bad blocks scan to make sure the hard drive is not going to die too soon:
    badblocks -c 10240 -s -w -t random -v /dev/sdb
    Replace /dev/sdb with whatever is correct on your system. If you're really paranoid, and are willing to wait one or two days, do this:
    dd if=/dev/urandom of=/dev/sdb
  4. Install the required packages:
    apt-get install cryptsetup hashalot
    The current cryptsetup in Debian already supports LUKS, which was not the case a while ago, if I'm not mistaken.
  5. Create one or more partitions on the drive:
    cfdisk /dev/sdb
    I created one big 300 GB partition, /dev/sdb1.
  6. Setup LUKS:
    cryptsetup --verbose --verify-passphrase luksFormat /dev/sdb1
    Enter a good passphrase here. Don't spoil the whole endeavour by chosing a stupid or short passphrase.
  7. Open the encrypted device and assign it to a virtual /dev/mapper/samsung300gb device:
    cryptsetup luksOpen /dev/sdb1 samsung300gb
  8. Create a filesystem on the encrypted device:
    mkfs.ext3 -j -m 1 -O dir_index,filetype,sparse_super /dev/mapper/samsung300gb
    I used ext3 with some optimizations, see mke2fs(8).
  9. Mount the encrypted partition:
    mkdir /mnt/samsung300gb
    mount /dev/mapper/samsung300gb /mnt/samsung300gb
    That's it. Everything you write to /mnt/samsung300gb will be encrypted transparently.
  10. For unmounting use:
    umount /mnt/samsung300gb
    cryptsetup luksClose /dev/mapper/samsung300gb
After unmounting, nobody will be able to see your data without knowing the correct passphrase. Drive is stolen? No problem. Drive is broken, and you want to send it in for repair without the guys there poking in your data? No problem. You leave the USB drive at home and some jerk breaks into your house, steals your drive, rapes your wife, and kills your kids? No problem. Well, sort of, but you get the idea ;-) There's more things you can do, thanks to LUKS: have multiple passphrases which unlock your data, change/add/remove passphrases as you see fit, etc. Comments?

30 March 2006

Jos Parrella: auto-eject-cdrom 0.3

Today my boss asked me for a method to clearly umount and afterwards eject a CDROM media on the event of trying to eject the tray using the drive button. I googled around a bit and found auto-eject-cdrom, in the public domain, and originally written by Jens Axboe, from SuSe, and Peter Willis, in 2001 and 2005 respectively. The problem with this little application is that it was unable to eject both my boss drive and mine. It did umount the filesystem but did not eject the tray. So I dig into the code and found that it used plain, old cdrom events, handled by the cdrom kernel module. The event was, in fact, defined in <linux/cdrom.h> as:
#define CDROMEJECT 0×5309 /* Ejects the cdrom media */ I found out that using system (”eject”); as my quick and dirty solution after the umount was working ok, but I was losing performance because eject is used for ejecting floppy disks, tapes and several other media. In fact, eject can figure out which media is he working with so he selects the proper method of ejecting, but I was bitten by the curiosity. So I implemented both the cdrom commands and the SCSI commands for ejecting the tray, in two functions, copypasted from the eject.c, previously apt-get source‘ed and I’m putting this interesting piece of code to the public domain (most likely it should go with a GPL license, since I used GPL’ed code on it) here: auto-eject-cdrom v0.3. A relevant and important piece of code goes now:
        /* Here I use two different methods for ejecting the CDROM. This is for fun only,
           since I could use system(\"eject\"); but this is the dirty hack. Here I use the only
           two CDROM-related eject functions from the eject.c file of the eject program
           by Jeff Tranter (tranter@pobox.com) - Note by Jose Parrella  */
Installing is just a matter of compiling and copying to /usr/local/sbin and running it as auto-eject-cdrom &. I hope it’s useful for those of you who can not afford to use one of the keys of your keyboard to assign the eject command to it. Enjoy!

29 March 2006

Anthony Towns: Indolence in the news

Via tha ABC:
Queensland’s Police and Corrective Services Minister Judy Spence […] told Parliament […] “Palmer and Comrie got it right, the Department of Immigration is unwilling to review and reform itself and it isn’t helped by an incompetent and indolent minister who isn’t willing to push these reforms.”
So today’s award for the promotion of indolence as a term and a lifestyle is jointly awarded to Ms Spence and Ms Vanstone! Congratulations to both our winners!

28 March 2006

Edd Dumbill: Ajax day finalised

I've got some exciting news about the Ajax Developers' Day at XTech, which is on Tuesday 16 April.  Ajax guru Alex Russell of the Dojo toolkit project will be delivering the day's keynote presentation. He's subjecting himself to a punishing flight schedule on our behalf, so I'm grateful that he's able to take part.

In addition, Yahoo! genius Simon Willison will be chairing the Ajax day. As well as delivering a talk on the Yahoo! interface toolkit, Simon will be marshaling the speakers and discussion so everybody gets the best out of the day.

Be there, or forever regret your old fashioned UI.

Uwe Hermann: People should not be afraid of their governments. Governments should be afraid of their people.


Voil ! In                                                       view, a humble
 vaudevillian                                                  veteran, cast 
  vicariously as both                                         victim and
   villain by the                                            vicissitudes of Fate. This 
    visage, no mere                                         veneer of
     vanity, is a                                          vestige of the
      vox populi, now                                     vacant,
       vanished, as the once                             vital
        voice of the                                    verisimilitude now
         venerates what they once                      vilified. However, this 
          valorous                                    visitation of a bygone
           vexation stands                           vivified, and has
            vowed to                                vanquish these 
             venal and                             virulent                   Remember, remember the 5th of November
              vermin                              vanguarding
               vice and                          vouchsafing the
                violently                       vicious and
                 voracious                     violation of
                  volition. The only          verdict is 
                   vengeance; a              vendetta held as a 
                    votive, not in          vain, for the
                     value and             veracity of such shall one day
                      vindicate the       vigilant and the
                       virtuous.         Verily, this 
                        vichyssoise of  verbiage 
                         veers most    verbose
                          vis- -vis an introduction,
                           and so it is my
                            very good honor
                             to meet you
                              and you may
                               call me
                                  V.
Yes, I've seen V for Vendetta today. Very impressing movie, highly recommended! Makes you start to think...

26 March 2006

Wouter Verhelst: Dear lazyweb,

I'm looking for a calendaring application with the following features:
  1. Must have a (limited) command line interface. I want to be able to view my appointments of the day in plain text format, so that I can put that in my .profile; it'd be nice if it allows me to view my appointments on any random date, but that isn't required. Moreover, when someone sends me a meeting invitation, I want to be able to pipe the ical file into something which puts it in my calendar, with optionally also sending an email to the person who sent me the invitation that I'm accepting it (optionally, as in, it must have the feature, and it should allow me to decide whether to send the mail on a case-by-case basis, not as in it would be nice if the feature existed.)
    More command line features are nice, but not necessary.
  2. Must have the ability to export ical files to a text file on my local hard disk; must not require me to set up a server with some weird login scheme and ditto protocol so that I can please put my webcalendar somewhere—and no, I won't sign up for one of those "free" webcalendar services. I'll put it online myself, thank you very much.
    This requirement rules out evolution, unless I missed some plugin somewhere (I don't think so).
  3. Must have basic calendaring functionality. I.e., I should somehow be able to get an overview of my appointments of any given day, to get a weekly, monthly or yearly overview, to print out things, etc.
  4. Must not require ages to start up. This, definately, rules out evolution. When I have a phone call, I want to be able to see within a few seconds whether I'm available at any given time.
  5. The ability to synchronize my calendar with my cellphone somehow would be nice, but isn't absolutely required. I'm willing to jump through a number of hoops here. Note that gnokii supports my cellphone.
Suggestions are welcome.

Jos Parrella: FLISOL Caracas: Ending

The Latin American Infest finally ended yesterday. In Caracas, it was a week of hard work with people of the Science and Technology Department and the IT Office (government offices) but the event in Caracas ended succesfully. It was a world-class event featuring renowned keynote speakers who spoke about Web Development using Frameworks (featuring TurboGears, Rails and Catalyst) and software development paradigms migration from privative platforms to GNU/Linux (Gambas and Mono). Other talks included basic security in Debian GNU/Linux and a speak about electronic signature security by an officer of the Venezuelan Government CA. We had a speak about Clusters, hosted by a female member of the Venezuelan Free Software Community and Debian User, and a speak about Free Software in the Venezuelan Education, by a 16-year-old Venezuelan GNU/Linux user and a willing Debian Maintainer. Of course, the Installation Festival took place in the Knowledge Square, in the Auditorium Building Lobby, with the extraordinary support of the Venezuelan Free Software Users Community. Debian GNU/Linux Sarge netinst and CD1 was distributed (several hundreds) as well as Knoppix and Ubuntu Hoary. Ernesto Hern ndez-Novich (maintainer) and me wore Debian T-Shirts on Saturday, and he made a great speech about the Project, named “Debian is inexorable“. We had demonstrations of Linux on a Mac Mini, using XGl and presenting several applications, as well as Debian running Enlightenment on an old Presario 1246 laptop. I would like to thank all the speakers and the attendees for making of FLISOL Caracas a great event. More information about FLISOL Caracas is in my blog and the homepage (spanish). Pics are here.

21 March 2006

Ross Burton: Go Rowan Go

Vicky and myself have said this before, but I'll say it again. For the top man in the Church of England, the current Archbishop of Canterbury Rowan Williams is surprisingly moderate, progressive and possibly even cool (via The Guardian):
The Archbishop of Canterbury, Rowan Williams, has stepped into the controversy between religious fundamentalists and scientists by saying that he does not believe that creationism - the Bible-based account of the origins of the world - should be taught in schools. … Dr Williams spoke of his determination to hold the third-largest Christian denomination together in its row over the place of gay clergy. He was also highly critical of parts of the church in Africa and said he did not wish to be seen as "comic vicar to the nation", speaking out on issues where he can make no difference.

20 March 2006

Matthew Palmer: The Curse of the Podcast

Over the past week or so, I've decided to get around to listening to some of the "amateur" (in the same way that Open Source software is "amateur") podcasts that I've collected in the past couple of months (primarily so I can either archive them, or delete them and free up a bit of HDD space). As a great fan of radio, I've been pretty disappointed at the quality of the podcasts I've listened to. While I hadn't expected the BBC world service, there are a number of quite common mistakes I've noticed across several of the podcasts I've listened to. In the spirit of kaizen, I've noted down the really bad things that I've noticed, in the hope that someone who does a podcast, or is considering doing a podcast, might keep these simple mistakes in the back of their mind and avoid them. No podcast I've listened to so far has exhibited all of these symptoms (there's no way I would have gotten to the end of that hypothetical nightmare audio file) but most have exhibited at least one of these flaws. For a better general idea of how a good podcast might sound, listen to professional radio for a bit -- a lot of good shows are podcast themselves these days -- and get an idea of what a good show looks like. I'm also prepared to go further than just bitching about podcasts. If you do a podcast, and would like my (unprofessional but oh-so-opinionated) assessment of your podcast, please e-mail me at mpalmer@hezmatt.org with a link to your podcast, and I'll try to give it a listen and honest critique.

19 March 2006

Rapha&#235;l Hertzog: My favorite candidates

So the DPL vote just started and I crafted my ballot. So it’s my turn to give you my opinion on the various candidates. Here’s my top 3 by order of preference:
  1. Jeroen van Wolffelaar
    I had the occasion to work with Jeroen due to our common involvement in Debian-QA and his work on the PTS. He’s only Debian Developer since 2004 but he’s the proof that you can get involved in core teams if you’re willing to work. His commitment to Debian is impressive. He’s also a strong proponent of the DPL team concept, and he managed to gather a well-balanced team. With some changes to the DPL team concept, this can make a big difference this year. Yes, I hope to be able to serve the project as a member of his team.
  2. Steve McIntyre
    I worked with Steve on numerous occasions due to our common involvement in debian-cd. He’s very moderate, appreciated by many people and could be very effective in mediating internal conflicts since he’s not involved in any core team. I look forward working with him, his platform is very attractive.
  3. Anthony Towns
    Anthony has been doing a great job for a long time, and I really appreciate his efforts to communicate what he does. I like his idea to bring momentum to the project… and he proposed the last general resolution to bring us to a conclusion on the GFDL problem. That’s the kind of initiative that I’m also expecting from a leader. His strong opinions do not suit everybody but at least he’s trying new ideas.
All the other candidates are well-intentionned (except one) but they do no match all my (fuzzy) criterion for a good DPL.

Daniel Burrows: Memcheck good; Fry's not so good

So, after finding a CD that had memcheck on it, I ran a memory test on the new system I had assembled but couldn't get working. Unsurprisingly, it produced a bunch of errors, especially in test 8. I tested the memory modules one at a time, and confirmed that one of them reliably failed test 8 with, while the other survived multiple passes of memcheck's whole arsenal of tests without skipping a beat.

OK, no biggie; I got a bad RAM chip, I'll return it. So we take it back to Fry's, I explain that I ran a memory checker on one of the chips and it came up bad (I even helpfully gave them a note indicating which of the two seemed to be the problem), and asked to exchange it for a new chip. The customer service guy vanishes, then comes back a while later with a different chip in a box. As we're preparing to leave, Kate notices that the "new" box is opened. "Why's that?" she asks. "Oh, testing," the customer service guy says.

Testing. That's good, right? So we shop a little, take the chips back, and I plug them in. I figure, hey, never hurts to be too careful, and boot up memcheck. BAM! Within half a second the screen turns red with errors. In comparison, with the first set of chips I had to run the tester for up to fifteen minutes before I got a test failure. Trying the chips individually, I discover that 300MB on one is just (as far as I could tell) gone. It fails every single test. The other one survives the first few checks, but fails test 8 just like the other bad chip I had. [UPDATE: it's actually not that bad; it does seem to have problems, but it doesn't fail on every single run of test 8, and it was able to run the Kororaa live CD]

Now, as I see it, we have the following possibilities:

(a) My luck sucks and I just got three bad chips in a row.

Possible, but I've bought at least a half dozen memory chips in the past (not counting ones that came in preassembled systems) and I'm pretty sure this is the first, maybe second time I've seen a bad one. Three in a row? That's ridiculous.

(b) I screwed up and blew out the chips while installing them.

Unlikely for the same reason as (a). I may be shaky on some hardware stuff, but I know how to install DIMM chips. Killing one might be in the realm of possibility; killing three out of four? Don't think so.

(c) The chips aren't compatible with my motherboard.

The chips are listed as being DDR400, which ought to be perfectly compatible with the motherboard. They are installed in the proper configuration (according to the motherboard's manual); besides, one memory chip worked just fine.


Assume that (b) and (c) are indeed false: the chips are really bad and I didn't destroy them. This, combined with the fact that Fry's "testing" didn't catch the blatantly obvious problems with one of the new chips, make me wonder if

(d) Fry's decided to save costs by handing me a pair (maybe even two pairs) of chips that another customer had returned, on the theory that returns are on average spurious.

The main problem with this theory is that I don't see why they wouldn't have resealed the package; maybe they just suck at testing memory or didn't bother to. On the other hand, I have seen a number of complaints online about Fry's and other big retailers engaging in this practice. (e.g., Google for "Fry's restock")

Either way, whether it's deceptive practices or just plain incompetence, I'm afraid this hasn't left a particularly good taste in my mouth about Fry's, and I'll probably just try to get a refund and buy the memory elsewhere. The only downside is that "elsewhere" more or less means "online", which means no instant gratification. However, since "instant gratification" in this case has been more like "instant non-gratification", I'm willing to live with that.

14 March 2006

Edd Dumbill: New XTech web site, and why we don't sell presentation space

My too-long absence from writing much here can be ascribed to two, differently pleasant, activities. First, a fantastic vacation in Cuba, and second, the redesign and launch of the XTech web site. Of the first, come to my place for dinner and I'll bore you at length about how amazing it was. Of the second, I'd like to bore you right now! Thanks to Ruby on Rails and a few late nights, the XTech site now has these new features: A few more details on the Ajax Developers' Day. As I mentioned before, when putting together the schedule we felt there was a lot of excellent content still missed out (I'm still feeling guilty at having rejected proposals from many good friends and excellent speakers). So, we put together an extra day at the beginning of the conference where we could go further into detail on Ajax technologies. This day, featuring speakers such as Simon Willison from Yahoo!, XML expert Kurt Cagle and OpenLaszlo's Max Carlson, will allow those working on Ajax projects--either deployment or toolkits--to meet, discuss best practice and move forward on new ideas. Although it's a day-long event, we didn't want to make the price tag as high as a full-day tutorial, so you can register for the cost of a half-day tutorial. A few implementation details If that all sounded a little like advertising, here are some technical details worth sharing. The site's CMS is built on Ruby on Rails. Development was done on Linux, with the help of WINE to check out the view from Internet Explorer. The newsletter is managed by the absurdly wonderful CampaignMonitor. This conference not for sale Before I went on vacation, there was some debate in various quarters about paid-for plenary and keynote slots in conferences. Though I hope it is obvious, I wanted to state where I, and thus the XTech conference, stand on this issue. It has always been my policy to maintain a strict separation between the commercial and editorial aspects of XTech. Although each year there's always a company who thinks they can buy a speaking slot, I never let this happen. The content of the conference is formed by editorial selection by the programme committee, who take the scores from the peer review panel as their primary guide. Aside from what I hope shows in the excellent quality of the talks and generally interesting keynotes (yes, we get it wrong occasionally!), there are two effects on the conference. I hope this explains a little of my position. As a stance, it often creates more issues for me than it solves, but I believe it preserves XTech's reputation as a conference where you can hear some of the best no-fluff presentations on web technology.

Jos Parrella: Shame, shame

I was at a client today when I remembered that David was due to arrive to Caracas circa 1430, so I called him to his brand-new-venezuelan-GSM-cellphone and I found out that he was in problems. In big, dark, awful problems. As I told in previous posts, he went to San Crist bal (near the border with Colombia) to visit his girl and know the city. He departed from Caracas in a bus on Friday night and arrived on Saturday morning. He spent the whole weekend there, and in Monday he was due to leave San Crist bal through the Mayor Buenaventura Vivas Military Airbase, in a civilian airplane. He arrived just on time for his flight, rushing to take the plane on time, and he was stopped by two so-called Inmigration Officials who demanded to see his passport. He recently got a new one from the Passport Office in Mexico City, so he had a brand new passport with the Venezuelan Entry Stamp (Mexicans don’t need a visa to enter Venezuela)
ONIDEX, the National Office for Inmigration. Praised for lots of people for fighting against Passport Corruption, kidnaps people in San Cristobal. The Officials told him that his passport was a fake, and they told him that, from this time on, he was under arrest. They made him leave the Airport quickly and took him in a civilian vehicle with no identifications. They started the trip to San Crist bal City (1 hour away from the Airport in a very scary road) and they kept telling him that his passport was fake (they claimed that the Passport didn’t have the watermarks, and stuff) Soon their position changed and a common practice in Venezuelan officials started: extorsion. They told him that there were “several ways to fix the problem”, and asked him what was in his backpack (which had a laptop, but he denied it): they were demanding money, and David wasn’t prone to do that.
National Guard. Doesn’t have a /proc/clue about anything. They drove David to the Inmigration Office in San Crist bal and told him that they “made” some tests to the passport and they determined that the passport was fake. They told David that their “Commander” told they that he should be deported into Colombia, since he was a “very important member of a Cartel that they were willing to capture”
DISIP: the Venezuelan Political Police. They were helpful in this episode, but they’re not angels. Finally, hours after that charade of Officials telling him funny laws, stupid suppositions and wanting him to give them money, they left David in the Bus Terminal in San Crist bal, where he was able to talk to Ana, from Debian Venezuela, which picked him up and went back to the Airport. The two “Officials” weren’t there anymore, and he had a last problem with the National Guard which had stupid suppositions about his trip, and stuff (this is common, but at least it’s not illegal) before he was able to get into the plane. Being in Caracas, I was really worried. Between Ana, my mother and me we were able to move several people to check David status in the Airport (my mother called four members of the Venezuelan FAA, I called the Venezuelan CIA and Ana called the Vicechancellor) and this probably saved David’s life and money, since the “Officials” might have been scared by the movement of people caring about David. He’s safe now, back in Caracas, in home. He has all his stuff and his health is OK (yet he was scared when he arrived, which I fully understand) Why am I writing this post? I’m really concerned about what happened to David, and I want to make a public statement on this. Somehow, we venezuelans got used to this kind of practices in our Country. Probably 40 years of pseudo-democracy with messy governors helped, maybe it’s a matter of education and culture. I don’t really care about this, but I do care about what they’re doing with the people in my Country. Today, President Chavez declared that a dance against corruption was going to start. I think it’s the fourth time he’s making something about corruption, and he’s failing. There’s a gang of people in San Cristobal, Mr. President, who tries to rob and scare the visitors. They should be in jail. They arrested somebody illegally. It’s forbidden in our Constitution to arrest somebody without having proofs to do it (we have one of the best Constitutions in the World, experts say, but we don’t have people who obey it). If you’re going to arrest an alien, you need to have a Public Prosecutor in place, writing down a legal document and guaranteeing the safety of the detained. This people should be in jail.
Stop Corruption! Though, as my mother later said to David, two awful Venezuelan people kidnapped David, but probably twenty Venezuelan people quickly acted to find out what was happening. We might be a Third World Country, but we use to be able to get out of our problems by our own. And, hell it’s rewarding. I want to apologize in the name of all venezuelans to David and to make a clear statement against corruption: we venezuelan won’t tolerate more corruption. We’ve grown between that, buying places in a line to get our National ID Card, paying one million bolivares to get a Passport appointment. We’re sick of this. This is not the great Venezuela we live in. Please, losers, shoot yourselves. Or eat rat poison, whichever makes less stains.

10 March 2006

Ian Murdock: Yahoo Mail Beta sucks

Actually, I have no idea whether it sucks or not, because even though I signed up for the beta program months ago, I’ve yet to hear word one from Yahoo, not even a “thanks for your interest, we’ll get back to you”. In many ways, this is the inverse of what Joel Spolsky wrote about a few weeks ago, namely holding your cards too close to the vest. Now, I understand why Yahoo is being extraordinarily deliberate about rolling out such a radical UI change to the general population (after all, Yahoo Mail is used by millions of “ordinary” people), but I’m technically savvy, an early adopter, and willing to endure spotty service from time to time to get early access, not to mention that I want to give my feedback on how things can be improved for all those ordinary people. Why on earth doesn’t Yahoo want to take advantage of my offer of free labor?! So, while I have no idea whether Yahoo Mail Beta sucks or not, the very fact that I don’t sucks in itself. Ah well. I’m no longer interested in being a Yahoo customer anyway, since they’re apparently the phone company now. Speaking of not hearing word one, I haven’t heard a peep from Yahoo about that earlier post either, not even from Yahoo’s voice in the blogosphere (who also didn’t respond to email on the subject), and not even after getting a link from Doc, which no doubt got my sob story in front of many more eyeballs than would otherwise have seen it. So, it would appear my friend is SOL. I’m sure all those people who are emailing him at Yahoo will understand why he’s ignoring them. And I’m sure the years worth of data he’s accumulated at Yahoo can be easily recreated. Technorati Tags: , ,

7 March 2006

Aigars Mahinovs: 60 rants (2)

Hospitals overcharging uninsured people http://www.cbsnews.com/stories/2006/03/02/60minutes/main1362808.shtml The bulk of the story in not really that hospitals make uninsured people pay more, it is that they make insurers pay less. It looks like it is common practice in US hospitals to charge their patients for work and materials with 300-500% profit margin. Only most of the country does not know it because they have either health insurance or Medicare and those insurers and government programs negotiate for themselves discounts in range of 75-90%. Also noone can find out the prices of specific procedures in different hospitals making going to a hospital look like blind shopping. In my mind two thing must be done legislatively about this: demand that all price lists of all publicly accessible hospitals also be freely accessible by the public, ban any kind of discounts or bulk prices that hospitals could give to insurers or government programs. That will ignite a price war and bring the prices down considerably. And in the mean while make a court case that any uninsured person receiving medical attention can demand to be charged as much as Medicare would be charged for the same procedure.
Willie Brand and torture in Afghan prisons http://www.cbsnews.com/stories/2006/03/02/60minutes/main1364163.shtml There is just incredible amount of lies buzzing around the current US administration especially with relation to war in Iraq and Afghanistan. We know that just from shreds of evidence that leaks out despite military discipline. Now top generals claim that prisoners have never been tortured or hanged from ceilings in Afghan prisons run by US army forces, while guards at those prisons claim that the same generals saw the procedures and did not disprove of them in any way. Now the generals blame everything on the guards themselves and even their direct captain claims that he did not see anything. Bullshit! It is long time that NATO and ANO should step in and report USA to the Security council and impose sanctions on USA for breaking the Geneva convention. Because, if USA can do that and go unpunished, why should other countries uphold human rights of their prisoners?
The Prince of Pot http://www.cbsnews.com/stories/2006/03/02/60minutes/main1364163.shtml A Canadian is being charged with drug trafficking by USA for selling marijuana seeds in his shop in Canada. It is formally illegal there, but even if charged, he would only have to pay a fine. However if he is extradited to USA, he would face up to a life sentence. The man is a leader of marijuana legalization movement in Canada. It may come as a surprise, but I agree with him. Marijuana no more harmful then alcohol or tobacco. Some even argue that marijuana is less harmful to the body and mind then alcohol or tobacco in same doses. If those two substances are allowed, then marijuana should be allowed too, in the same regulated manner as those two. If marijuana is banned then alcohol and tobacco must be banned too - be consequent. By pushing marijuana into the black market governments only make the black economy stronger. Also marijuana acts as a gateway drug just because government says it is as bad as heroin, so people after trying marijuana start thinking "Well marijuana is not that bad, maybe government is lying about heroin too". And after a few months a new unalive junkie is formed out of what could have been a contributing member of society.
Andy http://www.cbsnews.com/stories/2006/03/02/60minutes/rooney/main1363712.shtml Andy rants about outsourcing this week. Fear not Andy - it is easy to outsource labor intensive jobs, but outsourcing creative jobs is much harder - no asian guy can replace you (well maybe except for George Takei :)).

5 March 2006

Uwe Hermann: HOWTO: Anonymous communication with Tor - some hints and some pitfalls [Update]

Warning: Very long post ahead. You have been warned! What? Tor is a Free Software project (revised BSD license), developed by Roger Dingledine and Nick Mathewson, which creates an infrastructure for anonymous TCP communication. From the project website:
Tor is a toolset for a wide range of organizations and people that want to improve their safety and security on the Internet. Using Tor can help you anonymize web browsing and publishing, instant messaging, IRC, SSH, and other applications that use the TCP protocol. Tor also provides a platform on which software developers can build new applications with built-in anonymity, safety, and privacy features. Tor aims to defend against traffic analysis, a form of network surveillance that threatens personal anonymity and privacy, confidential business activities and relationships, and state security. Communications are bounced around a distributed network of servers called onion routers, protecting you from websites that build profiles of your interests, local eavesdroppers that read your data or learn what sites you visit, and even the onion routers themselves.
Tor also allows you to set up and/or use a so-called Tor hidden service, i.e., a server which offers some service (a website, ssh access, or similar) without revealing its IP to its users. Why? Why would you want to use Tor? Well, because you probably don't want anybody (neither state agencies, nor companies, nor "hackers", nor any other individuals or groups) to be able to record, analyze, and (ab)use information about your web browsing habits, or any other communication habits. For instance, you don't want Google to have a complete search-profile of you, which — even worse — might some day get in the hands of other parties. In the days of massive data retention you don't want all your electronic traces to be recorded, stored for ages, analyzed, and data-mined for dubious reasons and with even more dubious results and false conclusions drawn which might negatively affect you. If you're a human rights activist in China, you want anonymous communication. If you're a whistleblower, you want anonymous communication. The list is endless. For securing your communications, so that nobody is able to sniff your emails, your chat messages, your passwords, your private documents and conversations, you use encryption. For communicating anonymously you can use Tor. Combine both, and you have secure and anonymous communication. In case you're wondering whether criminals might abuse Tor, read the Tor Abuse FAQ. Short answer: yes, but if you're willing to break the law, you already have anonymity (open access points, stolen/prepaid mobile phones, etc.). You don't need Tor to do bad things if you're a criminal. If you're one of those horrible "oh, but I don't have anything to hide" guys, consider this: Say you have a drug/alcohol problem and want to visit an anti-drugs/anti-alcohol website or forum for help. Would you want the whole world, your neighbors, your co-workers, your boss, to know that, or would you rather want to keep that a secret? Say you have AIDS and want to get information on the web? Or, to make the example even more dramatic: Would you want some random guys to be able to watch you while you fuck your wife? No? So you have something to hide after all, right? My point is: Everyone has something to hide, even more, it is a basic human right to have the ability to hide something. It's called privacy. How? Tor implements a form of onion routing to, basically, push encrypted data through multiple Tor nodes (servers), before it reaches the final destination (e.g. a website). The result is that neither the website owner, nor a local eavesdropper, nor any single Tor server knows who requested that specific website, hence you are communicating anonymously. For more technical details, read the Tor overview and the Tor documentation pages. In order to use Tor, you have to install and run a local Tor client/daemon (this is not necessarily a Tor server!). On Debian, type apt-get install tor, on other systems you can get the respective binary packages or download the sources and compile Tor yourself. Usually Tor is used together with Privoxy, a configurable HTTP proxy which sanitizes your web-browsing experience by removing nasty banner ads, pop-ups, JavaScript, webbugs, cookies etc. etc. So: apt-get install privoxy. After installing and starting Tor and Privoxy, you can now configure your webbrowser to use Privoxy as an HTTP proxy (see below), and Privoxy will in turn use Tor to anonymize your communication if you add "forward-socks4a / localhost:9050 ." to your /etc/privoxy/config. Anonymizing various applications Most (but not all) of the following information is also covered in the very useful Torify HOWTO in the Tor wiki (I will add the missing information there, ASAP). As I'm pretty paranoid, I have checked every single of these configurations with Ethereal to ensure that the traffic is really anonymized. However, if you are paranoid, you shouldn't trust me, but rather test this stuff for yourself! Warning: DNS Leaks:
The biggest problem with many applications is that they leak DNS requests. That is, although they use Tor to anonymize the traffic, they first send a DNS request untorified in order to get the IP address of the target system. Then they communicate "anonymously" with that target. The problem: any eavesdropper with more than three brain cells can conclude what website you visited, if they see that you send a DNS request for rsf.org, followed by some "anonymous" Tor traffic. The solution: use Tor together with Privoxy, that prevents DNS leaks. Many non-HTTP-based applications are usually torified using a small tool called torify (e.g. by typing torify fetchmail), but often this approach has DNS leaking problems, see below. You might also want to check out toraliases, a small shell script you can source from your ~/.bashrc file. It defines some functions and aliases which transparently direct the traffic of some (but not all!) programs through Tor. Applications which cannot easily be torified Anything not using TCP usually cannot be torified, as Tor only works for TCP. Pitfalls to be aware of More information More information is available in the Tor documentation, the Tor wiki, and especially in the Tor FAQ. In addition, there's an IRC channel on Freenode (#tor), some slides and a video (torrent) about Tor you might find interesting. If you would like to help, you can run a Tor server, donate some money, or volunteer to do other things (code, debug, document, translate, and more). That's it for now. I'm very grateful for comments and suggestions, especially for hints on how to anonymize more applications. Also, if you notice any dumb mistakes I made, please leave a comment. Update 2006-03-07: Fixed typos, added link to the toraliases project (thanks Benjamin Schieder).

David Nusinow: OMG Planet Conversation!

Josselin, I agree with you in theory, but the problem is that heated technical discussions quickly turn personal. debian-x is one shining example of this, where the previous fighting was over whether to polish and bring out the best possible packages we could or to push hard to get the newest releases in, which while not being as well done would get people support for new hardware. Fundamentally, this is a technical debate, but it turned very personal over time and the team still bears these scars. This has also happened in incredibly ugly ways on debian-devel, with vile threads from the past like "Serious Problems With Mr. Troup", which is about as personal as you can get. The Vancouver thread also took very serious personal turns as well, despite it beginning as a necessary discussion about the release process.

Momentum is critical for minimizing these kinds of debates, but it's not foolproof. I think a code of conduct along with people who are trusted and willing to enforce it will provide an extra layer of protection against this problem. Yes, I definitely agree with you that technical solutions and hard work are the critical things. It's critical to have technical solutions to technical problems, and these should always be the first priority for Debian. But a social layer of a mailing list code of conduct, much like our social contract and the DFSG, will provide a non-technical solution that can help guide us when things get ugly. I, for one, never want to see another "Serious Problems With Mr. Troup" thread.

MJ Ray: OtherWayUp listings

To be carried on OtherWayUp, my aggregator site, your blog should be:
  • Interesting and useful (see the tips above for some suggestions)
  • Mostly on a topic I'm willing to carry (make a category feed if needed)
  • Valid, preferably RDF Site Summary (RSS 1) - I drop broken feeds and wait for owners to report they're fixed
  • Under a sane copyright licence: at least free for non-commercial, but preferably free software, in case I stop subsidising the site in the future
  • Submitted to the site
Just now, I'm contemplating dropping Economics (no good feeds left) and downgrading/splitting Culture into Culture and Business Columns pages instead of a top-level page.

1 March 2006

Julien Blache: For those who still care about the Debian Project

Yes, the title of this post is yet another FTWCA. The question is, do YOU still care about the Debian Project ? I refused to take part to the recent flames, aka the FTWCA threads, but given the upcoming DPL election and the recent events, I feel it’s time to write something up about the current status of the Project. I’d like my readers to ask themselves: “Do I still care about the Debian Project, about its goals, about its spirit, about what it really is ?”. You may find that the answer to this question won’t be the one you expected, either way. Before reading further, you may want to quickly google for “Teletubbies” if you don’t know what this thing is. It may help you better understand the rest of this post. This post is a long one, thanks in advance to all of you who will read it until the end. I may refer to some people in this post. This is by no mean a personal attack, so please don’t take it as such. Recent events I mentionned “recent events” earlier, here are the events I am referring to: the FTWCA threads, DDs willing to expel Andrew Suffield because of his post to d-d-a, listmaster deciding to block Andrew from posting to d-d-a again, Rapha l Hertzog promoting his “social pressure” thing again, and some other bits that happened here and there. The problem: a bunch of Teletubbies
The Debian Project is a technical community, which some DDs are now trying to turn into a social community. Obviously, this can’t work. Why ? For a start, because the NM process has not been designed to select people based on social abilities (there’s a minimum, though, but other than that, that’s absolutely not the point of the NM process). New developers are selected on purely technical criterions, which is what you would expect from a technical community like ours. Adding social tests and whatnot isn’t going to help; the NM process is enough of a pain in the ass already for the applicants. We are a thousand Free Software hackers collaborating to the Project, dedicated to producing the best operating systems ever, and we want these operating systems to be Free Software, as defined by our guidelines on that matter, that is, to say, the DFSG. We all agree with the Foundation Documents of the Debian Project, we agree with the DMUP, and that’s pretty much all we all agree with. We never agreed to be nice to each other, we never agreed to group hugs at developer’s meetings or anything else. Our beloved Teletubbies are complaining about the “frequent” flamewars that happen on the Debian lists, and to be honest, one must acknowledge the fact that those flamewars have been a bit too frequent recently. What I find quite amusing, really, is that most of these flamewars have been started by one of the Teletubbies and mention Ubuntu. Now the same people want to come up with a mailing-lists code of conduct, similar to the one Ubuntu has. Ironic, isn’t it ? The same people are willing to expel Andrew for his post on d-d-a. Is it coherent ? The whole “social pressure” thing is nothing less than intimidation, and this is not acceptable. Similarly, the reactions to Andrew’s post on d-d-a aren’t acceptable either. Why ? Because this Project used to be open-minded. It looks like a bunch of people lost this, and I really feel sorry for them. Your reactions to Andrew’s post are really over-exagerated. You need to take a break and a reality check. If you aren’t open-minded enough to grok Andrew’s post, you’re not open-minded enough for this Project, or even for Free Software. Some of you also need to come back down to Earth. We are a volunteers organization producing Free OSes. We are doing it all for fun, so stop being so fucking serious and pull that tree out of your ass. You’ll feel better afterwards. It’s also quite amusing when the same people are announcing, on side channels (IRC, …), that J. Doe made it to their kill-file. I don’t use kill-files myself, because I believe that everybody has something interesting to say, because this is an open-minded Free Software Project, because the people I would kill-file might be maintaining something someday related to the packages I maintain and I’d need to work with them. No matter what I think of my fellow DDs, I never refused to work with anyone. People please, learn to put the Project’s interests before yours. Why ? Why now ? Why ? Because I joined a technical community of Free Software hackers, not a social community of Free Software integrists to spend my holidays with. Why now ? Because the vote on GR 2006_01 is currently running. Because the DPL election is on its way too, it’s that time of the year again. Because out of 7 candidates, 5 are, to diverse degrees, Teletubbies and 1 is the worst DPL candidate EVER (if you don’t know why and are a DD, log on to master and grep for his email address in the -private archives. Not his name, because his firstname at the time was Jonathan — something you must think about when you’ll vote). That leaves one sane candidate only; Bill, I hope your platform will be good. Solutions ? Realize that the Debian Project is the Debian Project and has nothing to do with Ubuntu, remember its goals, its spirit, remember why you joined (if you joined to get the @debian.org address, GO AWAY). This means: Remember that there is only a limited number of people making a lot of noise. So if you belong to what I believe is a silent majority, please raise your voice. Help tell those people to FOAD and let’s get back to work. When you’ll vote for the DPL election, please, think twice. Be extra-careful, most of the candidates are really good politicians.

28 February 2006

Sergio Talens-Oliag: Life after the Public Administration

Today was my last day at LliureX (it was marked as -1 on my calendar) but it has become my first day out, as I've ended up not going to work. Yesterday was a really strange day at work, I had nothing to do and almost nobody to talk with and on the afternoon my boss told me that I could stay at home today if I wanted, as I had nothing to do there, so I'm at home now. For me the worst thing is that I finished my assigned tasks last Thursday and since then nobody asked me to do anything else, despite the fact that I could have done something useful on the three days that I had to stay there and I was willing to do whatever they wanted. Well, anyway now another life period is over and a new one begins; the only thing I know for sure is that I'll try to stay away from Public Administrations in the near future, if I'm able to. I've had enough politicians and government employees for a while.

Next.

Previous.