Sophos Anti-Virus is confused about its own identity

I might have disabled Sophos Anti-Virus accidentally on-purpose. Suddenly, it no longer knows who it is. However, it is true that in this state, it is protecting against zero threats.

While this may be funny, it does call into question the reliability of its own “tamper protection,” which was easily disabled with a few launchctl commands.

Automatic Failover and Maintenance Pages with iptables

Using iptables for automatic failover or maintenance pages might seem like a strange choice, but it works!

iptables has an obscure but useful feature, the socket filter. From the man page:


This matches if an open socket can be found by doing a socket lookup on the packet.

In other words, we can use this filter to redirect incoming connections to a “failover” server when the main server.
Continue reading Automatic Failover and Maintenance Pages with iptables

Hello World.

Welcome to the new redesigned home of Andrew Sun.

I’ve been running this site for over 5 years already. The previous major redesign of the site was in 2013, and has since become harder to maintain and keep running. It’s time that I’ve redesigned everything, from the ground up.


The new website features an elegant and clean design, along with major performance improvements. The old colorful logos and silly animations have been removed. The infrastructure serving the pages you see has been rebuilt from the ground up with performance in mind.

There may be some issues that I may have not ironed out at this point. If you encounter any issues with the website, please tell me about it.

Upcoming blog posts will discuss what I did to make this website. And yes, I promise to write on this blog more often, hopefully more than once a year. 😜