I’ve been working with Strongswan for a while now and created a few patches to enhance conftest, the testing framework included in Strongswan. Like most software projects, Strongswan requires that patches adhere to their coding style. I wanted to configure my Emacs to take care of that, but only for the Strongswan source directory becauseContinue reading “Set Tab Width for Indentation in Emacs”
Death Twitches: Nokia Caught Wiretapping Encrypted Traffic From Its Handsets You’ve probably heard about the Nokia wiretapping thing already, but if not the link above will fill you in. This is another example why it is bad that phone manufacturers usually remain in control of phones after sale, and it’s not just a Nokia problem.Continue reading “Not Just A Nokia Problem!”
Recently I needed to build a test system at work which required a client to communicate with a server through a NAT router. I decided to assemble the system from three KVM-based virtual machines with tap networking. The router would get two network interfaces, and two bridge interfaces on the host connect server and clientContinue reading “Multiple Network Devices in KVM”
Tutorial for simulation with gEDA and Gnucap: How to create the set of characteristic curves of an NMOS transistor
java.lang.System.nanoTime() is used to measure time spans as precisely as possible (if you actually get nanosecond precision depends on the platform). I just found a funny warning in the documentation: Differences in successive calls that span greater than approximately 292 years (263 nanoseconds) will not accurately compute elapsed time due to numerical overflow. I didn’tContinue reading “Good documentation can be funny”
Today I started to create a test environment for a not-yet-written video stream client. The problem: How do I create a HTTP live video stream to test? I tried ffserver, but it wouldn’t work. Icecast might be interesting, but the stream has to play on Android, which does not support Theora video. In the end,Continue reading “Data rate limiting with Apache”
How to get all available interfaces on the local host in Java, with a few additional hints for Android.
After building my Android SDK, it is now time to learn how to write applications. I have quite a bit of experience with Java, but there’s a bunch of Android-specific stuff to take care of. Unlike the Android SDK build I complained about, the documentation about application development is easy to find and comprehensive. IContinue reading “Testing my Android SDK”
I’m trying to build an Android SDK completly from source. Here’s what I found…
How to find out the IP addresses associated with an interface via libnl, and some GLib stuff I learned in the process.