logoalt Hacker News

drnick1 • today at 12:38 AM • 5 replies • view on HN

Dump all this cloud-connected garbage, flash OpenWrt or build your own router using an old PC or laptop. No home appliance should connect to any remote service.


Replies

matheusmoreira • today at 1:12 AM

GL.iNet devices are great, and their stock firmware is itself based on OpenWRT so it is natively supported. Flashed upstream OpenWRT on mine and it turned into the best router I've ever had. Highly recommended.

➕ show 4 replies
Grombobulous • today at 10:25 AM

“No home appliance should connect to any remote service” is incredibly prescriptive and unrealistic.

I’d also remind folks that building your own or self-hosting doesn’t remove vulnerabilities from existence, it just moves them into being your responsibility.

And again we can’t expect the layperson to install custom firmware. I’m sure it’s easy to avoid breaches if you are getting free labor from someone with a computer science degree to handle patching for you. The whole idea of the “cloud-connected garbage” is to outsource and apply economies of scale to that effort.

jgil • today at 5:53 AM

Vanilla OpenWrt is not necessarily more secure than a vendor fork (though dropping the cloud/remote-access layer obviously reduces the attack surface). It really depends on the build and config options.

For example, by default (in OpenWrt):

- The web UI serves plaintext HTTP and doesn't redirect to HTTPS, even though it generates a self-signed cert for 443 on first boot. [1]

- The router generates a persistent DUID from its LAN MAC and sends it to your ISP. [2][3]

- Userspace is FORTIFY_SOURCE=1 and PIE/ASLR are not enabled on all binaries. BusyBox (which runs the WAN DHCP and NTP clients) isn't built with PIE unless you set PKG_ASLR_PIE_ALL. [4]

There are other defaults and unneeded packages that can be changed or removed. I spent a lot of time tuning the configs and switching some daemons to Rust before ultimately deciding that a NixOS gateway + separate AP was more viable.

[1] https://github.com/openwrt/openwrt/blob/main/package/network...

[2] https://github.com/openwrt/openwrt/blob/main/package/base-fi...

[3] https://github.com/openwrt/openwrt/blob/main/package/network...

[4] https://github.com/openwrt/openwrt/blob/main/config/Config-b...

➕ show 3 replies
sneak • today at 5:09 AM

By default, gl.inet devices do not. This is an optional convenience management feature that makes dyndns unnecessary.

Their OS is built on OpenWRT and includes luci and dropbear ssh. An old PC or laptop doesn’t fit in my pocket and doesn’t have DPI and VPNs with exclusions that auto update from a https url. An old PC or laptop doesn’t have a SIM slot and do auto failover when the WAN is down. An old PC or laptop doesn’t have a simple web interface for viewing the DHCP leases. An old PC or laptop can’t easily clone the MAC address of my phone when being an L3 repeater on a public hotspot.

I am a very happy gl.inet customer and have been for a long time. The people developing the firmware are people like us. This incident is unfortunate but ultimately not a big deal. Malware in your router doesn’t matter that much or connecting to airport or coffee shop wifi would be inherently risky and it is not. There’s already plenty of malware on your path to the internet two hops up inside your ISP, too.

torginus • today at 8:23 AM

I thought gl.inet ran close to stock openwrt with their skin?