-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android下smartdns监听53端口会出现Segmentation fault及一些怪异行为 #146
Comments
安卓没有 1024 以下端口的权限。 |
我已root |
而且之前用其它软件,如frp时,setcap设置一下也能监听1024以下端口 |
那你试试,端口转发?我手机没 root ,没得测试。 |
不需要啊,按理说我setcap设置一下就能绑低位端口了 |
但是我设置后smartdns还是提示权限不够 |
你把源码下载到你手机编译,跑看看。你这种情况,我也没法测试。 |
我也 termux 但是,没有 root |
好的 |
已添加如果设置了上游服务器(boostrapdns 必须是 ip 的,如果是域名的,还是得先解析域名才行),停止读取 |
我是在termux环境下进行的使用,并已执行了tsu命令,只要尝试监听53端口,smartdns就会要求读取/etc/resolv.conf文件(但是我填了上游dns服务器,没有必要读取才对),在执行了termux-chroot命令后,无法读取的提示消失了,但是直接就Segmentation fault了;我也尝试过通过setcap给予绑定低位端口的权限,但是smartdns仍报告权限不够。
但是只要不试图监听53端口,就没有任何问题
The text was updated successfully, but these errors were encountered: