Search Results: "ag"

17 February 2006

Erich Schubert: SELinux Reference Policy on Debian

So I have now installable packages and tools for the mysterious, wondrous SERefPolicy. You can grab them at http://selinux.alioth.debian.org/experimental Note that I havn't tried using the policy yet. For example, the policy is missing dpkg and apt-get rules. So don't even think of running it on a production system, there is still lots of stuff to do. But I just, for the first time, managed to use "semodule", and actually add and remove modules from the modular policy. Yay! Now we just need to rewrite tons of policy in an even cryptier language, using even more M4 macro hell... ;-) Oh, and then we need to fix that Make bug effecting unstable, so we can actually build the new policy... ;-) We definitely need more people working on SELinux support in Debian.

16 February 2006

Martin F. Krafft: I was there

Philipp, thanks for the note. I was at the talk and it was then (though not due to Joey's talk) that I decided we need to do something about security in Debian. It just so happened that LinuxTag 2005 coincided with the bad media coverage we got on security. I don't want to speak of (as of yet) unreal things, but one of the goals we want to achieve as soon as possible is take some of the burden away from Joey and expand the work of the secure testing team to cover unembargoed security issues in stable as well. And among the prime needs we identified was lack of a formal procedure and documentation, so this is stuff I want to work on, also in preparation of my upcoming FOSDEM talk.

Antti-Juhani Kaijanaho: You know it s time to emerge from hack mode when

… rereading the spec makes you realize you’ve forgotten to deal with an important cross-cutting issue, and trying to figure out what are the undoubtedly numerous changes to the design that are required to handle this issue, makes your head hurt. (Another sign: when your writing is as convoluted as your worst code.) It’s so good it’s past bedtime. There’s no trouble figuring out what to do next :)

Christine Spang: Text-Based Virtual Worlds

joeyh writes:
Long ago we had MOOs, MUDs, etc, and they were text based. Just words, you know.
As far as I can tell, there are still quite a few that thrive today. 8) I feel less crazy about my other major hobby now. I’ve found that there’s a lot more flexibility in text-based virtual worlds. (Disclaimer: I run (and play) text-based MUDs and have not even read the article in question as I don’t subscribe to LWN.)

Philipp Kern: Stable security updates

Martin, I recall that Joey already did a diagram for the stable security updates, shown at LinuxTag 2005 in Karlsruhe. Funnily enough, Joey did not publish his slides. (He is almost the only one who didn’t, looking at the list of speakers of the two Debian Days.) Oh well... And guess what his own publication on his site lacks... The “Security Processing” part is just empty. Disclaimer: This is not intended to offend Joey in any way.

Norbert Tretkowski: Embedded World

I visited the Embedded World in Nuremberg with a colleague today. We saw a few interested things (e.g. picotux, the smallest Linux computer in the world), and had some nice talks, but all in all it wasn't that interesting.

Martin F. Krafft: Not surprised... (in search of a proper UML editor)

I need a UML editor capable of state diagrams to formalise the current and future workflow related to security updates for the stable and testing releases. Most UML software in Debian's archive only knows about class diagrams, with a few notable exceptions:
  • tcm: the user interface is a nightmare and despite at least half an hour of reading the docs and trying hard, I had not managed to create a .xmi file describing a simple publication workflow. Reason enough to move away from this horrid application.
  • umbrello: 50 Mb of downloads later, I finally had the KDE-based umbrello installed and within five minutes, I understood how to accomplish what I want with the more or less intuitive user interface, although I have still not found out how to associate actions with transitions. Anyway, while I am happily clicking away, umbrello suddenly disappears without a warning, message, or output to the console. Thanks, KDE, for making intuitive software that looks good; whether it's usable and/or stable is an issue with which you need not concern yourself.
ArgoUML, a Java-based application (see how desperate I am?) doesn't even want to start with the 1.5 JRE. Lacking any usable editors, I might just implement the whole security update process in Python. At least then it's formally described. If only there was a tool that turned some sort of state description files into valid UML...

Steve Kemp: Back to reality

