Code Monkey home page Code Monkey logo

openwrt-passwall-build's Introduction

openwrt-passwall-build

Binary distribution of xiaorouji/openwrt-passwall built with official OpenWRT SDK.

Build and Release Scan openwrt-passwall Version

Install via OPKG

  1. Add new opkg key:

    wget -O passwall.pub https://master.dl.sourceforge.net/project/openwrt-passwall-build/passwall.pub
    opkg-key add passwall.pub
  2. Add opkg repository:

    read release arch << EOF
    $(. /etc/openwrt_release ; echo ${DISTRIB_RELEASE%.*} $DISTRIB_ARCH)
    EOF
    for feed in passwall_luci passwall_packages passwall2; do
      echo "src/gz $feed https://master.dl.sourceforge.net/project/openwrt-passwall-build/releases/packages-$release/$arch/$feed" >> /etc/opkg/customfeeds.conf
    done

    OR

    read arch << EOF
    $(. /etc/openwrt_release ; echo $DISTRIB_ARCH)
    EOF
    for feed in passwall_luci passwall_packages passwall2; do
      echo "src/gz $feed https://master.dl.sourceforge.net/project/openwrt-passwall-build/snapshots/packages/$arch/$feed" >> /etc/opkg/customfeeds.conf
    done

    in case you use a snapshot build.

  3. Install package:

    opkg update
    opkg install luci-app-passwall

Manual Install

  • Download prebuilt ipk file from SourceForge.

  • Upload file to your router, install it with shell command.

    opkg install luci-app-passwall*.ipk

Acknowledgement

This project is heavily inspired by kuoruan/openwrt-v2ray.

openwrt-passwall-build's People

Contributors

github-actions[bot] avatar moetayuko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

openwrt-passwall-build's Issues

broken opkg update on snapshot recent build

this started happening like a week ago and only happens when doing opkg. but not when doing curl for example.

Downloading https://master.dl.sourceforge.net/project/openwrt-passwall-build/snapshots/packages/aarch64_cortex-a53/passwall_luci/Packages.gz
SSL error: SSL - Bad input parameters to function
*** Failed to download the package list from https://master.dl.sourceforge.net/project/openwrt-passwall-build/snapshots/packages/aarch64_cortex-a53/passwall_luci/Packages.gz

Downloading https://master.dl.sourceforge.net/project/openwrt-passwall-build/snapshots/packages/aarch64_cortex-a53/passwall_packages/Packages.gz
SSL error: SSL - Bad input parameters to function
*** Failed to download the package list from https://master.dl.sourceforge.net/project/openwrt-passwall-build/snapshots/packages/aarch64_cortex-a53/passwall_packages/Packages.gz

Downloading https://master.dl.sourceforge.net/project/openwrt-passwall-build/snapshots/packages/aarch64_cortex-a53/passwall2/Packages.gz
root@OpenWrt:~# curl -OLJ  https://master.dl.sourceforge.net/project/openwrt-passwall-build/snapshots/packages/aarch64_c
ortex-a53/passwall2/Packages.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   162  100   162    0     0     64      0  0:00:02  0:00:02 --:--:--    64
100   445  100   445    0     0     87      0  0:00:05  0:00:05 --:--:--   287
100   533  100   533    0     0     62      0  0:00:08  0:00:08 --:--:--   285
root@OpenWrt:~#

tuic protocol

hello
tuic has been updated to v5
could you please update this plugin to passwall
it will be great to pass restrictions with full speed using tuic protocol
also core of tuic is small and easily install cheap router

GitHub Actions workflow缺少并行控制

如果上游项目或者本项目频繁提交,可能会有多个Pipeline并行构建。由于构建时间受到多重因素影响,新commit可能会先于老commit完成构建,产物被老commit覆盖。
建议使用concurrency功能对release控制并行度

passwall update

hello sir , passwall has updated to newer version , please add the newer vershion (4.66-8) to your source
thank you

Error "Failed to decode signature" when running opkg update

