Search Results: "sto"

10 February 2006

Kai Hendry: Linux for schools

So my sister is working at a school where the computers are in a shocking state. All infected with viruses, spyware and malware. The machines either crawl along or are incredibly unstable. Some of them run some sort of virus protection program and I’ve seen one or two computers running two different anti-virus programs. On my travels I have seen countless infected Windows machines. It’s incredible! And the worse thing about it, is that the Free Software geeks and outfits can’t seem to capitalise enough on it. So what can I do? The Computer Scientist. Well, not a lot. For example all the Windows machines are in Korean. I can’t figure out how to change win32 language. Can you? Plus, I don’t want to re-install Windows. I want to deploy some Linux based solution. So what are the requirements? They need to : That’s it. It also can’t be more complex. No username or passwords please. We don’t want to have to train people to use a new system. Must be simple. Oh diddums. Can Director macromedia kid games be played in Linux? I don’t think so. Oh I wish these kids’ software was on a N64 or something. There is only like 10 PCs in this school and installing them with Linux would take quite a bit of my time. I need some sort of centralised control tower where I can control deployment of my own customized Ubuntu based distro. I know very well about SkoleLinux but it is simply too complicated. No need for email. Outsource to Gmail and hosted service. Must be simple. All I can think of will be complex and painful. Grrr…

Uwe Hermann: Forensic Discovery - a (free) book by Wietse Venema and Dan Farmer about forensic techniques for gathering digital evidence

I accidentally stumbled over this today: the book Forensic Discovery, written by two security gurus — Wietse Venema and Dan Farmer - has been published by Addison-Wesley. Which is nice and all, but even nicer is the fact that the book is freely available for online reading. There's also a ZIP-file, if you want to get the whole thing. This should make for some interesting reading during the next few weeks...

Erich Schubert: Why a blog software should be XML based

Simple answer: because RSS and Atom are XML formats. So please generate valid output. Adhere to the standards! The RSS feeds of Planet Gnome and Planet Ubuntu, for example, are currently broken. (Planet Gnome due to a bug in Planetplanet AFAICT, Planet Ubuntu due to a broken RSS feed from Wordpress... Yes, you must escape single < characters in XML...) Templating systems such as the default templating of the Django Framework, or the popular Clearsilver templating engine are unfortunately not suited for XML output. Oh, and please never ever write XML using 'print' commands either. Use a proper XML writer, which can handle charset issues and escaping properly. Good examples for XML-enabled templating engines include TAL and METAL used by Zope (but available for a variety of languages), and KID (again python, used by the Turbogears Framework). Closely related is the "HTML fragments" issue, which basically is why I want XML to be used internally, too (you could also store StructuredText only, and convert it to XML just for transformation to the output): HTML fragments in my blog should be valid slices of an XHTML file, to avoid issues when generating both the web pages as well as when integrating the feed into other pages. With RSS, the HTML code is AFAICT escaped in one big data chunk, so it doesn't matter there. It probably does for Atom. So what a good blog tool (including a rewrite of planetplanet which has way too many bugs) needs to do is to parse it's input data (plain text, HTML provided by a web browsers WYSIWYG edit component, mail, structured text, XML, ...) and either reject broken entries or try to guess whats intended, but guarantee that the output is valid XML. Then generate proper feeds and output from that. Thanks to all those who already replied to my previous posting. One thing I was pointed at, and I'll probably look into is Apache Forrest. Although I likely will use KID instead, if I happen to write my own tool after or despite my upcoming final exams.

9 February 2006

Ian Murdock: Yahoo?

