Coder Social home page Coder Social logo

shadowsocksr-live / shadowsocksr-native Goto Github PK

View Code? Open in Web Editor NEW
2.7K 104.0 762.0 4.65 MB

翻墙 从容穿越党国敏感日 ShadowsocksR (SSRoT) native implementation for all platforms, GFW terminator

Home Page: https://github.com/ShadowsocksR-Live/shadowsocksr-native/wiki

License: GNU General Public License v3.0

CMake 4.13% Shell 5.85% C 89.76% Python 0.19% Objective-C 0.07%
shadowsocks shadowsocksr ssr libuv linux windows macos ss gfw proxy

shadowsocksr-native's People

Contributors

ssrlive 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  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

shadowsocksr-native's Issues

Compile error

Fedora 27

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
[ 85%] Building C object src/CMakeFiles/ssr-local.dir/obfs/http_simple.c.o
In file included from /src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:7:0:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:10:34: warning: ‘struct obfs_t’ declared inside parameter list will not be visible outside of this definition or declaration
 void http_simple_new_obfs(struct obfs_t *obfs);
                                  ^~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:11:33: warning: ‘struct obfs_t’ declared inside parameter list will not be visible outside of this definition or declaration
 void http_simple_dispose(struct obfs_t *obfs);
                                 ^~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:13:41: warning: ‘struct obfs_t’ declared inside parameter list will not be visible outside of this definition or declaration
 size_t http_simple_client_encode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity);
                                         ^~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:14:42: warning: ‘struct obfs_t’ declared inside parameter list will not be visible outside of this definition or declaration
 ssize_t http_simple_client_decode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity, int *needsendback);
                                          ^~~~~~
In file included from /src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:7:0:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:16:39: warning: ‘struct obfs_t’ declared inside parameter list will not be visible outside of this definition or declaration
 size_t http_post_client_encode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity);
                                       ^~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:44:6: error: conflicting types for ‘http_simple_new_obfs’
 void http_simple_new_obfs(struct obfs_t * obfs) {
      ^~~~~~~~~~~~~~~~~~~~
In file included from /src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:7:0:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:10:6: note: previous declaration of ‘http_simple_new_obfs’ was here
 void http_simple_new_obfs(struct obfs_t *obfs);
      ^~~~~~~~~~~~~~~~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c: In function ‘http_simple_new_obfs’:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:50:19: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
     obfs->dispose = http_simple_dispose;
                   ^
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:51:25: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
     obfs->client_encode = http_simple_client_encode;
                         ^
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:52:25: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
     obfs->client_decode = http_simple_client_decode;
                         ^
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c: At top level:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:58:6: error: conflicting types for ‘http_simple_dispose’
 void http_simple_dispose(struct obfs_t *obfs) {
      ^~~~~~~~~~~~~~~~~~~
In file included from /src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:7:0:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:11:6: note: previous declaration of ‘http_simple_dispose’ was here
 void http_simple_dispose(struct obfs_t *obfs);
      ^~~~~~~~~~~~~~~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:86:8: error: conflicting types for ‘http_simple_client_encode’
 size_t http_simple_client_encode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:7:0:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:13:8: note: previous declaration of ‘http_simple_client_encode’ was here
 size_t http_simple_client_encode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity);
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:197:9: error: conflicting types for ‘http_simple_client_decode’
 ssize_t http_simple_client_decode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity, int *needsendback) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:7:0:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:14:9: note: previous declaration of ‘http_simple_client_decode’ was here
 ssize_t http_simple_client_decode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity, int *needsendback);
         ^~~~~~~~~~~~~~~~~~~~~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:233:8: error: conflicting types for ‘http_post_client_encode’
 size_t http_post_client_encode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity) {
        ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:7:0:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:16:8: note: previous declaration of ‘http_post_client_encode’ was here
 size_t http_post_client_encode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity);
        ^~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/ssr-local.dir/build.make:297: src/CMakeFiles/ssr-local.dir/obfs/http_simple.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:780: src/CMakeFiles/ssr-local.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Segment fault

Latest git version.
Fedora 28 Server x86_64
ssr-server crash with segment fault.

Unencrypted version of the shadowsocks

Can you compile an unencrypted version of the shadowsocks-libev or ShadowsocksR-native?
<encrypt_method> is none
Thank you. I'd love to.but I can't do it

compile warnings

.
.
.
[ 98%] Building C object src/CMakeFiles/ssr-server.dir/obfs/auth.c.o
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c: In function ‘auth_aes128_sha1_server_post_decrypt’:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c:1276:27: warning: implicit declaration of function ‘ntohs’ [-Wimplicit-function-declaration]
         length = (size_t) ntohs( *((uint16_t *)(head->buffer + 12)) );
                           ^~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c:1282:31: warning: implicit declaration of function ‘ntohl’; did you mean ‘atoll’? [-Wimplicit-function-declaration]
         utc_time = (uint32_t) ntohl(*((uint32_t *)(head->buffer + 0)));
                               ^~~~~
                               atoll
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c:1315:28: warning: implicit declaration of function ‘htonl’; did you mean ‘atoll’? [-Wimplicit-function-declaration]
         uint32_t recv_id = htonl(local->recv_id);
                            ^~~~~
                            atoll
[ 98%] Building C object src/CMakeFiles/ssr-server.dir/obfs/auth_chain.c.o
.
.
.

Many websites can not be opened

Please answer these questions before submitting your issue. Thanks!

What version of shadowsocks-native are you using?

master branch the newest version
commit 064bfc3522d2f887586bb71c67ffacd0c94ceb56 (HEAD -> master, origin/master, origin/HEAD)

What operating system are you using?

Both Windows 10 1809 and Mac Os Mojave 10.14

What did you do?

run ssr-local.exe -c config.conf
Set firefox proxy to socks5 127.0.0.1 1089
open some websites like google,facebook,twitter,wikipedia

What did you expect to see?

All website should open normally

What did you see instead?

twitter is working,but look like without any css load up.
Others are not working,ERRORS are poped out.

 ERROR: local_recv_cb "connection reset by peer"
 2019-05-01 21:04:26 ERROR: local_recv_cb "connection reset by peer"
 2019-05-01 21:04:26 ERROR: local_recv_cb "connection reset by peer"
 2019-05-01 21:05:35 ERROR: remote_recv_cb "connection reset by peer"

The firefox says connection time out
I try it with my SSRR C# and it's working.

What is your config in detail (with all sensitive info masked)?

{
    "server": "IPV4 Address",
    "server_port": 1025,
    "method": "none",
    "password": "My Password",
    "protocol": "auth_chain_d",
    "protocol_param": "",
    "obfs": "plain",
    "obfs_param": "",
    "local_address": "0.0.0.0",
    "local_port": 1089,
    "udp": true,
    "timeout": 300
}

Install fail in linode debian

Please answer these questions before submitting your issue. Thanks!

What version of shadowsocks-native are you using?

last one

What operating system are you using?

Linux version 4.15.13-x86_64-linode106 ([email protected]) (gcc version 4.9.2 (Debian 4.9.2-10+deb8u1)) #1 SMP Tue Mar 27 14:42:14 UTC 2018

What did you do?

run install_sh

What did you expect to see?

Install it

What did you see instead?

------------- DONE WITH COMPILER FLAG CHECKS. -------------

-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found.
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at libcork/cmake/FindCTargets.cmake:61 (target_include_directories):
Unknown CMake command "target_include_directories".
Call Stack (most recent call first):
libcork/CMakeLists.txt:98 (add_c_library)

