Posts

Country-based routing made fast

posted in Network

Country-based routing sounds simple: if the destination IP belongs to a country, send it through a different WAN or VPN; otherwise use the normal default route. On OpenWrt, the slow version is also simple: download a …

Split routing using netfilter

posted in Network

Split routing, also called policy-based routing, means sending only some traffic through a different route while leaving the rest of the network alone. A common example is an OpenWrt router where normal traffic exits …

AND (Average Network Delay) and Queuing Theory Basics

posted in Network

Recently I was looking at the Linear programming formulations of Traffic engineering problems and one of the problems is to find the path with the goal to minimize the Average network delay. Which got me thinking that …

Difference between OpenVZ and LXC

posted in Network

Background: What’s a container? Containers have been around for over 15 years, so why is there an influx of attention for containers? As compute hardware architectures become more elastic, potent, and dense, it becomes …

BitTorrent Traffic Detection with Deep Flow Inspection

posted in Network

1. What is Deep Flow Inspection(DFI)? As the name implies, the analysis or the classification of P2P traffic is a flow-based, focusing on the connection level patterns of P2P applications. Thus, it does not require any …