Giter Site home page Giter Site logo

openwrt-redsocks2's People

Contributors

wltc2005 avatar

Stargazers

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

Watchers

 avatar  avatar

openwrt-redsocks2's Issues

openwrt 19.07.1 x86-64下编译通不过, 求教

您好, 我用openwrt sdk下编译您的这个redsocks2, 但编译通不过, 想请教一下如何解决, 谢谢!

x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/home/op/openwrt-sdk-19.07.1-x86-64_gcc-7.5.0_musl.Linux-x86_64/build_dir/target-x86_64_musl/redsocks2//redsocks2-0.67:redsocks2-0.67 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/op/openwrt-sdk-19.07.1-x86-64_gcc-7.5.0_musl.Linux-x86_64/staging_dir/target-x86_64_musl/usr/include -I/home/op/openwrt-sdk-19.07.1-x86-64_gcc-7.5.0_musl.Linux-x86_64/staging_dir/target-x86_64_musl/include -I/home/op/openwrt-sdk-19.07.1-x86-64_gcc-7.5.0_musl.Linux-x86_64/staging_dir/toolchain-x86_64_gcc-7.5.0_musl/usr/include -I/home/op/openwrt-sdk-19.07.1-x86-64_gcc-7.5.0_musl.Linux-x86_64/staging_dir/toolchain-x86_64_gcc-7.5.0_musl/include/fortify -I/home/op/openwrt-sdk-19.07.1-x86-64_gcc-7.5.0_musl.Linux-x86_64/staging_dir/toolchain-x86_64_gcc-7.5.0_musl/include -fPIC -O3 -D_BSD_SOURCE -D_DEFAULT_SOURCE -Wall -std=c99 -D_XOPEN_SOURCE=600 -DUSE_CRYPTO_OPENSSL -c -o encrypt.o encrypt.c
In file included from encrypt.c:50:0:
encrypt.h:92:18: error: field 'evp' has incomplete type
cipher_evp_t evp;
^~~
encrypt.c: In function 'enc_key_init':
encrypt.c:919:17: error: storage size of 'cipher_info' isn't known
cipher_kt_t cipher_info;
^~~~~~~~~~~
encrypt.c:919:17: warning: unused variable 'cipher_info' [-Wunused-variable]
At top level:
encrypt.c:146:12: warning: 'crypto_stream_xor_ic' defined but not used [-Wunused-function]
static int crypto_stream_xor_ic(uint8_t *c, const uint8_t *m, uint64_t mlen,
^~~~~~~~~~~~~~~~~~~~
encrypt.c:139:18: warning: 'supported_ciphers_key_size' defined but not used [-Wunused-const-variable=]
static const int supported_ciphers_key_size[] =
^~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c:134:18: warning: 'supported_ciphers_iv_size' defined but not used [-Wunused-const-variable=]
static const int supported_ciphers_iv_size[] =
^~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [: encrypt.o] Error 1

编译安装后如何配置

交叉编译后安装到OpenWrt,配置文件 /etc/config/redsocks2 和原项目 semigodking/redsocks 的格式不一样,而且配置项名称也不一样,该如何配置呢?

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.