Lily Tomlin As regular readers of my blog should know by now, I’m a big fan of SaaS (software-as-a-service). I’d go so far as to say it’s the future of software. Like all things, though, SaaS has its drawbacks, the biggest of which are questions of reliability, as the recent outages of salesforce.com have made painfully clear to its customers. It’s great if your data lives on the network, but what happens when your data isn’t available, either because the network isn’t available or because the servers it lives on are down? (The rhetorical question brings to mind Leslie Lamport’s famous observation that “a distributed system is one in which the failure of a computer you didn’t even know existed can render your own computer unusable”.) Security and trust are important too. Prime example: saleforce.com’s less than forthright acknowledgment of the recent outages. Another: Just today, Google launched version 3.0 of its desktop search software, which gives users the incredibly useful ability to search their local documents from any computer in the world. Of course, it does this by storing the index (and, apparently, the documents themselves) on Google servers. Hmm. Do I really want my business plans stored somewhere on the web outside of my direct control? Then again, an increasing number of people keep their email on the web, so chances are, if I’m collaborating with someone, they’re already there. As much time as I’ve spent thinking about SaaS, though, this was a new one: A friend of mine managed to get himself locked out of his Yahoo account, and after hours on the phone with Yahoo support, he seems unable to convince the Yahoo bureaucracy he is who he says he is so they will let him back in. He even offered to fly to Sunnyvale to present his driver license. Apparently, the zip code Yahoo has on file is different than the zip code he’s had his entire life, and the support staff say they can’t unlock his account until he gives them the right answer, which he’s already doing. (Apparently, the best one particularly dim bulb in Yahoo customer service could come up with is that he call back each day with a different guess till he gets it right.) In short, there seems to be some sort of an immovable object/irresistible force thing going on, and he’s not sure how to break the deadlock so he can get back to his data. The most pressing problem is that he’s got some tax related information in his email account, and on the current path, there seems to be no way for him to get to it by April 15. So, I pose two questions here: First, if you work at Yahoo, how in the hell can my friend get his access back? As already stated, he’s spent hours on the phone to no avail. I’ve tried inquiries on the backchannel but have received no responses. Second, for the larger SaaS community, if our data lives on the network, what happens if Google, Yahoo and the like become the phone company?

Erich Schubert: Anyone knows of a nice XML-based blog software?

Dear Lazyweb, Anyone aware of a nice blog software that And I bet I forgot some additional restrictions... Thanks for any suggestions..

John Goerzen: My new podcast: The Sound of History

Well, it's finally time to announce my new podcast, Sound of History! The Sound of History is a weekly podcast featuring full-length, unedited, and uncut historic audio. You'll hear speeches, broadcasts, and events from around the world. Sometimes you'll hear famous people, sometimes not. Episode 1 is up now. On this episode, you'll find John F. Kennedy cracking jokes about Marx in front of a bunch of newspaper publishers, Ronald Reagan talking about the Challenger, some blues from 1922, and an Edison recording from 1902. Thanks to Cliff for mentioning that Reagan speech in a comment. That prompted me to go find it. I'm finding material for this podcast from around the Internet. Some of that music comes from archive.org, and there are various sources for presidential speeches. I'd like to find some British prime minister's speeches as well, but I'm having difficulty with that. If any of you Brits reading this know of a good site for uncut audio, accessible to Americans, please do let me know.

Daniel Stone: [tech/x] here we go

Let the shiny begin.

Simon Richter: Back to normal (comma) whining about ISDN

Hooray, back to my daily routine. The switch wasn't too hard on the first day, however I'm still not fully restored, so perhaps starting the day with a pretzel wasn't the best idea, something like hot tea would have been more appropriate. On the Debian front, I have received interesting bug reports. One says that my modules package doesn't compile with m-a against a backported 2.6.15, the other one asks for yet another new version of a package that is maintained to at least some degree by people who could not care less about other architectures than i386, so I'm still working on fixing an older version.

8 February 2006

Matthew Palmer: Drama on Rails

In another form of "It Never Rains But It Pours", today's ride to work has seen: Most days commuting are straight-forward, no-nonsense, uninteresting days. But when the Universe decides to put on a show, it makes sure it's worth watching.

Uwe Hermann: How to detect and defeat hardware backdoors and wiretaps?

