Search Results: "ag"

10 November 2006

Joachim Breitner: Teaching Linux with Games

I m still at the school in Ghana, and although I have quit, there are another five weeks to make use of. Linux is installed on quite a few machines, but it is not used very often, partly because the studentds don t know about it. I was instructed to boot to Windows by default, so they don t stumble over it either. To raise a more interest, I announced a Linux Gaming Tournament, and put up some posters. The participating students will compete in Frozen Bubble, the game formally known as Tuxracer and Tetrinet.As it turned out I got the permission to do so based on a misunderstanding: The principal thought I would create a game that itself would teach students to use Linux (maybe some kind of rally with hidden hints in various applications and folders, and whoever finds them wins). My original plan would not have been allowed, as there is a officially strict school policy against computer games, and because it is a boarding school, it is also a life policy for the students for four years.Because the tournament was already announced and students signed up for it, I will still be able to hold it, as an explicit exception to the rule. But what the administration would like to see, also to keep the interest in Linux up even after I will have removed the games again, is a longer lasting competition in a game with a more educational purpose. An old Mac game was named where the player has to run a business and in the process learns about spreadsheets.So, dear lazyweb, do you know of a game thatI know that the last two wishes would point to a web based game, but that defies the purpose to lure the people to start Linux.

Andreas Barth: One day off

On Thursday, I did lots of "small" items that needed be done done for quite some time: I checked the new hosting location for volatile (thanks to the physics department of the Ludwig-Maximilians-Universität München for sponsoring), (hopefully) fixed the wanna-build setup for debian-edu (and are now hung at uploading), and so on. Also, I had a short look at the apache2-bugs count, and noticed this package needs serious QA activities. All "good" activities, but obviously not really "working on the release", so I mark Thursday as day off, and will add another day at the end of my schedule.

Steve Langasek: Pick a bug, any bug

According to turmzimmer, there are 53 RC bugs remaining in testing that are not fixed in unstable and are over 20 days old. This is great, because that number is down from about 80 a week or so ago; but that leaves a good number of harder bugs open that could probably use some attention from NMUers given that these are the bugs that are specifically not seeing turnaround from maintainers. Just think, if every developer fixed just one of these bugs, we would have 19 NMUs for each package, the ftp team would be pissed, and we could release just two weeks from now once ftp-master.d.o was able to clear the backlog! And remember, any bug not found in a standard 52-bug deck is a spare portabella mushroom.

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.

Martin F. Krafft: Get out while you still can!

Via interesting-people and from sianews:
Forget no-fly lists. If Uncle Sam gets its way, beginning on Jan. 14, 2007, we'll all be on no-fly lists, unless the government gives us permission to leave-or re-enter-the United States. The U.S. Department of Homeland Security (HSA) has proposed that all airlines, cruise lines-even fishing boats-be required to obtain clearance for each passenger they propose taking into or out of the United States. It doesn't matter if you have a U.S. Passport - a "travel document" that now, absent a court order to the contrary, gives you a virtually unqualified right to enter or leave the United States, any time you want. When the DHS system comes into effect next January, if the agency says "no" to a clearance request, or doesn't answer the request at all, you won't be permitted to enter-or leave-the United States. [more...]
Here's a PDF with more information about this proposed regulation. Next thing we'll see is American officials travelling to Germany in the hopes to find how-to documents in the archives of the former Stasi. Disgusting. Update: the original NPRM (whatever that may mean) by the DHS is available from here. The IP thread is here and this post has some more information. NP: Amplifier / Insider

Adam Rosi-Kessel: A Comic Not Everyone Will "Get"

NOKUBI Takatsugu: The 5th International GPLv3 Conference

The 5th International GPLv3 Conference will hold in Akihabara, Tokyo, Japan, Nov 21-22, 2006. I am a board member of FSIJ (The Free Software Initiative of Japan), and the organization is hosting the conference. I'm also working to prepare the conference. The most major usage of GNU/Linux is for embedded system in Japan. I think many people know "Zaurus", a linux-based PDA. And other many embedded systems are here and there in Japan. So we will discuss about embedded system and Free Software. I consider to broadcast the conference by Ogg/Vorbis and Theora, XCAST6 with vic and rat, and IRC. I hope that many people see the conference via network and directly. BTW, the blog's category is not match to the subject. I need to make other category...

Hanna Wallach: graphing tomboy notes

A while ago, I blogged about wanting a mindmap-like graph interface for Tomboy showing me all my notes and the links between them. Stefano “Zack” Zacchiroli has just written a script that processes Tomboy and generates a Graphviz graph that is then rendered and shown on the fly. Sweet.

Andreas Barth: Spreading the news

Today started with drafting a release update (did anybody tell so far how much time it costs to write such mails? - of course it is time well spent, but still lots of time). Two review rounds, and a couple of smaller issues made most of my morning. In the afternoon, I worked on my mail backlog, and answered e.g. a longish mail from an journalist about release management in Debian. Not something that directly improves the release, but I believe it is also time well spent - if we get our point of view distributed better. Amazingly again how much time one can spend with writing stuff.

