2dust / v2rayng Goto Github PK
View Code? Open in Web Editor NEWA V2Ray client for Android, support Xray core and v2fly core
Home Page: https://1.2345345.xyz
License: GNU General Public License v3.0
A V2Ray client for Android, support Xray core and v2fly core
Home Page: https://1.2345345.xyz
License: GNU General Public License v3.0
刚开启代理那会还可以用,过一会就断流了
HuaWei Mate 9 ,Android 9 系统,连接成功后,点击测试连接:
时间设置为与网络同步
提示:
失败:Connection closed by peer;
因自己最近想学习VpnService收到的三层报文转发方法,参考了此项目,但是发现此项目com/v2ray/ang/service/V2RayVpnService.kt#24 中通过local socket将tun的文件描述符传入了libv2ray模块。
因此,是否方便提供libv2ray以供学习呢?如果不方便的话,能否给一些参考资料,对于VpnService收到的三层报文,如何以最简单的方式,将数据原样发送出去?
因为Java上提供的所有网络方法均构建在协议四层,NDK中也无法创建raw socket
如果不便提供任何信息,请直接关闭此issue即可。
机型: 三星 s10+
系统: 9.0
表现:
选择节点连接后点击测速,底部提示: Attempt to invoke virtual method 'java.land.String java.net.InetAddress.toString()' on a null object reference
支持pac或者acl吗
在线地址那种,可以同步更新
unexpected end of stream on com.android ok http .adress @7b4c55ec
现在APP在TV上需要使用空鼠才能操作。希望开放TV版,并能在 launcher上显示。。
我手机上的配置用的好好的,搬到路由器(虚拟机,openwrt-x86_64)上却不行,感觉在细节上存在不兼容。
很多关于路由的问题,做一个总结
1.android系统vpn可以绑定app,所以第一个开启是分应用代理,并设置好
2.这个app需要部分走代理,启用路由的绕过大陆,可以尝试开启本地dns
3.浏览器可以安装两个,一个代理,一个不代理
4.如果123不能解决你的问题,只能换个代理app了
v2rayNG设计时尽力简化设置和使用,所以那些复杂的规则设置是永远不会做的
只有ios这种无法分应用的系统才会使用规则
使用自定义配置文件,可以通过浏览器访问谷歌,也可以浏览google play的内容,但是无法更新和下载软件,其余一切正常。
{
"inbounds": [
{
"port": 10808,
"protocol": "socks",
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls"]
},
"settings": {
"auth": "noauth",
"udp": true
}
},
{
"port": 10809,
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true
}
}
],
"outbounds": [
{
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "fakeip",
"port": 12345,
"users": [
{
"id": "fakeuuid",
"alterId": 64
}
]
}
]
}
},
{
"protocol": "freedom",
"settings": {},
"tag": "direct"
}
],
"routing": {
"domainStrategy": "IPOnDemand",
"rules": [
{
"type": "field",
"outboundTag": "direct",
"domain": ["geosite:cn"]
},
{
"type": "field",
"outboundTag": "direct",
"ip": [
"geoip:cn",
"geoip:private"
]
}
]
}
}
晚上我的Wifi會有短暫斷線,但就一直在斷線狀態直至我手動重連,這是什麼問題?
默认的绕过局域网及大陆地址路由效果比较差,很多国内域的服务器不在大陆
分应用能解决一些问题,但对浏览器类型的通用应用就不行了,而且没有流量日志,自己加路由也很难,尤其是卡CDN的时候
希望能有直连路由模式的话会好处理些,毕竟被ban是少数
直连模式+自定义路由代理导入,体验会好很多
需要开机自启!!!
连接后app图标白点真的恶心,逼死强迫症的节奏,求取消!!!
好多机场用的还是ssr , 可play商店一个支持ssr的都没有.
同一个WiFi,同样设备(essential ph-1 Android 9)
一台始终正常,一台显示 connection closed by peer。
同网络下的电脑亦正常连接。
真是百思不得其解
比如说微软全球CDN网站
http://global.bing.com/
如果是国内服务器,现在版本会提示失败。
可以添加一下手机启动后软件开机自启动?现在每次重启手机都要手动启动v2ray有些不方便呀。
Hi,I am an Android TV user,but v2rayNG only support Android mobile phones, Android TV support is not good, can not choose nodes (no touch operation, not support remote control).
Android 9
希望能在微软商店里上架uwp版
搞个列表一键自动检测所有服务器存活怎么样,话说现在的检测延迟很大,是为什么?
机型:红米k20pro
部分日志如下:
--------- beginning of main
06-26 19:24:21.016 E/com.v2ray.ang(18100): Not starting debugger since process cannot load the jdwp agent.
06-26 19:24:21.039 I/com.v2ray.ang(18100): The ClassLoaderContext is a special shared library.
06-26 19:24:21.064 I/com.v2ray.ang(18100): The ClassLoaderContext is a special shared library.
06-26 19:24:29.070 I/com.v2ray.ang(18100): ProcessProfilingInfo new_methods=0 is saved saved_to_disk=0 resolve_classes_delay=8000
06-26 19:24:49.488 I/GoLog (18362): file exists
06-26 19:24:49.488 I/GoLog (18362): EnableLocalDNS: false
06-26 19:24:49.488 I/GoLog (18362): ForwardIpv6: false
06-26 19:24:49.488 I/GoLog (18362): DomainName: 103.95.221.102:80
06-26 19:24:49.488 I/GoLog (18362): loading v2ray config
06-26 19:24:49.488 I/GoLog (18362): /data/user/0/com.v2ray.ang/tun2socks [--netif-ipaddr 26.26.26.2 --netif-netmask 255.255.255.252 --socks-server-addr 127.0.0.1:10808 --tunmtu 1500 --loglevel notice --enable-udprelay --sock-path /data/user/0/com.v2ray.ang/sock_path]
06-26 19:24:49.489 I/GoLog (18362): Preparing Domain: 103.95.221.102:80
06-26 19:24:49.512 I/GoLog (18362): Prepare Result:
06-26 19:24:49.512 I/GoLog (18362): Ready: true
06-26 19:24:49.512 I/GoLog (18362): Domain: 103.95.221.102
06-26 19:24:49.512 I/GoLog (18362): Port: 80
06-26 19:24:49.512 I/GoLog (18362): IPs: [103.95.221.102]
06-26 19:24:49.524 I/GoLog (18362): EscortRun cmd.Start err fork/exec /data/user/0/com.v2ray.ang/tun2socks: no such file or directory
06-26 19:24:49.524 I/GoLog (18362): EscortRun Exit
06-26 19:24:49.835 I/GoLog (18362): new v2ray core
06-26 19:24:49.845 I/GoLog (18362): start v2ray core
06-26 19:24:49.848 I/GoLog (18362): 2019/06/26 11:24:49 [Warning] v2ray.com/core: V2Ray 4.19 started
06-26 19:24:49.938 D/com.v2ray.ang(18362): sendFd tries: 0
06-26 19:24:49.939 D/com.v2ray.ang(18362): java.io.IOException: No such file or directory
06-26 19:24:50.039 D/com.v2ray.ang(18362): sendFd tries: 1
06-26 19:24:50.039 D/com.v2ray.ang(18362): java.io.IOException: No such file or directory
06-26 19:24:50.240 D/com.v2ray.ang(18362): sendFd tries: 2
06-26 19:24:50.241 D/com.v2ray.ang(18362): java.io.IOException: No such file or directory
06-26 19:24:50.642 D/com.v2ray.ang(18362): sendFd tries: 3
06-26 19:24:50.643 D/com.v2ray.ang(18362): java.io.IOException: No such file or directory
06-26 19:24:51.443 D/com.v2ray.ang(18362): sendFd tries: 4
06-26 19:24:51.443 D/com.v2ray.ang(18362): java.io.IOException: No such file or directory
06-26 19:24:51.728 I/GoLog (18362): 2019/06/26 11:24:51 127.0.0.1:44626 accepted //www.google.com:443
06-26 19:24:53.044 D/com.v2ray.ang(18362): sendFd tries: 5
06-26 19:24:53.045 D/com.v2ray.ang(18362): java.io.IOException: No such file or directory
06-26 19:24:53.167 I/GoLog (18362): 2019/06/26 11:24:53 127.0.0.1:44634 accepted //www.google.com:443
06-26 19:24:54.191 I/GoLog (18362): 2019/06/26 11:24:54 127.0.0.1:44638 accepted //www.google.com:443
06-26 19:24:56.246 D/com.v2ray.ang(18362): sendFd tries: 6
06-26 19:24:56.247 D/com.v2ray.ang(18362): java.io.IOException: No such file or directory
--------- beginning of system
06-26 19:26:28.359 E/com.v2ray.ang(20282): Not starting debugger since process cannot load the jdwp agent.
06-26 19:26:28.380 I/com.v2ray.ang(20282): The ClassLoaderContext is a special shared library.
06-26 19:26:28.408 I/com.v2ray.ang(20282): The ClassLoaderContext is a special shared library.
06-26 19:26:29.732 I/GoLog (20309): file exists
06-26 19:26:29.732 I/GoLog (20309): EnableLocalDNS: false
06-26 19:26:29.732 I/GoLog (20309): ForwardIpv6: false
06-26 19:26:29.732 I/GoLog (20309): DomainName: 103.95.221.102:80
06-26 19:26:29.732 I/GoLog (20309): loading v2ray config
06-26 19:26:29.732 I/GoLog (20309): /data/user/0/com.v2ray.ang/tun2socks [--netif-ipaddr 26.26.26.2 --netif-netmask 255.255.255.252 --socks-server-addr 127.0.0.1:10808 --tunmtu 1500 --loglevel notice --enable-udprelay --sock-path /data/user/0/com.v2ray.ang/sock_path]
06-26 19:26:29.732 I/GoLog (20309): Preparing Domain: 103.95.221.102:80
06-26 19:26:29.732 I/GoLog (20309): Prepare Result:
06-26 19:26:29.732 I/GoLog (20309): Ready: true
06-26 19:26:29.732 I/GoLog (20309): Domain: 103.95.221.102
06-26 19:26:29.732 I/GoLog (20309): Port: 80
06-26 19:26:29.732 I/GoLog (20309): IPs: [103.95.221.102]
06-26 19:26:29.746 I/GoLog (20309): EscortRun cmd.Start err fork/exec /data/user/0/com.v2ray.ang/tun2socks: no such file or directory
06-26 19:26:29.746 I/GoLog (20309): EscortRun Exit
06-26 19:26:30.002 I/GoLog (20309): new v2ray core
06-26 19:26:30.007 I/GoLog (20309): start v2ray core
06-26 19:26:30.007 I/GoLog (20309): 2019/06/26 11:26:30 [Warning] v2ray.com/core: V2Ray 4.19 started
06-26 19:26:30.074 D/com.v2ray.ang(20309): sendFd tries: 0
06-26 19:26:30.074 D/com.v2ray.ang(20309): java.io.IOException: No such file or directory
06-26 19:26:30.174 D/com.v2ray.ang(20309): sendFd tries: 1
06-26 19:26:30.175 D/com.v2ray.ang(20309): java.io.IOException: No such file or directory
06-26 19:26:30.375 D/com.v2ray.ang(20309): sendFd tries: 2
06-26 19:26:30.376 D/com.v2ray.ang(20309): java.io.IOException: No such file or directory
06-26 19:26:30.776 D/com.v2ray.ang(20309): sendFd tries: 3
06-26 19:26:30.779 D/com.v2ray.ang(20309): java.io.IOException: No such file or directory
06-26 19:26:31.579 D/com.v2ray.ang(20309): sendFd tries: 4
06-26 19:26:31.579 D/com.v2ray.ang(20309): java.io.IOException: No such file or directory
06-26 19:26:33.179 D/com.v2ray.ang(20309): sendFd tries: 5
06-26 19:26:33.180 D/com.v2ray.ang(20309): java.io.IOException: No such file or directory
06-26 19:26:36.380 D/com.v2ray.ang(20309): sendFd tries: 6
06-26 19:26:36.382 D/com.v2ray.ang(20309): java.io.IOException: No such file or directory
06-26 19:26:36.408 I/com.v2ray.ang(20282): ProcessProfilingInfo new_methods=0 is saved saved_to_disk=0 resolve_classes_delay=8000
其他文件正常,用vps搭的ss能打开,用v2ray就打不开了
gfw怎么设置呢?
路由:只有全局 绕过局域网和大陆地址
那个自定义路由,配置完,怎么起效果呢
新版本无法更新订阅了
/opt/src/v2rayNG/V2rayNG(master) # bash ./gradlew build root@BuildHost
e: /opt/src/v2rayNG/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/BaseDrawerActivity.kt: (16, 22): Unresolved reference: InappBuyActivity
e: /opt/src/v2rayNG/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/BaseDrawerActivity.kt: (66, 39): Unresolved reference: InappBuyActivity
e: /opt/src/v2rayNG/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/MainActivity.kt: (30, 22): Unresolved reference: InappBuyActivity
e: /opt/src/v2rayNG/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/MainActivity.kt: (564, 31): Unresolved reference: InappBuyActivity
e: /opt/src/v2rayNG/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/SettingsActivity.kt: (12, 22): Unresolved reference: InappBuyActivity
通知栏的数据流量是否可以只显示走代理的数据,这样方便观察哪些应用走的代理,哪些是直连的。另外绕过大陆模式不起作用啊,一直是全局模式。
安卓版软件耗电严重
你好,使用v2rayNG设置Just My Socks 的shadowsocks节点无法连接上Google play,twitter,youtube等服务
Just My Socks 的节点在window的v2rayN是可以使用的
可以建议一下怎么处理吗,很喜欢手机上使用v2rayNG
手机是Android 9系统,如需要配合请告知。
我服务端安装的是v2ray core 4.20.0版本,v2rayng是1.0.3版本,core应该也是4.20.0 但是采用QUIC方式拨不上号,其它方式可以。请问是什么问题呢?
移动设备能够便捷的部署服务!
建议添加GFWlist。
希望像ss或者bifrostV一样新增一个shortcut快捷开关
订阅列表越来越长,可每次更新订阅后,选择的节点都会跳回订阅列表第一项。ShadowsocksR更新订阅就不会出现这样的情况,只会修改或新增节点信息,希望有可能的话,借鉴一下其订阅更新机制。
The core has already supported from 4.18.1. My windows client v2rayN has been upgraded to enjoy the 100Mbit/sec speed but this latest Android client can only achieve <20Mbit/sec for the same server.
小米手机初始空间和分身空间不能双开,比如我在分身系统启动这个程序然后切换到初始空间再次启动此程序会报服务不能启动。
如题,作者能提供个一键编译的sh脚本吗?谢谢!
why you only put one version at relase?
请问libv2ray.aar文件如何获取呢
Where should I put category-ads
so that I can block ads?
希望开发流量统计
打开代理时,有时候后台占用网速很高,YouTube等软件无网速可用
就是加个监测功能,勾选后,如果vp.n意外断开,立即重连
可付费
谢谢~
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.