ptpt52 / natcap

A code very difficult to read, an implementation of transparent proxy protocol to break through the firewall.
GNU Affero General Public License v3.0
81 stars 34 forks source link

看虎牙直播会使CPU负载超高而导致路由器死机 #5

Closed y0IkE closed 4 years ago

y0IkE commented 4 years ago

编译错误 /home/yy/openwrt32/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/natcap-7.0.1/natcap_common.h:307:7: error: implicit declaration of function 'nf_get_afinfo'; did you mean 'tcp_get_info'? [-Werror=implicit-function-declaration] ai = nf_get_afinfo(PF_INET); ^~~~~ tcp_get_info /home/yy/openwrt32/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/natcap-7.0.1/natcap_common.h:307:5: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] ai = nf_get_afinfo(PF_INET); ^ /home/yy/openwrt32/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/natcap-7.0.1/natcap_common.h:309:5: error: dereferencing pointer to incomplete type 'const struct nf_afinfo' ai->route(net, (struct dst_entry **)&rt, &fl, false); ^~ cc1: all warnings being treated as errors