ty

Results 299 comments of ty

Yes, I can confirm that `this message should be printed only once` has been shown twice. Build with: ``` gcc ponce.c -fPIC -shared -pthread -pipe -g -std=c99 -D_GNU_SOURCE -o ponce.dylib...

I have already opened an issue in Apple's Bug Reporter. I think you should open one, too.

After discussing with Apple's engineer, it seems that `cargo`, `git` or `perl` called `exec()` on itself, which causes that message to be printed more than once. So `pthread_once` works fine...

> Apple Developer Relations > October 24 2017, 11:58 PM > Engineering has provided the following information regarding this issue: > > Each process will run the inserted library's constructor...

Cannot be compiled in OS X: ``` printf '#define VERSION "%s"\n' "$(sh tools/version.sh)" > src/version.h cc -DSUPER_SECURE -Ds6_addr16=__u6_addr.__u6_addr16 -Ds6_addr32=__u6_addr.__u6_addr32 -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe -DIS_MAC=1 -DLIB_DIR=\"/usr/local/lib\" -DSYSCONFDIR=\"/usr/local/etc\" -DDLL_NAME=\"libproxychains4.dylib\" -fPIC...

And it doesn't work: ``` DEBUG:init_lib_wrapper called from gcc_init DEBUG:added localnet: netaddr=127.0.0.0, netmask=255.0.0.0 DEBUG:[play] socks5 127.0.0.1:1080 DEBUG:loaded symbol 'connect' real addr 0x7fff665b537c wrapped addr 0x10a3c8cf0 DEBUG:loaded symbol 'sendto' real addr...

为什么要AT我呢? 会不会命中,你可以实验一下直接用`dig`来访问smartdns的IP和端口,然后打开smartdns的debug日志,看看有没有`IPSET`开头的日志不就好了。

从你的日志看很明显用的不是master编译的版本,把`#4:bank` 作为ipset名字了。重新编译一个吧 https://github.com/pymumu/smartdns/blob/b77cea63e9eecd45ab257906868c77baec27e6b7/src/dns_server.c#L713-L715 感觉可以close了。

@pymumu Please consider make a new release.

Not sure if it is related to: https://github.com/bluejekyll/trust-dns/issues/1073