I followed the installation in instructions but I get the following error:
root@OpenWrt:~# opkg update Downloading https://osdn.net/projects/openwrt-passwall-build/storage/releases/21.02.0/packages/arm_cortex-a9/passwall/Packages.gz Updated list of available packages in /var/opkg-lists/passwall Downloading https://osdn.net/projects/openwrt-passwall-build/storage/releases/21.02.0/packages/arm_cortex-a9/passwall/Packages.sig Failed to decode signature Signature check failed.
How can I resolve this? (Netgear 6250, OpenWrt 21.02.0 r16279-5cc0535800 / LuCI openwrt-21.02 branch git-21.231.26241-422c175)

关于passwall packages SDK版本的问题

看到你刚刚在passwall自动编译那边的评论,正好有个问题想问下。
我觉得,其实passwall弄个luci的自动编译就行了,没必要每次编译还要带上packages。一个是你说的版本不全的问题,还有一个用户下载安装也不方便,需要下整个压缩包,再把需要的解压出来。而且每次passwall更新版本号都编译一次packages,但packages可能几天都不更新,而passwall有时候一天要更新几个版本,会造成多个相同版本的重复编译。
我觉得利用好openwrt-passwall-build的opkg源,要方便很多。所以我打算把这个源仓库在passwall安装时就添加到系统,有2个问题想问下:

  1. readme里使用的仓库地址是https://free.nchc.org.tw/osdn,是否**镜像就是大陆访问最快的源了,还有其他备用的稳定的源吗,osdn官网mirrors有个香港的xtom,但是用浏览器访问的话是403。不知道nchc的镜像一般落后官方几个小时。
  2. 按你评论说的,不同SDK编译出来可能ABI不兼容。国内的一些第三方op,比如lean的,是要添加snapshots的源吗?
    好像这些op除了luci是老的,其他都是跟官方master分支来的,/etc/openwrt-release里面也是DISTRIB_RELEASE='SNAPSHOT'

PS:刚刚看了一下passwall_packages,发现大部分代理软件都是Go程序了,少数几个c/c++的依赖包,都停更好久了,没有更新的需要。唯一还在更新的C程序就是ChinaDNS-NG。只从packages更新而不是新装passwall的角度来看,应该是不会出现这个兼容性问题的。新安装的麻烦些,确实要考虑这个问题,之后做个测试验证下。

"Cannot install package luci-app-passwall" because of "check_data_file_clashes ... * dnsmasq"

Download worked fine through mirror, package installing & configuring too, but I get an error due to Data_file_clashes (last lines of screen output):
`check_data_file_clashes: Package dnsmasq-full wants to install file /usr/share/dnsmasq/rfc6761.conf
But that file is already provided by package * dnsmasq

  • opkg_install_cmd: Cannot install package luci-app-passwall.`

(Netgear 6250, OpenWrt 21.02.0 r16279-5cc0535800 / LuCI openwrt-21.02 branch git-21.231.26241-422c175)

