Search Results: "mak"

23 April 2007

MJ Ray: Online Banking: What works with GNU/Linux? (Barclays v Linux 3)

I asked if anyone had seen the Barclays PINsentry keypad before... Kris Marsh wrote that:
"it looks a lot like the way secureid cards work. In which case, it won't physically connect to your PC, would provide you with proper two factor (password + token) and would definitely be a Good Thing(tm). Not only then, would a phisher have to take your password, but they'd have to steal your actual card and PINsentry device to get access to your online account. Thus pushing the phishing emphasis elsewhere (different banks? phone scamming?). I guess time will tell if they manage to mess it up to make it only work on Windows somehow. :-)"
Adam Bower opined:
"The Barclays devices just look like a challenge response system. Someone I know has something similar for a bank account which when you login the website presents you with a 4 digit number. You then type that number into the pad and then enter a pin and it presents another number that you enter onto the webpage and the online banking lets you in (along with a username and password). I should imagine that these new devices won't make any difference to people running Linux."
Neil McGovern noted:
"It seems that they're external devices for generating OTPs from C+P cards, so won't affect compatability."
Roger Gammans commented:
"Barclay use GEM plus usb smart card readers with their business internet banking. IIRC, this requires windows and IE so that the activeX controls on the page can talk to the reader. Having said that one desciription of the new device I heard sounded like it was a standard alone device with a display. You put your card into it and push a button and then it produces a code number which you copy onto the web page. But I haven't seen one yet - and the media are good at getting the wrong end of the stick."
So, let's wait and see.

Benjamin Mako Hill: Signs of the End Days

Today's weather report for Eastern Massachusetts includes both a flood and fire warning.

MJ Ray: Software: More Free Free Demo

"a monthly public demonstration of Free Open Source Software (FOSS), aimed primarily at beginners. It's not specifically for Linux, as the software will be demoed on a WinXP system to lure people in ;) -- however, I will make some live linux distro CDs for the event. Here's the details: Title: Introduction to Free Software
Date: Wednesday 18th April
Time: Lunchtime 1-2pm
Place: Cube Cinema, Dove Street South, Bristol BS2 8JS
Map
Price: Free
The website"
The second one will be on 26th May 2007 at the Cube Cinema, Dove Street South, Bristol BS2 8JS (Map), 1pm-3pm, and is hopefully a music one with a barbecue (weather permitting!).

Erich Schubert: SELinux and object orientation

