Bug 204507
Summary: | Flow offload does not work | ||
---|---|---|---|
Product: | Networking | Reporter: | mike-n |
Component: | Netfilter/Iptables | Assignee: | networking_netfilter-iptables (networking_netfilter-iptables) |
Status: | NEW --- | ||
Severity: | normal | CC: | nucleo, oldium.pro, pablo |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://forum.openwrt.org/t/flow-offloading-1-is-broken-on-latest-snapshot-4-19-issue/ | ||
Kernel Version: | 4.19 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: | patch for xt_OFFLOAD |
Description
mike-n
2019-08-05 18:48:35 UTC
It seems to be a regression by the way, cause it works with 4.14, which I am on now. Created attachment 284217 [details]
patch for xt_OFFLOAD
Could you apply this patch to target_linux_generic_hack-4.19_650-netfilter-add-xt_OFFLOAD-target.patch ?
patch -p0 target_linux_generic_hack-4.19_650-netfilter-add-xt_OFFLOAD-target.patch < x.patch
On it With this patch, when flow offload is enabled TCP completely stops working. Websites do not open. I was able to connect to router itself though, and disable flow offload - after which websites loaded (google chrome). Nothing unusual in dmesg. https://github.com/MOZGIII/archer-c7-v2-builder/tree/linux-4.19-offload-patch - I used this to build the image. And here are built files of the image: https://github.com/MOZGIII/archer-c7-v2-builds/tree/manual-4.19-2019-08-07-1 Any ideas? Is your iptables rule added to PREROUTING? If so, did you try from the FORWARD chain? meanwhile, could you also point me to the URI that contains the iptables patch to add libxt_FLOWOFFLOAD for userspace that I can download from the openwrt website? That would allow me to test my patches here. Thanks. I think this is the one: https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/network/utils/iptables/patches/800-flowoffload_target.patch;h=2f79ee835a6fd5e17fa93339ab946030ab100015;hb=HEAD I have very little understanding of the inner workings of openwrt so far, but it looks like what you're looking for. |