8 November 2006

Ian Murdock

CNET News.com: “Google is targeting the neo-network computer, not Microsoft, with all the Web-based applications it is releasing, Google Chief Executive Eric Schmidt said at the Web 2.0 Summit here Tuesday.”

Sven Mueller: /usr/lib/X11/fonts/CID - Which fonts would go there?

Today at work, I wondered about xfs, which logged the following warnings via syslog: xfs xfs: ignoring font path element /usr/lib/X11/fonts/cyrillic/ (unreadable)
xfs xfs: ignoring font path element /usr/lib/X11/fonts/CID (unreadable)
After investigation, I found them to be configured in /etc/X11/fs/config, which look sane even though those paths don’t exist. However, searching through all the Debian packages available to my system (which include several non-free repositories), I was only able to find one package providing fonts in …/fonts/cyrillic, but none providing fonts in …/fonts/CID. I would be interested to know why that path was included in the default search path for xfs. Not even the evil msttcorefonts package installs any fonts in that path. Could anyone refer to anything that uses (or used) that path? Granted, x-ttcidfont-conf refers to CID fonts, but no other package seems to mention them, so why is that path in the default config? I admit I’m quite puzzled.

Erich Schubert: DHL Express ist langsam...

Wie ein Mitbewohner von mir gerade erfahren musste, sind DHL und DHL Express so "disjunkt", dass man bei der DHL insbesondere kein Paket abgeben kann, dass per DHL Express verschickt werden soll. Was jetzt besonders lästig ist, weil man ein Paket bei der DHL ja dann in der Filiale vorbeibringen kann, wenn es gerade passt. Und an den Packstationen wohl sogar 24h am Tag. Und gerade war jemand von der DHL bei uns an der Tür; nur kann er halt das Paket für die DHL Express nicht mitnehmen. Ich habe den Eindruck, wenn das über die normale DHL verschickt würde wär es schneller... da wär das Paket schon da, bis die DHL Express es mal schafft hier vorbeizukommen wenn jemand zuhause ist...

Roland Mas: Adding some non-blog pages

This blog/website is (currently) powered by Ikiwiki. That means I can rather easily add non-blog pages for content that's not quite "news", yet deserves a location more visible than some ~/public_html/tmp/ directory. I'm therefore starting the /static/ section of the site. Its first (and, so far, only) page is one giving some details about my digital camera setup. I may add some more pages as time passes. Not sure yet whether I'll make an index or let people find the pages through a search engine or the links.

Joachim Breitner: graphing your gaim chat history

I m a fan of statistics, so I created a small perl script that reads your gaim message history and, for the top 10 contacts, creates graphs: One for the total bytes chatted, one for the bytes chatted on each day, and two with weighted averages, over one week and one month timespan. You need the perl modules in libgd-graph-perl and libxml-xpath-perl, and my script. Run it and it will output the four png s in the current directory.I don t have examples, as the output is far too private to put up here, and I m too lazy to create interesting test data. There is a lot you can discover in these graphs: When you got to know someone (or when he started IMing), when you were not good terms with someone etc.

Wouter Verhelst: Release status

I love this time in the release.
Debian GNU/Linux 4.0 country tty1
country login:
Usually, that says testing/unstable rather than 4.0; and yes, country runs unstable. But since you can only get packages into testing by going through unstable, that means at some point (preferably as late as possible), unstable has to claim it's 4.0 After that, we're up to freeze, and then a few months later we've got our new stable. Isn't that cute.

Lucas Nussbaum: Wiki-like editing of tables/spreadsheets to share QA meta-information about packages ?

I’ve been working on archive rebuilds lately (rebuilding all etch packages inside etch). It generates a lot of data to analyze (failed build logs), and the work could easily be split between several developers. For each package which fails to build, I add a line in a Gnumeric spreadsheet with the package name, the version I tried to build, the output of a script which tries to guess the reason for the failure using regexps, and the “resolution” (was a bug filed ? a new package not yet in testing ?) (example here) Instead of doing this locally in Gnumeric, I’d like to do that online, using wiki-like editing, so other people could investigate different failures concurrently. My ideal piece of software would: Does this exist ? :-)

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.

Erinn Clark: cd /mnt/view

The week before last, I packed up my car and drove across the country and am now in California. All I have to say about that is: WESSSIIIDE! I also have a few pictures.
This cow mooed at me until I went away. I love New Mexico.
Obligatory tourist shot at the Grand Canyon. As an aside, on my way there I got stuck on a highway overnight because of a police/gunman standoff.
Some pretty blown glass flowers inside the Bellagio in Las Vegas, NV.
The meteor crater, which I wish to pave and turn into a skatepark.

Next.

Previous.