Improve Laggy SSH with Mosh

Mosh is a shell for mobile users. It carries a handful of features that make it great for users on the move:

  • auto reconnect after suspend/resume, network reconnect, etc
  • responsiveness on high delay networks
  • secure authentication
  • simple usage

Since I often travel by train when commuting to work, I ...

more ...

Sending Traffic to Localhost over the Network

When testing new protocols on my test-bed routers, I often need to generate traffic through those routers. Since routers are meant to route, and not to generate traffic, I use my laptop to push traffic. To make it even more convenient, I like to receive the routed traffic on the ...

more ...

Multiple Network Interfaces and Default Routes

To test a multipath application that I am currently working on, I need to setup my laptop with two active network interfaces. As always, I cooked a script to do the work, which uses NetworkManager to read the needed information and iproute2 to setup the routing table(s):

multi_homed.sh ...
more ...

Internet Tunneling Through ICMP

Since I run a server for hosting my websites and providing mail, I decided to setup tunnel service as well. Just in case I get stuck in an airport with limited internet access. Initially, I chose ICMP as the tunneling protocol, but more will follow later.

Server Setup

The server ...

more ...

Testing Wireless Links Between Several Devices

Our batch of Raspberry Pis are all equipped with a TP-LINK TL-WN722N WiFi Dongle, which we use for testing our protocols. During the initial setup of the testbed, we have experience quite some trouble with these devices, as they didn’t always bring up the interface in a proper manner ...

more ...

Counting Lost ACKS on an IEEE802.11 Wireless Link

As part of my PhD-study, I was asked to count the number of lost ACK frames on a wifi link. I accomplished this by running tcpdump on one of my two routers (setup for IBSS) in the following steps…

First I setup netcat on my laptop to retrieve the tcpdump-data ...

more ...