Giter VIP home page Giter VIP logo

luci-app-udp2raw's People

Contributors

sensec avatar wangyu- 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  avatar  avatar  avatar

luci-app-udp2raw's Issues

如何使用ipv6服务器

设置界面中填写ipv6地址报“一个或多个选项值有误!”,手动修改/etc/config/udp2raw文件并重启会报服务器地址验证出错。

make menuconfig 出错

使用SDK OpenWrt-SDK-15.05.1-ramips-mt7621_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2
按照 教程 操作。
报错:

miyouzi@ubuntu:~/wangyu/openwrt-sdk$ make menuconfig
make -s -C scripts/config all CC=cc: build failed. Please re-run make with -j1 V=s to see what's going on
/home/miyouzi/wangyu/openwrt-sdk/include/toplevel.mk:89: recipe for target 'scripts/config/mconf' failed
make: *** [scripts/config/mconf] Error 1
miyouzi@ubuntu:~/wangyu/openwrt-sdk$ make menuconfig -j1 V=s
make[1]: Entering directory '/home/miyouzi/wangyu/openwrt-sdk/scripts/config'
/usr/bin/x86_64-linux-gnu-ld: zconf.tab.o: relocation R_X86_64_32S against symbol `symbol_yes' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:32: recipe for target 'mconf' failed
make[1]: *** [mconf] Error 1
make[1]: Leaving directory '/home/miyouzi/wangyu/openwrt-sdk/scripts/config'
/home/miyouzi/wangyu/openwrt-sdk/include/toplevel.mk:89: recipe for target 'scripts/config/mconf' failed
make: *** [scripts/config/mconf] Error 2

但是跳过这一步,直接 make ,可以直接编译出 ipk ,并可以使用,请问这是什么问题。
环境:Ubuntu 18 LTS 64bit

非root运行

请问openwrt怎么以非root运行,openwrt没有setcap

[Guide] How Install into OpenWRT without udp2raw ipk file

Maybe this guide is for dummies like me, but i spent hours trying to figure out how to install this into OpenWrt v23.05.
My issue was that I couldn't find udp2raw ipk installation file anymore. So here is what I did:

UDP2RAW Installation:

  • Get the latest udp2raw release from here
  • Inside the tar.gz file, there are lots of binaries for each architecture. choose the one that's for your CPU.
  • copy it to your Openwrt (via SCP/SFTP) and chmod +x it. Then test it to see if it runs and is compatible with your CPU.
  • copy it to /usr/bin/udp2raw. for example: cp -f /root/udp2raw_arm_asm_aes /usr/bin/udp2raw

luci-app-udp2raw Installation:

  • Get luci-app-udp2raw ipk file from here
  • but for it to work, First you need to install luci-compat: opkg install luci-compat
  • then install the ipk you downloaded like this: opkg install luci-app-udp2raw.ipk
  • and finally reboot.

Enjoy.

P.S Because OpenWRT 23.05 and newer versions default to nftables instead of iptables, you cant use udp2raw's default rule adding and it will throw an error and not start. so to fix it uncheck "Auto Rule" in your Server Settings page, and add the rules manually.

日志输出在哪里查看?

一直显示未运行,无法启动客户端,想看看日志里有没有错误信息,不知道从哪里查看。
谢谢!

Compile Error 2

Build environment: Debian from Microsoft Store [Windows Subsystem for Linux (WSL)]

I am following this compile guide. While compiling, I encounter this issue:

root@xxxxxxxx:~/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64# cd package/
root@xxxxxxxx:~/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64/package# ls
linux  Makefile  toolchain
root@xxxxxxxx:~/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64/package# git clone https://github.com/sensec/luci-app-udp2raw.git
Cloning into 'luci-app-udp2raw'...
remote: Enumerating objects: 106, done.
remote: Total 106 (delta 0), reused 0 (delta 0), pack-reused 106
Receiving objects: 100% (106/106), 260.96 KiB | 193.00 KiB/s, done.
Resolving deltas: 100% (25/25), done.
root@xxxxxxxx:~/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64/package# git clone https://github.com/sensec/openwrt-udp2raw.git
Cloning into 'openwrt-udp2raw'...
remote: Enumerating objects: 27, done.
remote: Total 27 (delta 0), reused 0 (delta 0), pack-reused 27
Unpacking objects: 100% (27/27), done.
root@xxxxxxxx:~/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64/package# cd ..
root@xxxxxxxx:~/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64# make menuconfig
awk: include/scan.awk: line 21: function asort never defined
awk: include/scan.awk: line 21: function asort never defined
Collecting package info: done
awk: include/scan.awk: line 21: function asort never defined
awk: include/scan.awk: line 21: function asort never defined
Collecting target info: done
configuration written to .config

*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

root@xxxxxxxx:~/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64# make package/openwrt-udp2raw/compile V=s
awk: include/scan.awk: line 21: function asort never defined
awk: include/scan.awk: line 21: function asort never defined
awk: include/scan.awk: line 21: function asort never defined
awk: include/scan.awk: line 21: function asort never defined
#
# configuration written to .config
#
make[1]: Entering directory '/root/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64'
make[1]: *** No rule to make target 'package/openwrt-udp2raw/compile'.  Stop.
make[1]: Leaving directory '/root/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64'
/root/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64/include/toplevel.mk:198: recipe for target 'package/openwrt-udp2raw/compile' failed
make: *** [package/openwrt-udp2raw/compile] Error 2

I have no idea what is causing this. Any ideas?

Service never starts

For first few runs, everything was okay. But, after some time, it suddenly stops working. Repeated server disable-enable, and it still shows as NOT RUNNING.

Symptom:

  1. Go to Services > udp2raw-tunnel
  2. See that server shows NOT RUNNING
  3. Change server to Disabled. Save & Apply. See that server is NOT RUNNING, as expected.
  4. Change into a configured server. Save & Apply. See that server is still NOT RUNNING.

When I run udp2raw manually (udp2raw --conf-file /var/etc/udp2raw.default.conf), udp2raw-tunnel then shows as RUNNING, telling me that detection is working okay.

The only problem it seems is that udp2raw-tunnel cannot manage the process. It cannot start udp2raw. It also cannot stop the process I started manually (when I set Server to Disabled).

image

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.