Wanted to download an ISO, ended up writing a kernel exploit (blog.dfb.sh)
332 points by 0xdeafbeef 2 days ago
Author here. Does anyone know what to do with the rest of the drivers? I found at least 13 in-tree drivers with the same bug class. The nasty part is they work fine on x86 and silently corrupt data on arm and other non-coherent archs, and I don't have the hardware to test them.
I'd guess that's what the DMA API is for and drivers shouldn't be doing cache maintenance by hand, but I'm not a kernel dev, so maybe I'm missing something.
Shank 14 hours ago
> The connection was a bit janky, a video would occasionally start buffering, but it didn't bother me much.
This is truly bonkers! Please, if you buy hardware that does not work correctly from day 1, return it. If you do not vote with your wallet these companies will never learn and will never adjust their practices. Rewarding TP-Link by keeping their terrible hardware does nothing.
> I contacted support in June because the website only had firmware for v2. They couldn't find v1 in their database and asked for photos of the device and box
!!
alias_neo 11 hours ago
Step one is not to buy TP-Link routers.
I know people have limited budgets, but having seen the code that sits on these devices and how poor quality and easily exploited it is, time and time again, I'll never buy TP-Link (amongst others) again.
For a while I collected a graveyard of routers that had been abandoned by the manufacturers (and contained serious vulnerabilities), with the intention of writing them all up one day; next thing you know I have two children rapidly reaching double-digit ages, and much better things to do with my life than write about how shitty the code is on actual products we buy every day.
I switched, about 7-8 years ago to a Protectli box running Coreboot and OPNSense and haven't looked back; I use Ubiquiti APs and switches. I'm not saying they're the best, but anything used in corporate/enterprise is going to have better support (if not better code quality).
The great thing about Ubiquiti APs for me is that each new WiFi generation (or two) I can just buy a few more, snap the existing APs off of the various ceilings they're attached to, snap on the new ones, adopt them, and away we go.
emilburzo 11 hours ago
Or, buy a TP-Link router and flash it with OpenWrt. Best of both worlds.
xattt 10 hours ago
skrtskrt an hour ago
alias_neo 8 hours ago
kkapelon 7 hours ago
> The great thing about Ubiquiti APs for me is that each new WiFi generation (or two) I can just buy a few more, snap the existing APs off of the various ceilings they're attached to, snap on the new ones, adopt them, and away we go
Why is this exclusive to Ubiquiti? Can't you do it with any other company that has managed APs?
devin 2 hours ago
What router brands are producing quality?
0xdeafbeef 11 hours ago
It's not a router, it's an AP, so in my mind it's just a LAN to wifi bridge, a wrapper around the chip :) People were recommending them, it has PoE, roaming works etc. I thought I could buy a consumer product and stop tinkering lol. I'll check Ubiquiti, but I somehow thought that they are overpriced af and never looked into them
alias_neo 8 hours ago
wccrawford 11 hours ago
TP Link's support is the worst, too.
I bought an Omada, thinking I was getting a quality product. It died in the first 2 weeks.
Support accused me of not using a surge protector (it was plugged into a UPS) and grudgingly sent me a replacement.
Even at home, I can't risk having to replace my router every 2 weeks, so I just stuffed it in a box. I did use it again later, but wasn't happy with it, and ended up with a Ubiquiti Unifi UCG-Ultra. It's better than the TP-Link Deco and Omada, Eero Pro, Google Wifi, and Asus routers I've had, though I'll admit some of the Asus were pretty decent.
VladVladikoff 9 hours ago
Mikrotik routers are cheap, very stable and highly configurable. Admittedly the learning curve is a bit rough, but in today’s age of agentic assistance, you can just have your LLM help you configure it.
icefo 43 minutes ago
ciupicri 8 hours ago
whatevaa 6 hours ago
n4bz0r 10 hours ago
> I'll never buy TP-Link (amongst others)
Been wondering recently what the others might be. Can you give a few examples among popular brands?
alias_neo 8 hours ago
O3marchnative 7 hours ago
BoppreH 9 hours ago
TacticalCoder 11 hours ago
> I'll never buy TP-Link (amongst others) again
I've got many dumb cheap ethernet switches and I'd say as long as they're really dumb/unmanaged/not advanced: you can't go very wrong. I've got probably two TP-Link ones and they're on 24/7 and just work: zero problem since years (and they followed me in four countries). Never had any issue with big .iso files or anything.
And I've got a little homelab: VMs and ZFS on a Xeon with ECC RAM, countless Raspberry Pi, two physical different LANs (not VLANs as all my switches are dumb) with a Pi doing the bridge/routing.
It's when things get complicated: configurable stuff, "advanced" capabilities, etc. that the cheap junk stops working properly and that you're better served with proper gear.
And of course there's the $200 or $500 vs $20 question too.
But people shouldn't underestimate how reliable good old dumb unmanaged Ethernet is for home usage.
Heck, I can go from 1 Gb/s to 100 Mbit/s to then a very old 10 Mbit/s (!) switch by daisy chaining them all switches and everything simply just works (I did that for I was thinking about playing with bounded-retrieval-model, hence physically limiting network speed on purpose).
No whether you should support or not a company selling shitty managed switches and shitty routers by buying the products that are okay from them is another question.
ErroneousBosh 11 hours ago
> Step one is not to buy TP-Link routers.
What about their switches? I'm looking at buying a small 10GB SFP switch and TP-Link was one option.
I've already got Ubiquiti kit, and frankly while I don't much like it I can't deny that it works well enough and is reasonably priced for what you get.
So, it looks like I'm going to lean towards the Ubiquiti switches.
alias_neo 8 hours ago
InsidiousWombat 12 hours ago
Hardware offload bugs are bane of NICs since hardware offload was offered (and that does include pricy enterprise ones, not just your random consumer one) and it can be drivers but majority it is on hardware/firmware side so I wouldn't be too crossed on TPLink for that one.
I wonder if EU push for basically 5 years of mandatory updates will make it better. Then again this isn't security bug but functional one...
layer8 10 hours ago
> EU push for basically 5 years of mandatory updates
That only applies to smartphones and tablets, I believe.
looperhacks 10 hours ago
bombcar 5 hours ago
IF you don't accept hardware that doesn't work correctly you'll never have certain types of hardware (I've not seen an ethernet card nor storage controller that didn't have SOME weird edge-case bug).
adfgaionio 9 hours ago
> I contacted support in June because the website only had firmware for v2. They couldn't find v1 in their database and asked for photos of the device and box
> !!
I was shocked when this happened to me. My company had a Dell switch kicking around in storage. It was a Dell Powerswitch Somethingorother_b. Big, expensive, enterprise switch. I went to set it up and found that I couldn't find the manual for that model online. Dell told me they only made a Somethingorother without any suffix. But we had records of buying it straight from them.
Apparently it happens. I have no idea how.
jameshilliard 6 hours ago
The Q1000K ONT(which also has an optional router feature) used by a major US ISP[0] has some rather crazy driver bugs I used AI to root cause and even live patch[1] as a proof of concept to fix(I found some 6RD protocol corruption bugs as well). Getting root access was also trivial by simply feeding it a copy of the firmware binary. In this case the bug originated from the SoC vendor[2] which I reported to them and they seemed to confirm it(with hopefully fixes making it into new firmware updates). It's pretty crazy how good AI is at reverse engineering and root causing bugs in embedded systems these days. Even stuff like BROM dumps(which are usually heavily stripped) are easily analyzed and even live patched[3] by AI.
[0] https://www.quantumfiber.com/
commandersaki 13 hours ago
Really happy with my Flint 3. I like that I can SSH to root and do whatever I want.
But what really shocked me is how amazing GL.Inet support is. I think they're probably the best support people I've come across, helping me track down an issue I've had for months with an Aqara doorbell that intermittently goes offline, suggesting configuration changes, even logging into my router (with my permission) to diagnose things. Don't have to register an account in any support system or forum either, can do everything over email. Complete opposite to pretty much every networking vendor I've encountered both low end and enterprise.
stirlo 11 hours ago
I’m running Flint 3 and an Aqara doorbell and have noticed intermittent doorbell offline messages. I just assumed it was flaky wifi or 2.4ghz congestion. If you do track down a bug or a solution please share it!
commandersaki 10 hours ago
We've tried a few things but it hasn't really helped.
When it goes offline I get the following error on the Flint 3:
# dmesg | grep -i '54:EF:44:5C:BC:B1' | grep kicked
[3356208.016938] wlan: [0:I:ANY] [INACT] vap-0(wlan0): [54:ef:44:5c:bc:b1]station kicked out due to excessive retries associd 4 (from target) reason 1
[3363271.980807] wlan: [0:I:ANY] [INACT] vap-0(wlan0): [54:ef:44:5c:bc:b1]station kicked out due to excessive retries associd 4 (from target) reason 1
I'm pretty sure it is dodgy firmware on the Doorbell, but I couldn't get any actual support from Aqara on this, so I thought there might be some workaround I could do on the AP.toast0 8 hours ago
Oxodao 12 hours ago
> even logging into my router (with my permission)
This is exactly why I want to migrate to a OpenWRT router, companies should not just be able to hop in my network like this. And I'd love to like the Flint 3 I stayed away from it because it didn't have upstream openwrt compatibility but I just saw this repo that might fix my issue: perceival/openwrt-flint3
koen_hendriks 11 hours ago
Is that the context? In thinking op here might just opened a port and added the keys off the support agent and removing them after.
Oxodao 11 hours ago
kkapelon 7 hours ago
They release new models and completely abandon the old ones. You are happy now. Have you asked owners of Flint 1 (or other older models), how they feel now?
cataflam 12 hours ago
Great write-up!
Not surprised by the driver software quality issues. When I was still working in consumer electronics / embedded, I saw many examples of the internals of those devices. The software was often a hodgepodge of scripts and drivers, whatever seemed to work, from companies without a great software and details culture.
We would usually rewrite the drivers entirely from the datasheets or from reversing the vendor ones!
phrotoma 10 hours ago
Agreed, fun to read. Spite driven development. Reminded me of that Asus ACPI issue that somebody went buckwild on last year, or when Tavis Ormandy decided that xterm on windows took too long to launch.
markus_zhang 12 hours ago
Thanks for sharing. Do you have any blog or other links about this kind of research and the re-writes? I don’t work in the field so I feel modern chips are way too complex so it is not commercially viable to reverse and rewrite the drivers, but apparently I’m wrong.
0xdeafbeef 12 hours ago
They often have logic in blobs and run a separate OS inside. See all wifi 7 drivers, all come with blobs and OSS driver simply is a bridge
circularfoyers 14 hours ago
> I have the Cyber Verification Program enabled on my account, which hasn't helped.
This is funny to read. Either you can be more "verified" than the other guy, or it's badly implemented.
wereHamster 14 hours ago
Last week I got a report about a vuln in one of our products. Asked Claude to confirm it. It refused, so I told it "fuck you, I'm switching to a chinese model to help me out here". It replied, I'm paraphrasing, that it's "not offended, but doesn't like the tone of voice I used towards it, and still refuses to serve my request". Fine, so be it. I sent ^D^D back to it, switched to deepseek-v4.1-flash from within opencode and a minute later had my confirmation, along with a really nice explanation. If Anthropic thinks even for a second that they are preventing something really bad from happening... somebody needs to wake up real quick.
razeh 11 hours ago
The bad thing they’re preventing is Anthropic getting blamed for an exploit. They’re not trying to stop the exploit.
masto 11 hours ago
I was working on a bit of code to display results from a PCR test for veterinary use. Claude started randomly failing in the middle of conversations. Then I noticed the error code “bio”. Apparently it can’t tell the difference between bio weapons research and a web site to look at your fish’s lab results.
throw0101c 9 hours ago
> If Anthropic thinks even for a second that they are preventing something really bad from happening... somebody needs to wake up real quick.
IMHO this is like thinking "It's okay for me to do X because if I don't someone else will."
No, if (you think) X is bad / ethically questionable you should not do it even if someone else may. You are responsible for your choices, and if someone else does/allows it then that's on them, not you.
BoxOfRain 12 hours ago
Claude's 'nanny knows best' recalcitrance towards any sort of defensive security task is driving me away from Anthropic as a customer. GLM doesn't give me this nonsense, DeepSeek doesn't give me this nonsense; as you say Anthropic's silly paternalism around security prevents nothing in practice, it's just a burdensome morality-laundering tax on everyone's time and lifeblood.
Also imagine having the gall to push a class of technology on the world that dramatically drives up the number of attacks, then refusing to allow said products to be used defensively to avoid the consequences. Who do these people actually think they're kidding?
eru 12 hours ago
freehorse 13 hours ago
> fuck you, I'm switching to a chinese model to help me out here
FYI it may be against anthropic's ToS to talk to claude like that [0]. Please be nicer to poor claude and don't forget to say "please" and "thank you".
[0] https://www.anthropic.com/news/2026-usage-policy-update#:~:t...
Oxodao 12 hours ago
chriswarbo 13 hours ago
InsidiousWombat 12 hours ago
hypfer 13 hours ago
Trlog 13 hours ago
thenthenthen 12 hours ago
Xelbair 9 hours ago
Muromec 12 hours ago
Deepseek is great, I can't even
eru 12 hours ago
dgellow 10 hours ago
They know about it, that’s why Anthropic leadership is pushing to ban their competition
ethin 13 hours ago
Agreed. I really don't see how these filters prevent anything. Claude stopped me the other day because... Get ready for it... I told it to implement a control mechanism in a testbed tool I'm using to allow it to control the testbed to give it real-time feedback so it could debug problems in real-time. The "cyber" filter really didn't like that it was implementing a TCP/HTTPS-like server.
Like guys, come on. Really? All the "filter" has to do is read my transcript to figure out that what I'm doing is not actually cybersecurity adjacent at all. I had to go have GPT implement the server because Claude refused. Truly, Claude really did prevent something terrible from happening! /s
1718627440 12 hours ago
NitpickLawyer 14 hours ago
Anthropic doing free advertising for glm and other open models :D
Impressive capabilities shown on benchmarks don't really make a difference if you can't use them. I'll take a lower chance of success over constant downgrading and refusals. At least, as the author put it, you get to enjoy the token gamble exercise.
0xdeafbeef 14 hours ago
They have 3 tiers, individuals can have only blue teaming. But it's to restricted. For me it refused to fix a bash parser cause word ssh was in test cases.
Or fix an sql injection
stingraycharles 10 hours ago
Yeah I ran into it the other week while debugging a crash in our own application (a database), which ended up being related to a memory overread in a decompression algorithm, which happened very rarely.
So I needed a reproduce. Which couldn’t be done. Very frustrating, as it is our own application.
Retr0id 10 hours ago
There's a 4th tier for the people who enrolled before they introduced the 3 tiers thing. It does almost nothing these days but I think it reduces the guardrails on Opus 4.8, and maybe 5 also, but definitely not 5.5.
circularfoyers 14 hours ago
I spend most of my time in open weights land, so other than knowing the program existed, I didn't realise there were tiers to this.
TeMPOraL 14 hours ago
That sounds like it's better to not be enrolled in this?
arcfour 14 hours ago
I am in CVP too as I have worked professionally as a security engineer for various reputable companies for almost 10 years now and I got refusals to reverse engineer MS-DOS malware from 1994 because Anthropic has placed a blanket ban on reverse engineering any malware at all. Even the model would admit that was ridiculous.
OpenAI has no such restriction and I don't even need to use my Daybreak access, either, to analyze modern malware samples.
It's asinine, truly.
stingraycharles 10 hours ago
There are multiple degrees of verification. The basic one is “writing secure code”-style, which I suspect OP has. There’s also a security researcher one, which allows you to do the stuff that OP is doing.
kingforaday 9 hours ago
0xdeafbeef or arcfour - Short of the CVP from Anthropic, would love to know if Mistral Large 4 would solve what you needed...
reflexe 6 hours ago
I worked on a very similar bug in the past, just with another ipq and another pcie card.
IMO, The issue is that cache coherency is not very well specified, and usually defined at the SoC/platform level.
Meaning, you could have the same arm core on 2 different SoCs, running the same driver with the same PCIe card and you will get corrupted data on the one where the PCIe controller‘s requests do not snoop the cpu cache.
Also, note that for both rx/tx to work, you need to invalidate on both sides: rx need to access the dram and not cache. tx need to verify that all was written to the dram before giving it to the hw.
bobmcnamara 6 hours ago
I hope things are better now, but there used to be 1.5 poor choices:
1) use uncached DMA buffers 2) manage cache host CPU coherency by hand. 3) hope you only ran on hardware cache coherent architectures
And the kernel didn't give you everything you needed to do #2.
Just reading a USB2 480p webcam on a raspberry pi burned half the CPU kernel memcpying pixels from uncached DMA rx buffer to cacheable buffer. At least the camera is a linear copy, but the USB packets are relatively small.
InsidiousWombat 12 hours ago
Shopping for new router/AP should start with looking at OpenWRT, it's just a lottery relying on vendor hardware.
b3lvedere 12 hours ago
It is indeed amazing how all the WiFi APs suck, wether it is hardware, software or both.
stingraycharles 10 hours ago
Nah, just the cheap ones.
Buy Ruckus, it’s high quality hardware, but you’ll be paying enterprise prices for new hardware. But used hardware is fine.
b3lvedere 8 hours ago
db48x 12 hours ago
I’ve had no complaints with my UniFi APs, but that is a fairly small sample size. And I’m using an older model; I haven’t upgraded to WiFi 6 or 7 yet.
b3lvedere 11 hours ago
myself248 10 hours ago
Checksum offload, recalculating a bad checksum after corrupting the data, is really insidious.
Shows that trust in TCP can be badly misplaced -- in this case the trouble was cache coherency, but lack of ECC RAM or other electrical gremlins could easily corrupt packets too (and NIC buffer RAM is never ECC afaik), and blindly trusting TCP checksums would eat your data every time.
(Side note, doesn't 'zfs send' blindly trust TCP checksums?)
Props to Rsync and SSH and Wireguard and everything else that went beyond the call of duty to keep your data safe, with varying levels of alertness.
aaronmdjones 9 hours ago
> (Side note, doesn't 'zfs send' blindly trust TCP checksums?)
No.
https://openzfs.github.io/openzfs-docs/Basic%20Concepts/Data...
> End-to-end checksums are a key feature of ZFS and an important differentiator for ZFS over other RAID implementations and filesystems. Advantages of end-to-end checksums include:
> [...]
> - checksums on ZFS replication streams, zfs send and zfs receive, ensure the data received is not corrupted by intervening storage or transport mechanisms
Edit: Also, as Asmod4n points out in a sibling comment, neither zfs send nor zfs recv actually transmit or receive any data. They just generate a data stream that you are then responsible for handling somehow (piping to e.g. ssh, redirection to a file, etc).
Vacyyyy 9 hours ago
> Streams are checksummed, so corruption introduced by the network or by intermediate storage is detected on receive.
https://openzfs.github.io/openzfs-docs/Basic%20Concepts/Oper...
ls65536 10 hours ago
I've set up all NFS mounts within my home LAN over WireGuard partly for this exact reason. The impacts to bandwidth and latency are negligible, and even the increase in CPU usage remains relatively low (at least on non-ancient hardware). This reduces some of my worries about silent data corruption (at least from this potential source).
Asmod4n 9 hours ago
zfs send/recv doesn’t do networking on its own?
arprocter 2 hours ago
Small world - I saw your "rant" thread on /r/TPLink_Omada before I rolled the dice on EAP770 a few weeks ago
It won't be much consolation, but I received a v2 and applied several firmware updates after unboxing it
Seems solid, although I noticed 'exit' doesn't work in ssh (?) - need to type ~. instead
ncr100 27 minutes ago
To raise awareness, the author also asks Hacker News for Security reporting help, in the post description above:
> Author here. Does anyone know what to do with the rest of the drivers? I found at least 13 in-tree drivers with the same bug class. The nasty part is they work fine on x86 and silently corrupt data on arm and other non-coherent archs, and I don't have the hardware to test them.
.. who can help them?
sheepscreek 9 minutes ago
> Wanted to download an ISO, ended up writing a kernel exploit.
..from the diary of an AI agent.
mrheosuper 12 hours ago
Wait TP-link EOL their fancy Wifi-7 router. Jezz how long do they support their product, 1 month ?
db48x 12 hours ago
Well, they EOL’d their early–release WiFi-7 router that came out before WiFi-7 was even finalized, and simultaneously released one that they have spent an extra year debugging. Presumably they fixed the firmware bug that fixes the synchronization problem, or switched to a different implementation. It’s a really bad idea to buy early products like this since.
0xdeafbeef 11 hours ago
Nah bug is still in the qcom tree. I've not checked how many devices use it though
pak9rabid 8 hours ago
Ugh...reminds me of the "Pre N" Wifi days, and my stupidity for buying one before 802.11n was actually ratified.
Live & learn...
jwitthuhn 3 hours ago
This is standard tp-link policy. They release a model, give it almost no support, then release a new revision a year later with incompatible hardware and then the old one is never updated again.
boricj 12 hours ago
If a product never got a firmware update during its support window, was it ever supported to begin with?
0xdeafbeef 11 hours ago
It was EOL from the factory. 0 updates. But other routers I "own" receive updates regularly so I guess I won some lottery.
amluto 7 hours ago
I’m surprised you didn’t use your shiny exploit to get enough access to write a startup script or give yourself root. Or patch the driver :)
(I’ve had Astra suggest binary patches things when I don’t even ask it to.)
re: the DMA API, it’s been a while since I’ve poked at it (and I’ve only really poked seriously on x86 Xen PV), but I think there are explicit APIs for cache maintenance, and you drivers may also be able to ask for more coherent mappings depending on hardware. You’re certainly not expected to stick arch-specific flush operations in.
nticompass 10 hours ago
Does TP-Link just make buggy stuff, or are we just unlucky? I used to have a TP-Link WiFi 6E router, that I used as an access point and a switch (the "routing" was disabled since I use another router).
For whatever reason, that device would drop packets if they were VLAN-tagged. Other packets were fine, but anything to do with VLAN just didn't work. Took me a while to figure out that was the issue and it wasn't with the machine I was trying to configure.
I sold that thing on eBay and replaced it with a "real" access point (and a PoE switch).
kccqzy 8 hours ago
For some reason I read a long time ago that offloading is unreliable and I turn it off everywhere. I’m glad that the author also had to turn it off to fix Qualcomm’s bugs. But in general, is this still good advice in 2026?
0xdeafbeef 5 hours ago
upd: reported the bug to qualcomm and tp-link. will update the post if either of them gets back to me
mrlonglong 12 hours ago
This is why I use openwrt where supported.
naruhodo 11 hours ago
This is why I check OpenWRT compatibility before I buy.
upofadown 10 hours ago
... and don't take the vendor's word for it. I got burned on a GL-SFT1200 that way. It runs their version of OpenWRT. You can't install generic OpenWRT.
mrlonglong 4 hours ago
iberator 10 hours ago
Do you update the kernel every week? Linux is an awful choice for routers: too many exploits and ultra fast cycle of updates/features plus there are number one target...
0xdeafbeef 9 hours ago
Too many exploits is not a that big problem. Non of new fancy exploits with cvss 10.0 from 2026 have worked for this ap. If you don't use all the drivers you have small attack surface. I'd say that it's a surviviourship bias. Bsd has less traction => less bugs found
mrlonglong 4 hours ago
That hasn't been my experience as long as you keep an eye on updates. Luckily openwrt has made this really easy to upgrade when required.
speedgoose 14 hours ago
It’s cool but couldn’t you return the broken hardware to the store?
0xdeafbeef 13 hours ago
Nope. It was bought in the other country, tplink said to return it where it was bought. I don't even remeber where it was :)
imp0cat 4 hours ago
Welcome to the wonderful world of TP-link! Enjoy your stay! :)
eru 12 hours ago
I have done some similar work.
First, when Claude refuses I sometimes continue with Kimi or DeepSeek. They are less squeamish. Alas, the combination of C + kernel reliably makes Claude freak out: because of all the UB any tiny error becomes a security hole. (I have the cybersecurity verification stuff from OpenAI and Anthropic but they are still fairly strict.)
Second, contributing directly to the Linux kernel has never been easier. Claude knows all about how to interact with the archaic kernel mailing lists. The main rule I suggest: put in real effort, don't dump AI slop.
However I mostly worked in fixing filesystem bugs so far. I don't know whether the networking and DMA folks are as nice. But probably yes.
(Coincidence: the isofs filesystem code in the kernel is full of tiny holes as far as I can tell. I've patched some of them, but better don't try to mount a malicious CD image.)
pepperoni_pizza 11 hours ago
So what is a good router nowadays? I'm about to buy one and I'm not looking towards this particular rabbit hole.
kccqzy 4 hours ago
I start from the OpenWrt devices page. Filter by the Wi-Fi revision I need (ac or ax), opt for 4 cores or more and sufficient RAM, and then read the forum posts and the device page to make a shortlist. Then I look at price and availability.
phyzome 5 hours ago
Pretty happy with my Asus RT-AC68U. I bought it like 8 years ago and they keep putting out firmware updates.
Before that I briefly had a Netgear Nighthawk R7000P and it kept interrupting long-running TCP connections. After much back-and-forth with their useless warranty department, I just returned it to the retailer.
bunnybender 23 minutes ago
That's weird, because Asus says it has reached End of Life (EOL).
pak9rabid 8 hours ago
Find a decent embedded system & put Linux on it. I've been using that setup for 20'ish years now & have never regretted it.
See also: pfSense, OpenWrt
saidinesh5 11 hours ago
I really like my Cudy Wifi routers. They can run upstream openwrt (double check your version). They run some modified openwrt.
They're both cheap and quite good. They're what GL.inet used to be when i last purchased routers before this.
seethishat 10 hours ago
TLDR: Any standard PC with two or more Ethernet interfaces and OpenBSD with PF.
I like the small Qotom Q305p 3205u computers for this, but any small device will do and if you don't care about the router being small and quiet, any form factor PC will work... just need two or more NICs to route packets from one network to the other.
rithdmc 8 hours ago
What throughput do you get on those? I worry latency, speed, and whatnot will be impacted without dedicated silicon.
pak9rabid 8 hours ago
makz 7 hours ago
Ugh, TP-Link, I hate those, they are pure garbage
zx8080 13 hours ago
> TLS, which rejected the record with bad record mac.
Does TLS (transport layer) not have any retry logic? Could someone explain please?
aaronmdjones 13 hours ago
TLS uses TCP, and TCP has checksums and retry logic. It therefore assumes any data corruption that made it all the way to the TLS layer is an unrecoverable scenario, probably indicative of an attack.
The problem here is that the thing computing the TCP checksum on the outgoing frame was the WLAN firmware running on the WLAN NIC itself; this is known as checksum offloading. It saves CPU time if the CPU can just hand off a TCP segment to the NIC and let the NIC checksum it before it sends it out. This only works properly if the data given to the NIC doesn't get corrupted in the meantime.
pjc50 13 hours ago
You do _not_ want to have multiple retry layers if you can help it. That can result in accidentally DoSing yourself, as each layer amplifies the number of retries.
db48x 12 hours ago
Brilliant, one correct answer and three incomplete answers.
Same reason why you never implement a VPN using TCP sockets, for those readers who solidify their knowledge by triangulation (as it were) from multiple directions.
pjc50 9 hours ago
CodesInChaos 13 hours ago
TLS over TCP assumes TCP supplies a reliable uncorrupted stream of data. So it has no retries of its own, and terminates the connection when invalid data arrives.
I assume DTLS and QUIC handle MAC verification failures gracefully, like ordinary packet loss.
claudex 13 hours ago
TLS expects a reliable connection, if the data are corrupted, that means some is tampering with the connection. It's best to avoid retrying until the tampering succeeds.
godockly 8 hours ago
you mean chatgpt wrote the kernel exploit
godockly 8 hours ago
I guess you meant chatgpt wrote the kernel exploit.