trojan-gfw / igniter Goto Github PK
View Code? Open in Web Editor NEWA trojan client for Android (UNDER CONSTRUCTION).
License: GNU General Public License v3.0
A trojan client for Android (UNDER CONSTRUCTION).
License: GNU General Public License v3.0
I be told some people have encountered the same situation
Android studio stats
This AsyncTask class should be static or leaks might occur (io.github.trojan_gfw.igniter.MainActivity.TestConnection) less... (Ctrl+1)
Inspection info:A static field will leak contexts.
Non-static inner classes have an implicit reference to their outer class. If that outer class is for example a Fragment or Activity, then this reference means that the long-running handler/loader/task will hold a reference to the activity which prevents it from getting garbage collected.
Similarly, direct field references to activities and fragments from these longer running instances can cause leaks.
ViewModel classes should never point to Views or non-application Contexts.
Issue id: StaticFieldLeak
@PegasisForever @oasiscifr Please review.
ref: #56
Can you elaborate steps of how to compile the app with the code base.
or provide an instruction of how to prepare libraries and compile the project.
用ssr可以登陆谷歌商店,但用igniter就访问失败,请问要怎么解决啊?
使用igniter 连接
服务器提示
SSL handshake failed: tlsv1 alert unknown ca
要怎样导入证书呢?
电脑端能正常连接,
ios上使用shadowrocket能正常连接
On my desktop computer, I'm using MoProxy to load balance between multiple Trojan connections and it works very well. Would be fantastic to be able to do the same thing on Igniter... Have a list of multiple Trojan hosts, and load balance between them (sending higher load to the host that responds fastests, and temporarily dropping hosts that don't respond).
I use the Samsung note4 phone, exynos version, samsung official android6.0.1 . After installing igniter, I can enter information when open it for the first time, but click to run it will stop working. If I open it again, it will always appear stop working.At present my trojan server has been build, but it cannot be run on mobile phones。
应用程序闪退
使用机型:小米6
系统:安卓8.0.0 / MIUI9 8.1.25开发版
软件版本: igniter 0.1.0-pre-alpha12 / app-release.apk
出错详情:安装以后,首次启动正常.输入远程地址和密码以后,点击STRAT按钮以后应用程序闪退
Application crash
Model used: Xiaomi 6
System: Android8.0.0 / MIUI9 8.1.25 development version
Software Version: igniter 0.1.0-pre-alpha12 / app-release.apk
Error details: After installation, the first startup is normal. After entering the remote address and password,click the STRAT button and the application crashes
网上看到有介绍Trojan 的客户端,但应该是V2rayN修改的。没敢下,有人知道是怎么回事吗?
介绍页面
https://westworldss.com/portal/page/trojan
下载链接。
https://westworldss.com/download/v2rayN-win-with-trojan-v2.zip
我使用了两台机器测试,除了域名不一样,其他配置都一样.我先使用了a的相关配置,成功访问,当我尝试只更换域名来切换到b的机器时发现失败,根本无法连接,test conn也失败.只有通过应用管理清除软件所有信息,然后重新填写配置信息才成功.
Since the latest version with free port, how can I know which port is used while igniter running?
介于这里使用的大部分应该都是**人就用中文说下我最近的发现
Can I add an application control? For example, for some applications I do not need a proxy, I can manually set it to not proxy.
There are two more controls on the main UI now.
igniter 版本是最后的 release
手机是小米9,miui最新版
在输入各个参数后,点击启动,没有反应,也没有报错。
配置应该没问题,在 win 上能正常启动。
In my region, the isp pollute the dns and my host often failed to resolve for 50% of the time. So a custom host feature will help me a lot.
Currently on my PC, i can manually modify the host file but on my android phone without root, there is no way to modify host while running the trojan
Sorry for my pool english first.
Could you provide an options to bypass china domain/ip, which should not be proxy by trojan server, especially for users who live in china. Otherwise, in most situation, it will just make big lag or 404 for these sites.
Just like https://github.com/shadowsocks/shadowsocks-android
Android Studio run build the project with sync have a problem
ERROR: Cause: executing external native build for cmake /igniter/app/src/main/cpp/CMakeLists.txt
what's wrong?how can i run build it?
电脑端的没问题,4g给电脑开热点也可以科学上网。手机使用wifi也没问题,但是4g网络使用igniter在手机端就是连不上外网。
I dont't know why。If I used igniter that HTTPS can't access after a lot of time,but http could access
I use xiaomi redmi note3 and xiaomi mi note can't install this app,the two android os version is android 6.01
its throwing error
ninja: error: loading 'build.ninja': No such file or directory
Thanks for your effort to make this impressive project and it surely work well on my machine. But I still have a question with the specific Android client.
I have tested my service on IOS(by shadowrocket) and windows. It is built in docker and uses CA certificate. While it runs well, my Android still can not connect to the server. There is no warning in my server log, while logs in my Android show:
[ERROR] 127.0.0.1:59967 SSL handshake failed with *********:443: stream truncated
I've tried settings with or without certificate verification and the error still exists. I even input my certificate into Android and things didn't change.
What can I do to fix it? Or is there any formed solution cooperate with trojan?
Thank you.
手机连接不仅断,而且电脑也没法用了
please add support for the 64-bit version of the x86 instruction set.
Currently, compiling trojan on termux is a big pain and give a lot of errors. Would you mind adding a "proxy only mode" to igniter? It does not have any vpn interface or tun2sock stuff, just trojan as a socks5 proxy listening on some localhost port. If so, termux users no longer need to compile trojan themselves.
I downloaded a large ZIP file, about 33GB, and the download time was long. At the time of download, I can't receive any data about every 30 minutes.
I used the systemctl status trojan.service
command to check status of trojan service.
The service is running, and the connection with my client is also established. But can't receive any data, I can only restart trojan.service
the system is debian 9
After VPN is disconnected, it won't start from Network & internet > Advanced > VPN > Igniter > Connect.
Igniter:Failed to connect to https://www.google.com:Attempt to read from filed 'long io.github.trojan_gfw.igniter.ProxyService.tun2socksPort' on a null object reference
希望可以添加分应用代理的功能,因为有时候没有分应用代理的功能的话非常不方便。
based on trojan 1.13 please, it had been awhile thanks.
how is it works your new go-tun2socks for udp forwarding?
i cant make video call via whatsapp/google duo
I hope to increase the node list. Now only one node can be added. I hope that the function of saving multiple nodes can be added later. Like v2rayNy, thank you very much!
I clicked on this button VERIFY CERTIFICATE
and it didn't seem to do anything.
How can I specify the certificate file, as offered in the linux client?
"ssl": {
"verify": true,
"verify_hostname": true,
"cert": "xxx",
If this can support PAC or custom routing path set, it will be great.
我使用了两台机器测试,除了域名不一样,其他配置都一样.我先使用了a的相关配置,成功访问,当我尝试只更换域名来切换到b的机器时发现失败,根本无法连接,test conn也失败.只有通过应用管理清除软件所有信息,然后重新填写配置信息才成功.
vps搭建好后在windows上测试正常。
huawei m6 高能版安装后没有效果
安的是igniter-0.1.0-pre-alpha13版本
Sometimes I start vpn,but about 30 second later, I can't open the google and other web,but it's always displayed it's connecting,no data transfer.
Trojan URL中含有密码, 那上面密码显示为••••••岂不是没有意义? 感谢!
China apps, say, Baidu Maps, shouldn't go through VPN.
This seems to be a standard feature, see https://android.stackexchange.com/questions/22959/how-to-vpn-only-a-single-application.
addDisallowedApplication
should do it, but the only question is how to present the list of apps.
I think i input my domain name and passwd correctly。 But after the vpn network established,i can't bypass GFW. If i close "Bypass China with Clash", I cant visit any website.
The system is Magic 3.0.0 10.0.0.190(C00E62R4P11patch01), and igniter works on another Huaweiphone whose system is 10.0.0.189.
use it, youtube will be good,but china app not good.
close it, china app will be good
I've downloaded clash for Android in my phone. But I don't know if there's any connection between these two apps.
Should I open both of them to make the bypass functional? And what should set in clash?
Thanks.
服务端已经部署好了,电脑上可以成功了,客户端文件夹内有个fullchain.cer证书,但是需要私约才能安装到手机,部署的时候是用的一键脚本没有看到私钥
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.