Full screen output during installation:
`root@OpenWrt:/# opkg install luci-app-passwall
Installing luci-app-passwall (4.36) to root...
Downloading http://ftp.halifax.rwth-aachen.de/osdn/storage/g/o/op/openwrt-passwall-build/releases/21.02.0/packages/arm_cortex-a9/passwall/luci-app-passwall_4.36_all.ipk
Installing coreutils (8.32-6) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a9/packages/coreutils_8.32-6_arm_cortex-a9.ipk
Installing coreutils-base64 (8.32-6) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a9/packages/coreutils-base64_8.32-6_arm_cortex-a9.ipk
Installing coreutils-nohup (8.32-6) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a9/packages/coreutils-nohup_8.32-6_arm_cortex-a9.ipk
Installing libnghttp2-14 (1.43.0-1) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a9/packages/libnghttp2-14_1.43.0-1_arm_cortex-a9.ipk
Installing libcurl4 (7.78.0-1) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a9/packages/libcurl4_7.78.0-1_arm_cortex-a9.ipk
Installing curl (7.78.0-1) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a9/packages/curl_7.78.0-1_arm_cortex-a9.ipk
Installing libgmp10 (6.2.1-1) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a9/base/libgmp10_6.2.1-1_arm_cortex-a9.ipk
Installing libnettle8 (3.6-1) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a9/base/libnettle8_3.6-1_arm_cortex-a9.ipk
Installing kmod-nfnetlink (5.4.143-1) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/targets/bcm53xx/generic/packages/kmod-nfnetlink_5.4.143-1_arm_cortex-a9.ipk
Installing kmod-ipt-ipset (5.4.143-1) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/targets/bcm53xx/generic/packages/kmod-ipt-ipset_5.4.143-1_arm_cortex-a9.ipk
Installing libnfnetlink0 (1.0.1-4) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a9/base/libnfnetlink0_1.0.1-4_arm_cortex-a9.ipk
Installing kmod-nf-conntrack-netlink (5.4.143-1) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/targets/bcm53xx/generic/packages/kmod-nf-conntrack-netlink_5.4.143-1_arm_cortex-a9.ipk
Installing libmnl0 (1.0.4-2) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a9/base/libmnl0_1.0.4-2_arm_cortex-a9.ipk
Installing libnetfilter-conntrack3 (1.0.8-1) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a9/base/libnetfilter-conntrack3_1.0.8-1_arm_cortex-a9.ipk
Installing dnsmasq-full (2.85-8) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a9/base/dnsmasq-full_2.85-8_arm_cortex-a9.ipk
Configuring kmod-nfnetlink.
Configuring coreutils.
Configuring coreutils-base64.
Configuring libnfnetlink0.
Configuring kmod-nf-conntrack-netlink.
Configuring libmnl0.
Configuring libnetfilter-conntrack3.
Configuring libnghttp2-14.
Configuring libcurl4.
Configuring curl.
Configuring libgmp10.
Configuring libnettle8.
Configuring kmod-ipt-ipset.
Configuring coreutils-nohup.
Collected errors:

  • check_data_file_clashes: Package dnsmasq-full wants to install file /etc/hotplug.d/ntp/25-dnsmasqsec
    But that file is already provided by package * dnsmasq
  • check_data_file_clashes: Package dnsmasq-full wants to install file /etc/init.d/dnsmasq
    But that file is already provided by package * dnsmasq
  • check_data_file_clashes: Package dnsmasq-full wants to install file /usr/lib/dnsmasq/dhcp-script.sh
    But that file is already provided by package * dnsmasq
  • check_data_file_clashes: Package dnsmasq-full wants to install file /usr/sbin/dnsmasq
    But that file is already provided by package * dnsmasq
  • check_data_file_clashes: Package dnsmasq-full wants to install file /usr/share/acl.d/dnsmasq_acl.json
    But that file is already provided by package * dnsmasq
  • check_data_file_clashes: Package dnsmasq-full wants to install file /usr/share/dnsmasq/dhcpbogushostname.conf
    But that file is already provided by package * dnsmasq
  • check_data_file_clashes: Package dnsmasq-full wants to install file /usr/share/dnsmasq/rfc6761.conf
    But that file is already provided by package * dnsmasq
  • opkg_install_cmd: Cannot install package luci-app-passwall.
    `

v2ray-plugin missing

Good Day Sir!

I am trying to install luci-app-passwall on my raspberry pi openwrt and i cam accross this project of yours, but the problem is the v2ray-plugin is missing on osdn and i cannot install the app, can you pls help me sir. Thank you.

[功能请求] 添加对 OpenWrt 23.05 系列的支持

截至目前,OpenWrt 项目已经发布了 OpenWrt 23.05.0-rc1,但本项目仍未对其提供支持。

强行使用 22.03 的仓库会缺失依赖项,未测试快照版本对应仓库。

希望作者早日为 OpenWrt 23.05.0-rc1 提供支持,感激不尽。

Dependency error with OpenWRT 23.05

Hello, i've upgraded my router to the latest version of openwrt and i tried to install passwall but i got the following error during installation:

  • satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-passwall:
  • libopenssl1.1
  • opkg_install_cmd: Cannot install package luci-app-passwall.

Limited storage on router

thanks for detailed instructions
my router has limited flash storage (32MB) for pass wall and its dependencies , is there any modified package or other way rather than using Exroot external USB?

lua & uci not found

