EDNS Client-Subnet

The problemA recursive DNS resolver such as Google Public DNS or your ISP's DNS server resolves domain names into IP addresses. Popular websites or services are usually hosted on Content Delivery Networks (CDN) where a domain name could resolve into different IP corresponding to servers in disperse locations. In such…

Read this article

Creating Homebrew Formulae

This is the second part of the "missing guide" to porting software to Homebrew. The first part prepares our project, pixelserv-tls ready for packaging. In the second part, we will go through the packaging process aka creating a forumula in Homebrew speak.Resources on this topic are abundant, for example,…

Read this article

CPU Hogging on EdgeRouter-X

I started running a public NTP server behind my ER-X recently. The server is part of NTP Pool Project and serves many clients over IPv6 only. At its peak, the load can reach about 1000 requests per second. In the extreme cases, it could go as high as 5000 requests…

Read this article

The Missing Guide to Porting Software to Homebrew

I've been a casual Homebrew user for a long time but first time packager. While looking around on the net, I was not able to find some guidance on how to start porting my software quickly. Many resources point people to start creating a formula. After some frustration, I realized…

Read this article

Benchmark USB Flash Drives on Routers

Update Jan 28, 2019: iozone-db.txt collects benchmark results submitted by folks. Thank you. I eventually made up my mind on the choice of single-board computers (SBC) that will assist and eventually replace the role of my Asus RT-AC56U as an always-on home server. It's not a Raspberry Pi. My…

Read this article

A Simple Tool to Test malloc Performance

I was porting this very interesting feature to an older Glibc version for ARMv7. I need a simple tool to gauge any performance boost (or drop for that matter). Surprisingly few information is available on this topic. I didn't search hard but most papers on malloc performance dating back to…

Read this article

Public DNS - Cloudflare v. Google

Google or Cloudflare? I think that's a common question for a non-trivial number of people. Here is my little experiment. The result concludes that Cloudflare DNS is fast and a clear choice at least for my point of presence on the Internet. First, I need a tool to measure and…

Read this article