In a previous post, I claimed that SELinux uses a kind of object-oriented approach, and that this has several advantages over path name based access.Since SELinux policy isn't actually a 'program', the term is somewhat surprising. It's just one fragement of "object oriented programming" that is available in SELinux, and actually a rather simple fragment. Also it's not how it's evaluated; but the OOP 'design pattern' of 'classes' is somewhat present in the SELinux reference policy. The syntax is kind of twisted, too.Let me give you a simple example policy fragment:
type mylog_t;
logging_log_file(mylog_t)
This fragment defines a new type, and 'inherits' from the 'log_file' class. (you can think of "logging_log_file" as com.tresys.oss.refpolicy.system.logging.log_file if you are a Java freak)The logging_log_file 'class' (which technically is a M4 macro, and maps to the SELinux 'typeattribute' 'logfile' - this would be called an abstract class in other programming languages) in turn will make mylog_t also be a "file_type" type attribute.So above line means that the new mylog_t type will 'inherit' certain access rules. Namely those defined via the logfile type attribute or file_type.This means that I can write policy to grant access on "any file" (e.g. for security scanners such as 'samhain' or the SELinux relabeling utilities, backup application, etc.) or just to any log files (e.g. for logrotate). Independend of where they live or who wrote the policy for them.So if I write policy for a custom application, add mylog_t for files living somewhere in /home/myapp/logs, I don't need to modify the logrotate policy, because that policy contains:
logging_manage_all_logs(logrotate_t)
(You can again think of this as logrotate being derived from a "log file manager" class, though it's implemented differently this time. Also note that multiple inheritance is no problem in SELinux policy)Macro names in the reference policy usually start with a namespace prefix. In this example, it's logging_. Since it uses M4 for processing the files, the syntax is largely determined by what is easy to use in M4.

David Welton: Linux Incompatibility List

As I take stock of things in my life after our move to Innsbruck, I'm thinking about what to do with the Linux Incompatibility List. I think the site could grow in some ways to get people more involved with the life cycle of identifying what doesn't work with Linux and then fixing it. There are also some tech changes that I could do. However, I'm also thinking that running the site is not part of what I want to focus on long term. It seems to have been pretty successful so far, having garnered a mention in slashdot and other news sites, and has seen a steady stream of modifications and additions. Since the adsense from it nearly pays for the server that hosts it, I've also been considering the idea of selling it somewhere like sitepoint, but I'm a bit reticent to do that, because the money part of it has to be secondary to providing a useful service to the Linux community. I wouldn't mind making some money off it, of course, although I don't think it would be much but I would have to be certain that it "went to a good home" as they say. I wouldn't mind having fewer advertisements even as things stand now, so I certainly wouldn't want to see it "monetized" by being crammed full of ads. Thoughts? Suggestions?

Otavio Salvador: Work on Parted 1.8 for Debian has been started

Today I started to prepare the Parted 1.8 to be uploaded to Debian. Parted 1.8 has many improvements against 1.7 release current on Debian and also makes the work easier since it’s the current maintained version by Parted team. On the next days Parted 1.8.7 is going to be release and with this an upload to Debian should happen…

22 April 2007

Gustavo Franco: Merge from Ubuntu, and do it now!

Well, I'm really tired of these comments on how Ubuntu doesn't contribute patches back for Debian and how some Ubuntu contributors tell that they do it and that everything is ok with the swirl side of the fence. The truth is, both sides are wrong or just lying!

The fact is that for quite some time Debian contributors can opt-in to receive Ubuntu patches by mail. It started with my scottwatcher script for utnubu that was sending mails for Debian's PTS (Package Tracking System), keyword derivatives. Ubuntu does it now, so scottwatcher was deprecated in favor of their infrastructure that also sends messages to ubuntu-patches mailing list. Dissatisfied? Go to: http://patches.ubuntu.com/

I'm sure that some will argue "well, why not wishlist bugs to our BTS then?". I would be glad to receive the reports, but a lot of Debian contributors, developers, whatever argued against that because "we've a lot of differences and I don't care about Ubuntu patches" or stuff like "I hate automatically generated bug reports, they should process them manually before sending, figuring out if it makes sense or not". It makes no sense! I would prefer the opt-out approach than opt-in, but blame some Debian lazy contributors, including me because the raw data is there. I can start pushing stuff from ubuntu-patches mailing list into our BTS. Do you want it?

Before you reply to my post, read every word at: https://wiki.ubuntu.com/UbuntuForDebianDevelopers . What's wrong with you? Aren't you a Debian zealot? Go there and apply what's needed for us, for a better Lenny release. Don't you love to argue how they do it all wrong? Redo their stuff right then!

Please never write again "I never received patches from Ubuntu for my package foo". You don't own a part of the Debian project, you're a maintainer, stop crying, go there and raise the bar again. Thanks in advance.

Sune Vuorela: Secure key management ?

Dear Lazyweb Now it is my turn to ask you for help. How to manage your private keys (ssh, gpg, ..) securely when on the move with a laptop ? Storing the stuff in your homedir makes it kind of vulnerable if you lose your laptop (get stolen).
Storing your keys on a usb stick has the same problems if it gets stolen. A idea could be to store half the key on a usb stick and the other half of the key on your laptop.
Another idea colud be to encrypt your private keys on the laptop with another key stored on a usb stick. (Or the other way around) Other ideas? And is there already some well thought software written to do this ?
Or is the best advice to just to keep your usb stick really really close and hope for the best. /Sune

Christian Perrier: Royal evening

So, second round will be S. Royal vs. N. Sarkozy. Noone will doubt where does my preference go. I've always supported S gol ne Royal and I will of course continue to do so. I however doubt she will make it. Sarkozy's advance is quite important in polls and polls fail less and less often. My personal hope is that the 87% participation ratio (the highest ever for a French presidential election) means that many people feel that our president is who we vote for...and if we want the right wing out, we have to vote. This is particularly obvious among the youngest people and I hope that it means a revival of the political conscience in this country.

Neil Williams: Mandatory -dbg packages for libraries

I'd like to see all library source packages having a minimum of 4 binary packages required by Policy: the SONAME, the -dev (without SONAME), the -dbg (with SONAME) and a -doc package (without SONAME). (Libraries for perl or other non-compiled languages would be exempt from -dbg packages but not -doc.)

Currently, only a -dev is mandated. I'm currently writing a GtkHTML extension for quicklist and writing code to use an undocumented library is PITA.

Libraries without a -dbg are worse because Debian doesn't need any upstream involvement to create -dbg packages. Things like that make Debian a nicer environment to be upstream, not just a nice environment to be a DD or user.

Are there libraries written in compiled languages that cannot provide a -dbg?

Andrew Pollock: [life] Parental visitation

My Mum and Dad arrived today for a three week visit. We're hardly seeing them though. They fly out on Tuesday to the east coast, to see New York, Washington DC and I think the Niagara Falls for seven days. When they get back, we're all heading to Las Vegas to check out the Grand Canyon, then they're off to Vancouver and to see the Rocky's. After that, they're back for a few days, then they leave again. Their itinerary makes me feel tired.

21 April 2007

Erich Schubert: More AppArmor FUD^W PR:

I didn't intend to write (ok, rant...) on this topic again, but a few days ago, this "AppArmor FAQ", was posted to the Linux Kernel Mailing list. Again, this is a lot of 'marketing stuff', and doesn't have the facts quite right...Some quotes:
In the traditional UNIX model, files do have names but not labels, and applications only operate in terms of those names.
No. In the traditional UNIX model, filenames point to inodes, and the inodes contain data such as file modification dates and permissions. This is where SELinux stores the labels it uses for access control. In fact, the "unix owner" and "unix group" are pretty much the same thing as SELinux labels. And also work pretty much the same way.
Contrary to popular belief, AppArmor is *not* "Pathnames R Us", but rather "Use native abstractions to mediate stuff": when you mediate something, you should use the native syntax that users normally use to access the object.
Maybe the appropriate term would have been "naive abstractions"?And, no, security systems shouldn't be designed around what a user can easily grasp, because that might just not work... it should be designed around the way resources are handled and how you can successfully restrict access."Contrary to popular belief", SELinux *does* use path names. Actually in a very convenient way for the users. So I wouldn't claim SELinux is really harder to use than AppArmor because of its use of path names.The difference is that SELinux doesn't rely on the path names, but it still gives the user the possibility to use them. In fact, the only way I know to get a proplerly labeled filesystem is based on path names.If I'd for example keep my web stuff in /home/www, I can tell SELinux that the appropriate label is httpd_sys_content_t by doing
semanage fcontext -a -t httpd_sys_content_t /home/www
restorecon -R /home/www
In AppArmor, I'd need to modify the policy for several applications to achieve this, because of it's dependency on path names. SELinux also uses an abstraction. One that is very convenient for users actually. SELinux does access control on object classes. What I'm doing in above example is to put these files into the "Web site data files" class. So please stop scaring people of "labels". That is just the technical term for what is an "object class", a concept every developer will be familiar with. (SELinux policy development has a couple of OOP-like features, btw., for example it is possible to give an application access to 'all log files'.)There are, however, some true statements hidden in there:
We also acknowledge that pathname based access control requires a way to perform pathname matching in the kernel, and this comes at a cost higher than comparing object labels [...]
So by providing string matching in the kernel, AppArmor trades run-time performance to grant reduced administrative work. It is however not obvious how large the difference in "reduced administrative work" is between AppArmor testing the filename "run-time" compared to SELinux using filenames to relabel files "on demand" (or, with restorecond, even on creation by using inotify).What I still seriously dislike is the FUD spread by AppArmor people such as
Label-based security (exemplified by SELinux, and its predecessors in MLS systems) attaches security policy to the data. As the data flows through the system, the label sticks to the data, and so security policy with respect to this data stays intact. This is a good approach for ensuring secrecy, the kind of problem that intelligence agencies have.
Why should this only be useful to "intelligence agencies"? Some people live in countries with very strict privacy requirements, and we might want to use these techniques to lessen the risk of leaking data. In AppArmor, I can copy a file with private customer data to the web server directory, and it becomes readable by the web server. In SELinux, the file will still be unreadable by the web server. Does that really sound like "only useful to intelligence agencies" to you?Dear AppArmor people, please stop trying to invoke fear of the NSA, just to make people use AppArmor. That makes you look very untrustworthy, you know...The SELinux kernel code is part of the Linux kernel, AppArmor is not. So in theory, that code has been reviewed much better than yours, and is maybe even less likely to contain a "NSA backdoor" than yours. Changes to SELinux are openly discussed on a mailing list, and go through peer review there. They foolow a very strict coding style, which makes review easier; obfuscated code doesn't have a place there. It's not like we were running a binary blob from the NSA we can't have a look at.

Julien Blache: Call for help: SANE

I am currently going through the SANE bugs reported on bugs.d.o. There are quite a few of them, and verifying them already takes a long, long time; fixing them is another story entirely, given I own none of the affected scanners or platforms. I’ll be going through the bugs this week-end, re-reading the logs, tagging/retitling as needed so hopefully the list will be easier to read. If you have - or are affected by - an open bug against SANE, please try to reproduce the bug on an up-to-date unstable system. I’ll be uploading a CVS snapshot to unstable today for that purpose. SANE is a complex piece of software that is best maintained in a team, if only because there’s so much hardware involved that the more maintainers you have, the more different hardware you can have too. If you have a scanner, have some knowledge about USB, shared libraries, GTK among other things and want to help, mail me and tell me what you can/want to do. Some knowledge about SCSI can help too, though SCSI scanners aren’t exactly mainstream anymore. I currently own only 3 scanners, one old SCSI scanner and a pair of nearly identical USB scanners; so that really makes 2 scanners. If you have some scanners lying around that you don’t use anymore, I (and the SANE developers too) could probably use them. I’m primarily interested in any scanner that is involved in one of the bugs currently open against SANE. I’m also looking for a scanner supported by the epson backend (the Epson scanners I have are supported by the snapscan backend). Now, back to these damn bugs.

Andrew Pollock: [life/americania] On the right to bear arms

Steven's blog post reminded me that I had to make a note about the two email responses I received to my own. I received one email from Pro Guns Person A quite quickly after my blog post went up. He was quite civil, and had things to say such as:
The truth is, if a few good citizens were armed and nearby, they would have had a chance to stop the killer before he could do any more harm.
and went on to say how if a person really wanted to, they'd break laws to get guns, so gun control doesn't achieve anything, except leaving the good guys unable to defend themselves. Sure, they'd break laws to get guns. You can't stop them if they really want to, but you can make it harder. And you have to make it harder universally. It's no good if one state cracks right down, if people can just pop over to the next state and pick up a firearm instead. I agree with Steven. Leave the gun toting to the people trained in their use (i.e. law enforcement). Frankly, it disturbs me that "defending yourself" equates to being able to shoot the attacker. I think it's Texas where you can legally shoot trespassers. Scary stuff. Pro Guns Person A went on to say:
To close, again without intending offense, please do not call for gun control if you aren't even a citizen of this country. The real problem is the societal issues that drive people to do these things. The truth is, fifty years ago in this country, people could leave loaded guns in their unlocked cars, even in high school parking lots...and nothing like this ever happened. But now, even though we have far more restrictive gun laws, things like this do happen, because of the societal problems.
I have the right to express my opinion, irrespective of my citizenship, as do you, Mr Pro Guns Person A. You don't have to like my opinion, just as I don't have to like yours, but I respect your right to have your opinion. No offense taken, either. You were very polite in putting across your point, I appreciate it. (By the way, I agree. Society's gone to pot.) Pro Guns Person B's email was along a similar theme: the bad people will always get their mitts on a gun, and the good people won't be able to defend themselves.
Think about these figures (I'll write about the US, since that's the nation you wrote about now): In the state of Arizona the gun per person ratio is 2,5 (on average 2,5 guns owned by 1 person, and these are the legally purchased ones). In the state of New York there is an official prohibition on guns. So why is it that New York has the higher armed crime rate among those two? (and one of the highest across the country)
I don't think reverting the entire US to a "wild wild west" scenario is really going to help matters at all. Sarah was saying that she'd found some statistic somewhere, probably saying something like what this page is saying. Now this was done at a Federal level, so that's why it worked, whereas anything done piecemeal, is going to cause a situation like what Pro Gun Person B was describing in his email.

20 April 2007

Romain Francoise: On SVK

Like Joerg, I use SVK to work offline with Subversion repositories, and I'm mostly happy with it. The only annoyance is that its memory usage can be quite insane on large repositories, which makes it very slow. I hear that SVK 2.0 is better in this area, but it's (still) not packaged for Debian (see bug #408306).

Jan Wagner: Is DNSSEC ready for wild life?

Today the RIPE DNS for LIRs Training Course did take place. (some not up to date course material can be found here)
Managing some thousands of zones inclusive nameserver infrastructure behind since several years, I thought it would be neat to provide a secure dns chain to our costumers.
After going deeper into the material within the course, I recognized the following impacts: Since the last issue isn’t solved (yet), it doesn’t make any sence for me to invest resources into setting up DNSSec infrastructur, cause the end user would not recognize if the communication with the resolving nameserver or the resolving nameserver itself is taken over. Any complaints and/or hint? Did I missed something? , , ,

Kai Hendry: Web kiosk Video

My sister and her friend “interviewed” me about Webconverger. Can you tell we had no script or production skills for this video? In other Webconverger news I’ve made a 100% Free software Webconverger version by removing Adobe Flash from Webconverger. So the above video will not work in the “noflash” version. I think that might be a good thing… ;) Flash-free and totally Free Software version of Webconverger On a personal note, this week I am making the move to London, so I might be offline for a few days.

Thijs Kinkhorst: Keukenhof

Last weekend we went to the number two tourist destination in Holland (the no 1 of course the Red Light District in Amsterdam): the Keukenhof flower gardens. I had never been there. The concept is a big park with as many types of tulips as you can imagine plus a few more. As it turns out I'm probably not the only Dutchman never to have attended the country's top attraction, since the park was filled with Japanese, Americans, and our friendly neighbours: Germans and Belgians. It actually turned out to be nicer than I expected. Of course the park is a big stereotype of The Netherlands with wooden shoes, a towbridge and a real (gasp!) windmill, vaguely reminding you of a Schiphol parking garage. I'm not a tulip fan, but the gardens, designed by Zocher and son, combined with the colours of the zillions of flowers were both stylish and cheerful. Although I can think of many better places to go as a tourist, if you've got a lot of time or are addicted to tulips, it's a nice place to go. Just make sure to get there really early.

Bastian Venthur: Reportbug-NG migrated from SVN to BZR

The migration was rather easy
sudo aptitude install bzr-svn
# patch (see below)
bzr branch svn://svn.debian.org/reportbug-ng    # That's right I branch directly from a SVN repo!
# ignore the error
bzr push --use-existing-dir sftp://venthur@bzr.debian.org/bzr/reportbug-ng
To get your own branch:
bzr branch http://bzr.debian.org/bzr/reportbug-ng/
Bzr-svn really makes it easy to migrate from svn to bzr… well, in theory. In practice we have #415721, but fortunately there is an easy workaround. Just temporarily apply this trivial patch:
--- /usr/share/pycentral/bzr-svn/site-packages/bzrlib/plugins/svn/__init__.py 2007-04-20 09:30:00.000000000 +0200
+++ /usr/share/pycentral/bzr-svn/site-packages/bzrlib/plugins/svn/__init__.py.new 2007-04-20 09:30:24.000000000 +0200
@@ -23,7 +23,7 @@
import bzrlib
__version__ = '0.2.0'
-required_bzr_version = (0,13)
+#required_bzr_version = (0,13) def check_bzrlib_version(desired):
"""Check that bzrlib is compatible.

and life is good again. The reason why I switched from a centralized to a distributed RCS was that I really like the option to do (small) local checkins and just do the “real” checkin when the work is done. In terms of BZR it means commits to my local branch for smaller changes and pushes back to the mainline for every major change. Oh, and it’s also nice always having the full repository data locally stored. My requirements for the RCS were: it should be easy to use (no steep learning curve), well tested and somewhat mainstream. BZR fits quite well, especially since Ubuntu heavily relies on it for their launchpad stuff. PS: Thanks to the alioth team for creating the BZR repository so quickly, it just took like 1 minute.

Adam Rosi-Kessel: Unwise Crowds?

Many of us who believe in Web 2.0 (the concept, not the buzzword) have come to accept the wisdom of crowds like an article of faith. The Frontal Cortex describes a Columbia University sociology experiment that might undermine our dogma (apparently I missed it in Science):
In our study, published last year in Science, more than 14,000 participants registered at our Web site, Music Lab (www.musiclab.columbia.edu), and were asked to listen to, rate and, if they chose, download songs by bands they had never heard of. Some of the participants saw only the names of the songs and bands, while others also saw how many times the songs had been downloaded by previous participants. This second group — in what we called the “social influence” condition — was further split into eight parallel “worlds” such that participants could see the prior downloads of people only in their own world. We didn’t manipulate any of these rankings — all the artists in all the worlds started out identically, with zero downloads — but because the different worlds were kept separate, they subsequently evolved independently of one another. This setup let us test the possibility of prediction in two very direct ways. First, if people know what they like regardless of what they think other people like, the most successful songs should draw about the same amount of the total market share in both the independent and social-influence conditions — that is, hits shouldn’t be any bigger just because the people downloading them know what other people downloaded. And second, the very same songs — the “best” ones — should become hits in all social-influence worlds. What we found, however, was exactly the opposite. In all the social-influence worlds, the most popular songs were much more popular (and the least popular songs were less popular) than in the independent condition. At the same time, however, the particular songs that became hits were different in different worlds, just as cumulative-advantage theory would predict. Introducing social influence into human decision making, in other words, didn’t just make the hits bigger; it also made them more unpredictable.
I don’t accept this one study as proof that the entire user-centric content rating system is a failure (or random), but it does highlight some of the perils of a “winner takes most” mode of cultural evolution.

Next.

Previous.