Steinar H. Gunderson
It doesn’t matter which shell I use for completion. (And this goes to the other people who mailed me to tell me that Zsh rulez!) The problem is that packages of Zsh and Bash both offer several completion routines which are not sufficient for me. (e.g. one missing one is completion for the various bittorrent scripts.) So I need to install my own routines for those. I also wrote custom completion routines for in-house tools, and my own personal scripts in ~/bin/. Since these are not available by default in either the bash package or the zsh package I must install them manaully upon each host I wish to use, in order to have an identical setup. And that manual installation is what my new package makes easy. (Or will when it is complete!)
Security Team Meeting
Security issue meeting on IRC went well, although I left rather abruptly since my bed was calling my name.

David Pashley: A Bit of a Confusing Morning

So far, in the last 12 hours, I've discovered that my payslips from this time last year bear no resemblence to reality, my pension company has failed to recieve approximately 1900GBP of money that should have been paid into it and O2 have managed to transfer my mobile number to completely the wrong SIM. I'm still waiting for April so I can call the Inland Revenue to find out what happened to all the student loan repayments I made at my previous company (Approx 700GBP). Have spoken with O2, who are going to transfer my number ot the right SIM, hopefully in the next 2 hours. Need to speak to the guy that does payroll in the office, when he comes in next. Sucks to be me. Update: Phone now works.

Wouter Verhelst: You're wrong, Erich.

That joke does translate to other languages. Not only does the dutch word for "Flower" sound exactly the same way as the dutch word for "flour", it's actually even written the same way: "bloem".

Clint Adams: That guy is disturbingly bald

In the sack: Lestoil and citrus. Wet: Citrus and Lestoil. Dry down: Opted-out and slammed. The touch: Oilily fine. The feel:
Vous comprendrez
Qu'j'pr f re rester
Au fond d'mon lit
A m diter
Avec ma mie
Qu'est bonn' comm' du
Pain pas b ni
Du pain perdu
A la myrtille
Qu'j'pr f re visiter qu ques endroits
De paradis
Du bout des doigts
Dans des pays
Tout en dentelles
Et qui tout droit
Vous m nent au ciel.
The magic of our lives: The transcendence is not of itself. Final verdict: Too many variables spoil the objective.

Joey Hess: don't forget the MOOs

