Search Results: "mt"

18 February 2006

Marc 'Zugschlus' Haber: exim4 needs gnutls expertise

exim4, sarge’s default MTA, uses gnutls for the obvious license reasons. However, gnutls does seem to have issues of interoperability, which have manifested themselves in a list of bugs, most prominently being #297174, which we are at a loss to debug. Neither Andreas nor me have the knowhow to debug gnutls, and Upstream uses openssl - the gnutls patch was contributed and the author of the original patch doesn’t seem to be around any more. Can anybody help?

Kai Hendry: Posting limited to subscribers

Sunset Help. I’m going mad. I am not getting anywhere with my mailing list problems. I subscribe to mailing lists on hendry@dabase.com, but I send from different shells where the return path isn’t the same. So time and time again I can’t contribute to free software mailing lists. Mailman typically gives me a:

Is being held until the list moderator can review it for approval.
The reason it is being held: Post by non-member to a members-only list
Whilst the human moderator usually never moderates (blame spam) or moderates far too late. I’ve lost track of the mailing lists I’m subscribed to, but I can’t post to or if I have posted to, keep track if the message actually got posted or not. :(( This is a serious barrier to contribution, thank you Debian list managers for getting your policy right… It would have been great to see from the mailing list software what it thinks your email (return-path) is in these rejection emails. When sending test emails via my hosting service, my return-path could be hendry@pico.dreamhost.com or hendry@knife.dreamhost.com or some other machine. Is my hosting service broken? So I can’t expect the zillions of poorly configured mailing lists to change. So I have to make my subscribed address, the same as my return-path. Feck. How do I do that on my shells? I don’t know of any SMTP servers that can relay to a specific SMTP host on a user level. I could use a nasty hack for my shells. That would probably break a ton of things. Surely not?

16 February 2006

Jonathan McDowell: 8 years old

Last Saturday was the annual Earthlings dinner. We get very funny looks from the restaurant staff when we explain that we're celebrating the birthday of a domain. It's a good opportunity to see lots of people I don't see often enough though; sometimes it's hard to keep in touch with people. Actually, on that subject, there are a whole bunch of people I don't keep in touch with at all well. Mostly those who don't really do email and I don't really do the phone. I probably need to ring people more often; I used to be very good at running up my parents' phone bill. It's a bit hard to know what to say to people I haven't had any contact in years with. "Er, hi, please condense your entire life since we were at school and spoke regularly into a few minutes of conversation". And no one is near Norwich, so it's not like I can easily go and have coffee/beer with them. Meh. I've started having a regular dinner with people back home at Christmas, which helps a bit. And Burly's pretty good at telling me what people are up to. So, if you know me, and feel we don't see/speak to each other enough, sorry. If you think you see too much of me then tough. :P

15 February 2006

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...

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... :-(

Aigars Mahinovs: Also at the school reunion I took a lot of photos...

Rock the dance floor Apple tree and cherry tree ... Baiba A new sports hall of my old school
Also at the school reunion I took a lot of photos - 217 to be exact. So, here are a couple of the best shots that (as I think) look quite nice even without knowing the people or the circumstances of the pictures.

Note to self: I seem to be getting good on candid portraits and architecture, but group photos, candid action photos and still life need a lot of work.

Note to my ex-classmates: d rgie klases biedri, visas manis uz emt s fotogr fijas j s varat novilkt eit, ja tas links nedarbojas, vai jums vajag k du bildi augst k kvalit t - sazinieties ar mani pa epastu vai telefonu.

5 February 2006

Julien Blache: dgap packages updated to 1.3-3

My development machine passed an overnight memtest86+ and seems to be running stable for the time being, so I was able to produce the updated dgap packages. Packages version 1.3.3-1, based on the 1.3-3 RPMs published by Digi, are available at the usual location. The 1.2 packages are still available in the pool, under the old directory; APT should be able to install them too, in case you need to downgrade to the previous version. The packages are built for Sarge and should work flawlessly on Sid and Etch too. For Woody, you’ll need to rebuild them by yourself.
APT source: deb http://debian.technologeek.org/ sarge non-free To upgrade, apt-get update, apt-get upgrade, build and install the modules with module-assistant, then:
/etc/init.d/dgap stop
/etc/init.d/dgap start Note that this version seems to be a pre-release. The changes compared to the previous version are pretty light, mainly bug fixes and changes to accomodate the newest kernels. Also, the sysfs interface is disabled for kernels < 2.6.15, so you may want to hold back on the upgrade if you depend on the sysfs interface. Bug reports and comments welcome, as usual.

2 February 2006

Christine Spang: Mail Problems

Yeah, I did some local mail-server “tweaking” this past weekend and, uh, broke my smtp mail in process, apparently. So while I’ve been getting mail just fine, mails that I’ve sent have quietly turned into an oblivion of lost bits. All the while, I’ve been cursing people for ignoring me when I send them mails. I’m sure the opposite is true, however. So if you’ve sent me something expecting a reply in the past couple days, hold onto your horses as I re-send things…

1 February 2006

Erinn Clark: Standby passengers love me

Usually waking up an hour after your flight has left is a bad sign -- like, a sign of imminent doom, that things are about to get horribly worse. At least, that's how it usually feels and this being the third 6:25am flight I missed in 2005, I was well-accustomed to that feeling. Luckily I got re-routed through Tampa, then Los Angeles, and I finally ended up in my San Jose, CA destination with a lovely Val awaiting me. She seemed shocked; said I was far shorter than she expected, then she realized I was walking with a group of Stanford basketball players and that, though they dwarfed me, I still managed to have at least an inch on her. (Val is "5'9 and three quarters!", according to her.) A lot of the visit was a bit of a blur. After arriving, I quickly showered, and was promptly told by Val that my skater rat apparel just wouldn't do and that our New Year's Eve party was meant to be dressy. A black shirt and some funky necklace managed to placate her, luckily, as well as my excuse of having just flown in from out of town with no instructions to dress pretty. Off to the party, where I met a load of brilliant and entertaining people, including Lina who was positively heartbroken by the lack of fireworks.
Lina and me in the ballpit The next day included eating vegan duck for breakfast, visiting Google offices for fun (not profit), getting lost with Val in some frightening redwood forest, Indian food in SF with Janet, Jen, and Val. Actually, the Indian food might deserve an entry of its own -- the owner of the restaurant actually spoonfed me, which was bizarre and funny. Afterwards, we went to visit Kristal and laughed at various things, including the most hilarious website ever. "Oh yeah baby, check out my throughput." Of course, that feeling of imminent doom was not entirely wrong. I contracted some kind of California Plague while there and spent my flight back doubled over with body aches, fever, and chills. Overall, well worth it. Happy New Year, everyone!

31 January 2006

Axel Beckert: Can the spam problem be solved?

Many have tried to solve spam problem, even Micrsoft (with a quite strange solution ;-), but except personal solutions like well working and well-kept spam filters, no well-working general technical solution has been found yet. Although I really would like to see a technical solution and often think about this problem, I currently believe that this primarily is a social problem which cannot be solved solely with technic. UserFriendly’s Erwin seems to see it the same way and proposed today a quite drastical solution. There are good ideas out there (e.g. SPF, RBL, Greylisting and Teergrubing), but all seem to have their problems, too. Especially RBL often have administrative problems, i.e. if an entry is justified or not. Greylisting simply can be bypassed by being SMTP conform and trying again, so it’s usefulness will decrease permanently. And against Lutz Donnerhacke’s teergrubing, spammers seem to have found workarounds quite quickly. Haven’t heard much about it in the last years. (I just can’t remember what the drawback of SPF was.) For myself I’ve solved the spam problem with a learning SpamAssassin and sorting mail by spam-level into several mailboxes. The higher the spam-level of such an inbox, the more seldom I look into it. Works fine. For me. No general solution though, since the SpamAssassin needs to be fed with fresh spam regularly.

30 January 2006

Daniel Burrows: How much speed are you willing to give up for pretty code?

After experimenting a bit with Haskell and using it for some toy projects, I decided to see if there was any chance it could be used for a non-toy task; i.e., one where it might one day be necessary to actually have fast code. As a proxy for this, I decided to try a very simple task: counting the number of lines in a file. As input, I generated a file with a million lines of random data and an average of 40 bytes per line; all the Haskell programs were compiled with the current GHC in Debian unstable and with optimizations enabled.

The baseline is, of course, our friend "wc":

real    0m0.084s
user 0m0.043s
sys 0m0.040s


(this and all other timing data was taken after "cat /tmp/testwc.txt > /dev/null" to ensure that the file was cached) Now, it's probably too much to hope that a Haskell program will run as fast as a C program does, since the C program can run in a tight loop. But it seems reasonable that it should be possible for Haskell to be competitive with the trivial Python implementation of this program -- after all, Python is interpreted and Haskell is compiled.

import sys
n = 0
for line in sys.stdin:
n += 1
print n


Running this simple Python program under "time" produces the following statistics, a bit less than 10 times slower than the C version:

real    0m0.698s
user 0m0.643s
sys 0m0.050s


The trivial Haskell program to count the lines of its input is:

main = do c <- getContents ; print $ length $ lines c


Note that this is basically identical to the Python program, but expressed in a functional style. Pretty, but how does it stack up?

real    0m6.744s
user 0m6.426s
sys 0m0.213s


OW! Ten times slower than the Python code, and a good 80 times faster than "wc"! The gap can be lowered to "only" 50 times with the following program --

do c <- getContents; print $ length $ elemIndices '\n' c


-- but surely it's possible to do better. I'd expect that the expense here is in the use of lazy streams for IO; eliminating them gives us the following code:

wc :: Handle -> IO Int
wc h = do a <- mallocArray bufSize :: IO (Ptr Word8)
loop a 0
where loop a n = do amt <- hGetBuf h a bufSize
elts <- peekArray amt a
(if amt == 0
then return n
else loop a $! n + nlCount elts)


At this point, we're basically using Haskell as a (bad) imperative language. This function allocates a buffer, repeatedly reads into it, and counts the number of newlines in the buffer (I dropped some auxillary code to keep the post short). The $! is important; without it, even though this routine is tail-recursive, Haskell will still allocate an unbounded amount of memory to store the return value. (because, of course, it's terribly important to remember that you're actually returning "1+2+3", not "6")

So, how does this unreadable, hand-optimized version of the code perform?

real    0m1.980s
user 0m1.757s
sys 0m0.094s


That's right -- I've eliminated most uses of higher-level functional techniques, and the Haskell version is still two times slower than an ultra-high-level interpreted language, while also being uglier and harder to read! Ouch. It appears the old performance albatross of functional languages is not quite dead yet.

27 January 2006

Dirk Eddelbuettel: New smtm bug fix releases 1.6.7 and 1.6.8

Minor (Debian) bug fix releases 1.6.7 and 1.6.8 went out for smtm, and to CPAN to keep things in sync. As we no longer need to depends on an explicit Tk::PNG package--it appears that the default Perl-Tk package can now deal with PNG images. No actual code was changed, only the Debian dependency (and, a minor mistake, Build-Dependency) were updated so no need to grab the CPAN versions.

26 January 2006

Axel Beckert: about:blank ist unsicher sagt der MSIE

Ich habe auf meinem Windows-2003-Testrechner im Büro about:blank als Startseite des MSIE eingestellt. Trotzdem kommt seit einem der letzten Windows-Updates beim Starten des MSIE immer irgendeine Microschrott-Seite. Einmal nach einem Update kann ich das als Marketing oder sonstwas noch verstehen, aber jetzt dauerhaft? Zum Testen, ob wenigstens der Button “Startseite” noch tut, habe ich drauf geklickt. Und bekam das da:
Screenshot einer MSIE-Warnung davor, daß about:blank aufgrund der verstärkten Sicherheitskonfiguration nicht angezeigt werden könne
Die Konfiguration auf diesem Rechner ist eine etwas gelockerte Windows 2003 Standard-Konfiguration. Inhalt von about:blank ist übrigens:
<HTML></HTML>
Danke, Microsoft, daß Du mich vor einer solch gefährlichen Seite bewahrt hast!

24 January 2006

Andrew Pollock: [life] Making like a tourist

Had a busy couple of weekends with Rick visiting and us doing much sightseeing. I've been too busy to blog. The weekend before the one just gone was a long one on account of Martin Luther King Day on the Monday. We spent Saturday in San Francisco, Rick and I at Camp Sysadmin, as previously mentioned, and Sarah pottered around on her own (photos here). On Sunday, Rick and I went for a reasonable (28 kilometre) bike ride around the part of the bay accessible from the Stevens Creek Trail in the morning, and in the afternoon we all drove into the hills to check out the Lick Observatory. You can see the observatory as a little bump on the top of the mountains on a clear day, but it's deceptively further away than you think, because it's actually on top of the second line of mountains, not the first. We didn't expect to find ice and snow or for it to be zero degrees (Celsius) at the summit. We made it up just before 5pm, which was closing time, so we'll have to go again earlier in the day (and more appropriately attired) to check it out more thoroughly. Some photos here. On the Monday, we did a bit of a group outing with a few other people from work, including Tanya, who is visiting from the Dublin office and also in extreme tourist mode. We took a Caltrain in to Millbrae, and then switched to the BART for the remainder of the journey. Finally, we took a cable car from Powell station over to Fishermen's Wharf, where we wandered about for a bit, and then had a nice $11 cruise on the bay for an hour and a half, which went around Alcatraz and under the Gold Gate bridge. After that we caught another cable car back downtown, wandered around for a bit, and then met up with a few more people from work for a beer, and then had dinner at a nice Irish pub that we found. Photos from that outing here. On the Saturday of the weekend just gone, we drove to Monterey, mainly with the aim to hire Segways and fang around on them. Mission accomplished, and it was very affordable too. I think we'll definitely do that again. We also need to visit the aquarium. I really liked Monterey. It reminded me a lot of Berry, on the New South Wales south coast. Photos here. Finally, on Sunday (i.e. yesterday), we drove back to San Francisco, where Sarah, Rick and Tanya did the Alcatraz cruise/tour thing, and I spent most of the time riding the cable cars and street cars. The $10 day pass purchased on the cable cars is great value, as it seems to be valid on all of the San Francisco Municipal Railway (affectionately known as the "muni"). In the afternoon, we all went on a bus tour of San Francisco (the same one Michael and I did in July, but with a different driver, and slightly different route). Finally, we had a really nice dinner at an Afghani restaurant a few doors down from the backpacker's hostel that Tanya was staying in. Photos from the day here. Rick flew out tonight, and hopefully had a good time while he was here. We're certainly feeling a bit weary from all the sightseeing, but having visitors is always a good excuse to get out and do it. Next weekend, our friend Brett is visiting from Canada. No rest, I tell ya...

22 January 2006

Uwe Hermann: For those who care about SN9C10x based webcams

Webcam
Sonic-snap screenshot
Sonic-snap-gui screenshot
Note: Yeah, I'm abusing the latest Debian flamewar meme for some attention mongering. Sue me. A few days ago, I have tested my cheap, crappy webcam I bought more than a year ago for the first time. Using the latest SN9C10x driver (which is already included in recent 2.6.1x kernels) worked fine, i.e., the USB webcam was recognized. I tried running sonic-snap (site is currently down, try the Google Cache) in order to get snapshot images and/or videos off the webcam, which initially didn't work. But I soon found out what the cause of the problem was and created a trivial patch which fixed the problem for me. Then, after I made myself look like an idiot by reporting a bug against a non-existing sonic-snap Debian package, I finally sent the patch to the upstream author. I'll probably ITP the package, though, as I might be using the webcam more often... I also tested the webcam with Gnomemeeting for some videoconferencing fun, which didn't work at first either. After some stupid guessing and googling, I finally found out that you need to apt-get install libpt-plugins-v4l2, which is not installed by default (why?). Other than that (and apart from the really, really crappy image quality of the webcam), it worked really nice... Here's the exact lsusb output for Google to parse, other people might be searching for this info:

Bus 003 Device 003: ID 0c45:602a Microdia Meade ETX-105EC Camera

20 January 2006

Amaya Rodrigo: Blow up in my face



The stressful situation I am going through, one day before my talk at Debconf-es II can be described as:

* SAPFU - Surpasses All Previous Fuck Ups
* SNAFU - Situation Normal: All Fucked Up
* SUSFU - Situation Unchanged, Still Fucked Up
* FUMTU - Fucked Up More Than Usual
* FUBB - Fucked Up Beyond Belief
* TARFU - Things Are Really Fucked Up
* TOFU - Things Ordinary: Fucked Up
* GFU - General Fuck Up
* SAMFU - Self Adjusting Military Fuck Up
* TUIFU - The Ultimate In Fuck Ups
* IHTFP - I Hate This Fucking Place
* DILLIGAF/DILLIGAS - Do I Look Like I Give A Fuck/Shit?

Thanks to h01ger for the pointer to the wikipedia entry that describes what my work situation turned into this Tuesday (the 13th).

While I bang head on my keyboard, I have been heard to mutter "Morons... I am sourounded by morons".

Dan Weber: Heartburn

Of all time, I've reached the time where my acid reflux is the worst. To sum up when I get it...

(22:35:47) Dan: here's my day in heartburn time
(22:35:51) Dan: I wake up : heartburn
(22:36:00) Dan: I am hungry : heartburn
(22:36:12) Dan: spurrious : heartburn
(22:36:24) Dan: drink orange juice or mt dew : heartburn
(22:36:44) Dan: running for football : heartburn

18 January 2006

Brett Parker: GNU date...

Hmmm, MJ Ray asks about date and locales... I *think* (though without grabbing the source I can't confirm) that the default date format of "date" is the legacy format that it's always been... if you want to get a shiny locale based date format from it use, use +"%c". Here's the output from my laptop:
brettp@pitr:~$ locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME=en_GB.UTF-8
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
brettp@pitr:~$ date
Wed Jan 18 08:34:52 GMT 2006
brettp@pitr:~$ date +"%c"
Wed 18 Jan 2006 08:34:55 GMT
brettp@pitr:~$ 
I wonder why date doesn't use "%c" by default... weird.

17 January 2006

MJ Ray: locales

Why does GNU date output
Tue Jan 17 14:55:35 GMT 2006
instead of the English
Tue 17 Jan 2006 14:55:35 GMT
? My LANG is en_GB.UTF-8. Setting LC_TIME and LC_ALL changes nothing. locale's output looks fine - what's wrong here? Replies to mjr at phonecoop.coop please.

16 January 2006

Holger Levsen: In case you are running OpenWRT

In case you are running OpenWRT, specifically White Russion RC4, and your root password is reset after a reset or a power-cycle (and telnet is also enabled again), then you need to boot into failsafe-mode, execute "mtd unlock linux" and "jffs2root --clean" as root and reboot. Maybe this is useful for someone, at least I couldn't find this info on the web...

Next.

Previous.