chenmozhijin / turboacc Goto Github PK
View Code? Open in Web Editor NEW一个适用于官方openwrt(22.03/23.05) firewall4的turboacc
License: GNU General Public License v3.0
一个适用于官方openwrt(22.03/23.05) firewall4的turboacc
License: GNU General Public License v3.0
删除了953 613补丁
编译错误提示如下
patching file include/uapi/linux/in.h
patching file tools/include/uapi/linux/in.h
patching file net/netfilter/nf_conntrack_ecache.c
Hunk #1 FAILED at 266.
1 out of 1 hunk FAILED -- saving rejects to file net/netfilter/nf_conntrack_ecache.c.rej
patching file include/net/netns/conntrack.h
patching file net/netfilter/nf_conntrack_proto_tcp.c
patching file net/netfilter/nf_conntrack_standalone.c
Patch failed! Please fix /home/core/ax6-immortalwrt/target/linux/qualcommax/patches-6.6/0600-1-qca-nss-ecm-support-CORE.patch!
make[4]: *** [Makefile:32: /home/core/ax6-immortalwrt/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.30/.prepared_1e42c204ee5948ef57272df366bdfacb] Error 1
make[4]: Leaving directory '/home/core/ax6-immortalwrt/target/linux/qualcommax'
make[3]: *** [Makefile:11: compile] Error 2
make[3]: Leaving directory '/home/core/ax6-immortalwrt/target/linux'
time: target/linux/compile#2.45#10.23#9.27
ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:32: target/linux/compile] Error 1
make[2]: Leaving directory '/home/core/ax6-immortalwrt'
make[1]: *** [target/Makefile:25: /home/core/ax6-immortalwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.target_compile] Error 2
make[1]: Leaving directory '/home/core/ax6-immortalwrt'
make: *** [/home/core/ax6-immortalwrt/include/toplevel.mk:233: world] Error 2
core@ubuntu:~/ax6-immortalwrt$ make menuconfig
WARNING: Makefile 'package/feeds/telephony/freeswitch/Makefile' has a dependency on 'libpcre', which does not exist
tmp/.config-package.in:61501:error: recursive dependency detected!
tmp/.config-package.in:61501: symbol PACKAGE_luci-app-turboacc depends on PACKAGE_kmod-nft-fullcone
tmp/.config-package.in:15370: symbol PACKAGE_kmod-nft-fullcone is selected by PACKAGE_luci-app-turboacc
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"
大佬,请问这是啥原因
curl -ssl https://raw.githubusercontent.com/chenmozhijin/tu
rboacc/luci/add_turboacc.sh -o add_turboacc.sh && bash add_turboacc.sh
./package not found
求问如何解决?谢谢。
提个建议:turboacc作为一个便捷的开关集合,希望作者修改下原版的DNS开关,相比其他的dns插件dnsproxy支持的协议最全,但没有luci,用命令行控器比较麻烦,如果可以在这里直接控制dnsproxy就很方便
我在想办法把那些指令写到feeds.conf中。
如果能有一个现成的,就舒服了。
如题,Redmi Router Ax6s(mtk7622平台)想用。
nft-fullcone和https://github.com/chenmozhijin/turboacc/blob/package/hack-6.1/952-add-net-conntrack-events-support-multiple-registrant.patch
经过测试在linux 6.6内核上工作正常,相信openwrt主线的pr很快就合并了openwrt/openwrt#14868
请尽快修改相关脚本以及hack6.6以适配openwrt master的内核更新
OpenWRT主线,前两天最新的master分支,没打其他的任何patch,几周前第一次尝试这个插件就有此问题,一直是master分支
似乎nft_fullcone这个内核模块是挂上了的
稍微读了下源码,然后发现/sys/module/nft_fullcone/refcnt
是0,不知道是不是应该把issues发到nft-fullcone这个项目那边去
dmesg | grep fullcone
和logread | grep fullcone
的结果都是空的,我不知道我应该去哪里找日志,如果有日志的话,还请告诉我
以下是我编译时安装的一些插件
luci
luci-app-acme
luci-app-ddns
luci-app-nlbwmon
luci-app-passwall2
luci-app-smartdns
luci-app-sqm
luci-app-statistics
luci-app-upnp
luci-app-wol
luci-theme-argon
luci-proto-wireguard
bind-dig
bind-host
bind-nslookup
ncat-full
nmap-full
acme-acmesh-dnsapi
ethtool-full
iperf3
tcpdump
nano-full
vim-full
acl
btrfs-progs
- Built with zstd support
ntfs-3g
dmesg
hwinfo
irqbalance
qrencode
smartmontools
whereis
which
collectd
- Enable ability to use with encrypted networking
collectd-mod-dns
collectd-mod-ethstat
collectd-mod-interface
collectd-mod-ping
collectd-mod-sensors
collectd-mod-thermal
collectd-mod-wireless
python3-speedtest-cli⏎
Collected errors:
用的这条命令curl -sSL https://raw.githubusercontent.com/chenmozhijin/turboacc/luci/add_turboacc.sh -o add_turboacc.sh && bash add_turboacc.sh
下面是命令执行过程
使用immortalwrt的openwrt-23.05源码按照README的使用方法编译,没有fullcone的选项
执行/etc/init.d/firewall restart
显示:
root@N1:~# /etc/init.d/firewall restart
nft_try_fullcone: cmd /usr/sbin/nft -c 'add table inet fw4-fullcone-test; add chain inet fw4-fullcone-test dstnat { type nat hook prerouting priority -100; policy accept; fullcone; }; add chain inet fw4-fullcone-test srcnat { type nat hook postrouting priority -100; policy accept; fullcone; }; ' 2>/dev/null
nft_try_fullcone failed, disable fullcone globally
nft_try_fullcone: cmd /usr/sbin/nft -c 'add table inet fw4-fullcone-test; add chain inet fw4-fullcone-test dstnat { type nat hook prerouting priority -100; policy accept; fullcone; }; add chain inet fw4-fullcone-test srcnat { type nat hook postrouting priority -100; policy accept; fullcone; }; ' 2>/dev/null
nft_try_fullcone failed, disable fullcone globally
Section @zone[0] (lan) fullcone in defaults not enabled, ignore zone fullcone settings
Section @zone[1] (wan) fullcone in defaults not enabled, ignore zone fullcone settings
Section docker (docker) fullcone in defaults not enabled, ignore zone fullcone settings
Section @rule[9] (Support-UDP-Traceroute) is disabled, ignoring section
Section @include[0] is not marked as compatible with fw4, ignoring section
Section @include[0] requires 'option fw4_compatible 1' to be considered compatible
Section miniupnpd option 'family' is not supported by fw4
Section miniupnpd option 'reload' is not supported by fw4
Section miniupnpd specifies unreachable path '/usr/share/miniupnpd/firewall.include', ignoring section
Section koolproxy option 'reload' is not supported by fw4
Section koolproxy specifies unreachable path '/var/etc/koolproxy.include', ignoring section
Section pptpd option 'reload' is not supported by fw4
Section pptpd specifies unreachable path '/etc/pptpd.include', ignoring section
Section vssr option 'reload' is not supported by fw4
Section vssr specifies unreachable path '/var/etc/vssr.include', ignoring section
Automatically including '/usr/share/nftables.d/table-post/20-miniupnpd.nft'
Automatically including '/usr/share/nftables.d/chain-post/dstnat/20-miniupnpd.nft'
Automatically including '/usr/share/nftables.d/chain-post/forward/20-miniupnpd.nft'
Automatically including '/usr/share/nftables.d/chain-post/srcnat/20-miniupnpd.nft'
请问一下这是什么情况?
编译后,开启fullnat偶发性掉线,并且必须重启openwrt才可以恢复
# find /lib/modules/ | grep nft_fullcone.ko
/lib/modules/5.15.137/nft_fullcone.ko
# /etc/init.d/firewall restart
Section @defaults[0] specifies unknown option 'fullcone'
# cat "/sys/module/nft_flow_offload/refcnt"
1
# cat "/proc/sys/net/ipv4/tcp_congestion_control"
bbr
# cat "/sys/module/nft_fullcone/refcnt"
0
sfe加速在单线多播mwan3负载均衡做了端口转发情况下从外网访问跃点大的wan口下载数据会出现断流。
CC [M] net/netfilter/nf_conntrack_proto_tcp.o
In file included from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:8,
from ./include/linux/list.h:9,
from ./include/linux/timer.h:5,
from net/netfilter/nf_conntrack_proto_tcp.c:9:
net/netfilter/nf_conntrack_proto_tcp.c:35:19: error: 'nf_ct_tcp_no_window_check' undeclared here (not in a function)
35 | EXPORT_SYMBOL_GPL(nf_ct_tcp_no_window_check);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/export.h:104:23: note: in definition of macro '___EXPORT_SYMBOL'
104 | extern typeof(sym) sym;
| ^~~
./include/linux/export.h:161:41: note: in expansion of macro '__EXPORT_SYMBOL'
161 | #define _EXPORT_SYMBOL(sym, sec) __EXPORT_SYMBOL(sym, sec, "")
| ^~~~~~~~~~~~~~~
./include/linux/export.h:165:41: note: in expansion of macro '_EXPORT_SYMBOL'
165 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "_gpl")
| ^~~~~~~~~~~~~~
net/netfilter/nf_conntrack_proto_tcp.c:35:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
35 | EXPORT_SYMBOL_GPL(nf_ct_tcp_no_window_check);
请问一下这是什么情况?吗,同时编译了MWAN3,WIREGUARD,UPNP
编译成功了,也刷进去了,但点开turboacc一直显示“正在收集数据”。。。红米AX6s,官方op22.03分支
System: Windows11 WSL Ubuntu22.04
Openwrt Version: Official Openwrt / openwrt-23.05
Building target: ramips/mt7621/Xiaomi redmi AC2100
Error log: log
Error log summary:
Register multiple callbacks to ct events (NF_CONNTRACK_CHAIN_EVENTS) [N/y/?] (NEW) make[7]: *** [scripts/kconfig/Makefile:77: syncconfig] Error 1
make[6]: *** [Makefile:628: syncconfig] Error 2
make[5]: *** [Makefile:748: include/config/auto.conf.cmd] Error 2
Diffconfig: config
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.