(This is a copy of my response to the LWN article Toward a free metaverse, which won't be freely available itself for another week or so.) There's an unconcious bias in this article toward 3d graphical worlds, and I think it's important to realise that that's not a necessary component of a virtual world, although it's certianly a component that will appeal to a lot of people and that fits in nicely with some current ways of working with computers -- ie, sitting in front of expensive screens weilding a mouse. Long ago we had MOOs, MUDs, etc, and they were text based. Just words, you know. And nearly all of them were free software. It might well be that text, or speech, or the like ends up being a better interface to virtual worlds of the future, especially if they are tightly integrated and layered on top of the real world. And I'm increasingly convinced that if these worlds don't integrate into the real world, if the ideas that have been bubbling up out of ADVENTURE and the MUCKs and the MMORPGs and such don't spread out and become something larger and more inclusive than their own little pretend world, then in the end that whole area has been nothing but pointless games. Which I hope it hasn't, but perhaps I'm getting old.. Speaking of freedom, there are levels and layers, and it's possible to build the free on top of the non-free. After all, I'm typing this on a device that is present in the er, First Life, which is not particularly free in its implementation; it has non-free firmware and BIOS, and is composed of atoms of some substances that are less easily available than air, and which follow some annoyingly inflexible physical laws, and it needs a constant input of metered electricity to run. But on top of all that is some free code that gives me a measure of freedom. Similarly, it would be possible to run free code in Second Life, and given how rare it is overall for such services to support coding at all, let alone explcitly give a program (or object's) creator the freedom to make it Free, that Second Life does so seems encouraging to me. If we get a distributed standardized free online world by 2010, I'll be happy indeed. (Disclaimer: I write text based MOOS, and have never used Second Life, though I chatted with someone there on the phone today.)

15 February 2006

Erich Schubert: Are there good starters guides?

Dear Lazyweb,
I recently noticed that some people e.g. don't know the "mailq" command, which is fairly standard for email servers to print the current mail queue. Which is an essential command if you want to debug your mailserver. So I was looking for a good tutorial to recommend on "running" an email server, and had a hard time finding one... there is a large list of online books, but as far as I can tell, they don't even teach such basic things such as mailq, do they (I of course only checked those I could read online). Nor could I find this information easily accessible on the Postfix homepage. But there are a couple of things you should know at least where to find. Including showing whats stuck in your mail queue, why, and how to remove these messages. I guess this applies to many many things. Everbody assumes the basics to be clear, and just talks about how to pick certain configuration options...

Erich Schubert: When XSLT gets really messy...

XSLT is an outright ugly language. Thats why I often just hate it. In some (rare) cases it's very elegant, but most often incredibly clumsy. I've been redoing my homepage completely, and I'm using XSLT to render my data XML files to the XHTML output. That works quite well so far, but I hit more and more special cases. First I wanted to add a language chooser. This required finding out which lanuages my document supports (read: blocks with that language attribute exist) and check for uniqueness. Some things where rather easy to solve (with some experience in XSLT), so where extremely ugly. First of all, I want my template file to be a valid XHTML file, I don't want to have any layout parts in XSLT. Then I have a separate sitemap, needed for generating the menu. So I have to process three documents at the same time in XSLT. Ouch. But doable, using variables. Basically I have three modes - in one mode, the template is mostly copied over, unless I've specified some special rule, e.g. to insert the page title, meta information or content. A second mode uses the current chunk of the template document as template for the contents a couple of times to iterate over data chunks from the data source file (read: put text blocks from my source files into the output template format). The third mode does the same for the sitemap. Unfortunately, it started to get even messier... Big problem number one: Make a list of the available languages for the current page. Make this information reuseable throughout the page transformation. Part one: make a list of available languages by finding unique (!) @lang attributes. (usual approach: grab all nodes with @lang attributes, check if they have the same node id like the first occurence with this @lang value for uniquness, then output. Ugly as hell, but string magic sucks as much.) Big issue number two: Assume we now have a variable with en in there, access these nodes to transform them. Unfortunately, the generated nodes are "result nodes", and you cannot iterate over them with for-each. Luckily the exslt node-set extension to solve this. But now came the third big issue along... this is where I give up. I want my pages to have a nice modification date... my data pages are stored in subversion... Subversion has keywords expansion like CVS, which I can use nicely to automatically update the last modification date of the file. Unfortunately, the date will look like this: $Date: 2006-02-15 21:29:10 +0100 (Mi, 15 Feb 2006) $ Whereas in a web page meta information it's recommended to use ISO8601. Now if I only had regular expressions and proper date handling functions... I guess I'll stop writing ugly, hackish XSLT code and chose pretty Python code instead. Maybe use TAL or KID for XMLish templating...

Martin F. Krafft: The point of repeating passwords

If I set a password for a resource, it's good to be able to enter it twice and have the system verify that the two passwords equal each other, or else a typo may bring some unpleasant surprises. If, on the other hand, I let a system know the password for an existing resource (such as a WPA-PSK for a WLAN), there is no need in entering it twice! If it doesn't work, you probably entered the password wrongly. It's amazing how little many software vendors think when coding. "Password?" -- "Ah yes, two input fields, it's safer that way." The problem is especially annoying when the software needing the password is buggy, such as the Windows XP SP2 WLAN configuration: it cannot properly process WEP passphrases with special characters, so you have to enter the 13 bytes in hex. That's 26 keystrokes, and just to be sure you don't enter the password wrongly, make that 52. Some will say that Windows users are so stupid that requiring them to enter the password twice to guard against typos and subsequent hotline calls because it doesn't work. Let them say that. PS: Erinn, this Windows-related post I dedicate specifically to you.

Decklin Foster: Whoops

Apropos of my last post here, I am redoing my rawdog config and writing a tag plugin. This involved merging all my state pickles into one file first, which rather strangely brought my server to its knees until the OOM-killer kicked in. I couldn't figure out what was going on for a second. And then I noticed that ever since I switched it to LVM I wasn't using my swap partition at all. So, a word of warning: never assume your fstab is right just because your filesystems show up. Pickle still needs to be replaced, but a lot of things need to be replaced.

Uwe Hermann: Quote of the day: What is architecture?

Very, very true:
Architecture is the stuff that you can't refactor in an afternoon.
(via The Pragmatic Architect)

Ross Burton: New Artwork

Matthew Garrett was briefly my hero today (taking over from Iain Holmes) for uploading into Dapper xserver-xgl and Compiz. Very nice it is too, but it's a bit too crashy on my laptop for any real work. Shortly afterwards he was replaced by Lapo Calamandrei, who told me he was working on some new Sound Juicer artwork if I was interested. Hell yes, I said, and it turns out he has managed to draw exactly what I wanted the Sound Juicer icon to be, several years ago. He rules. New artwork NP: Wish You Were Here, Pink Floyd

Martin F. Krafft: A first glance at the Draytek Vigor 2900VG

I got myself the Draytek Vigor 2900VG, as announced, to handle my home office connection needs. I've been playing with the device all morning and am somewhat undecided as to whether I should keep it, or replace it with a tiny computer without moveable parts that runs Debian, simply for the benefit of greater control. But first, let me review the device. Don't get me wrong when I say that I am not sure whether I should keep it: the router seems solid and has a lot of functionality, and with few glitches, it mostly seems to work. Go read the specs yourself if you care, in the following I want to give my view on some of the pros and cons of the device after a few hours: The device is an all-in-one, combining WAN access (DHCP, PPPoE, PPTP) with NAT (with support for a DMZ), DHCP, VPN (PPTP, L2CAP, IPsec), a stateful packet filter, a 802.11g access point with support for WPA2 and 802.1x, VoIP gateway, a 4-port switch with VLAN and rate control, static routing and RIP, QoS, UPNP, dynamic DNS updates (e.g. no-ip.com), syslog or SMTP-based logging, and a printer server for USB printers. Basic HTTP URL and content filtering is provided, though most of it comes through the interface to SurfControl (no subscription included). Content control includes the most popular IM and P2P protocols. For all that functionality, the price is quite reasonable, if you ask me. Interaction is through a web interface that can be restricted to a couple of clients only, and is password protected (though in the clear). In any case, the device also comes with a telnet console that has a larger feature set than the web interface, but lacks documentation. Several forums exist, however, to fill this hole. The router also sports SNMP! The packet filter seems limited in what it can do: TCP, UDP, ICMP, IGMP, and only the basics for each (e.g. sockets for TCP). There are 12 filter sets with 7 rules each, and if/then logic can be implemented by branching to other filter sets. However, I can well imagine that the limit can be quickly reached. For QoS, you can define three classes, and to each assign services based on sockets and diffserv. That's it, but it should be enough for most basic use cases. VPN can be achieved with L2CAP, PPTP, or IPsec, but only pre-shared secrets are supported. Users can dial-in, up to 16 "Road Warrior" profiles can be created, and 32 LAN-to-LAN tunnels can coexist. A nice feature are the 16 schedules you can define and use throughout. For instance, certain filters can be restricted to only apply during working hours, some users may only be allowed to use the VPN to dial in during specific times, WLAN can be turned off at dusk, and VoIP devices can be routed based on the time of the day. NTP ensures this all happens accurately. I am really missing a RADIUS server on the device. As it stands, I am left to run a separate RADIUS server on the LAN, or resort to WPA2-PSK, which is a little less desirable but quite okay for my case. The device can separate LAN and WLAN clients and block any traffic between the two. I have not found a way to put LAN and WLAN into their own subnets and allow traffic inbetween. The DHCP server seems okay, it does not remember leases and will simply time out leases and use them for new requests. It is not possible to lock a MAC address to a specific IP through the web interface, one has to resort to the telnet prompt, and the limit is on 10 static leases. The device has no support for DNS updates for DHCP clients, nor is there any integration with a DNS server whatsoever. This means that for 10+ clients, you'll need ZeroConf stuff or you cannot use DNS between clients on the LAN/WLAN. All of the above are minor annoyances. I have also already found a bug (which has been known for more than a year now but remains unfixed in the latest firmware from December 2005): the device has a DNS relay without a cache (ugh!). If you request an A record, it all works. If you request an AAAA or MX record, it forgets to translate the source IP of the answer and feeds the upstream forwarder's packet straight throught. Thus, it is not possible to resolve AAAA or MX records without hard-coding the DNS servers to use in the DHCP server configuration to bypass the DNS relay. That's all for now. I have not gotten around to play with VoIP stuff yet, but one of these days...

Clint Adams: She might call it a Mischung, then she might call it a Gommi

In the sack: Talcum powder and jasmine In the sack: Eberhard Faber eraser and some flowers.
Wet: Jasmine and talcum powder Wet: Eberhard Faber eraser and some flowers.
Then the Gro w rterbuch. Dry down: Eberhard Faber eraser and jasmine The touch: Greasy goodness The feel: That guy needs to get off Elphaba's dick while I sing Edelweiss . The magic of our lives: Probably half the reagents. Final verdict: I do not have a cultivar.

Next.

Previous.