GithubHelp home page GithubHelp logo

编译失败 about ua2f HOT 10 CLOSED

zxilly avatar zxilly commented on June 13, 2024
编译失败

from ua2f.

Comments (10)

arbaleast avatar arbaleast commented on June 13, 2024

用openwrt官方源能编译成功

from ua2f.

Zxilly avatar Zxilly commented on June 13, 2024

libnetfilter_queue这个库在1.0.3的时候有一次大修改,我按照修改以后写的
官方是1.0.5,lean那还是1.0.2

from ua2f.

blackyau avatar blackyau commented on June 13, 2024

有个解决方法
https://minhaskamal.github.io/DownGit/#/home 下载 OpenWrt 官方用的新版 libnetfilter-queue
下载地址是这个 https://github.com/openwrt/packages/tree/master/libs/libnetfilter-queue
然后覆盖到 ~/lede/package/libs/libnetfilter-queue 目录里面去,就可以编译成功了。
唯一的问题是,这样操作后就不能直接 git pull 更新前需要自己解决一下冲突的问题。

from ua2f.

Zxilly avatar Zxilly commented on June 13, 2024

@blackyau 你把变更存成commit就能pull了

from ua2f.

kinglasy avatar kinglasy commented on June 13, 2024

还有个问题,如果我想暂时放行某一台电脑,要如何处理呢,作业系统不放行就登录不了

from ua2f.

Zxilly avatar Zxilly commented on June 13, 2024

@kinglasy 你看iptables规则嘛,你加一条src是你的PC的就return的规则就好

from ua2f.

kinglasy avatar kinglasy commented on June 13, 2024

from ua2f.

SunBK201 avatar SunBK201 commented on June 13, 2024

@kinglasy 你可以针对你所要访问的网站进行放行:

iptables -t mangle -I ua2f -d <网站ip> -j RETURN

也可以放行PC的全部流量:

iptables -t mangle -I ua2f -s <PC ip> -j RETURN

from ua2f.

Zxilly avatar Zxilly commented on June 13, 2024

@SunBK201 -A 不行,包已经到NFQUEUE去了,应该用-I

from ua2f.

SunBK201 avatar SunBK201 commented on June 13, 2024

@Zxilly 好的,已修改

from ua2f.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.