-- Configuring incomplete, errors occurred!
/bin/cp: cannot stat `./shadowsocksr-native/src/ssr-server': No such file or directory
ShadowsocksR Native install failed, please contact @ssrlive

What is your config in detail (with all sensitive info masked)?

default

libcork vs 2015 release x86生成报错

1>------ 已启动生成: 项目: libcork, 配置: Release Win32 ------
1> commands.c
1>....\libcork\cli\commands.c(211): error C2065: “func”: 未声明的标识符
1> allocator.c
1>....\libcork\core\allocator.c(79): error C2065: “func”: 未声明的标识符
1>....\libcork\core\allocator.c(98): error C2065: “func”: 未声明的标识符
1>....\libcork\core\allocator.c(409): error C2065: “func”: 未声明的标识符
1> error.c
1>....\libcork\core\error.c(92): warning C4047: “函数”:“volatile LONG *”与“cork_error *volatile *”的间接级别不同
1>....\libcork\core\error.c(92): warning C4024: “__sync_val_compare_and_swap”: 形参和实参 1 的类型不同
1>....\libcork\core\error.c(92): warning C4047: “函数”:“LONG”与“cork_error *”的间接级别不同
1>....\libcork\core\error.c(92): warning C4024: “__sync_val_compare_and_swap”: 形参和实参 2 的类型不同
1>....\libcork\core\error.c(92): warning C4024: “__sync_val_compare_and_swap”: 形参和实参 3 的类型不同
1> gc.c
1> hash.c
1> ip-address.c
1> mempool.c
1> timestamp.c
1> u128.c
1> version.c
1> array.c
1> bitset.c
1> buffer.c
1> dllist.c
1> file-stream.c
1> hash-table.c
1> managed-buffer.c
1> ring-buffer.c
1> slice.c
1> env.c
1> 正在编译...
1> exec.c
1> thread.c
========== 生成: 成功 0 个,失败 1 个,最新 1 个,跳过 0 个 ==========

严重性 代码 说明 项目 文件 行 源
错误(活动) 未定义标识符 "cork_hash_f" libcork d:\shadowsocksr-libev\libcork\include\libcork\ds\hash-table.h 55 Intellisense
错误(活动) 未定义标识符 "cork_copy_f" libcork d:\shadowsocksr-libev\libcork\include\libcork\ds\array.h 80 Intellisense
错误(活动) 变量 "inline" 不是类型名 libcork d:\shadowsocksr-libev\libcork\include\libcork\core\timestamp.h 62 Intellisense
错误(活动) 应输入“;” libcork d:\shadowsocksr-libev\libcork\include\libcork\core\timestamp.h 63 Intellisense
错误(活动) 应输入“;” libcork d:\shadowsocksr-libev\libcork\include\libcork\core\hash.h 323 Intellisense
错误 C2065 “func”: 未声明的标识符 libcork D:\shadowsocksr-libev\libcork\cli\commands.c 211 生成
错误 C2065 “func”: 未声明的标识符 libcork D:\shadowsocksr-libev\libcork\core\allocator.c 79 生成
错误 C2065 “func”: 未声明的标识符 libcork D:\shadowsocksr-libev\libcork\core\allocator.c 98 生成
错误 C2065 “func”: 未声明的标识符 libcork D:\shadowsocksr-libev\libcork\core\allocator.c 409 生成
错误(活动) 应输入“;” libcork d:\shadowsocksr-libev\libcork\include\libcork\config\mingw32.h 43 Intellisense
错误(活动) 应输入类型说明符 libcork d:\shadowsocksr-libev\libcork\include\libcork\core\callbacks.h 27 Intellisense
错误(活动) 不允许使用返回函数的函数 libcork d:\shadowsocksr-libev\libcork\include\libcork\core\callbacks.h 27 Intellisense
错误(活动) 变量 "uint32_t" 不是类型名 libcork d:\shadowsocksr-libev\libcork\include\libcork\core\error.h 24 Intellisense
错误(活动) 变量 "uint32_t" 不是类型名 libcork d:\shadowsocksr-libev\libcork\include\libcork\core\error.h 67 Intellisense
错误(活动) 变量 "uint32_t" 不是类型名 libcork d:\shadowsocksr-libev\libcork\include\libcork\core\hash.h 26 Intellisense
错误(活动) 变量 "inline" 不是类型名 libcork d:\shadowsocksr-libev\libcork\include\libcork\core\hash.h 46 Intellisense
错误(活动) 应输入“;” libcork d:\shadowsocksr-libev\libcork\include\libcork\core\hash.h 47 Intellisense
错误(活动) 变量 "inline" 不是类型名 libcork d:\shadowsocksr-libev\libcork\include\libcork\core\hash.h 75 Intellisense
错误(活动) 应输入“;” libcork d:\shadowsocksr-libev\libcork\include\libcork\core\hash.h 77 Intellisense
错误(活动) 表达式必须含有常量值 libcork d:\shadowsocksr-libev\libcork\include\libcork\core\hash.h 101 Intellisense
错误(活动) 表达式必须含有常量值 libcork d:\shadowsocksr-libev\libcork\include\libcork\core\hash.h 102 Intellisense
错误(活动) 应输入声明 libcork d:\shadowsocksr-libev\libcork\include\libcork\core\hash.h 103 Intellisense
错误(活动) 应输入“;” libcork d:\shadowsocksr-libev\libcork\include\libcork\core\hash.h 114 Intellisense
错误(活动) 常量表达式中不允许函数调用 libcork d:\shadowsocksr-libev\libcork\include\libcork\core\hash.h 115 Intellisense
错误(活动) 应输入声明 libcork d:\shadowsocksr-libev\libcork\include\libcork\core\hash.h 116 Intellisense
错误(活动) 应输入声明 libcork d:\shadowsocksr-libev\libcork\include\libcork\core\hash.h 117 Intellisense
错误(活动) 变量 "inline" 不是类型名 libcork d:\shadowsocksr-libev\libcork\include\libcork\core\hash.h 321 Intellisense

后面的错误 好像是我这个编译器不支持inline 去掉就好了 但是 前面4个 未定义的表示符 实在没找到哪里的问题 求助

Cannot compile on Fedora 27 x86_64

$ git clone https://github.com/ShadowsocksR-Live/shadowsocksr-native.git
$ cd shadowsocksr-native/
$ git submodule update --init
$ git submodule foreach -q 'git checkout $(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)'
$ cmake CMakeLists.txt && make
-- The CXX compiler identification is GNU 7.3.1
-- Check for working CXX compiler: /bin/c++
-- Check for working CXX compiler: /bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Perl: /bin/perl (found version "5.26.1")
Can't open perl script "/usr/local/src/shadowsocksr-native/scripts/config.pl": No such file or directory
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off64_t
-- Check size of off64_t - done
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for unistd.h
-- Looking for unistd.h - found
CMake Deprecation Warning at depends/pcre/staticbuild/CMakeLists.txt:6 (CMAKE_POLICY):
The OLD behavior for policy CMP0026 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.

-- Looking for dirent.h
.
.
.
-- Check size of unsigned long long - done
-- Found PCRE: /usr/local/src/shadowsocksr-native/depends/pcre/staticbuild (found version "..")
.
.
.
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:50: installing './compile'
configure.ac:12: installing './config.guess'
configure.ac:12: installing './config.sub'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
Makefile.am:13: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:13: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:13: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:13: If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:13: its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
Multi-threaded support disabled. Use --enable-threading to enable.
RDRAND Hardware RNG Hash Seed disabled. Use --enable-rdrand to enable
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
.
.
.
checking if .gnu.warning accepts long strings... no
/usr/local/src/shadowsocksr-native/depends/json-c/staticbuild/../configure: line 5132: LT_INIT: command not found
checking for -Bsymbolic-functions linker flag... yes
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -Werror... yes
checking whether C compiler accepts -Wcast-qual... yes
checking whether C compiler accepts -Wno-error=deprecated-declarations... yes
checking whether C compiler accepts -Wextra... yes
checking whether C compiler accepts -Wwrite-string... no
checking whether C compiler accepts -Wno-unused-parameter... yes
checking whether C compiler accepts -D_GNU_SOURCE... yes
checking whether C compiler accepts -D_REENTRANT... yes
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of size_t... 8
checking size of int64_t... 8
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
CMake Error at depends/json-c/staticbuild/CMakeLists.txt:47 (file):
file COPY cannot find
"/usr/local/src/shadowsocksr-native/depends/json-c/staticbuild/../config.h".

CMake Error at depends/json-c/staticbuild/CMakeLists.txt:48 (file):
file COPY cannot find
"/usr/local/src/shadowsocksr-native/depends/json-c/staticbuild/../json_config.h".

-- Configuring incomplete, errors occurred!
See also "/usr/local/src/shadowsocksr-native/CMakeFiles/CMakeOutput.log".
See also "/usr/local/src/shadowsocksr-native/CMakeFiles/CMakeError.log".

等更新等的很辛苦啊

Please answer these questions before submitting your issue. Thanks!

What version of shadowsocks-libev are you using?

What operating system are you using?

What did you do?

What did you expect to see?

What did you see instead?

What is your config in detail (with all sensitive info masked)?

Latest git version compile error

/root/shadowsocksr-native/src/obfs/cstl_lib.c:531:1: error: conflicting types for ‘cstl_map_exists’
cstl_map_exists(struct cstl_map* pMap, const void* key) {
^
In file included from /root/shadowsocksr-native/src/obfs/cstl_lib.c:25:0:
/root/shadowsocksr-native/src/obfs/cstl_lib.h:201:21: note: previous declaration of ‘cstl_map_exists’ was here
extern cstl_bool cstl_map_exists ( struct cstl_map* pMap, void* key);
^
/root/shadowsocksr-native/src/obfs/cstl_lib.c:546:1: error: conflicting types for ‘cstl_map_replace’
cstl_map_replace(struct cstl_map* pMap, const void* key, const void* value, size_t value_size) {
^
In file included from /root/shadowsocksr-native/src/obfs/cstl_lib.c:25:0:
/root/shadowsocksr-native/src/obfs/cstl_lib.h:202:21: note: previous declaration of ‘cstl_map_replace’ was here
extern cstl_error cstl_map_replace( struct cstl_map* pMap, void* key, void* value, size_t value_size);
^
/root/shadowsocksr-native/src/obfs/cstl_lib.c:568:1: error: conflicting types for ‘cstl_map_remove’
cstl_map_remove(struct cstl_map* pMap, const void* key) {
^
In file included from /root/shadowsocksr-native/src/obfs/cstl_lib.c:25:0:
/root/shadowsocksr-native/src/obfs/cstl_lib.h:203:21: note: previous declaration of ‘cstl_map_remove’ was here
extern cstl_error cstl_map_remove ( struct cstl_map* pMap, void* key);
^
make[2]: *** [src/CMakeFiles/ssr-client.dir/obfs/cstl_lib.c.o] Error 1
make[1]: *** [src/CMakeFiles/ssr-client.dir/all] Error 2
make: *** [all] Error 2

On both CentOS & OSX

uv.h not found

##编译你的项目时候 找不到 uv.h这个文件
是需要配置额外的项目么,readme没有看到相关的介绍

compile warning with latest code

src/obfs/obfsutil.c:69:5: warning: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration]
gettimeofday(&te, NULL); // get current time
^~~~~~~~~~~~

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) 

$ cat /etc/fedora-release 
Fedora release 27 (Twenty Seven)

No data returns from the server

FedoraServer 27 x86_64
Latest git version

# firewall-cmd --list-all
FedoraServer
  target: default
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: dhcpv6-client cockpit ssh
  ports: 18080/tcp
  protocols: 
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 
# cat config.json 
{
    "server": "SERVER-IP-V4",
    "server_port": 18080,
    "method": "aes-128-ctr",
    "password": "password",
    "protocol": "auth_aes128_md5",
    "protocol_param": "",
    "obfs": "tls1.2_ticket_auth",
    "obfs_param": "",
    "local_address": "0.0.0.0",
    "local_port": 1080,
    "udp": false,
    "timeout": 300
}
# /root/ssr-server -c config.json > /dev/null 2>&1 &
# ss -nat
State                   Recv-Q                   Send-Q                                       Local Address:Port                                         Peer Address:Port                    
LISTEN                  0                        128                                                0.0.0.0:22                                                0.0.0.0:*                       
LISTEN                  0                        128                                                0.0.0.0:18080                                             0.0.0.0:*                       
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37654                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37798                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37826                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37548                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37560                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37324                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37496                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37452                   
ESTAB                   0                        36                                           SERVER-IP-V4:22                                          CLIENT-IP-V4:5024                    
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37766                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37710                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37420                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37464                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37626                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37698                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37638                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37516                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37786                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37714                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37532                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37600                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37602                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37492                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37750                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37436                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37540                   
ESTAB                   0                        0                                            SERVER-IP-V4:18080                                       CLIENT-IP-V4:37806                   
LISTEN                  0                        128                                                   [::]:22                                                   [::]:*                       
LISTEN                  0                        128                                                      *:9090                                                    *:*

on my desktop computer (fedora)

# /root/ssr-local -c config.json

on android please check the attached file.

I can send login info of the VPS with you.

大哥,我在ios用ChinaDNS 有缓存,你咋清的,求帮助

Please answer these questions before submitting your issue. Thanks!

What version of shadowsocks-libev are you using?

What operating system are you using?

What did you do?

What did you expect to see?

What did you see instead?

What is your config in detail (with all sensitive info masked)?

buffer overflow detected with using: protocol auth_chain_f option

What version of shadowsocks-native are you using?

latest (today install)

What operating system are you using?

both ubuntu 16, and 18 as client

What did you do?

try to get stable connection..

What did you expect to see?

not started (crash) with use: protocol auth_chain_f option

What did you see instead?

with other option of protocol working good, tested with: auth_chain_d and auth_chain_e

What is your config in detail (with all sensitive info masked)?

ssr-client:info: protocol auth_chain_f
*** buffer overflow detected ***: /usr/bin/ssr-client terminated

Compile warnings on macOS

[ 84%] Building C object src/CMakeFiles/ssr-server.dir/obfs/auth.c.o
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c:294:42: warning: passing 'char *' to parameter of
      type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        pack_len = auth_simple_pack_data(data, auth_simple_pack_unit_size, buffer);
                                         ^~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c:236:32: note: passing argument to parameter 'data'
      here
auth_simple_pack_data(uint8_t *data, size_t datalength, uint8_t *outdata)
                               ^
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c:294:76: warning: passing 'char *' to parameter of
      type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        pack_len = auth_simple_pack_data(data, auth_simple_pack_unit_size, buffer);
                                                                           ^~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c:236:66: note: passing argument to parameter
      'outdata' here
auth_simple_pack_data(uint8_t *data, size_t datalength, uint8_t *outdata)
                                                                 ^
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c:300:42: warning: passing 'char *' to parameter of
      type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        pack_len = auth_simple_pack_data(data, len, buffer);
                                         ^~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c:236:32: note: passing argument to parameter 'data'
      here
auth_simple_pack_data(uint8_t *data, size_t datalength, uint8_t *outdata)
                               ^
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c:300:53: warning: passing 'char *' to parameter of
      type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        pack_len = auth_simple_pack_data(data, len, buffer);
                                                    ^~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c:236:66: note: passing argument to parameter
      'outdata' here
auth_simple_pack_data(uint8_t *data, size_t datalength, uint8_t *outdata)
                                                                 ^
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c:325:44: warning: passing 'char *' to parameter of
      type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    buffer_concatenate(local->recv_buffer, plaindata, datalength);
                                           ^~~~~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/ssrbuffer.h:54:64: note: passing argument to parameter 'data'
      here
size_t buffer_concatenate(struct buffer_t *ptr, const uint8_t *data, size_t size);
                                                               ^
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c:399:24: warning: passing 'char *' to parameter of
      type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    ss_sha1_hmac(hash, outdata, out_size - OBFS_HMAC_SHA1_LEN, server->iv, (int)server->iv_len, server->key, (int)server->key_len);
                       ^~~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/obfsutil.h:14:54: note: passing argument to parameter
      'msg' here
size_t ss_sha1_hmac(uint8_t auth[20], const uint8_t *msg, size_t msg_len, const uint8_t *iv, size_t iv_len, const uint8_t *key, size_...
                                                     ^
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c:1188:82: warning: passing 'uint8_t *'
      (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        pack_len = auth_aes128_sha1_pack_auth_data(g_data, &obfs->server, local, data, head_size, buffer);
                                                                                 ^~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c:1058:133: note: passing argument to parameter
      'data' here
  ...*global, struct server_info_t *server, auth_simple_local_data *local, char *data, size_t datalength, char *outdata)
                                                                                 ^
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c:1188:99: warning: passing 'uint8_t *'
      (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        pack_len = auth_aes128_sha1_pack_auth_data(g_data, &obfs->server, local, data, head_size, buffer);
                                                                                                  ^~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth.c:1058:164: note: passing argument to parameter
      'outdata' here
  ...*global, struct server_info_t *server, auth_simple_local_data *local, char *data, size_t datalength, char *outdata)
                                                                                                                ^
8 warnings generated.
[ 84%] Building C object src/CMakeFiles/ssr-server.dir/obfs/auth_chain.c.o
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/auth_chain.c:639:44: warning: passing 'char *' to
      parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign
      [-Wpointer-sign]
    buffer_concatenate(local->recv_buffer, plaindata, datalength);
                                           ^~~~~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/ssrbuffer.h:54:64: note: passing argument to parameter 'data'
      here
size_t buffer_concatenate(struct buffer_t *ptr, const uint8_t *data, size_t size);
                                                               ^
1 warning generated.
[ 84%] Building C object src/CMakeFiles/ssr-server.dir/obfs/base64.c.o

YouTube和Instagram无法上传视频

What version of shadowsocks-native are you using?

https://github.com/ShadowsocksR-Live/shadowsocksr-native/tree/2bd2deb8379f6b11595daba3e393a856d260fea9

What operating system are you using?

IOS iShadowsocksR最新版

What did you do?

全局模式下YouTube和Instagram无法上传视频.
ss和ssr节点都不可以,但是pc和android可以

What did you expect to see?

是否可以查下原因?

What did you see instead?

What is your config in detail (with all sensitive info masked)?

可以更新一些功能性的东西吗,大佬

Please answer these questions before submitting your issue. Thanks!

What version of shadowsocks-libev are you using?

What operating system are you using?

What did you do?

What did you expect to see?

What did you see instead?

What is your config in detail (with all sensitive info masked)?

可以提供移动端项目可编译途径么感谢

Please answer these questions before submitting your issue. Thanks!
new code

What version of shadowsocks-libev are you using?

for ssr

What operating system are you using?

iOS

What did you do?

try to link this library to an iOS project.

What did you expect to see?

What did you see instead?

not work

What is your config in detail (with all sensitive info masked)?

再次打扰了,根据linux的编译的code,尝试集成进入xcode还是有很多的编译错误,作者可以提供一个移动端可以编译的集成条件么,包括我看到作者您的ssrmac中的shadowsocksr-native target 跟ShadowsocksR-live有一些区别

cmake CMakeLists.txt warning

$ cmake CMakeLists.txt
Can't open perl script "/src/github.com/ShadowsocksR-Live/shadowsocksr-native/scripts/config.pl": No such file or directory
.
.
.

Install failed

Please answer these questions before submitting your issue. Thanks!

What version of shadowsocks-native are you using?

The current version

What operating system are you using?

Ubuntu 18.04

What did you do?

I followed the installation procedure to have the client.

What did you expect to see?

a ssr-client file in src

What did you see instead?

Determining if files CommonCrypto/CommonCrypto.h exist failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_dc8be/fast"
/usr/bin/make -f CMakeFiles/cmTC_dc8be.dir/build.make CMakeFiles/cmTC_dc8be.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_dc8be.dir/HAVE_COMMONCRYPTO_COMMONCRYPTO_H.c.o
/usr/bin/cc -o CMakeFiles/cmTC_dc8be.dir/HAVE_COMMONCRYPTO_COMMONCRYPTO_H.c.o -c /home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_COMMONCRYPTO_COMMONCRYPTO_H.c
/home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_COMMONCRYPTO_COMMONCRYPTO_H.c:2:10: fatal error: CommonCrypto/CommonCrypto.h: No such file or directory
#include <CommonCrypto/CommonCrypto.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_dc8be.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_dc8be.dir/HAVE_COMMONCRYPTO_COMMONCRYPTO_H.c.o' failed
make[1]: *** [CMakeFiles/cmTC_dc8be.dir/HAVE_COMMONCRYPTO_COMMONCRYPTO_H.c.o] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_dc8be/fast' failed
make: *** [cmTC_dc8be/fast] Error 2

Source:
/* */
#include <CommonCrypto/CommonCrypto.h>

int main(void){return 0;}

Determining if files pcre/pcre.h exist failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_18094/fast"
/usr/bin/make -f CMakeFiles/cmTC_18094.dir/build.make CMakeFiles/cmTC_18094.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_18094.dir/HAVE_PCRE_PCRE_H.c.o
/usr/bin/cc -o CMakeFiles/cmTC_18094.dir/HAVE_PCRE_PCRE_H.c.o -c /home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_PCRE_PCRE_H.c
/home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_PCRE_PCRE_H.c:2:10: fatal error: pcre/pcre.h: No such file or directory
#include <pcre/pcre.h>
^~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_18094.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_18094.dir/HAVE_PCRE_PCRE_H.c.o' failed
make[1]: *** [CMakeFiles/cmTC_18094.dir/HAVE_PCRE_PCRE_H.c.o] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_18094/fast' failed
make: *** [cmTC_18094/fast] Error 2

Source:
/* */
#include <pcre/pcre.h>

int main(void){return 0;}

Determining if files port.h exist failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_ece82/fast"
/usr/bin/make -f CMakeFiles/cmTC_ece82.dir/build.make CMakeFiles/cmTC_ece82.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_ece82.dir/HAVE_PORT_H.c.o
/usr/bin/cc -o CMakeFiles/cmTC_ece82.dir/HAVE_PORT_H.c.o -c /home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_PORT_H.c
/home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_PORT_H.c:2:10: fatal error: port.h: No such file or directory
#include <port.h>
^~~~~~~~
compilation terminated.
CMakeFiles/cmTC_ece82.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_ece82.dir/HAVE_PORT_H.c.o' failed
make[1]: *** [CMakeFiles/cmTC_ece82.dir/HAVE_PORT_H.c.o] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_ece82/fast' failed
make: *** [cmTC_ece82/fast] Error 2

Source:
/* */
#include <port.h>

int main(void){return 0;}

Determining if files sys/event.h exist failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_8c786/fast"
/usr/bin/make -f CMakeFiles/cmTC_8c786.dir/build.make CMakeFiles/cmTC_8c786.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_8c786.dir/HAVE_SYS_EVENT_H.c.o
/usr/bin/cc -o CMakeFiles/cmTC_8c786.dir/HAVE_SYS_EVENT_H.c.o -c /home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_SYS_EVENT_H.c
/home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_SYS_EVENT_H.c:2:10: fatal error: sys/event.h: No such file or directory
#include <sys/event.h>
^~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_8c786.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_8c786.dir/HAVE_SYS_EVENT_H.c.o' failed
make[1]: *** [CMakeFiles/cmTC_8c786.dir/HAVE_SYS_EVENT_H.c.o] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_8c786/fast' failed
make: *** [cmTC_8c786/fast] Error 2

Source:
/* */
#include <sys/event.h>

int main(void){return 0;}

Determining if files vfork.h exist failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_0916b/fast"
/usr/bin/make -f CMakeFiles/cmTC_0916b.dir/build.make CMakeFiles/cmTC_0916b.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0916b.dir/HAVE_VFORK_H.c.o
/usr/bin/cc -o CMakeFiles/cmTC_0916b.dir/HAVE_VFORK_H.c.o -c /home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_VFORK_H.c
/home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_VFORK_H.c:2:10: fatal error: vfork.h: No such file or directory
#include <vfork.h>
^~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_0916b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_0916b.dir/HAVE_VFORK_H.c.o' failed
make[1]: *** [CMakeFiles/cmTC_0916b.dir/HAVE_VFORK_H.c.o] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_0916b/fast' failed
make: *** [cmTC_0916b/fast] Error 2

Source:
/* */
#include <vfork.h>

int main(void){return 0;}

Determining if files windows.h exist failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_4dcd8/fast"
/usr/bin/make -f CMakeFiles/cmTC_4dcd8.dir/build.make CMakeFiles/cmTC_4dcd8.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_4dcd8.dir/HAVE_WINDOWS_H.c.o
/usr/bin/cc -o CMakeFiles/cmTC_4dcd8.dir/HAVE_WINDOWS_H.c.o -c /home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_WINDOWS_H.c
/home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_WINDOWS_H.c:2:10: fatal error: windows.h: No such file or directory
#include <windows.h>
^~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_4dcd8.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_4dcd8.dir/HAVE_WINDOWS_H.c.o' failed
make[1]: *** [CMakeFiles/cmTC_4dcd8.dir/HAVE_WINDOWS_H.c.o] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_4dcd8/fast' failed
make: *** [cmTC_4dcd8/fast] Error 2

Source:
/* */
#include <windows.h>

int main(void){return 0;}

Determining if files winsock2.h exist failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_93c4b/fast"
/usr/bin/make -f CMakeFiles/cmTC_93c4b.dir/build.make CMakeFiles/cmTC_93c4b.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_93c4b.dir/HAVE_WINSOCK2_H.c.o
/usr/bin/cc -o CMakeFiles/cmTC_93c4b.dir/HAVE_WINSOCK2_H.c.o -c /home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_WINSOCK2_H.c
/home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_WINSOCK2_H.c:2:10: fatal error: winsock2.h: No such file or directory
#include <winsock2.h>
^~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_93c4b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_93c4b.dir/HAVE_WINSOCK2_H.c.o' failed
make[1]: *** [CMakeFiles/cmTC_93c4b.dir/HAVE_WINSOCK2_H.c.o] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_93c4b/fast' failed
make: *** [cmTC_93c4b/fast] Error 2

Source:
/* */
#include <winsock2.h>

int main(void){return 0;}

Determining if files ws2tcpip.h exist failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_6e003/fast"
/usr/bin/make -f CMakeFiles/cmTC_6e003.dir/build.make CMakeFiles/cmTC_6e003.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_6e003.dir/HAVE_WS2TCPIP_H.c.o
/usr/bin/cc -o CMakeFiles/cmTC_6e003.dir/HAVE_WS2TCPIP_H.c.o -c /home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_WS2TCPIP_H.c
/home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_WS2TCPIP_H.c:2:10: fatal error: ws2tcpip.h: No such file or directory
#include <ws2tcpip.h>
^~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_6e003.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_6e003.dir/HAVE_WS2TCPIP_H.c.o' failed
make[1]: *** [CMakeFiles/cmTC_6e003.dir/HAVE_WS2TCPIP_H.c.o] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_6e003/fast' failed
make: *** [cmTC_6e003/fast] Error 2

Source:
/* */
#include <ws2tcpip.h>

int main(void){return 0;}

Determining if files zlib.h exist failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_c0e97/fast"
/usr/bin/make -f CMakeFiles/cmTC_c0e97.dir/build.make CMakeFiles/cmTC_c0e97.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_c0e97.dir/HAVE_ZLIB_H.c.o
/usr/bin/cc -o CMakeFiles/cmTC_c0e97.dir/HAVE_ZLIB_H.c.o -c /home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_ZLIB_H.c
/home/me/ssr-n/CMakeFiles/CheckIncludeFiles/HAVE_ZLIB_H.c:2:10: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^~~~~~~~
compilation terminated.
CMakeFiles/cmTC_c0e97.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_c0e97.dir/HAVE_ZLIB_H.c.o' failed
make[1]: *** [CMakeFiles/cmTC_c0e97.dir/HAVE_ZLIB_H.c.o] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_c0e97/fast' failed
make: *** [cmTC_c0e97/fast] Error 2

Source:
/* */
#include <zlib.h>

int main(void){return 0;}

Determining if files minix/config.h exist failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_7e283/fast"
/usr/bin/make -f CMakeFiles/cmTC_7e283.dir/build.make CMakeFiles/cmTC_7e283.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_7e283.dir/_MINIX.c.o
/usr/bin/cc -o CMakeFiles/cmTC_7e283.dir/_MINIX.c.o -c /home/me/ssr-n/CMakeFiles/CheckIncludeFiles/_MINIX.c
/home/me/ssr-n/CMakeFiles/CheckIncludeFiles/_MINIX.c:2:10: fatal error: minix/config.h: No such file or directory
#include <minix/config.h>
^~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_7e283.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_7e283.dir/_MINIX.c.o' failed
make[1]: *** [CMakeFiles/cmTC_7e283.dir/_MINIX.c.o] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_7e283/fast' failed
make: *** [cmTC_7e283/fast] Error 2

Source:
/* */
#include <minix/config.h>

int main(void){return 0;}

Determining if the function CCCryptorCreateWithMode exists failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_3e6d1/fast"
/usr/bin/make -f CMakeFiles/cmTC_3e6d1.dir/build.make CMakeFiles/cmTC_3e6d1.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3e6d1.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=CCCryptorCreateWithMode -o CMakeFiles/cmTC_3e6d1.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.11/Modules/CheckFunctionExists.c
Linking C executable cmTC_3e6d1
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3e6d1.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=CCCryptorCreateWithMode -rdynamic CMakeFiles/cmTC_3e6d1.dir/CheckFunctionExists.c.o -o cmTC_3e6d1
CMakeFiles/cmTC_3e6d1.dir/CheckFunctionExists.c.o: In function main': CheckFunctionExists.c:(.text+0x10): undefined reference to CCCryptorCreateWithMode'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_3e6d1.dir/build.make:86: recipe for target 'cmTC_3e6d1' failed
make[1]: *** [cmTC_3e6d1] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_3e6d1/fast' failed
make: *** [cmTC_3e6d1/fast] Error 2

Determining if the function EVP_EncryptInit_ex exists failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_52b3e/fast"
/usr/bin/make -f CMakeFiles/cmTC_52b3e.dir/build.make CMakeFiles/cmTC_52b3e.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_52b3e.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=EVP_EncryptInit_ex -o CMakeFiles/cmTC_52b3e.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.11/Modules/CheckFunctionExists.c
Linking C executable cmTC_52b3e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_52b3e.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=EVP_EncryptInit_ex -rdynamic CMakeFiles/cmTC_52b3e.dir/CheckFunctionExists.c.o -o cmTC_52b3e
CMakeFiles/cmTC_52b3e.dir/CheckFunctionExists.c.o: In function main': CheckFunctionExists.c:(.text+0x10): undefined reference to EVP_EncryptInit_ex'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_52b3e.dir/build.make:86: recipe for target 'cmTC_52b3e' failed
make[1]: *** [cmTC_52b3e] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_52b3e/fast' failed
make: *** [cmTC_52b3e/fast] Error 2

Determining if the function floor exists failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_a552e/fast"
/usr/bin/make -f CMakeFiles/cmTC_a552e.dir/build.make CMakeFiles/cmTC_a552e.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_a552e.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=floor -o CMakeFiles/cmTC_a552e.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.11/Modules/CheckFunctionExists.c
:0:23: warning: conflicting types for built-in function ‘floor’ [-Wbuiltin-declaration-mismatch]
/usr/share/cmake-3.11/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
CHECK_FUNCTION_EXISTS(void);
^~~~~~~~~~~~~~~~~~~~~
Linking C executable cmTC_a552e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a552e.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=floor -rdynamic CMakeFiles/cmTC_a552e.dir/CheckFunctionExists.c.o -o cmTC_a552e
CMakeFiles/cmTC_a552e.dir/CheckFunctionExists.c.o: In function main': CheckFunctionExists.c:(.text+0x10): undefined reference to floor'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_a552e.dir/build.make:86: recipe for target 'cmTC_a552e' failed
make[1]: *** [cmTC_a552e] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_a552e/fast' failed
make: *** [cmTC_a552e/fast] Error 2

Determining if the function kqueue exists failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_e4166/fast"
/usr/bin/make -f CMakeFiles/cmTC_e4166.dir/build.make CMakeFiles/cmTC_e4166.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_e4166.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=kqueue -o CMakeFiles/cmTC_e4166.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.11/Modules/CheckFunctionExists.c
Linking C executable cmTC_e4166
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e4166.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=kqueue -rdynamic CMakeFiles/cmTC_e4166.dir/CheckFunctionExists.c.o -o cmTC_e4166
CMakeFiles/cmTC_e4166.dir/CheckFunctionExists.c.o: In function main': CheckFunctionExists.c:(.text+0x10): undefined reference to kqueue'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_e4166.dir/build.make:86: recipe for target 'cmTC_e4166' failed
make[1]: *** [cmTC_e4166] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_e4166/fast' failed
make: *** [cmTC_e4166/fast] Error 2

Determining if the function port_create exists failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_4e5cf/fast"
/usr/bin/make -f CMakeFiles/cmTC_4e5cf.dir/build.make CMakeFiles/cmTC_4e5cf.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_4e5cf.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=port_create -o CMakeFiles/cmTC_4e5cf.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.11/Modules/CheckFunctionExists.c
Linking C executable cmTC_4e5cf
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4e5cf.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=port_create -rdynamic CMakeFiles/cmTC_4e5cf.dir/CheckFunctionExists.c.o -o cmTC_4e5cf
CMakeFiles/cmTC_4e5cf.dir/CheckFunctionExists.c.o: In function main': CheckFunctionExists.c:(.text+0x10): undefined reference to port_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_4e5cf.dir/build.make:86: recipe for target 'cmTC_4e5cf' failed
make[1]: *** [cmTC_4e5cf] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_4e5cf/fast' failed
make: *** [cmTC_4e5cf/fast] Error 2

Determining if the function RAND_pseudo_bytes exists failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_0d0a8/fast"
/usr/bin/make -f CMakeFiles/cmTC_0d0a8.dir/build.make CMakeFiles/cmTC_0d0a8.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0d0a8.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=RAND_pseudo_bytes -o CMakeFiles/cmTC_0d0a8.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.11/Modules/CheckFunctionExists.c
Linking C executable cmTC_0d0a8
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0d0a8.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=RAND_pseudo_bytes -rdynamic CMakeFiles/cmTC_0d0a8.dir/CheckFunctionExists.c.o -o cmTC_0d0a8
CMakeFiles/cmTC_0d0a8.dir/CheckFunctionExists.c.o: In function main': CheckFunctionExists.c:(.text+0x10): undefined reference to RAND_pseudo_bytes'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_0d0a8.dir/build.make:86: recipe for target 'cmTC_0d0a8' failed
make[1]: *** [cmTC_0d0a8] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_0d0a8/fast' failed
make: *** [cmTC_0d0a8/fast] Error 2

Determining if the PTHREAD_PRIO_INHERIT exist failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_fe11b/fast"
/usr/bin/make -f CMakeFiles/cmTC_fe11b.dir/build.make CMakeFiles/cmTC_fe11b.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_fe11b.dir/CheckSymbolExists.c.o
/usr/bin/cc -o CMakeFiles/cmTC_fe11b.dir/CheckSymbolExists.c.o -c /home/me/ssr-n/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/me/ssr-n/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
/home/me/ssr-n/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:18: error: lvalue required as unary ‘&’operand
return ((int*)(&PTHREAD_PRIO_INHERIT))[argc];
^
CMakeFiles/cmTC_fe11b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_fe11b.dir/CheckSymbolExists.c.o' failed
make[1]: *** [CMakeFiles/cmTC_fe11b.dir/CheckSymbolExists.c.o] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_fe11b/fast' failed
make: *** [cmTC_fe11b/fast] Error 2

File /home/me/ssr-n/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
(void)argv;
#ifndef PTHREAD_PRIO_INHERIT
return ((int*)(&PTHREAD_PRIO_INHERIT))[argc];
#else
(void)argc;
return 0;
#endif
}

Determining if the WSAEWOULDBLOCK exist failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_2a8b4/fast"
/usr/bin/make -f CMakeFiles/cmTC_2a8b4.dir/build.make CMakeFiles/cmTC_2a8b4.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2a8b4.dir/CheckSymbolExists.c.o
/usr/bin/cc -o CMakeFiles/cmTC_2a8b4.dir/CheckSymbolExists.c.o -c /home/me/ssr-n/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/me/ssr-n/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:10: fatal error: winerror.h: No such file or directory
#include <winerror.h>
^~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_2a8b4.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_2a8b4.dir/CheckSymbolExists.c.o' failed
make[1]: *** [CMakeFiles/cmTC_2a8b4.dir/CheckSymbolExists.c.o] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_2a8b4/fast' failed
make: *** [cmTC_2a8b4/fast] Error 2

File /home/me/ssr-n/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <winerror.h>

int main(int argc, char** argv)
{
(void)argv;
#ifndef WSAEWOULDBLOCK
return ((int*)(&WSAEWOULDBLOCK))[argc];
#else
(void)argc;
return 0;
#endif
}

Determining if the pthread_create exist failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_a143c/fast"
/usr/bin/make -f CMakeFiles/cmTC_a143c.dir/build.make CMakeFiles/cmTC_a143c.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_a143c.dir/CheckSymbolExists.c.o
/usr/bin/cc -o CMakeFiles/cmTC_a143c.dir/CheckSymbolExists.c.o -c /home/me/ssr-n/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_a143c
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a143c.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_a143c.dir/CheckSymbolExists.c.o -o cmTC_a143c
CMakeFiles/cmTC_a143c.dir/CheckSymbolExists.c.o: In function main': CheckSymbolExists.c:(.text+0x1b): undefined reference to pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_a143c.dir/build.make:86: recipe for target 'cmTC_a143c' failed
make[1]: *** [cmTC_a143c] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_a143c/fast' failed
make: *** [cmTC_a143c/fast] Error 2

File /home/me/ssr-n/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_e0833/fast"
/usr/bin/make -f CMakeFiles/cmTC_e0833.dir/build.make CMakeFiles/cmTC_e0833.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_e0833.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_e0833.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.11/Modules/CheckFunctionExists.c
Linking C executable cmTC_e0833
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e0833.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_e0833.dir/CheckFunctionExists.c.o -o cmTC_e0833 -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_e0833.dir/build.make:86: recipe for target 'cmTC_e0833' failed
make[1]: *** [cmTC_e0833] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_e0833/fast' failed
make: *** [cmTC_e0833/fast] Error 2

Determining if the include file type_traits.h exists failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_bdfcb/fast"
/usr/bin/make -f CMakeFiles/cmTC_bdfcb.dir/build.make CMakeFiles/cmTC_bdfcb.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_bdfcb.dir/CheckIncludeFile.cxx.o
/usr/bin/c++ -o CMakeFiles/cmTC_bdfcb.dir/CheckIncludeFile.cxx.o -c /home/me/ssr-n/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
/home/me/ssr-n/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:10: fatal error: type_traits.h: No such file or directory
#include <type_traits.h>
^~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_bdfcb.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_bdfcb.dir/CheckIncludeFile.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_bdfcb.dir/CheckIncludeFile.cxx.o] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_bdfcb/fast' failed
make: *** [cmTC_bdfcb/fast] Error 2

Determining if the include file bits/type_traits.h exists failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_b0193/fast"
/usr/bin/make -f CMakeFiles/cmTC_b0193.dir/build.make CMakeFiles/cmTC_b0193.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_b0193.dir/CheckIncludeFile.cxx.o
/usr/bin/c++ -o CMakeFiles/cmTC_b0193.dir/CheckIncludeFile.cxx.o -c /home/me/ssr-n/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
/home/me/ssr-n/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:10: fatal error: bits/type_traits.h: No such file or directory
#include <bits/type_traits.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_b0193.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_b0193.dir/CheckIncludeFile.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_b0193.dir/CheckIncludeFile.cxx.o] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_b0193/fast' failed
make: *** [cmTC_b0193/fast] Error 2

Determining if the function _strtoi64 exists failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_d1ef7/fast"
/usr/bin/make -f CMakeFiles/cmTC_d1ef7.dir/build.make CMakeFiles/cmTC_d1ef7.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d1ef7.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=_strtoi64 -o CMakeFiles/cmTC_d1ef7.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.11/Modules/CheckFunctionExists.c
Linking C executable cmTC_d1ef7
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d1ef7.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=_strtoi64 -rdynamic CMakeFiles/cmTC_d1ef7.dir/CheckFunctionExists.c.o -o cmTC_d1ef7
CMakeFiles/cmTC_d1ef7.dir/CheckFunctionExists.c.o: In function main': CheckFunctionExists.c:(.text+0x10): undefined reference to _strtoi64'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_d1ef7.dir/build.make:86: recipe for target 'cmTC_d1ef7' failed
make[1]: *** [cmTC_d1ef7] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_d1ef7/fast' failed
make: *** [cmTC_d1ef7/fast] Error 2

Performing C SOURCE FILE Test IS_Wsometimes-uninitialized_AVAILABLE failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_80571/fast"
/usr/bin/make -f CMakeFiles/cmTC_80571.dir/build.make CMakeFiles/cmTC_80571.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_80571.dir/src.c.o
/usr/bin/cc -I/home/me/ssr-n/depends/pcre/staticbuild/.. -O3 -std=c99 -D_FORTIFY_SOURCE=2 -fPIC -fPIE -Wall -Wextra -fvisibility=hidden -fno-strict-aliasing -fno-strict-overflow -Winit-self -Wwrite-strings -Wdiv-by-zero -DIS_Wsometimes-uninitialized_AVAILABLE -Wsometimes-uninitialized -o CMakeFiles/cmTC_80571.dir/src.c.o -c /home/me/ssr-n/CMakeFiles/CMakeTmp/src.c
cc: error: unrecognized command line option '-Wsometimes-uninitialized'; did you mean '-Wmaybe-uninitialized'?
CMakeFiles/cmTC_80571.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_80571.dir/src.c.o' failed
make[1]: *** [CMakeFiles/cmTC_80571.dir/src.c.o] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_80571/fast' failed
make: *** [cmTC_80571/fast] Error 2

Source file was:
int main(void) { return 0; }
Performing C SOURCE FILE Test IS_Wvariable-decl_AVAILABLE failed with the following output:
Change Dir: /home/me/ssr-n/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_f4e20/fast"
/usr/bin/make -f CMakeFiles/cmTC_f4e20.dir/build.make CMakeFiles/cmTC_f4e20.dir/build
make[1]: Entering directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f4e20.dir/src.c.o
/usr/bin/cc -I/home/me/ssr-n/depends/pcre/staticbuild/.. -O3 -std=c99 -D_FORTIFY_SOURCE=2 -fPIC -fPIE -Wall -Wextra -fvisibility=hidden -fno-strict-aliasing -fno-strict-overflow -Winit-self -Wwrite-strings -Wdiv-by-zero -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum -DIS_Wvariable-decl_AVAILABLE -Wvariable-decl -o CMakeFiles/cmTC_f4e20.dir/src.c.o -c /home/me/ssr-n/CMakeFiles/CMakeTmp/src.c
cc: error: unrecognized command line option '-Wvariable-decl'; did you mean '-fvtable-gc'?
CMakeFiles/cmTC_f4e20.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_f4e20.dir/src.c.o' failed
make[1]: *** [CMakeFiles/cmTC_f4e20.dir/src.c.o] Error 1
make[1]: Leaving directory '/home/me/ssr-n/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_f4e20/fast' failed
make: *** [cmTC_f4e20/fast] Error 2

Source file was:
int main(void) { return 0; }

What is your config in detail (with all sensitive info masked)?

Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic

Compile warnings

Fedora 27 w/ GCC 7.3.1

/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c: In function ‘from_hex’:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:113:12: warning: implicit declaration of function ‘isdigit’ [-Wimplicit-function-declaration]
return isdigit(ch) ? ch - '0' : tolower(ch) - 'a' + 10;
^~~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:113:37: warning: implicit declaration of function ‘tolower’ [-Wimplicit-function-declaration]
return isdigit(ch) ? ch - '0' : tolower(ch) - 'a' + 10;
^~~~~~~

google blocked

What did you do?

Trying to use google using the server and client.

client side:
./ssr-client
ssr-client:info: ShadowsocksR native client

ssr-client:info: remote server **********:443
ssr-client:info: method chacha20
ssr-client:info: password ********
ssr-client:info: protocol origin
ssr-client:info: obfs http_simple
ssr-client:info: udp relay yes

ssr-client:info: listening on 0.0.0.0:1080

and on server
systemctl restart ssr-native.service (config below)

What did you expect to see?

google.com / youtube.com working (im in China)

What did you see instead?

In terminal:

ssr-client:error: connect failed about _server_ "www.google.com.sg": connection refused

and in chrome:

This site can’t be reached The webpage at https://www.google.com.sg might be temporarily down or it may have moved permanently to a new web address.
ERR_QUIC_PROTOCOL_ERROR

What is your config in detail (with all sensitive info masked)?

cat /etc/ssr-native/config.json

{
    "server": "****************",
    "server_port": 443,
    "password": "**************",
    "method": "chacha20",
    "protocol": "origin",
    "protocol_param": "",
    "obfs": "http_simple",
    "obfs_param": "",
    "local_address": "0.0.0.0",
    "local_port": 1080,
    "udp": true,
    "timeout": 300
}

如何关闭连接呢?

通过ssr_run_loop_begin可以创建连接,有办法中断连接让他跳出loop吗?修改g_state->shutting_down = true;好像无用。

ssr-local returns "connection reset by peer" errors from time to time

 2018-04-27 09:01:40 ERROR: local_recv_cb "connection reset by peer"
 2018-04-27 09:01:59 ERROR: remote_recv_cb "connection reset by peer"
 2018-04-27 09:02:01 ERROR: remote_recv_cb "connection reset by peer"
 2018-04-27 09:02:09 ERROR: remote_recv_cb "connection reset by peer"
 2018-04-27 09:02:31 ERROR: remote_recv_cb "connection reset by peer"
 2018-04-27 09:04:52 ERROR: local_recv_cb "connection reset by peer"
 2018-04-27 09:08:44 ERROR: remote_recv_cb "connection reset by peer"
 2018-04-27 09:08:45 ERROR: remote_recv_cb "connection reset by peer"
 2018-04-27 09:13:26 ERROR: local_recv_cb "connection reset by peer"

Compile error on Fedora 27

/home/linus/ssr-n/src/encrypt.c:80:10: fatal error: sodium.h: No such file or directory
#include <sodium.h>
^~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/ssr-local.dir/build.make:141: src/CMakeFiles/ssr-local.dir/encrypt.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:742: src/CMakeFiles/ssr-local.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

depends on libsodium-devel?

Compile error

[ 62%] Building C object libipset/CMakeFiles/libipset.dir/bdd/write.c.o
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/libipset/bdd/write.c: In function ‘save_visit_node’:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/libipset/bdd/write.c:139:17: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
         *dest = (serialized_id) entry->value;
                 ^
cc1: all warnings being treated as errors
make[2]: *** [libipset/CMakeFiles/libipset.dir/build.make:154: libipset/CMakeFiles/libipset.dir/bdd/write.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:547: libipset/CMakeFiles/libipset.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

建立第一个连接后程序直接退出

Please answer these questions before submitting your issue. Thanks!

What version of shadowsocks-native are you using?

shadowsocks-libev 3.0.1 with MBEDTLS_VERSION_TEXT

What operating system are you using?

Windows 10

What did you do?

通过Readme中的说明自行编译了Shadowsocksr-native,使用VS2017编译,Windows SDK版本10.0.17134.0,平台工具集 v141,在更新依赖库时并未成功拉取libuv,所以我从这里 git clone了libuv并成功编译。

What did you expect to see?

What did you see instead?

 2019-04-22 13:00:40 INFO: protocol auth_aes128_sha1
 2019-04-22 13:00:40 INFO: protocol_param
 2019-04-22 13:00:40 INFO: method chacha20
 2019-04-22 13:00:40 INFO: obfs plain
 2019-04-22 13:00:40 INFO: obfs_param
 2019-04-22 13:00:40 INFO: initializing ciphers... chacha20
 2019-04-22 13:00:40 INFO: listening at 127.0.0.1:1081
 2019-04-22 13:00:45 INFO: connect to www.speedtest.net:443 via *******:******

随后程序退出,没有其他输出,这是Verbose模式下的日志

What is your config in detail (with all sensitive info masked)?

{
    "server": "********",
    "server_port": 1234,
    "method": "chacha20",
    "protocol": "auth_aes128_sha1",
    "obfs": "plain",
    "plugin": "",
    "password": "*******",
    "protocol_param": "",
    "obfsparam": "",
    "plugin_opts": "",
    "plugin_args": "",
    "remarks": "\\ud83c\\udded\\ud83c\\uddf0 ******",
    "group": "*******",
    "timeout": 10,
    "local_port": 1081,
    "local_address": "127.0.0.1",
    "fastopen": false,
    "obfs_param": ""
}

native和old工程的一些问题

native是不支持udp的么?

old下,udp转发只转发了第一个包,之后服务器回的包没有转发回来。。。

不知道是不是个案。

ssr-client.exe found error: junk in handshake

Please answer these questions before submitting your issue. Thanks!
win10 vs2015 compile success

1.
ssr server

ShadowsocksR server configure
I P : 192.168.26.123
port : 2333
password : ctest
method : rc4-md5
protocol : auth_sha1_v4
obfs : tls1.2_ticket_auth
limit count : 10

SSR link : ssr://VlBTX0lQOjIzMzM6YXV0aF9zaGExX3Y0OnJjNC1tZDU6dGxzMS4yX3RpY2tldF9hdXRoOlkzUmxjM1E
SSR barcode : http://doub.pw/qr/qr.php?text=ssr://VlBTX0lQOjIzMzM6YXV0aF9zaGExX3Y0OnJjNC1tZDU6dGxzMS4yX3RpY2tldF9hdXRoOlkzUmxjM1E

2.
Modify chrome browser proxy setting, proxy: 127.0.0.1 port:1080

3.
run client:

config.json
{
"server" : "192.168.26.123",
"server_port" : 2333,
"method" : "rc4-md5",
"server_udp_port" : 0,
"password" : "ctest",
"protocol" : "auth_sha1_v4",
"protocolparam" : "",
"obfs" : "tls1.2_ticket_auth",
"obfsparam" : "",
"enable" : true,
"udp_over_tcp" : false
}

ssr-client.exe -c config.json
ssr-client.exe:info: listening on 127.0.0.1:1080
ssr-client.exe:error: junk in handshake
ssr-client.exe:error: junk in handshake
ssr-client.exe:error: junk in handshake

What's wrong? thanks!!

为什么我安装完之后输入命令显示“bash: ssr-server: 未找到命令”啊

Please answer these questions before submitting your issue. Thanks!

What version of shadowsocks-libev are you using?

0.4

What operating system are you using?

Linux kali 4.15.0-kali2-amd64 #1 SMP Debian 4.15.11-1kali1 (2018-03-21) x86_64 GNU/Linux

What did you do?

我已完成了如下操作:
sudo su # using root account
apt-get install --no-install-recommends build-essential autoconf libtool asciidoc xmlto -y
apt-get install git gcc g++ cmake automake -y
apt-get -f install
apt-get update
apt-get upgrade
cd / # switch to root directory
git clone https://github.com/ShadowsocksR-Live/shadowsocksr-native.git
mv shadowsocksr-native ssr-n # rename shadowsocksr-native to ssr-n
cd ssr-n # enter ssr-n directory.
git submodule update --init
git submodule foreach -q 'git checkout $(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)'
cmake CMakeLists.txt && make

以及:
配置完config.json

然后命令行界面输入:
root@kali:~# ssr-server -c /ssr-n/config.json

What did you expect to see?

我本以为至少会作为执行命令有输出,然而..

What did you see instead?

系统显示——“bash: ssr-server: 未找到命令”

What is your config in detail (with all sensitive info masked)?

{
"server": "45.76.48.150",
"server_port": 2018,
"method": "chacha20-ietf",
"password": "password(masked)",
"protocol": "auth_chain_a",
"protocol_param": "",
"obfs": "plain",
"obfs_param": "",
"local_address": "127.0.0.1",
"local_port": 1080,
"udp": true,
"timeout": 300
}

[UDP] UDP转发内存很快超过15M,PacketTunnel崩溃

Please answer these questions before submitting your issue. Thanks!

What version of shadowsocks-native are you using?

当前master分支

What operating system are you using?

iOS11.4.1

What did you do?

开启ssr的UDP转发,每打开一个app,连接数增加内存就增加,很快15M

What did you expect to see?

UDP转发是不是存在内存泄露或是代码错误

What did you see instead?

What is your config in detail (with all sensitive info masked)?

ssr-local returns unsupported cmd/addrtype

When I run telegram on Fedora, I got the following errors

 2018-04-26 15:40:35 INFO: listening at 127.0.0.1:1080
 2018-04-27 08:52:56 ERROR: unsupported cmd: 0x78
 2018-04-27 08:52:56 ERROR: unsupported cmd: 0x48
 2018-04-27 08:52:56 ERROR: unsupported cmd: 0x42
 2018-04-27 08:52:56 ERROR: unsupported cmd: 0xA1
 2018-04-27 08:52:56 ERROR: unsupported cmd: 0x53
 2018-04-27 08:52:56 ERROR: unsupported cmd: 0xAA
 2018-04-27 08:52:56 ERROR: unsupported cmd: 0xE6
 2018-04-27 08:52:56 ERROR: unsupported cmd: 0x51
 2018-04-27 08:52:56 ERROR: unsupported cmd: 0x8F
 2018-04-27 08:52:56 ERROR: unsupported cmd: 0xCE
 2018-04-27 08:52:56 ERROR: unsupported cmd: 0xDB
 2018-04-27 08:52:56 ERROR: unsupported cmd: 0xE0
 2018-04-27 08:52:57 ERROR: unsupported cmd: 0x31
 2018-04-27 08:52:57 ERROR: unsupported cmd: 0xCF
 2018-04-27 08:52:57 ERROR: unsupported cmd: 0x7F
 2018-04-27 08:52:57 ERROR: unsupported cmd: 0xF6
 2018-04-27 08:52:59 ERROR: unsupported cmd: 0xC7
 2018-04-27 08:52:59 ERROR: unsupported addrtype: 0x98
 2018-04-27 08:52:59 ERROR: unsupported cmd: 0xB2
 2018-04-27 08:52:59 ERROR: unsupported cmd: 0x2D

rpm package: telegram-desktop-1.2.17-2.fc27.x86_64

Imgur

Diconnecting Telegram when use SSR

Hi
I have problem in iran, i use SSR and config it with this information
"Encryption": "aes-128-cfb",
"Port": 4030,
"Protocol": "auth_chain_a",
"Obfs": "tls1.2_ticket_auth",
"Obfs_param": "",
"Protocol_param": "",

But only when use telegram app, in top of ke telegram shows connecting in every seconds, and it's seems disconnect ssr, but it's connected
only in telegram i have this problem, in iran telegram has filtered , and must connect with vpn or proxy
Please help me, and if you know,please send me net config for SSR

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.