Search Results: "dom"

13 November 2006

MJ Ray: Freedom Task Force

Free Software Foundation Europe Launching Freedom Task Force, Co-operating with gpl-violations.org. FTF to educate programmers and corporations on how to avoid licensing problems, as well as enforce Free Software licences.

Evan Prodromou: 21 Brumaire CCXV

Long day today (yesterday, actually, but I'm post-dating this in the interest of chronological flow). The baby's having a hard time coming off of West Coast time; she got up late and took a loooong nap till half-past three. Which was fine, because I needed the time to work on my NSLU2, which needed some attention. The NSLU2, or "Slug", is a tiny Linux computer from Linksys, about the size of a two packs of Marlboros laid side-by-side. My brother Nate gave me one last year for Christmas (thanks, nate), and I've been using it for network backups, but on our trip to SF Nate showed me that he's running all kinds of wild services off of his. So I decided to start shifting over some responsibilities to the little bugger. Which was just about time. Sometime during our trip to San Francisco, my main home server started having fan problems; it kept overheating and shutting itself down. It's going to take some time to diagnose the problem, but I figured that this was as good a time as any to move the critical services over to the Slug. The main one that needed budging was DNS. Maj's main domain, as well as my two .san-francisco.ca.us domains, run from home, because it's too hard to get the registrar to change them. The Unslung system I use for the Slug has a BIND package, which is a good thing to run, anyways. I was running MaraDNS on the big server, because I always root for the underdog, but there wasn't a MaraDNS package for the Slug. So I rewrote my zone files and things are up and running now. I don't know what else I'm going to put on there. Jabberd? Asterisk? A home wiki? Just not sure. tags:

Blah blah blah When the baby got up, we went to our local Loblaws, out towards the end of rue Rachel across from Canadian Tire. It's a pretty fantastic place to buy groceries -- it's the old CPR Angus Shops, a repair and maintenance facility for the Canadian Pacific Railway. The building is huge, with giant cranes and beams still attached to the roof. Amita and I grabbed a crapload of groceries and brought them home to Maj, who'd just had a massage at the centre around the corner and was feeling really good. She'd rented Tristram Shandy, the 2005 movie based on the 18th-century level-twisting novel. Me and Amita June made some baked potatoes, and we all watched the movie, and a good time was had. tags:
 

H****e en vrac One thing I always want to buy when I'm at the store in Quebec is the quite commonly available communion wafers. Yeah, really! big ol' 5-inches-diameter communion wafers, in the snack section next to the Doritos and the Humpty Dumpty potato chips. Quebec society has a had a precipitous secularization -- from around 90% church attendance in the 1950s to less than 10% today. But Catholicism still infuses all parts of life. For example, in Quebec, you cuss by using words from the church, including, of course, hostie ("the host"). So I can't figure out why hostie are a tasty snack treat. Is it a deliberate snub to the sacrament of communion by a secular society? Or did the practice antedate the Quiet Revolution, and did the formerly religious Quebecois eat communion wafers for fun? Or is it just a snork-snork funny thing to do, when the name of the food is actually a naughty word? I dunno. I'm fascinated, but not enough to buy a big bag of communion wafers to eat. (They're never cheese- or BBQ-flavored, by the way; they have a pristine seriousness to them.) More info solicited. tags:

Opinity One of the services mentioned in the Web 2.0 Summit infrastructure workshop was Opinity. Opinity seems to be a distributed reputation system, kind of like claimID but with a little more soft information. I think it looks pretty cool, and I'm glad to see another addition to the growing OpenID identity provider market. tags:

12 November 2006

Wouter Verhelst: Hardware support

A while back, my brother's computer had issues. It would dump core of random programs, and would produce a BSOD under Windows at random times, too. Running memtest86 showed that something was wrong with the memory, so we replaced it. Unfortunately, that didn't help; so the conclusion I made was that there was something wrong with something between the processor and the RAM—the cache (L1 or L2), some data or address line degrading, or perhaps even the memory controller. In any way, that didn't matter; what mattered is fixing the issue. So we replaced the mainboard and the processor with something newer. He's now got a pretty modern mainboard, with all the interesting bits and pieces found in such a thing, and a Dual Core Pentium4 at 3.4Ghz. Occasionally, I must say that the socket 775 is pretty... weird. But I digress. Upon installing everything, I found that trying to run the system with broken memory had managed to corrupt whatever was on the hard disk; his ReiserFS superblock thought the filesystem was some incredible amount larger than it really was, and Windows would turn up a BSOD before even booting. The first was pretty easy to fix; I hit 'e' in the grub menu, added init=/bin/bash to the end of the kernel command line, and instructed some tool from the reiserfs toolkit to fix the filesystem. After that finished, and after a subsequent exec /sbin/init finished, Debian was up and running again. That took all of a few minutes. Having booted it, I proceeded to install the security updates that had accumulated for Sarge since the time his system had started to break down (which is a few months). Then I realized that I had to reconfigure the system to understand the new mainboard. Only that had already happened. Hotplug, discover, and perhaps some friends, had all done their work and there was nothing to be done anymore. Isn't that nice. The same couldn't be said for Windows. Booting from the install medium and choosing "recovery" in the install menu didn't fix things. Even reinstalling the system without formatting the hard drive didn't get us any further. The only thing we could do was to wipe the drive clean and reinstall. Windows better hardware support? My ass.

11 November 2006

Russell Coker: more about securing an office

My post about securing an office received many comments, so many that I had to write another blog entry to respond to them and also add some other things I didn't think of before.

One suggestion was to use pam_usb to store passwords on a USB device. It sounds like it's worth considering, but really we need public key encryption. I don't want to have a USB device full of keys, I want a USB device that runs GPG and can decrypt data on demand - the data it decrypts could be a key to unlock an entire filesystem. One thing to note is that USB 2.0 has a bandwidth of 30MB/s while the IDE hard drive in my Thinkpad can sustain 38MB/s reads (at the start - it would be slower near the end). This means that I would approximately halve the throughput on large IOs by sending all the data to a USB device for encryption or decryption. Given that such bulk IO is rare this is feasible. There are a number of devices on the market that support public-key encryption, I would be surprised if any of them can deliver the performance required to encrypt all the data on a hard drive. But this will happen eventually.

Bill made a really good point about firewire. I had considered mentioning it in my post but refrained due to a lack of knowledge of the technology (it's something that I would disable on my own machines but in the past I couldn't recommend that others disable without more information). Could someone please describe precisely which 1394 (AKA Firewire) modules should be disabled for a secure system? If you don't need Firewire then it's probably best to just disable it entirely.

To enable encryption in Fedora Core 6 you need something like the following in /etc/crypttab:
home_crypt /dev/hdaX /path/to/key
swap /dev/hdaX /dev/random swap
Debian uses the same format for /etc/crypttab.

The Peregrine blog entry in response to my entry made some really good points. I wasn't aware of what SUSE had done as I haven't done much with SUSE in the past. I'm currently being paid to do some SUSE work so I will learn more about what SUSE offers, but given the SUSE/MS deal I'm unlikely to use it when I don't have to. Before anyone asks, I don't work for SUSE and given what they have just done I will have to reject any offer of employment that might come from them.

I had forgotten about rsh and telnet. Surely those protocols are dead now? I use telnet as a convenient TCP server test tool (netcat isn't installed on all machines) and never use rsh. But Lamont was correct to mention them as there may be some people still doing such things.

The Peregrine blog made an interesting point about Kerberised NFS being encrypted, I wasn't aware of this and I will have to investigate it. I haven't used Kerberos in the past because most networks I work on don't have a central list of accounts, and often there is no one trusted host.

I strongly disagree with the comment about iSCSI and AoE "Neither protocol provides security mechanisms, which is a good thing. If they did, the additional overhead would affect their performance". Lack of security mechanisms allows replay attacks. For example if an attacker compromises a non-root account on a machine that uses such a protocol for it's root filesystem, the victim might change their password but the attacker could change the data back to it's original values even it if was encrypted. Encryption needs to have sequence numbers embedded to be effective, this is well known - the current dmcrypt code (used by cryptsetup) encrypts each block with the block ID number so that blocks can not be re-arranged by someone who can't decrypt them (a weakness of some earlier disk encryption systems). When block encryption is extended to a network storage system I believe that the block ID number needs to be used as well as a sequence ID number to prevent reordering of requests. CPU performance has been increasing more rapidly than hard drive performance for a long time. Some fairly expensive SAN hardware is limited to 40MB/s (I won't name the vendor here but please note that it's not a company that I have worked for), while there is faster SAN hardware out there I think it's reasonable to consider 40MB/s as adequate IO performance. A quick test indicates that the 1.7GHz Pentium-M CPU in my Thinkpad can decrypt data at a rate of 23MB/s. So to get reasonable speed with encryption from a SAN you might require a CPU which is twice as fast as in my Thinkpad for every client (which means most desktop machines sold for the last two years and probably all new laptops now other than the OLPC machine). You would also require a significant amount of CPU power at the server if multiple clients were to sustain such speeds. This might be justification for making encryption optional or for having faster (and therefore less effective) algorithms as an option.

I believe that the lack of built-in security in the AoE and iSCSI protocols gives a significant weakness to the security of the system which can't be fully addressed. The CPU requirements for such encryption can be met with current hardware even when using a strong algorithm such as AES. There are iSCSI accellerator cards being developed, such cards could also have built in encryption if there was a standard algorithm. This would allow good performance on both the client and the server without requiring the main CPU.

Finally the Peregrine blog entry recommended Counterpane. Bruce Schneier is possibly the most widely respected computer security expert. Everything he does is good. I didn't mention his company in my previous post because it was aimed at people who are on a strict budget. I didn't bother mentioning any item that requires much money, and I don't expect Counterpane to be cheap.

Simon noted that developing a clear threat model is the first step. This is absolutely correct, however most organizations don't have any real idea. When advising such organizations I usually just invent a few possible ways that someone with the same resources and knowledge as I might attack them and ask whether such threats seem reasonable, generally they agree that such things should be prevented and I give further advice based on that. It's not ideal, but advising clients who don't know what they want will never give an ideal result.

One thing that I forgot to mention is the fact that good security relies on something you have as well as something you know. For logging in it's ideal to use a hardware security token. RSA sells tokens that display a pseudo-random number every minute, the server knows the algorithm used to generate the numbers and can verify that the number entered was generated in the last minute or two. Such tokens are sold at low prices to large corporations (I can't quote prices, but one of my clients had prices that made them affordable for securing home networks), I will have to discover what their prices are to small companies and individuals (I have applied to evaluate the RSA hardware). Another option is a GPG smart-card, I already have a GPG card and just need to get a reader (this has been on my to-do list for a while). The GPG card has the advantage of being based on free software.

One thing I have believed for some time is that Debian should issue such tokens to all developers, I'm sure that purchasing ~1200 tokens would get a good price for Debian and the security benefits are worth it. The use of such tokens might have prevented the Debian server crack of 2003 or the Debian server crack of 2006. The Free Software Foundation Fellowship of Europe issues GPG cards to it's members, incidentally the FSFE is a worthy organisation that I am considering joining.

Stefano Zacchiroli: more fp in python 2.5

More Functional Programming in Python 2.5, where's the Syntax? I'm glad to read that more functional stuff is coming with Python 2.5, especially for the introduction of partial application, the heart of functional programming. Still, FP is not only about semantics, is also about fostering code reuse and implementing stuff in more elegant and concise way. For such stuff to be effective though, a nice and handy syntax is (IMO) mandatory. Anyone knowing i J. Random Functional Language (whatever Lisp dialect, ML, Haskell, ...) should be able to guess how to apply function partially in Python. Considering that Python has a long history of syntactic extensions via PEPs (think about list comp or generator expressions) I fail to understand why to apply a function partially I have to write something as ugly as:
all_evens = functools.partial(all_divided_by, x=2)

It's only me or the most natural syntax, that everyone would be able to guess out of the box, would have been:
all_evens = all_divided_by(x=2)

?

Phil Hands: MBNA's lax attitude towards security

Today I received a copy of the PIN for my MBNA credit card in the post, despite not having asked for it. In response, I've cancelled my account, and reported their incompetence to You and Yours. I suppose I shouldn't be all that surprised, since MBNA have a habit of randomly sending out unsolicited cheques (which also has worrying security implications), but I actually found it quite shocking to see the PIN that I'd chosen printed in clear text. Obviously, in the first instance they generate a random PIN, and print it out, but I was rather hoping that their systems would be set up so that that random PIN, and certainly any PIN subsequently selected by the customer, would not be available in clear text at any time. If I forget my PIN, they should generate a new one, not remind me of the old one. They should not be able to remind me of the old one. The two people I talked to seemed surprised that I would cancel an account that I've had for about 13 years over a single PIN in the post, but given that that's their policy, I don't think it's a massive leap to think that a corrupt postman might be tempted to collect these PIN letters (which are pretty easy to spot and most of which are not being expected, so won't be missed). Then, assuming that a reasonable percentage of people will match MBNA's laxness by setting all their PINs alike, the criminals will be armed with all the information they need to do a targeted mugging for the card(s), with an average return in tens of thousands of pounds, especially if they hospitalise/kill the victim to ensure they don't get to cancel the cards.

10 November 2006

David Nusinow

With all the talk about binary drivers, and Ubuntu's recent decision to ship them by default, I was going to try and rant or philosophize about the various issues it raises, and how I think ripping Ubuntu a new one for this move is justified, but instead I'm going to talk about kitties and happy things.

On the XSF front, the coolest news has come from people other than me. In addition to providing compiz updates and improvements, Thierry Reding has been busy cleaning up the Debian mesa packaging in the XSF repo. Mesa's Debian maintainer hasn't been very active over the past few months, so Thierry has stepped in to help out there.

Julien Cristau, who helped in the early work moving from XFree86 to Xorg, has returned to the XSF to take over maintainance of xterm, which I've almost completely neglected. Both these packages needed more dedicated maintainance than I could provide, and it's great to see them both being beaten in to shape.

Drew Parsons has been as industrious as ever, packaging updates for drivers so we can ship Etch with driver support that is very close to what will be released upstream as 7.2. In addition, he's packaged the modesetting branch of the i810 driver. This is an experimental development branch that will become the mainline in the nearish future, and it basically allows the driver to set modelines that aren't specified by the BIOS, just like other drivers.

Christian Perrier continues to rock the translations.

I've been doing unglamorous work bringing the Xorg docs in to the late 90's, thus making sure that we ship with docs so that users can tell what's on their systems.

Finally, Thierry has put a ton of work in building infrastructure to move the XSF svn repo over to git. I've been evaluating this, and hopefully we can make the move soon so that we hit etch+1 development running. Using git will provide an easier means of pulling from and pushing to upstream. Hopefully, downstream derivatives will also use git as well to facilitate this. I'm really excited about all of this because it feels like we're active across the board.

And now for the kitties. Nicole and I have adopted a cat. We get to take her home from the shelter next Wednesday, so if some random characters start to appear from me on irc, it's probably her fault. Rest assured that when I never run for DPL, she will be a far better running mate than Zeke. As a favor I would like to ask you, all my loyal readers: if I start to talk about my cat constantly, like one would one's own child, please punch me in the kidney. Thank you.

Roland Mas: Exif, give or take a few hours

I finally got myself a nice digital camera. Nice as in, it fits in a pocket, it takes reasonably good-looking pictures, ant it's not a Canon so I can access it as an USB mass storage device. (For those who care, it's a Kyocera/Contax U4R.) So I've started using F-Spot (which is tremendously cool) and Gallery a bit more intensively than previously, and I noticed something curious: my pictures had wrong times. I thought that digital cameras stored them inside the picture files... Hmm. On to investigate. Time passes as I follow the threads of the information flow (use the source, Luke). Then I scream in horror. Then I go see something I hope is authoritative and therefore likely to have been well thought-out (read the spec, Luke). Then I scream some more. Let it be widely known that the Exif specification, which is the standard for embedding metadata into image files from digital cameras, encodes the date and time of the picture as a string. A fat, ugly, 20-character string. More precisely, the format is YYYY:MM:DD HH:MM:SS. I don't have anything against strings, they are rather easy to parse by humans (as demonstrated by strings /home/roland/images/photos/contax-u4r/kicx0700.jpg head). But they should be done right. In this case, it would have made a lot of sense to enlarge that string to 26 characters and add +ZZZZ or something similar. So as to be able to encode, say, a timezone, for instance, in order to, say, have dates and times that actually mean something, instead of something that may or may not be the current time plus or minus a random number of hours and minutes. I thought I could cheat by starting F-Spot with TZ=UTC f-spot (among my electronic gadgets, those that can't cope with timezones are set to UTC, with the exception of my alarm clock). The result is bizarre: the date is shown as being one hour late. I could understand if it were two (I'm at UTC+2 these days), but where does that one come from? I suppose I'll have to cheat differently, by keeping a patched version of F-Spot that interprets the TimeDate data from Exif as UTC, instead of using the current timezone. Or maybe I could do that in my hotplug script: it already rsyncs images from the digicam to the harddisk then makes sure the digicam's memory has at least $foo megabytes of free space on the card memory. I suppose it could also fiddle with the Exif tags on the fly. Anyway. People need to learn: text without encoding information is useless, cryptography without a web of trust is useless, and date/times without timezone info is useless. If one of my esteemed readers happens to be (or know) a member of the Exif specification group (I understand it's called "JEITA"), please tell them that this needs to be fixed in a future version of the spec. I suppose I'll have to live with it with my current digicam, but maybe the next one will be better in that regard. The pictures themselves are nice, though.

MJ Ray: Civic Information

Forum on Civic Information No. 2 (UCLondon 2006-11-28 18:45) "will focus on open 'civic' information. Civic information is material produced by government or other groups which is relevant to political activity by citizens." I had some experience tracking this down through the Walks Action Group and I really should write up my notes on the Freedom of Information Act (FoIA or fire) and the Access to Environmental Information Regulations (AEIR, or air) before I forget it all.

Daniel Stone: ripping on ubuntu is the new black

One of the annoying features of reading several planets, is that you end up reading entries from people you otherwise respect, who seem to have various complexes about nonsensical issues. We all saw the month in which half of Debian decided it was cool to rip on Ubuntu, and now apparently it's the new cool thing to do if you work on Fedora.

According to a particularly obnoxious entry, the quality or otherwise of Ubuntu's kernel[0] does 'damage to the free software community'. Now, they've focussed on binary drivers. Which is fair enough: I am personally quite uncomfortable with binary drivers, and extremely unimpressed with Ubuntu's recent move towards binary drivers by default. While I respect the fact that they still encourage users to install free drivers, providing them by default is not a winning move, in my opinion. But I'm not going to discuss this further right now, because if I do, the terrorists win.

The reason the terrorists win, is because some people like to furiously handwave and make strawmen. Apparently now, everyone who's ever touched Ubuntu is rabidly for binary drivers, but the problem here is the handwave from criticism of Fedora's alleged community into yet another ramble about the kernel tree and binary drivers.

I certainly hope the Fedora community is more mature than this, both in general, and in their ability to have a constructive debate about the level of its community involvement. Right now, it is not even disputed that there is effectively none. At first glance, they may appear similar, but if you look further, the similarities vanish. Anyone can come in and get involved in the decision making in Ubuntu, but more important than that, the process is at least completely transparent, so you can see what's going on, on public lists, at every step. Fedora does not have this: decisions magically appear On High from RHEL types. This is not necessarily a bad thing, and does not necessarily result in a lower-quality distribution, but if everyone could just accept this as being true and move on, rather than bitterly baiting a successful community distribution about it, I think everyone would be a lot happier.

The biggest difference is -- yes, basically all the Ubuntu core developers are employed by Canonical. These people were handpicked from the Debian community originally, and now a great deal of them start as Ubuntu community members, and are employed by Canonical because having them work full-time on this stuff would be awesome. The process is still entirely transparent: being employed is a mark of recognition (sorry), and a request to continue working on this even more, rather than a pre-requisite to being able to do anything. Witness Fedora Core vs. Fedora Extras, for example: there are quite a few packages that non-Red Hat employees are prevented from meaningfully contributing to.

So, the summary in a nutshell: binary drivers bad (and Ubuntu moves towards promoting same even worse), Fedora 'community' not at all, handwaves bad, refusal to get involved with a meaningful debate about community governance and structure without engaging in petty mudslinging and pointless handwaves inexcusable.

(Disclaimer: I am not involved with any distributions, nor do I have any professional affiliation with them either. I'm just an irritated observer.)

[0]: I don't claim to have any insider knowledge here; the only point at which its quality or otherwise has become an issue for me lately, is a random hang in gettimeofday() in a corner case recently, which I've been too lazy to isolate and report as a proper bug; I worked around it in the X server anyway.

9 November 2006

Russell Coker: a good security design for an office


One issue that is rarely considered is how to deal with office break-ins for the purpose of espionage. I believe that this issue has been solved reasonably well for military systems, but many of the military solutions do not apply well to civilian systems - particularly the use of scary dudes with guns. Also most office environments don't have the budget for any serious security, so we want to improve things a bit without extra cost. Finally the police aren't interested in crimes where an office is burgled for small amounts of cash and items of minor value, it gets lost in the noise of junky burglaries, so prevention is the only option.

Having heard more information about such break-ins than I can report, I'll note a few things that can be done to improve the situation - some of which I've implemented in production.

The most obvious threat model is theft of hard drives. The solution to this is to encrypt all data on the drives. The first level of this is to simply encrypt the partitions used for data, support for this is available in Fedora Core 6 and has been in Debian for some time. The more difficult feature is encrypting the root filesystem, encrypting root means that important system files such as /etc/shadow are encrypted. Also if the root filesystem is encrypted then an attacker can't trivially subvert the system by replacing binaries. An unencrypted root filesystem on a machine that is left turned off overnight (or for which an unexpected reboot won't be treated seriously) allows an attacker to remove the drive, replace important system files and then re-install it. If the machine is booted from removable media (EG USB key) which contains the kernel and the key for decrypting the root filesystem then such attacks are not possible. Debian/unstable supports an encrypted root filesystem, but last time I tried the installer there did not appear to be any good support for booting from USB (but given the flexibility of the installer I think it's within the range of the available configuration options). I have run Fedora systems with an encrypted root filesystem for a few years, but I had to do some gross hacks that were not of a quality that would be accepted. With the recent addition of support for encrypted filesystems in Fedora it seems likely that some such patches could be accepted - I would be happy to share my work with anyone who wants to do the extra work to make it acceptable for Fedora.

Once the data is encrypted on disk the next thing you want to do is to make the machines as secure as possible. This means keeping up to date with security patches even on internal networks. I think that a viable attack method is to install a small VIA based system in the switch cabinet (no-one looks for new equipment appearing without explanation) that sniffs an internal (and therefore trusted) network and proxies it to a public network. This isn't just an issue of securing applications, it also means avoiding insecure protocols such as NFS and AoE for data that is important for your secrecy or system integrity.

An option for using NFS is to encrypt it with IPSEC or similar technology. AoE can be encrypted with cryptsetup in the same way as you encrypt hard drive partitions, it doesn't use IP so IPSEC won't work but it is a regular block device so anything that encrypts block devices will work. I have been wondering about how well replay attacks might work on an encrypted AoE or iSCSI device.

Security technologies such as SE Linux are good to have as well. An attacker who knows that a server has encrypted hard drives might try cracking it instead. A thief who has stolen a laptop and knows that it has an encrypted drive can keep it running until future vulnerabilities are discovered in any daemons that accept data from the network (of course if you have enough technology you could sniff the necessary data from the system bus and from RAM while it's running - but most attackers won't have such resources). I have considered running a program on my laptop that would shut it down if for a period of 48 hours I didn't login or un-blank the screen, that would mean that if it was stolen then the thief would have 48 hours to try and crack it.

Prevent access to some hardware that you don't need. If you allow the system to load all USB drivers then maybe a bug in such a driver could be exploited to crack it. Remember that in a default configuration USB drivers will be loaded when a device is inserted (which is under control of an attacker) and the device will use data from the attacker's hardware (data of low integrity being accessed by code that has ultimate privilege). Turning off all USB access is an option that I have implemented in the past. I have not figured out a convenient way of disabling all USB modules other than the few that I need, I have considered writing a shell script to delete the unwanted modules that I can run after upgrading my kernel package.

Once these things have been done the next issue is securing hardware. Devices to monitor keyboard presses have been used to steal passwords. The only solution I can imagine for this is to use laptops on people's desks and then store them in a safe overnight, unfortunately laptops are still quite a bit more expensive than desktop machines and consequently they are mostly used as status symbols in offices. Please let me know if you have a better idea for solving the key-logging problem.

For servers there is also a problem with keyboard sniffing. Maybe storing the server's keyboard in a safe would be a good idea.

Security monitoring systems are a good idea, unfortunately they can be extremely expensive. There has already been at least one recorded case of a webcam being used to catch a burglar. I believe that this has a lot of potential. Get a webcam server setup with some USB hubs and cameras and you can monitor a small office from all angles. When the office is empty you can have it GPG encrypt pictures and send them off-site for review in the case of burglary. You could also brick the server into a wall (or make it extremely physically secure in other ways) so that the full photo record would be available in the case of damaged phone lines, and to give more pictures than the upload bandwidth of an ADSL link would allow (512Kb/s doesn't allow uploading many pictures - no-where near the capacity of a few high-resolution web-cams).

This is just a few random thoughts, some things I've done, some things I plan to do, and some that just sound like fun. I expect comments telling me that I have missed some things. I may end up writing a series of articles on this topic.

PS I've uploaded day 32 of the beard (which was taken yesterday). Last night at a LUV meeting I was asked to stand in front of the audience to show them my beard. I had imagined that they might have seen it enough through my blog, but apparently not.

8 November 2006

Matthew Garrett

The day that Bruce Perens gets to tell me that Novell is the new SCO is the day that I willingly accept an offer to be sodomised with a pneumatic drill.

Novell have contributed more code to Linux than pretty much any other single commercial entity other than Red Hat. Without the Novell kernel developers, Linux would be in a much worse state than it currently is. However, I'd expect that everyone in Novell knows that they're also entirely dependent upon the developers working for other distributions. Killing every other distribution isn't advantageous to Novell. And, perhaps more importantly, the death of Novell would be a (short-term?) disaster for every other distribution. Debian may have a larger market share than Novell, but if Novell dies then that's going to be a share of a very small market.

The Linux community doesn't need to eat its own. And one very basic fact does still remain - if Microsoft couldn't sue you before, they still can't sue you. If you're legal, nothing Novell can do will alter that.

(It's sort of touching that Bruce has time to comment on this sort of thing, but didn't seem to find time to make Linuxworldexpocontinentconferencecountymeeting last month. Thanks, Bruce. Thruce. But hey, you're in the credits for A Bug's Life and Toy Story II!)

Benjamin Mako Hill: iPod Liberation!

About a month ago, I announced an iPod liberation party (i.e., an install-fest for free/open source software onto iPods). The summary, now several weeks after the fact, was that the party was a total success. More than fifty people attended and several dozens iPods were liberated. Pictures and information on the event are now online. Over the past few weeks, I've been polishing a RockBox installer that I wrote for the event, writing up an article published on NewsForge today, and documenting the process for those that want to hold their own similar events. If you are unconvinced on the subject of iPod liberation, read the NewsForge article written with others from my research group and Harvard Free Culture. Most of the rest of the information on our party and information on throwing your own party exists in sub-pages from the iPod Liberation page in the Free Culture wiki. I'm looking forward to seeing a whole string of similar parties run by LUGs and other interested groups. It's a great way to get out a message about software freedom, DRM and about freedom on devices other than computers.

Dirk Eddelbuettel: RQuantLib 0.2.5

The new version 0.3.14 of QuantLib was released yesterday (and I prepared Debian packages for QuantLib itself, the QuantLib-SWIG Python and Ruby wrappers, the QuantLib Reference Manual (pdf format) and the QuantLib Reference Manual (html format) last night). On the same release day, Dominick and I also updated the RQuantLib package. As a result, a new version 0.2.5 has now been uploaded to both R's master CRAN host and Debian. Only minor API updates were needed. It may take a day or two for the Debian packages to start to migrate over the mirror network. The shared library package once again introduces what is technically a new package (as the release version is encoded in the name) and we have to wait for it to be approved by the ftp masters. In the meantime, the sources are of course also here.

7 November 2006

Ian Murdock: del.icio.us, fully integrated with browser bookmarks

Yahoo quietly released the del.icio.us Bookmarks Firefox extension the other day, which does something I’ve been wanting del.icio.us to do for a very long time, namely fully integrate with Firefox bookmarks. Like a lot of people, I gave up long ago on using bookmarks to keep track of interesting sites (del.icio.us fills that role quite nicely for me now). Still, the process of bookmarking something in del.icio.us had always been a bit tedious. The old del.icio.us extension helped a little (it would prefill the Notes field with whatever text was currently selected), but it was still missing some pretty important functionality (the popup didn’t display your existing bookmarks like the bookmarklet did). And even with del.icio.us, I still used browser bookmarks for quick access to the sites I frequent most via the bookmarks toolbar. The new extension integrates with browser bookmarks almost perfectly—with a few big exceptions. It’s easy to import your existing bookmarks (the extension even offers to give them a special tag and mark them “private” so as not to clutter your existing bookmarks, as well as mines existing tags to try to categorize what’s imported automatically). The tag button is much more functional now and offers to show your existing tags, my big complaint about the previous extension. And the new extension nicely replaces the bookmarks toolbar and allows you to specify and even order your favorite tags, effectively replacing the last useful vestiges of browser bookmarks with a del.icio.us backed equivalent that also allows you to give other tags to those bookmarks. That said, there are some pretty significant problems with the new extension, the biggest in my view being that there’s no way to change the sort order of the bookmarks within your favorite tags. Essentially, this makes the bookmarks toolbar far less useful—selecting “apps”, which used to contain a manually sorted list of web applications I frequently use, now contains a list of bookmarks in seemingly random order (it’s actually reverse chronological, but that’s not particularly useful for the bookmarks toolbar). The tags submenu under bookmarks doesn’t have any hierarchy to it—all tags are at the top level, making getting to a tag later in the alphabet quite tedious (I’d rather see a “tags starting with a”, “tags starting with b”, etc. structure). And, at least in my early experimentation, synchronization doesn’t always work as expected—changes to my local bookmarks seem to propagate back to del.icio.us, but the reverse doesn’t always seem to be true. Still, it’s a promising start, and I’m going to keep using it. If they don’t fix the sort problem soon, though, I’ll likely revert to Google Browser Sync. (Interestingly, Google Browser Sync is listed as incompatible and is disabled on installation of the del.icio.us extension, even though it technically does other things, like synchronize cookies and passwords. This would seem to be a smart move on Yahoo’s part—challenge Google’s foothold in the browser and create a foothold of its own.) A few parting thoughts: I’ve only installed this extension on my laptop thus far, and it’ll be interesting to see how well synchronization of my bookmarks works across machines (will it synchronize my favorite tags etc., allowing me to maintain a consistent browser toolbar? etc.). Finally, I’d like to see the “tag” function better integrated with the browser, perhaps the way Flock does it (a Google like star next to the address bar that reflects the current site’s del.icio.us state).

Adam Rosi-Kessel: Minor Voting Irregularities

We are fortunate in Massachusetts to have fairly simple paper ballot voting machines (rather than electronic touch-screen voting machines, see, e.g. Ed Felten’s comprehensive critiques of electronic voting). When I voted this morning, however, the machines were not feeding the ballots. Instead, the poll workers were piling the ballots up on top of the machines, apparently to be fed into the machines when they figured out how to get them to work. When I left (about 90 minutes after the polls opened), they had gotten to the point of triple-checking whether the machine was plugged in. I felt a bit uneasy leaving my secret ballot in a big open pile. It was somewhat reassuring that a police officer seemed to be in charge of watching the ballots, but I still will always have a slight reservation as to whether or not my vote was actually counted. Don’t they get to work early to test the machines? Perhaps do a few dry runs, kick the tires, etc.? Other industries seem to have figured out most of these problems a long time ago — for example, I can’t remember a single instance in my entire life of encountering a paper jam (cash or receipt) with an ATM. (I’m sure it does happen, just rarely enough that it’s never effected me). If a system is mission critical, it should be possible to get the failure rate down to something more acceptable.

Erich Schubert: The power of userContent.css

All mozilla-based browsers have a feature called "userContent.css". It was designed to allow you to override page CSS with your own, e.g. for accessibility reasons. It has mostly been used by people to remove ads, and I'll share two examples with you. Create ~/.gnome2/epiphany/mozilla/epiphany/chrome/userContent.css (you'll probably need to create the chrome directory, too; other browsers use similar path names) and put these two rules in there:
a[href$=".pdf"]:after  font-size: 10px; color: red; content: " [PDF]"; 
iframe[src*="devart.adbureau.net"]  display:none !important; height: 0;  
@-moz-document domain("mail.google.com")   button#ac_tr   color: red !important;   button#ac_dl   color: red !important;    
The first one will postfix a red [pdf] to any link going to a PDF file. This is very valueable especially with Google scholar. The second rule is an example on how to hide elements. This example hides some ads on deviantart. You can easily pick a wider term or grab some of the existing rulesets. The third rule will color the ">deviantart. You can easily pick a wider term or grab some of the existing rulesets. The third rule will color the ">deviantart. You can easily pick a wider term or grab some of the existing rulesets. The third rule will color the "delete" button in Gmail red, so you find it easier. Since it moves around (UI hazard; "delete forever" replaces "archive" button in spam and trash folders.) this is quite nice to have. But if you want to go for default ads filtering, I'd suggest to use some of the adblock extensions. These userContent tricks are mostly useful for adding rules that the extension didn't catch.

6 November 2006

Martin F. Krafft: Fascists in the air and on the ground

The EU has published the new guidelines for hand luggage on flights, following the foiled, alleged "terrorist" attacks at Heathrow airport in August of this year. Let's all raise our hands and cheer to the great authorities with their far-sighted wisdom for making flying so much safer. As of today, you're not allowed to transport any liquids in your regular hand luggage, because, as we all know, it's trivial to blow up a plane with liquid explosives. Previously, only the UK, as the little brother of the Excited States of America, bought this obvious security enhancing measure; today all of the EU followed. I am not claiming they had to or were forced, I think our "leaders" in Brussels are stupid enough to make the move themselves. From now on, liquid containers have to be transported in zip-lock bags, which you're expected to bring yourself. Every container holding less than 100ml has to be placed into that bag; if the bag is full, that's it, you can only take one (I wonder how long it'll be until you can buy zip-lock bags big enough to hold, say, 20 litres...). And of course, the bags have to be scanned separately, at participating airports only, of course. Just like some airports don't care about your laptops while others make you switch the thing on, I am sure those bags will be scrutinised differently depending on where you are. Containers of more than 100ml are simply not allowed anymore, including drinking liquids, unless purchased at the overpriced airport stores (which account for roughly 30% of an airports revenue), of course. Our ladies will be able to bring lip stick in their pockets, but the "softer" chap sticks (Labello etc.) are considered dangerous and thus must go into the bag. Confusing? Expect even longer delays! Ample time to think about it all! All this is obviously only being done for our safety, and to shield us from the mean "terrorists". Thank you, you smart decision makers. If it weren't for you, we might all live freely and die happily. NP: Amplifier / The Astronaut Dismantles HAL Update: Kevin Fullerton points out that at least in the UK, the bags are limited in capacity to one litre, and that "verified" prescription medicine and baby food are exempt. I shall now go to my doctor and get a recipe for a two litre water bottle. I doubt I'll pass as baby any longer. In spirit maybe, but I don't think they'll care. Update: Andreas Schuldei points out that a friend of his with a Ph.D. in chemistry tells the opposite from what Perry Metzger claims in the article linked above. I'd be interested to hear more about that. But I agree with you: you don't need liquid explosives or bombs at all to wreak some havoc in the skies. All this security theatre hardly improves security there will always be a hole, and someone will find it. On the other hand, with the publicity around "heightened security" (and related fairy tales), the average passenger is more likely to feel safe when s/he is not. Similar to the story of the boy who cried wolf, I wonder whether the authorities are not making it easier for the "terrorists". Note that I am playing their game, the game in which our authorities are trying to win, the battle long lost before it even started. I don't think the threat is airplanes crashing into football stadiums, important landmarks, or buildins with many people; I think the real threat is terror, and I am not the only one to claim that on this front, the terrorists have long won. Our politicians either don't get it, or they do and are now furiously attempting to piggy-back intelligence measures for greater "internal control", while using the public excitement as a platform for their policitical campaigns. For a leader to be able to push his/her own agenda, s/he can do a whole lot of talking and fail, or instill fear among the people and boldly forge ahead, for them to follow. I don't recall who said that which I freely quoted. Update: Wouter van Heyst pointed me to this film, which is a three part documentary. screened by the BBC in January 2005 (see Wikipedia). IMDb user ratings of 9.2/10 with 675 votes... just means I'll have to get that film. You can download it for free from archive.org, see it at Google Video, or just read the argument summary.

Martin F. Krafft: madduck's law of misconstruction

However hard you might try, someone will be offended.
If a law already exists to capture the specific phenomenon of society to consider more things offensive than pleasant, I'll take back my claim in return for a pointer. Note that for a given society, this very phenomenon has a strong positive congruence with a nation's affinity to the term "political correctness". My statement is a almost directly derived from the commonly accepted truth that "you cannot please everyone"; the sole intermediate step I took during its development relates to the over-interpretation of the semantics of gendered words to describe people. But I am rather seldom at the receiving end, so what do I know? NP: Amplifier / Insider

Martin F. Krafft: Fascists in the air and on the ground

The EU has published the new guidelines for hand luggage on flights, following the foiled, alleged "terrorist" attacks at Heathrow airport in August of this year. Let's all raise our hands and cheer to the great authorities with their far-sighted wisdom for making flying so much safer. As of today, you're not allowed to transport any liquids in your regular hand luggage, because, as we all know, it's trivial to blow up a plane with liquid explosives. Previously, only the UK, as the little brother of the Excited States of America, bought this obvious security enhancing measure; today all of the EU followed. I am not claiming they had to or were forced, I think our "leaders" in Brussels are stupid enough to make the move themselves. From now on, liquid containers have to be transported in zip-lock bags, which you're expected to bring yourself. Every container holding less than 100ml has to be placed into that bag; if the bag is full, that's it, you can only take one (I wonder how long it'll be until you can buy zip-lock bags big enough to hold, say, 20 litres...). And of course, the bags have to be scanned separately, at participating airports only, of course. Just like some airports don't care about your laptops while others make you switch the thing on, I am sure those bags will be scrutinised differently depending on where you are. Containers of more than 100ml are simply not allowed anymore, including drinking liquids, unless purchased at the overpriced airport stores (which account for roughly 30% of an airports revenue), of course. Our ladies will be able to bring lip stick in their pockets, but the "softer" chap sticks (Labello etc.) are considered dangerous and thus must go into the bag. Confusing? Expect even longer delays! Ample time to think about it all! All this is obviously only being done for our safety, and to shield us from the mean "terrorists". Thank you, you smart decision makers. If it weren't for you, we might all live freely and die happily. NP: Amplifier / The Astronaut Dismantles HAL

Next.

Previous.