guest - flak


Imagine, if you can, a smaller version of the web. A web without dickbars, or scroll jacking, or chum boxes, or popup video, but still a web filled with informative articles about the 27 blockchains you need to be using right now. The good news is this web exists, but unfortunately your browser doesn’t connect to it by default. For that, you need the miniwebproxy.

Continue reading miniwebproxy...

Posted 2017-10-24 13:16:47 by tedu Updated: 2017-10-24 13:16:47
Tagged: go programming project web


Every once in a while somebody asks if they can run flak, and the answer is usually some variant of no, not right now, but maybe after I’m done rewriting it four times. Well, it’s been stuck at rewrite number 3 for quite a while, so time to push the button. Of course, putting code on the internet requires a place to put it, but Microsoft shut down Codeplex. Guess I have to build my own.

Continue reading humungus...

Posted 2017-04-01 01:41:15 by tedu Updated: 2017-04-01 02:27:30
Tagged: flak project software


Hello there, inquisitive friend! I’m pleased to announce the newest Links As A Service offering. It’s called inks which is like links, but without the L for loser. Basically Reddit or Hacker News, but without the disagreeable trolls and military industrial complex shills downvoting everything to hide the truth.
Continue reading inks...

Posted 2016-11-06 18:40:26 by tedu Updated: 2016-11-06 18:40:26
Tagged: project web


Some newer laptops adjust the screen brightness according to ambient light in the room. This is fairly annoying in most cases, because what I really care about is the relative brightness of the screen contents. White web pages are too bright in a dark room. Fortunately, there’s a tool, Lumen, which can adjust the backlight based on actual brightness. Unfortunately, it’s for somebody else’s computer.

Continue reading xautobacklight...

Posted 2016-08-09 17:33:25 by tedu Updated: 2016-09-09 21:03:45
Tagged: openbsd project x11

on the detection of quantum insert

The NSA has a secret project that can redirect web browsers to sites containing more sophisticated exploits called QUANTUM INSERT. (Do I still need to say allegedly?) It works by injecting packets into the TCP stream, though overwriting the stream may be a more accurate description. Refer to Deep dive into QUANTUM INSERT for more details. At the end of that post, there’s links to some code that can help one detect QI attacks in the wild. As noted by Wired and Bruce Schneier, among dozens of others, now we can defend ourselves against this attack (well, at least detect it).

Continue reading on the detection of quantum insert...

Posted 2015-08-06 02:24:12 by tedu Updated: 2015-08-06 02:24:12
Tagged: project security software web

doas - dedicated openbsd application subexecutor

Three days of the doas.

I started working on doas quite some time ago after some personal issues with the default sudo config. The “safe environment” was under constant revision and I regularly found myself unable to run pkg_add or build a flavored port or whatever because the expected variables were being excised from the environment. If I had been paying attention, keeping sudoers up to date probably would not have been such an ordeal, but I don’t like change.

Continue reading doas - dedicated openbsd application subexecutor...

Posted 2015-07-20 04:25:50 by tedu Updated: 2015-07-20 14:22:09
Tagged: openbsd project software

2Q buffer cache algorithm

Since the dawn of time, the OpenBSD buffer cache replacement algorithm has been LRU. It’s not always ideal, but it often comes close enough and it’s simple enough to implement that it’s remained the tried and true classic for a long time. I just changed the algorithm to one modelled somewhat after the 2Q algorithm by Johnson and Shasha. (PDF)

Continue reading 2Q buffer cache algorithm...

Posted 2014-08-31 21:30:36 by tedu Updated: 2014-09-01 13:46:39
Tagged: openbsd project software

login_pushover - two factor auth with pushover

Despite my reservations about two factor auth, I decided to try implementing it. Don’t knock it til you’ve done it, right? I’ve previously played with Duo Security’s login_duo, and they have a nicely polished mobile app, but the command line tool doesn’t quite feel integrated with the rest of the system (it’s user opt-in, not admin mandated). Plus, it’s more fun to build your own. For this experiment, I picked Pushover as factor number two, which also comes with a nice app which can be used for other things as well. Now we just need some code to talk to Pushover.

Continue reading login_pushover - two factor auth with pushover...

Posted 2014-02-20 06:19:40 by tedu Updated: 2014-02-20 20:41:52
Tagged: openbsd project security software

signify - sign and verify

One of the things OpenBSD has never done is sign releases, for whatever reasons. But 2014 is a new year, time to make a change. The first thing you need to start signing OS releases (besides the release itself) is a signing tool. Other projects use a variety of tools for this, but unfortunately none of them were invented here. signify is a small tool I wrote to fill that gap. Here’s a few notes about it, working from the top down.

Continue reading signify - sign and verify...

Posted 2013-12-31 15:37:07 by tedu Updated: 2016-12-31 21:23:58
Tagged: openbsd project security software


Many moons ago I worked on a Windows graphical shell for Tarsnap. It never really went anywhere and I mostly forgot about it.

Continue reading WinTarsnap...

Posted 2013-11-13 21:54:32 by tedu Updated: 2015-07-30 06:58:34
Tagged: project software

laptop CPU transplant

Don’t try this at home. I gave up on my HP Pavilion g4 laptop as is and decided to try reviving it with a new CPU. The price for the A8 part was down to $30 on ebay. In theory, I was hoping the new integrated GPU would be sufficient to drive gaming on an external monitor at 1080p. According to the source of all true knowledge, stepping from the A4-3300M to the A8-3500M should give a substantial boost to graphics performance.

Continue reading laptop CPU transplant...

Posted 2013-04-24 03:34:43 by tedu Updated: 2014-10-10 00:38:43
Tagged: computers project