Install & config without errors, lua & uci not found in the end (& openwrt no longer starting with WebUI):
Configuring luci-app-passwall. lua: /usr/lib/lua/luci/model/cbi/passwall/api/api.lua:6: module 'luci.cbi.datatypes' not found: no field package.preload['luci.cbi.datatypes'] no file './luci/cbi/datatypes.lua' no file '/usr/share/lua/luci/cbi/datatypes.lua' no file '/usr/share/lua/luci/cbi/datatypes/init.lua' no file '/usr/lib/lua/luci/cbi/datatypes.lua' no file '/usr/lib/lua/luci/cbi/datatypes/init.lua' no file './luci/cbi/datatypes.so' no file '/usr/lib/lua/luci/cbi/datatypes.so' no file '/usr/lib/lua/loadall.so' no file './luci.so' no file '/usr/lib/lua/luci.so' no file '/usr/lib/lua/loadall.so' stack traceback: [C]: in function 'require' /usr/lib/lua/luci/model/cbi/passwall/api/api.lua:6: in main chunk [C]: in function 'require' ...r/lib/lua/luci/model/cbi/passwall/server/api/app.lua:4: in main chunk [C]: ? uci: Entry not found

Summary of changes to address build failures

As of 23/06/17

22.03

mips64_octeonplus

23.05

mips64_octeonplus

mipsel_24kc_24kf

arm_mpcore

riscv64_riscv64

  • New docker image release of openwrt/sdk:riscv64_riscv64-openwrt-23.05

snapshot

mips64_octeonplus

mipsel_24kc_24kf

arm_mpcore

请问这是怎么一回事呢?

同样的环境,差异只是 luci-app-passwall 不同,然而这 ping 值差别特别大,不知为什么?

下图是 luci-app-passwall_4.36_all.ipk
old

下图是 luci-app-passwall_4.48_all.ipk
New

因为我的重点是用 github,所以用了最新的 luci-app-passwall_4.48_all.ipk,搞不懂这个 ping 是从哪里开始的,为什么百度这么大?我连接在下面的计算机ping只有 36ms,而最新的却显示 480(上面两个图都是多次测试的大概值,都比较稳定),而我用 kiddin9 编译的 passwall,ping 百度却有 800-900ms,比你的都大多了,所以还是你的事最好的。也许这东西没有实际意义,。。。

SSR信息导入不全

您好!
我使用 docker 版 openwrt21(openwrt-21.02.1-x86-64-rootfs.tar.gz),安装以后,使用节点导入的方法加入 SSR 信息时,页面选项导入不全面(没有加密之类的信息),需要手工补全才能用,不知是什么原因?

001

另外,建议将 luci-compat 加入主程序的依赖里去,免得乱码。

v2ray-plugin build is failing

It seems that the v2ray-plugin build is failing (as is v2ray-core and brook) which means passwall cannot be installed by the output binaries (x86/64)

luci.cbi.datatypes not found

Good Day again, sir

So I managed to install the v2ray-plugin manually, and I've proceeded on installing luci-app-passwall, but I encountered some errors.

root@OpenWrt:~# opkg install luci-app-passwall --force-overwrite
Installing luci-app-passwall (4.41) to root...
Downloading https://mirrors.tuna.tsinghua.edu.cn/osdn/storage/g/o/op/openwrt-passwall-build/releases/21.02.0/packages/aarch64_cortex-a53/passwall/luci-app-passwall_4.41_all.ipk
Configuring luci-app-passwall.
lua: /usr/lib/lua/luci/model/cbi/passwall/api/api.lua:6: module 'luci.cbi.datatypes' not found:
        no field package.preload['luci.cbi.datatypes']
        no file './luci/cbi/datatypes.lua'
        no file '/usr/share/lua/luci/cbi/datatypes.lua'
        no file '/usr/share/lua/luci/cbi/datatypes/init.lua'
        no file '/usr/lib/lua/luci/cbi/datatypes.lua'
        no file '/usr/lib/lua/luci/cbi/datatypes/init.lua'
        no file './luci/cbi/datatypes.so'
        no file '/usr/lib/lua/luci/cbi/datatypes.so'
        no file '/usr/lib/lua/loadall.so'
        no file './luci.so'
        no file '/usr/lib/lua/luci.so'
        no file '/usr/lib/lua/loadall.so'
stack traceback:
        [C]: in function 'require'
        /usr/lib/lua/luci/model/cbi/passwall/api/api.lua:6: in main chunk
        [C]: in function 'require'
        ...r/lib/lua/luci/model/cbi/passwall/server/api/app.lua:4: in main chunk
        [C]: ?
root@OpenWrt:~#

I can't even visit the web interface because it shows the same error on the browser
I hope you can help me with this

.

.

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.