A network card How nice. The FCC wants "a "back door" be built into all Internet-communications hardware and software to provide access for law enforcement agencies". This and similar horror scenarios for the freedom and privacy of the people are nothing unusual these days. A more general (and more paranoid) question: How do we know whether our software or hardware is backdoored/wiretapped? We all know that using a certain OS from Redmond opens a lot of security holes in itself. Add to that all the now-public attempts of agencies and companies ranging from the FBI, NSA, Sony to antivirus-software vendors who install backdoors on your PC, and you've got some very good reasons to never trust any closed-source software again. This is not a problem for most of us using Free Software and free operating systems (Linux, *BSD, etc.). Theoretically, we can read the source code of almost every single instruction being executed on our hardware, and verify that the software doesn't do any funny things like phoning home, logging keystrokes, opening backdoors and so on. However, how can we know whether or not our hardware has been backdoored/wiretapped/trojaned (or whatever you want to call it)? Given that almost all devices we own nowadays (PDA, iPod, cell phone, hardware VOIP phone, and all the other gadgets) as well as most parts of our PCs and laptops have some sort of microcontrollers on them, how can we be sure that there is no secret code hidden in there which spies on us or provides hidden backdoors to them (whoever that may be)? With some devices you can dump the firmware and analyze that, but most parts are probably not easily analyzable by mere mortals. Think network cards, builtin wireless cards, sound cards, bluetooth chips and so on. IMHO, a good first step in the right direction are things like OpenBIOS (Free Software firmware/BIOS) and OpenEZX (Free Software GSM phones). Alas, I think DRM will pose a major threat here in future, as we probably cannot easily replace custom firmware/software anymore if DRM in the worst form becomes reality. So, how would you go about to ensure that your hardware has not been backdoored? How can we detect such things? How can we defend against such things? How can we remove backdoors if we find any? Do you know of any relevant research, papers, documents, HOWTOs? Any cases you know of where such things happened? Any practical tips or advice?

Joachim Breitner: Announcing the RiskRecorder

Last week, some friends and I played a very exciting and long (6 hours) game of Risk. At the end, I thought: Too bad we can’t rewind the game and play it fast forward, just see how the tides of colors are waging.Well, on Sunday, I though, why not, and started writing “RiskRecorder”. It is my first larger project with python and gtk+, and I am quite content with both of them. The map is stolen from JRisk, and with that the idea of a gif file that maps pixels to countries. The RiskRecorder is meant to be used during a game of regular risk, to - well - record the moves. As a side benefit, you don’t have to calcuate the number of units you get anymore, as the RiskRecorder can tell you that. You can then save the whole game for later review.It should be in a usable state by now, but I plan to add more features sometime, like better animations and graphs showing development of the game.To try it yourself, you need the program itself (one file so far), then get at least the board.map, board_map.gif and board_pic.jpg from the jrisk CVS repository (you can open any other JRisk map in RiskRecorder, too). You might need to download the python bindings for gtk and cairo, too. On debian, I assume that apt-get install python-gtk2 python-cairo will get you what you need.As always, comments, bugreports and patches are welcome. To follow development, have a look at my svn repository.

Joe Wreschnig: An Open Letter: Notification of copyright infringement to Abaakouk Mehdi

Update: The Listen website has been temporarily taken down, and Abaakouk Mehdi is in the process of fixing the copyright notices. I am very grateful for this. In my mind, this issue is finished; we’ll soon see a new release of Listen, with intact copyright notices, and everyone wins. Also, so people don’t take my opinion as anything other than solely mine - Eduardo Gonzalez and Michael Urman, the other Quod Libet developers who had their copyrights infringed, have also commented on the issue with slightly different views. (But first second, a brief open letter to people who leave anonymous comments calling me an ass: The only tool free software developers have to defend themselves is their copyright. Copyright infringement is not a “minor problem” but the single largest mistake you can make when writing free software. When you take my work, and strip my name from it, and plasters yours all over it, I have every legal and ethical right to be as pissed about it as I want. I love it when people use my code. I see no reason to love it when people misrepresent my code. Without the ability to pursue copyright infringement, I might as well be writing public domain code, and in that case, I might as well be getting paid for helping software hoarders, and screw you all. Abaakouk screwed up, really badly, but you guys who don’t want me to enforce my license are a real threat to free software.) Dear Abaakouk Mehdi, author of “Listen, just listen,” Your program is ugly. But beyond that, it’s infringing upon my copyright and that of my friends. Your mmkey support, on-screen display, config.py, stock.py, much of your utils.py, and probably more but because I’m already angry enough I’m going to stop looking, is taken directly from my audio player, Quod Libet. Normally, that’s fine. It’s free software. Enjoy the source. You didn’t credit any of our work on the website. That’s fine; it just makes you an asshole, albeit a law-abiding one. But you had to go one step further and rip off most of the copyright notices. You also licensed all the code under “GNU GPL v2 or later”. You can’t do that. Quod Libet’s source is released under the GNU GPL, version 2. My one consolation is your complete incompetence. I mean, it’s really obvious from your screenshots that you ripped off our OSD, and you even left in the horrendous Python style guideline violations that we’ve since fixed. You copied and didn’t use a lot of our utility functions (and you didn’t copy and reimplemented improperly a few others). You left in half my comments, but then translated some docstrings. And to cap it off, you authenticate yourself to leoslyrics.com as auth=QuodLibet. Remove my code from your release, until you can learn how to properly, and legally, credit people.

