OpenWrt Joins Software Freedom Conservancy
openwrt.org
openwrt.org
https://sfconservancy.org/news/2020/oct/01/new-copyleft-stra... https://sfconservancy.org/copyleft-compliance/enforcement-st... https://sfconservancy.org/copyleft-compliance/firmware-liber...
Router firmware's are fully of buggy and on top of that they abuse users just because they can https://news.ycombinator.com/item?id=24530009
Buy a router that supports openwrt and you can block ads at the router level among a lot of other cool things.
my network is a wrt1900acs + 2 mikrotik rb2011 switches, all running openwrt. I also have an mikrotik rb750gl somewhere.
I started out with vanilla openwrt, but over time I ended up customizing and building everything myself.
In the beginning I used the gui, but now I skip it and just edit the config files directly via emacs+tramp.
I have a few vlans - one that can get out directly, one that can get out through a proxy, and one that can't really get out.
I've been considering moving to a firewall box + separate wifi box.
I've also been thinking it might be cool to do 802.1x and see if I can get machines to sign in and get put on their vlan automatically.
I think it is hard for people to appreciate how great it is to have a legit Linux distribution for your router. The alternatives (e.g. DD-WRT, Tomato, etc) are "just firmware".
so true. OpenWrt is alot of networking fun and allows me to run a more current kernel on a measly (and perfectly fine for my uplink) MIPS device from 2012 than the one of the 450€ smartphone. But some chips will never see a reimplementation if datasheets and specs are missing. I pray for mainline kernel support, but while some SoC get integrated, GPU and peripherals are another story. As a consumer, this is sick. How is anybody even allowed to sell this way.
The 17th october marks the "international repair day" of the repair community. But even with "the right to repair" - without controlling the software, you still might hold a brick in your hands.
https://community.nxp.com/t5/Wireless-Connectivity/Drivers-f...
For example, you can buy this: amzn.com/B07FKMJGD6 - Put PFsense or Shorewall on it, and get one of the many Wifi APs available on the internet.
The downside is more appliances, but the benefit is that you can swap one or the other our when you upgrade.
It is hard to replicate OpenWRT's GUI, terminal tools, and online resources with a bespoke for solution.
However, the PFSense GUI is pretty straightforward. Shorewall has no GUI and is all text based configuration, but personally I prefer that.
If OpenWRT supports wireless APs then sure that seems like great software to use. In my experience most Wireless APs have proprietary firmware and are not supported by most open source solutions. I block all egress on them.
Having a router/AP combo that runs OpenWRT is great, the solution I proposed just expands your hardware options for non OpenWRT compatible hardware.
a. How critical is it to use such dedicated hardware - could I use a RPI4 with an added usb3-gigabit eth adapter? (I don't need a wired lan, only a wifi one). How much worse would that be compared to the hw you link?
b. Which AP would you recommend? I think the Ubiquity AP lite one is reasonably low cost - are there better options with similar cost?
a. Running everything over a USB3 hub would probably work, you would just be looking at decreased total throughput ( depending on the hub ). Depending on what you're doing ( vlans ) the pi processor might become a bottleneck.
b. Most Wireless APs are mediocre and run some proprietary firmware ( including Ubiquity ). Personally I just got the cheapest one that supported my bandwidth requirements, and blocked if from being able to communicate with the internet ( the one I got would reach out to some AWS compute instance for who knows what ). Other than that they all kind of work the same. I know people who like the Ubiquity one because of it's nice UI.
Could you please link me to the specific AP you picked?
As an aside - this would make a good writeup if you had the time. Theres very little good info on this - at least that I could find.
( BTW, I would not recommend the espressobin if you want gigabit speeds )
I can't find the one I got originally, but any wifi AP works, like amzn.com/B010S6SG3S Just get one for the approximate bandwidth you want to support.
The main issue was instabilty manifested in random packets loss and randomly crashing/not working (either 2.4 or 5GHz) APs
Edit: also as you mentioned kmod-ath10k-ct, it looks like you run it on some off the shelf wifi. Those tends to be trickier and less stable. AP that i assembled with compex cards were rock solid for years (ath9k + ath10k)
Those just work and are reasonably priced (~90 USD).
https://openwrt.org/advisory/2020-01-31-1
After I read that, I removed openwrt on an old mips wifi router I had been using for years and moved to a fanless x86_64 running a minimal normal distro, set up via nmcli.
You switched systems for this? Sure, they could have done defense in depth (not unlike Debian, which also relies on signatures), but this was a bug in signature verification and... Honestly, how would someone even exploit this?
And then they can wait for the targets to update. They can do that pretty cheaply and over the 3 years and two major releases the broken opkg shipped on, just collect victims. That's what a lot of people in a lot of different countries are paid to do for a living.
1) Still no dnssec on archive.openwrt.org 2) Still no tls on archive.openwrt.org
Those together mean you can poison the dns for it and it will download packages from your fake site. And...
3) Problem was introduced Feb 2017, nobody checked tampered packages were still rejected until 2020.
With 3) it means anyone can put whatever they want in the fake packages and the OS will install them.
I don't need much from my router but I need it to be secure. So I got rid of openwrt the next week.
You'll notice many other package management software do the exact same thing.
In any case, this is based on what other package management software does. I don't know if this is indeed the case.
https://openwrt.org/advisory/2020-01-31-1
A bug in the package list parse logic of OpenWrt's opkg fork caused the package manager to ignore SHA-256 checksums embedded in the signed repository index, effectively bypassing integrity checking of downloaded .ipk artifacts.
Fixed that for you.
CVE-2019-3462 Incorrect sanitation of the 302 redirect field in HTTP transport method of apt versions 1.4.8 and earlier can lead to content injection by a MITM attacker, potentially leading to remote code execution on the target machine.
[0] https://www.cvedetails.com/vulnerability-list/vendor_id-23/p...
Edit: many of the CVEs for apt-get are in the "bad pki" class, all of them are "severe" as they allow malicious code execution:
CVE-2009-1358 apt-get does not check for the correct error code from gpgv
CVE-2011-1829 APT does not properly validate inline GPG signatures
CVE-2011-3634 APt accepts connections when the certificate host name fails validation
CVE-2014-0478 APT does not properly validate source packages, allow installation of Trojan horse packages by removing the Release signature.
etc etc.
Facts of life: all software contain an uncountable number of severe vulnerabilities. It is unfair to single-out openwrt IMHO.
The CVE you mention is about the transport part, it's not easy to get right and everything that goes on the network is at some risk of that. Still that seems a different kind of implication than nobody checked if packages could be tampered successfully for 3 years and afterwards nobody changed the infrastructure.
Then no infrastructure changes as a reaction to what happened? Like I said good for them, the PR mentions they will get some funding this is the kind of thing they can spend it on.
Is there a normal distro that is already set up similar to OpenWRT out of the box?
This has two mini PCI cards for wifi, one for 2.4GHz and one for 5GHz, they don't reach comparable speeds but it is very reliable. It also has 128GB msata SSD mini PCI.
Once Linux was installed, I was surprised nmcli + firewalld is really powerful now, I could set up a multizone AP with two mini PCI cards and Ethernet routing in a couple of hours googling, and it worked stably and just how I intended. For anything else, it's a normal Linux box with the kind of normal storage and packages you don't get on commodity routers.
No, as the article says
>> Conservancy will help OpenWrt continue to thrive and grow as its new fiscal sponsor.
That's what I think they need, to resolve their security and testing issues.
> Inter zone forwarding rules are still not a thing
I can believe that firewalld is not there on some things, but for what I wanted to do, including VPN service, it worked out great. I was expecting it to be a much harder ride, it would have been a few years ago.
> so this issue alone to switch seems an overreaction to me.
When I realized for 3 years there had been no package security on my own box I had thought was in better defensible shape than running manufacturer firmware, I realized I had been living in a fantasy. You're free to make up your own mind.