News for hackers. Stuff that matters.
Re:Foxconn buys Belkin for $866M by srcmap on Monday March 26, 2018 @11:00PM (#16684832)
Just check if they are compatible with dd-wrt or openwrt and flash it with opensource build.

Much easier than flashing cell phone and the open source version normally has more features also.

Re:Foxconn buys Belkin for $866M by Tepix on Tuesday March 27, 2018 @03:24AM (#16686114)
It's such a shame that when using OpenWRT everything runs as root...
Re:Foxconn buys Belkin for $866M by wtallis on Tuesday March 27, 2018 @04:16AM (#16686374)
OpenWRT is still trying to support devices with 8MB of storage, so they can't go overboard and start incorporating Docker or anything like that. But some services do run as separate users: on my routers, dnsmasq and avahi aren't running as root. What other services would you like to see isolated?
Re:Foxconn buys Belkin for $866M by Tepix on Tuesday March 27, 2018 @05:31AM (#16686701)
I didn't know that. Sounds like they are moving in the right direction. One important component that should not run as root is the web server.
Re:Foxconn buys Belkin for $866M by wtallis on Tuesday March 27, 2018 @06:28AM (#16686958)
Generally speaking, I agree that a web server shouldn't be running as root. But when the sole purpose of that web server is to provide root-level control over the system, is there really much security to be gained by running that process as a different user? That "unprivileged" process is still going to have some mechanism for causing arbitrary commands to run as root.

I can imagine that you might have an unprivileged server presenting just the log-in page, then proxying to a privileged server that is started once the administrator is authenticated. But that doesn't get you much more security, and it probably does strain the resources of low-end routers. A small, auditable server may be better than a more complicated system, especially since it is trivial for more paranoid users to disable/uninstall the web server and just use SSH (which nobody seems to mind running as root).