Ross Burton: Oh Dear Lord

This has quite amazing amounts of crack. It looks like someone thought, "Hey, some people like Muine and some other people like Rhythmbox. Let's glue them together!". Please make it stop. Update: apparently people think I'm mocking the author. Yeah, maybe a little. However, there are some serious cracky features in there, which I personally don't like, and as this is a personal blog this is where I get to say that sort of thing. Of course there is a hell of a lot of effort in this program (albeit in Python so its easier to get stuff working), but why is this another program? We already have music players. If I only count the blessed and pratically-blessed players, there is Totem, Rhythmbox and Muine, all with different UI designs. The author of Listen must have at least partially liked one of those (from the screenshots he liked the playlist of Muine but the overall design of Rhythmbox) and then worked on one of those, say adding a pane to Rhythmbox to do what he wanted instead of duplicating large amounts of non-trivial code. It's likely that the result of this would look nothing like Listen, as I still firmly believe that it is ugly. Of course what he does in his time is his choice and none of my business, so if he wants to write another music player he can, but if someone wants to make a real contribution to the community they should interact with the community in the first place. Otherwise it's just a pet project and if it duplicates existing programs, will likely remain a pet project. Maybe this comes down to centralised source code verses distributed source code (CVS vs Arch), but I doubt it. Downloading a tarball to start patching is easy, and for most people creating an Arch branch isn't exactly trivial. Update 2: This is a very amusing open letter.

Andrew Pollock: [tech] Feed fixing finale

As I mentioned yesterday, I noted that Blosxom was misbehaving with RSS feeds where a flavour was used to customise the character set of the feed. Tonight I made time to look under the hood, and found:
      if ($content_type =~ m \Wxml$ )  
        # Escape <, >, and &, and to produce valid RSS
        my %escape = ('<'=>'&lt;', '>'=>'&gt;', '&'=>'&amp;', '"'=>'&quot;');  
        my $escape_re  = join ' ' => keys %escape;
        $title =~ s/($escape_re)/$escape $1 /g;
        $body =~ s/($escape_re)/$escape $1 /g;
       
Which I promptly changed to
      if ($content_type =~ m \Wxml(; charset=.*)?$ )  
        # Escape <, >, and &, and to produce valid RSS
        my %escape = ('<'=>'&lt;', '>'=>'&gt;', '&'=>'&amp;', '"'=>'&quot;');  
        my $escape_re  = join ' ' => keys %escape;
        $title =~ s/($escape_re)/$escape $1 /g;
        $body =~ s/($escape_re)/$escape $1 /g;
       
and now I can have my cake and eat it: UTF-8 encoded RSS feeds.

7 February 2006

Julien Danjou: Obfuscate p2p

Erich Schubert wrote about p2p obfuscation/encryption, arguing that it's bad. Eric, according to some french media (so it is still a rumor for now), at least one french DSL provider (not the leader, the second one) already set up QoS limitation for non-standard ports, prioritizing usage of http/smtp/imap. Now, customers of this ISP should ask themselves about setting up tunnels on port 80/tcp to route all their traffic outside... :-(

Erich Schubert: On "encrypting" (read: obfuscating) P2P: Please don't!

Recently there was a discussion on whether BitTorrent should get some encryption (or obfuscation, more likely) added. Right now, you can filter out BitTorrent traffic with the following iptables command (note: this needs iptables 1.3.4 and a recent kernel):
iptables -I OUTPUT -j DROP -m string --string "BitTorrent protocol" --algo bm --from 0 --to 100
(Note: match is not optimized, the range of 0 to 100 and algo bm is arbitrary) The nice thing is, that this match is very unlikely to match non-Bittorrent traffic. Linux users can use it to filter out all BitTorrent traffic or mark it for speed restrictions. Network operators are very interested in filtering this traffic: it slows down more important traffic (and if you are e.g. using stochastic fair queing, the large number of connections for P2P filesharing will make it get a larger share than other apps!) and can cause costs. If you have mobile users, who e.g. connect their laptop to your network, they will occasionally use BitTorrent at home, and forget to disable it when they connect to your network. That's really bad, it happens and it's not like this is intentional "malbehaviour" or "sabotage"! So back to the original topic - obfuscating BitTorrent traffic. Let me explain what network operators might do when BitTorrent can't be slowed or filtered any more (Note that this already applies to some services such as Skype or Kazaa as far as I know): First of all, they might decide to filter all connections to non-standard ports. This effectively eliminates (most of) filesharing - but also e.g. Skype and some IM and chat services. Basically any non-standard service. (Note that "professional" VoIP services using SIP may still be whitelisted). Secondly, they could decide to slow down all connections to non-standard ports. This would make filesharing, Skype, IM etc. still possible, but for example file transfers via IM will be really slow. No video via Skype, probably, depending on the limits set in traffic shaping. Thirdly, they could disable all outgoing connections and require you to use proxies for that. Then you need to enable/disable your proxy all the time when switching networks, and you'll only be able to use a limited set of services. Again, Telephony via SIP is still technically possible, using a SIP proxy or by whitelisteing major SIP providers. Skype is no longer possible. IM needs whitelisting, and will likely be blocked, too. None of these options are very favourable for the users. So please do not support "obfuscated" Protocols such as Kazaa or Skype, or an obfuscated variant of BitTorrent. Stick with stuff administrators can set up policies for - and be nice to your admins. Tunneling via non-standard ports, hiding services will only get you into trouble, and probably even make innocent other users suffer. After all, filesharing - especially illegal downloading movies and music - is not THAT important, is it? So please make the important services not suffer from it. Thank you. Oh, and please use SIP, not Skype. Because your admin can whitelist your SIP provider if you tell him you need it for work or setup a proxy for that - and with Skype, he might be afraid that you become a supernode and cause high traffic costs. And then there is a much larger software choice for SIP, including many OpenSource solutions, including PBX software such as Asterisk.

Kai Hendry: Debian doldrums

Kai participates in a snow fight Gotta love Debian sometimes. ;) My beloved mutt seems a little broken in unstable currently. I’m in the market for a new AM. 3rd time lucky? Ok, so I am packaging Aaron’s web.py library and so I check the license with debian-legal. “Vorlon”, the omnipresent and omniscient got back to me pretty quickly, saying no. Goddam! ;) I’m no legal expert and my brain hurts thinking about these distribution clauses, GPLv3 issues and controversies. I hope debian-legal reaches some agreement. At about 6pm I noticed the Ubuntu crowd were in Seoul. I emailed hastily asking about a meetup or something. Probably too late. Damn. I’m feeling quite alone in my Linux usage here in Korea. I see Mark has been in Japan. I have fond memories of Japan and the debian guys out there. Yeah, if any Korean devs are reading this, get in touch. Part asked me to get in contact with some mail administrators in order to curtail some of the massive amounts of spam coming out of Korea.

David Pashley: OMFG Google evil

MJ Ray, I think you're distorting what is going on. Google are, rightly, protective of their search results and work actively against people that try to manipulate the search results. This is what BMW.de had done by giving a spam page to google and using javascript to redirect users to the right page. As an aside, this would have broken for text browsers or anyone without javascript. It's not the pinicle of accessibility is it? Google were protecting their index, not using it as a vendetta against people it doesn't like as you were suggesting. Stop being so paranoid and stop distorting the story, or you're no better than the devil you're trying to paint Google as.

Zak B. Elep: Whirlwind < 48h Manila Tour

Heh, its been more than a day now since I got back from Manila after the Ubuntu AsiaBusinessTour, and even then I have some stuff to do here (both IRL and IOL work) before I could find some time to blog ;) Here are the highlights of my trip: I’ve adopted opendchub, rccp, and xshisen from Grzegorz Prokopski too :D Heh, I’ll be quite busy this coming week…

Andrew Pollock: [life] Our rabbit made the front page

Our neighbour dropped a copy of the local rag around this morning, because of this story on the front page. Maybelline is now back at the animal shelter because she got big enough to be desexed, and is now awaiting adoption.

Next.

Previous.