Skip to content
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

[pull] master from XX-net:master #13

Open
wants to merge 349 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
349 commits
Select commit Hold shift + click to select a range
9a77853
release new version.
xxnet May 31, 2022
ff3e85b
release new version.
xxnet May 31, 2022
5070c46
release new version as stable version.
xxnet Jun 2, 2022
eb1853e
improve stability.
xxnet Jun 2, 2022
9f906ea
Refactor
xxnet Jun 6, 2022
f293d4b
Release 4.9.0
xxnet Jun 9, 2022
8a9afb9
Release 4.9.1
xxnet Jun 11, 2022
1e533d5
Fix windows auto test action.
xxnet Jun 11, 2022
345f2f7
Fix linux/mac auto test action.
xxnet Jun 11, 2022
96e8db3
push update for 4.9.1 test version.
xxnet Jun 12, 2022
ab6d9d9
Fix bugs:
xxnet Jun 15, 2022
777a623
Fix bugs:
xxnet Jun 15, 2022
a0803db
Improve: update random host to iterate domains.
xxnet Jun 15, 2022
5486d3b
Release 4.9.2
xxnet Jun 15, 2022
565dcc4
Release 4.9.2
xxnet Jun 15, 2022
f569acb
Add config for disable update cloudflare domains.
xxnet Jun 19, 2022
1e5346c
Release 4.9.3
xxnet Jun 26, 2022
953da4f
Release 4.9.3
xxnet Jun 26, 2022
ff4761d
Fix unit test bug.
xxnet Jun 26, 2022
8657b5c
fix mac unit test.
Michael-X-Net Jun 26, 2022
aaa02d9
Release 4.9.4
xxnet Jun 26, 2022
4adfcf9
Merge remote-tracking branch 'origin/master'
xxnet Jun 26, 2022
6e3f6d9
Release 4.9.4
xxnet Jun 26, 2022
6433bc4
Release 4.9.5
xxnet Jul 2, 2022
3a9181f
Release 4.9.5
xxnet Jul 2, 2022
1b776ff
Release 4.9.5
xxnet Jul 2, 2022
5bcef90
Release 4.9.5
xxnet Jul 5, 2022
b540818
Remove requirement of pyOpenSSL
Michael-X-Net Jul 23, 2022
6d979b7
add submodule
Michael-X-Net Jul 24, 2022
21008dd
Fix GAE bugs.
Michael-X-Net Sep 11, 2022
df56594
Fix GAE bug.
Michael-X-Net Sep 11, 2022
3a131fe
Fix GAE bug.
Michael-X-Net Sep 12, 2022
661b23b
Release 4.9.6
xxnet Sep 12, 2022
8dfb310
Merge remote-tracking branch 'origin/master'
xxnet Sep 12, 2022
01e1b2e
Release 4.9.6
xxnet Sep 12, 2022
c731ffb
Add link of tg and twitter.
Michael-X-Net Sep 12, 2022
b9fa178
Add Telegram group in about page.
Michael-X-Net Sep 12, 2022
b9845cd
Release 4.9.8
Michael-X-Net Sep 13, 2022
3348caa
Prepare 4.9.9
Michael-X-Net Sep 15, 2022
8098c65
Release 4.9.9, auto reset GAE traffic.
Michael-X-Net Sep 16, 2022
f2c9705
Release 4.9.9 update.
xxnet Sep 16, 2022
36681ef
Update issue template.
Michael-X-Net Sep 16, 2022
f155667
Merge remote-tracking branch 'origin/master'
Michael-X-Net Sep 16, 2022
489038d
4.10.0 enable cloudflare ipv6.
Michael-X-Net Sep 26, 2022
6c1f94f
Release 4.10.0 for download and update(testing)
xxnet Sep 26, 2022
eafcd51
Fix bug: http proxy request host with port.
Michael-X-Net Sep 29, 2022
9d888aa
Release 4.10.1 to improve performance.
xxnet Sep 30, 2022
e15f567
Merge remote-tracking branch 'origin/master'
Michael-X-Net Sep 30, 2022
d06d101
Release 4.11.0 restore TLS relay function.
xxnet Oct 11, 2022
3539a85
Release 4.11.0 for download testing version.
xxnet Oct 11, 2022
a47f838
Adding tarfile member sanitization to extractall()
TrellixVulnTeam Oct 11, 2022
0add3fa
Merge remote-tracking branch 'origin/master'
Michael-X-Net Oct 11, 2022
ba27e07
Merge pull request #13791 from TrellixVulnTeam/master
xxnet Oct 11, 2022
4b55db3
Merge remote-tracking branch 'origin/master'
Michael-X-Net Oct 13, 2022
c5a4797
get tls_relay on login.
Michael-X-Net Oct 15, 2022
4aa3c61
Release 4.11.1 to enable tls_relay by default.
xxnet Oct 15, 2022
369f311
Release 4.11.1 to enable tls_relay by default.
xxnet Oct 15, 2022
48ef2e7
fixing unit test.
xxnet Oct 15, 2022
1977784
fixing unit test.
xxnet Oct 15, 2022
ff97683
fixing unit test.
xxnet Oct 15, 2022
698648e
fix bug in Apple Silicon.
Michael-X-Net Oct 16, 2022
f1abef4
Merge remote-tracking branch 'origin/master'
Michael-X-Net Oct 16, 2022
248c1b1
Release 4.11.2 Enable Relay and Other channels.
xxnet Oct 16, 2022
142e680
Release 4.11.2 Enable Relay and Other channels.
xxnet Oct 16, 2022
3ecbe57
Release 4.11.3, fix log issue.
xxnet Oct 18, 2022
0070557
Release 4.11.3, fix log issue.
xxnet Oct 18, 2022
f9511f3
Update policy
Michael-X-Net Oct 18, 2022
206db2c
Restore the download link.
xxnet Oct 18, 2022
b41ee77
clean up codes for relay.
Michael-X-Net Oct 18, 2022
2053ee8
Fix bug.
xxnet Oct 18, 2022
293d95c
Fix bugs.
Michael-X-Net Oct 19, 2022
613e08e
Fix bug.
xxnet Oct 19, 2022
73d97ea
tlslite works
xxnet Oct 24, 2022
fd754bb
clean libs
xxnet Oct 24, 2022
a3f767d
add libs.
xxnet Oct 24, 2022
c345af2
Refactor lib path.
xxnet Oct 24, 2022
ea01beb
Release v4.12.0
xxnet Oct 24, 2022
ca9026b
Release 4.12.0
Michael-X-Net Oct 24, 2022
5eb9b35
Release 4.12.1, fix GAE not work issue.
Michael-X-Net Oct 25, 2022
d560368
fix bug for GAE status page.
Michael-X-Net Oct 27, 2022
e69217b
clean mac running warning.
Michael-X-Net Oct 27, 2022
d62aae8
Release 4.12.2
Michael-X-Net Oct 27, 2022
5639673
Release 4.12.3
Michael-X-Net Oct 31, 2022
2ffbdff
Release 4.12.3
Michael-X-Net Oct 31, 2022
dc87224
release 4.12.5
Michael-X-Net Nov 2, 2022
b7cdbba
update script for mac remove warinning after download
Michael-X-Net Nov 8, 2022
8375a95
add boringssl
Michael-X-Net Nov 8, 2022
9ef60dc
boringssl basic works
Michael-X-Net Nov 8, 2022
01b9c35
Add the build lib.
Michael-X-Net Nov 8, 2022
e51def6
Add the boringssl lib.
Michael-X-Net Nov 9, 2022
7c5d9b7
Add the boringssl lib.
Michael-X-Net Nov 9, 2022
21a8a8a
clean codes
Michael-X-Net Nov 10, 2022
c71e2b8
4.13.0
Michael-X-Net Nov 10, 2022
baaf2fb
Fix wording
Michael-X-Net Nov 10, 2022
b00b0e1
4.12.5 as stable version.
Michael-X-Net Nov 11, 2022
52e872a
Fix mac start questioning issue.
Michael-X-Net Nov 11, 2022
0ea5a56
Merge remote-tracking branch 'origin/master'
Michael-X-Net Nov 11, 2022
411e5ce
Add relay port
Michael-X-Net Nov 15, 2022
2d65a9a
4.13.2 fix bug.
Michael-X-Net Nov 15, 2022
bcebc9c
4.13.3 fix relay bug.
Michael-X-Net Nov 16, 2022
f8c62c5
4.13.4 fix boringssl seg fail issue.
Michael-X-Net Nov 19, 2022
0161116
add a test.
Michael-X-Net Nov 19, 2022
d2159c3
4.13.5 fix crash issue.
Michael-X-Net Nov 21, 2022
3f9e8c8
4.13.6 fix bugs
Michael-X-Net Nov 21, 2022
4b3e86f
4.13.6 fix bugs
Michael-X-Net Nov 21, 2022
9fcc9fa
fix boringssl send bug.
Michael-X-Net Nov 21, 2022
7d5533f
Fix bug of gae module
Michael-X-Net Nov 22, 2022
a127f14
4.13.7, fix bugs.
Michael-X-Net Nov 22, 2022
30c6556
4.13.8, support iOS
Michael-X-Net Dec 2, 2022
6a53521
remove download link
Michael-X-Net Dec 5, 2022
32610d3
fix dns query bug.
Michael-X-Net Dec 8, 2022
58111ab
cloudflare reuse connection for dns query.
Michael-X-Net Dec 8, 2022
fdfbea4
Enable Heroku
Michael-X-Net Dec 8, 2022
081bbed
Disable zoom in/out in iOS WebView.
Michael-X-Net Dec 10, 2022
3a60d9d
Detect language for iOS.
Michael-X-Net Dec 10, 2022
c95f9c7
Only generate desktop shortcut for desktop.
Michael-X-Net Dec 10, 2022
bac842f
Avoid block/fail when exist but trying to do something.
Michael-X-Net Dec 10, 2022
3139326
save 500k memory
Michael-X-Net Dec 10, 2022
7eb646e
reduce python memory usage.
Michael-X-Net Dec 11, 2022
f5cbcb3
reduce python memory usage.
Michael-X-Net Dec 11, 2022
c395f68
add support iOS exit from webUI.
Michael-X-Net Dec 13, 2022
42d5664
add support iOS exit from webUI.
Michael-X-Net Dec 13, 2022
f188ce1
Fix UI CSS of nav bar height.
Michael-X-Net Dec 14, 2022
8eca9e1
Fix bug of showing promotion code with "byte"
Michael-X-Net Dec 14, 2022
236cbe0
Update X-Tunnel UI text, hide plan/help for ios/android.
Michael-X-Net Dec 14, 2022
b45a45f
5.0.1:
Michael-X-Net Dec 17, 2022
c78e67e
new update baseline 5.x.x
Michael-X-Net Dec 17, 2022
ed4ba61
Disable heroku channel.
Michael-X-Net Dec 17, 2022
4531a5b
5.0.3 Fix select 1024 limitation issue.
Michael-X-Net Dec 24, 2022
9fc7164
Improve pipe performance and fix bug.
Michael-X-Net Dec 29, 2022
e3cac4d
Fix iOS connection unreliable bug and add log.
Michael-X-Net Dec 20, 2022
d8222be
improve pipe performance.
Michael-X-Net Dec 29, 2022
6a67d0e
fix the DNS type 65 HTTPS issue.
Michael-X-Net Dec 29, 2022
9d9530d
5.0.4 improve performance.
Michael-X-Net Dec 29, 2022
6757dd9
5.0.5 Fix bugs
Michael-X-Net Jan 13, 2023
1944aee
Fix ipv6 DNS bugs
Michael-X-Net Jan 14, 2023
b1d0470
fix the mac tray ask permission every time.
Michael-X-Net Jan 14, 2023
ea703e4
5.0.5 upgrade for testing.
Michael-X-Net Jan 16, 2023
f6c1125
update smart_route default policy.
Michael-X-Net Jan 27, 2023
61ddb74
disable register x-tunnel from client
Michael-X-Net Jan 29, 2023
a17c734
Limit in upgrade only support current top versions.
Michael-X-Net Jan 29, 2023
aae469a
change the logout translation.
Michael-X-Net Jan 29, 2023
3a09f05
fix error log bug.
Michael-X-Net Jan 29, 2023
d659e4d
Release 5.0.6 fix bugs and improve usability.
Michael-X-Net Jan 29, 2023
17c429c
Release 5.0.7, support openai and bing.
Michael-X-Net Feb 11, 2023
9266d62
update script fix bug.
Michael-X-Net Feb 11, 2023
1e4489a
Fix bug: GAE check ip is bytes.
Michael-X-Net Feb 21, 2023
242188c
Fix bug: http proxy process bug, #13871
Michael-X-Net Feb 21, 2023
a235161
Release 5.0.8
Michael-X-Net Feb 21, 2023
3960f27
update introduction。
Michael-X-Net Feb 22, 2023
7e9e672
Release 5.1.0, New function: OpenAI proxy
Michael-X-Net Mar 8, 2023
fb6ddce
Release 5.1.0, New function: OpenAI proxy
Michael-X-Net Mar 8, 2023
6a57cc7
new file: .github/workflows/notify_aur_upgrade.yml
lisuke Mar 11, 2023
86e344b
Merge pull request #13882 from lisuke/master
xxnet Mar 12, 2023
bf1dc7f
Support CORS for ChatGPT.
Michael-X-Net Mar 20, 2023
d207abe
update issue template
Michael-X-Net Mar 27, 2023
a6f2f53
update readme for chatGPT
Michael-X-Net Mar 27, 2023
634ffe3
remove unit test 2.7 for linux
Michael-X-Net Mar 27, 2023
8d69943
release 5.1.1 fix issue and improve performance.
Michael-X-Net Mar 29, 2023
cb324e0
publish 5.1.1 for testing version
Michael-X-Net Mar 29, 2023
e396347
Fix bugs for ip_str type issue.
Michael-X-Net Apr 1, 2023
6153f21
Fix bugs for ip_str type issue.
Michael-X-Net Apr 16, 2023
eae0404
Fix issue of failed to reconnect after hibernate.
Michael-X-Net Apr 17, 2023
3cd2c68
v5.2.0
Michael-X-Net Jun 17, 2023
04f8ee7
add test
Michael-X-Net Jun 17, 2023
28c9556
fix ip sort issues.
Michael-X-Net Jun 18, 2023
aa88d6b
clean log.
Michael-X-Net Jun 18, 2023
2455520
remove the public domain.
Michael-X-Net Jun 21, 2023
760fd37
5.3.0 version, improve performance.
Michael-X-Net Jul 8, 2023
cb8a570
fix bug for web log.
Michael-X-Net Jul 8, 2023
305fc55
hide password login form.
Michael-X-Net Jul 8, 2023
c63d39f
fix bug.
Michael-X-Net Jul 8, 2023
3aac4a5
clean up code
Michael-X-Net Jul 9, 2023
99e09fe
reset on exceed max connection.
Michael-X-Net Jul 10, 2023
5a9c075
5.3.2, fix GAE web_control bug.
Michael-X-Net Jul 10, 2023
c2f81df
fix integrate test issue.
Michael-X-Net Jul 10, 2023
d7fb13b
fix integrate test issue and stop auto run it.
Michael-X-Net Jul 11, 2023
9aff189
fix bug lost connection after a long run.
Michael-X-Net Jul 12, 2023
5d3a993
5.3.2 as test update push.
Michael-X-Net Jul 12, 2023
5b46995
5.4.0 refactor codes to improve performance and fix bug.
Michael-X-Net Jul 13, 2023
fedb4ed
5.4.2, improve performance.
Michael-X-Net Jul 17, 2023
9bd0da8
upgrade to new boringssl lib.
Michael-X-Net Jul 18, 2023
36b63b3
use new algorithm.
Michael-X-Net Jul 18, 2023
489a8f6
add debug log
Michael-X-Net Jul 20, 2023
0a20fe4
5.4.5 fix bugs and improve performance.
Michael-X-Net Jul 23, 2023
5b70a7e
add trace log when retry.
Michael-X-Net Jul 23, 2023
9ab4af4
Fix bug iOS not running.
Michael-X-Net Jul 23, 2023
9b7d31b
5.5.0 Improve performance.
Michael-X-Net Aug 1, 2023
fb95954
fix xx_net.sh, use start script to run.
Michael-X-Net Aug 2, 2023
1a8e37e
Fix http1 bug.
Michael-X-Net Aug 2, 2023
62862fa
5.5.1 fix lost connection issue.
Michael-X-Net Aug 5, 2023
d382131
Remove error log.
Michael-X-Net Aug 5, 2023
31638bb
5.5.4 name threads and add debug api.
Michael-X-Net Aug 8, 2023
d9f8aca
5.5.5 support OpenWrt
Michael-X-Net Aug 8, 2023
48c28cc
5.5.6 update smart route policy and fix connection block issue.
Michael-X-Net Aug 9, 2023
83a6cf6
5.5.8 adjust for running in OpenWrt and REDSOCKS
Michael-X-Net Aug 10, 2023
bc0515e
5.5.8 adjust for running in OpenWrt and REDSOCKS
Michael-X-Net Aug 10, 2023
27f6c58
fix issue in win32.
Michael-X-Net Aug 10, 2023
c6446af
5.5.9 add proxy handle error detail log.
Michael-X-Net Aug 11, 2023
4f2d992
5.5.10 add error log for port listening issue.
Michael-X-Net Aug 16, 2023
19268f3
5.5.10 as test version.
Michael-X-Net Aug 16, 2023
aea538f
5.5.13 refactor codes, fix minor bugs, add log collection function fo…
Michael-X-Net Aug 19, 2023
cc7d13c
push update.
Michael-X-Net Aug 19, 2023
cdf4aa3
push issue report template
Michael-X-Net Aug 19, 2023
02858bb
5.6.0 merge connection send/recv threads into one.
Michael-X-Net Aug 21, 2023
d5bf601
push update.
Michael-X-Net Aug 21, 2023
e927b91
add browser popup log.
Michael-X-Net Aug 21, 2023
abf94fa
not works
Michael-X-Net Aug 27, 2023
2dc1837
add browser popup log.
Michael-X-Net Aug 21, 2023
541f58d
5.6.1 refactor and fix bug of resource leaking.
Michael-X-Net Aug 27, 2023
097718d
5.6.2 fix windows slow issue.
Michael-X-Net Sep 2, 2023
07b9ec5
5.6.2 push test update.
Michael-X-Net Sep 2, 2023
a6dc8b5
5.7.3 new front: seley.
Michael-X-Net Sep 25, 2023
097b8a9
5.7.4 fix seley bug.
Michael-X-Net Sep 25, 2023
db180ee
5.7.5 fix seley bug.
Michael-X-Net Sep 25, 2023
cb801fe
5.7.6 fix seley bug.
Michael-X-Net Sep 25, 2023
8c004b3
5.7.6 fix seley bug.
Michael-X-Net Sep 25, 2023
5f62f2b
5.7.7 avoid too many threads on creating connection.
Michael-X-Net Sep 27, 2023
03ab88e
Update notify_aur_upgrade.yml
lisuke Sep 28, 2023
a210426
Merge pull request #13975 from lisuke/master
xxnet Sep 29, 2023
cd243e5
5.8.1 Improve performance.
Michael-X-Net Oct 16, 2023
f608910
5.8.3 fix http1 bug.
Michael-X-Net Oct 25, 2023
e422731
5.8.4 fix 5.8.3 bug.
Michael-X-Net Oct 26, 2023
2c0965a
5.8.5 add debug log.
Michael-X-Net Oct 26, 2023
d4cdee2
5.8.6 fix seley ip_manager bug.
Michael-X-Net Oct 29, 2023
791bac3
5.8.7 add support for py_aes_cfb
Michael-X-Net Nov 15, 2023
fb5a760
5.8.7 update openai consuming calculation.
Michael-X-Net Nov 15, 2023
2e06365
fix log issue.
Michael-X-Net Nov 18, 2023
ea2cfc3
upgrade server to python3.
Michael-X-Net Dec 1, 2023
df2210a
upgrade server to python3 tested.
Michael-X-Net Dec 3, 2023
d7e9225
Merge branch 'gae-server-upgrade'
Michael-X-Net Dec 3, 2023
3e2486c
5.9.0 upgrade gae server to python3 env.
Michael-X-Net Dec 3, 2023
af60bb9
publish 5.9.0 as stable version for upgrade.
Michael-X-Net Dec 12, 2023
9718a9d
5.9.7 update black list and smart route policy.
Michael-X-Net Feb 14, 2024
1564e42
update readme
Michael-X-Net Feb 14, 2024
24f753f
update
Michael-X-Net Feb 24, 2024
65714fd
release 5.9.9 fix bug running in windows introduced from 5.9.7.
Michael-X-Net Feb 25, 2024
c6a2ddb
release 5.9.10
Michael-X-Net Mar 6, 2024
03eb851
Add ru and update ir translation.
Michael-X-Net Mar 11, 2024
5a6c3f7
show login and register
Michael-X-Net Apr 3, 2024
17d91ad
CORS support
Michael-X-Net Apr 7, 2024
3adb4e9
Add ru and update ir translation.
Michael-X-Net Mar 11, 2024
aa42fee
Merge remote-tracking branch 'origin/master' into SAG
Michael-X-Net Apr 7, 2024
01feb3f
Fix the CORS for submodules.
Michael-X-Net Apr 8, 2024
e7c7d4b
Fix the script for mac first run.
Michael-X-Net Apr 9, 2024
f0cf79f
Fix CORS for GET method.
Michael-X-Net Apr 11, 2024
03facc2
hide again
Michael-X-Net Apr 21, 2024
91a121f
5.10.5 Socks5 accept UDP proxy for DNS.
Michael-X-Net May 15, 2024
90defa4
5.10.7 release
Michael-X-Net Jun 11, 2024
b2599c3
5.13.2 release, improve smart route.
Michael-X-Net Dec 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 14 additions & 5 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
# 规则:
* 请不要只写标题,不写内容,请先清空或另起新行,不遵守规则的提问会被自动关闭。

* X-Tunnel 支付后流量未及时到帐请直接向 [email protected] 发邮件,并附上帐号、交易单号等详细信息。

* 是否试过[最新的版本](https://github.com/XX-net/XX-Net/releases )?
* 登陆问题、602问题, 请发邮件到 [email protected] ,附上帐号,请参考:
https://github.com/XX-net/XX-Net/wiki/%E5%A6%82%E4%BD%95%E6%8A%A5%E5%91%8A%E9%97%AE%E9%A2%98

* 是否查看过 [Wiki](https://github.com/XX-net/XX-Net/wiki )?

* 是否以相关关键词搜索过类似 issues?

* 描述遇到的问题,贴出所有能帮助分析问题的状态页和日志,如包含大量文本时,请上传为 txt 文件:

* 如果问题得到解决,请务必回复相关情况,谢谢。

* 即使最终无法解决你遇到的问题,这也是正常的,因为系统和网络环境千差万别。最终结果也能帮助到后来者,请保持正常交流,再寻它法。

* 请不要只写标题,不写内容,请先清空或另起新行,不遵守规则的提问会被自动关闭。


# 提问模版:
- 操作系统:
- 客户端版本号:
- 问题现象:
- 日志文件:

# 日志文件获取方法:
访问 http://localhost:8085/?module=launcher&menu=about 或进入 [系统] -> [关于]
点 收集调试信息 后面的 [下载] 按钮。
112 changes: 94 additions & 18 deletions .github/workflows/lint_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,106 @@ name: lint_python
on:
pull_request:
push:
# branches: [master]
branches: [test]
jobs:
lint_python:
testing_linux:
runs-on: ubuntu-latest
# strategy:
# matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
# python-version: [2.7, 3.5, 3.6, 3.7, 3.8] # , pypy3]
strategy:
matrix:
python-version: [ '3.10' ] # 3.8, 3.9,
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@master
# with:
# python-version: ${{ matrix.python-version }}
- run: pip install black codespell flake8 isort pytest reorder-python-imports
- run: black --check . || true
# - run: black --diff . || true
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- run: pip install pytest

# - run: pip install reorder-python-imports codespell flake8 isort
# - if: matrix.python-version >= 3.6
# run: |
# pip install black
# black --check . || true
- run: codespell --quiet-level=2 || true # --ignore-words-list="" --skip=""
- run: flake8 code --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=code/default/gae_proxy/server
# - run: black --diff . || true

# - run: codespell --quiet-level=2 || true # --ignore-words-list="" --skip=""
# - run: flake8 code --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=code/default/gae_proxy/server,code/default/lib/noarch/six.py
# isort and reorder-python-imports are two ways of doing the same thing
- run: isort --recursive . || true
- run: reorder-python-imports . || true
# - run: isort --recursive . || true
# - run: reorder-python-imports . || true

- run: pip install -r requirements.txt || true
- shell: bash
env:
XTUNNEL_USER: ${{ secrets.XTUNNEL_USER }}
XTUNNEL_PASS: ${{ secrets.XTUNNEL_PASS }}
PYTHONPATH: ./code/default:./code/default/lib/noarch
run: |
pytest -v code/default || true

- name: Integrate testing
shell: bash
env:
XTUNNEL_USER: ${{ secrets.XTUNNEL_USER }}
XTUNNEL_PASS: ${{ secrets.XTUNNEL_PASS }}
PYTHONPATH: ./code/default:./code/default/lib/noarch
run: |
python code/default/launcher/tests/integrate_testing.py

testing_windows:
runs-on: windows-latest
strategy:
matrix:
python-version: [3.8, '3.10']
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- run: pip install pytest
- run: pip install -r requirements.txt || true
- shell: bash
env:
XTUNNEL_USER: ${{ secrets.XTUNNEL_USER }}
XTUNNEL_PASS: ${{ secrets.XTUNNEL_PASS }}
PYTHONPATH: ./code/default:./code/default/lib/noarch
run: |
pytest -v code/default || true

- name: Integrate testing
shell: bash
env:
XTUNNEL_USER: ${{ secrets.XTUNNEL_USER }}
XTUNNEL_PASS: ${{ secrets.XTUNNEL_PASS }}
PYTHONPATH: ./code/default:./code/default/lib/noarch
run: |
python code/default/launcher/tests/integrate_testing.py

testing_mac:
runs-on: macos-latest
strategy:
matrix:
python-version: ['3.10']
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- run: pip install pytest

- run: pip install -r requirements.txt || true
- run: pytest . || true
- shell: bash
env:
XTUNNEL_USER: ${{ secrets.XTUNNEL_USER }}
XTUNNEL_PASS: ${{ secrets.XTUNNEL_PASS }}
PYTHONPATH: ./code/default:./code/default/lib/noarch
run: |
pytest -v code/default || true

- name: Integrate testing
shell: bash
env:
XTUNNEL_USER: ${{ secrets.XTUNNEL_USER }}
XTUNNEL_PASS: ${{ secrets.XTUNNEL_PASS }}
PYTHONPATH: ./code/default:./code/default/lib/noarch
run: |
python code/default/launcher/tests/integrate_testing.py
18 changes: 18 additions & 0 deletions .github/workflows/notify_aur_upgrade.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: notify_aur_upgrade
on:
push:

jobs:
Notify:
name: Notify
if: startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest
steps:
- run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer 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"\
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/lisuke/PKGBUILD/actions/workflows/xx-net.yml/dispatches \
-d '{"ref":"master"}'
13 changes: 11 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
.idea
data
/data*
*~
*.pyc
*.swp
*.pot
*.mo
*.xpi
*pybabel_update.sh

core
.DS_Store
desktop.ini
/SwitchyOmega/AutoProxy.xpi
/SwitchyOmega/SwitchyOmega.crx
/code/default/gae_proxy/server/lib/
/code/default/gae_proxy/local/ipv6_tunnel/enable_ipv6_temp.bat
/code/default/gae_proxy/local/ipv6_tunnel/set_best_server_temp.bat
.pytest_cache
*.log
code/version.txt


# Babel files
messages.po-e
messages.pot
translated.po
35 changes: 27 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,38 @@
# XX-Net
:rocket: XX-Net (翻墙VPN)
=========
这是一个稳健可靠的翻墙系统,已经连续运行 9 年!
我们不去研究墙有什么缺陷,因为所有的缺陷都会被慢慢的补上。
我们的策略是化身为普通流量,完全无法区分,最终隐身在茫茫的网络连接中。。。

:electric_plug: 功能特性
=========
* 支持多平台: Android/iOS/Windows/Mac/Linux
* 采用独特的混淆算法,让您的流量在网络中无法被识别
* 开源绿色软件,无需安装,可以支持多台设备同时连接
* 模拟Chrome浏览器行为,完全无法识别,稳定翻墙
* 内置 ChatGPT,每个套餐赠送 ChatGPT-3.5 一百万token


* 安全的翻墙工具
<br>

### [__下载页面__](https://github.com/XX-net/XX-Net/blob/master/code/default/download.md)
###### [中文文档](https://github.com/XX-net/XX-Net/wiki/%E4%B8%AD%E6%96%87%E6%96%87%E6%A1%A3) &nbsp; &nbsp; &nbsp;[English](https://github.com/XX-net/XX-Net/wiki/English-Home-Page) &nbsp; &nbsp; &nbsp;[فارسی صفحه اصلی](https://github.com/XX-net/XX-Net/wiki/Persian-home-page)
### 官网下载: [https://xx-net.com](https://xx-net.com)
### Telegram: [https://t.me/xxnetshare](https://t.me/xxnetshare)
### Twitter: [https://twitter.com/XXNetDev](https://twitter.com/XXNetDev)
###
###### [中文帮助文档](https://github.com/XX-net/XX-Net/wiki/%E4%B8%AD%E6%96%87%E6%96%87%E6%A1%A3) &nbsp; &nbsp; &nbsp;[English Document](https://github.com/XX-net/XX-Net/wiki/English-Home-Page) &nbsp; &nbsp; &nbsp;[فارسی صفحه اصلی](https://github.com/XX-net/XX-Net/wiki/Persian-home-page)

<br>


### 最新公告:
2021-11-14
* 新版 4.5.6, 修复新版Mac/Linux下python 3.10 的库兼容性问题。
* GAE 模块默认关闭.
没有绑卡无法工作, 想使用GAE模块请手动启用, 暂时没有流量控制功能,请注意流量费用。
2024-03-06
* 最新版5.9.10, 更新黑名单列表。
* 5.9.0 升级GAE服务端到python3
* 5.8.8 改进iOS下连接性能
* 5.7.0 为X-Tunnel增加新通道
* 5.6.0 重构代码,减少系统资源消耗
* 5.1.0,内置ChatGPT
* 原来是4.x.x 老版本的,需要重新下载新版安装,不能应用内升级。


<br>
Expand Down
2 changes: 0 additions & 2 deletions SwitchyOmega/Sha256.txt

This file was deleted.

3 changes: 3 additions & 0 deletions code/app_info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"app_name": "XX-Net"
}
2 changes: 1 addition & 1 deletion code/default/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) [2015], [XX-Net]
Copyright (c) [2022], [XX-Net]
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
44 changes: 44 additions & 0 deletions code/default/babel_update.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#!/usr/env/bin python

import os


# pip install googletrans==4.0.0-rc1
from googletrans import Translator
import polib


translator = Translator(service_urls=[
'translate.google.com',
])

for lang in ["ru_RU"]: # "fa_IR",
for module in ["launcher", "smart_router", "x_tunnel"]: #
source_po = polib.pofile(f'{module}/lang/zh_CN/LC_MESSAGES/messages.po')
lang_path = f'{module}/lang/{lang}/LC_MESSAGES'
if not os.path.isdir(lang_path):
os.makedirs(lang_path, exist_ok=True)

new_fp = f'{lang_path}/translated.po'
with open(new_fp, "w") as fd:
fd.write("")

new_po = polib.pofile(new_fp)

for entry in source_po:
try:
result = translator.translate(entry.msgid, dest=lang[0:2])
res_text = result.text
except Exception as e:
print(f"translate {entry.msgid} failed, e:{e}")
res_text = ""

new_entry = polib.POEntry(
msgid=entry.msgid,
msgstr=res_text,
occurrences=entry.occurrences )

new_po.append(new_entry)

new_po.save(new_fp)
print(f"module {module} translated to {lang}.")
20 changes: 12 additions & 8 deletions code/default/download.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@

## 下载(Download):
稳定版(Stable version 4.5.6):
[Windows 版下载](https://github.com/XX-net/XX-Net/releases/download/4.5.6/XX-Net-windows-4.5.6.7z)
[Mac 版下载](https://github.com/XX-net/XX-Net/releases/download/4.5.6/XX-Net-mac-4.5.6.7z)
[Linux 版下载](https://github.com/XX-net/XX-Net/archive/4.5.6.zip)
稳定版(Stable version 4.12.5):
[Win10 版下载](https://github.com/XX-net/XX-Net/releases/download/4.12.5/XX-Net-win10-4.12.5.7z)
[Win7 版下载](https://github.com/XX-net/XX-Net/releases/download/4.12.5/XX-Net-win7-4.12.5.7z)
[Mac 版下载](https://github.com/XX-net/XX-Net/releases/download/4.12.5/XX-Net-mac-4.12.5.7z)
[Linux 版下载](https://github.com/XX-net/XX-Net/archive/4.12.5.zip)
[Android版下载](https://github.com/XX-net/XX-Net/releases/download/4.12.5/XX-Net-4.12.5.apk)


测试版(Test version 4.5.6):
[Windows 版下载](https://github.com/XX-net/XX-Net/releases/download/4.5.6/XX-Net-windows-4.5.6.7z)
[Mac 版下载](https://github.com/XX-net/XX-Net/releases/download/4.5.6/XX-Net-mac-4.5.6.7z)
[Linux 版下载](https://github.com/XX-net/XX-Net/archive/4.5.6.zip)


测试版(Test version 4.13.7):
[Win10 版下载](https://github.com/XX-net/XX-Net/releases/download/4.12.6/XX-Net-win10-4.12.6.7z)
[Win7 版下载](https://github.com/XX-net/XX-Net/releases/download/4.12.6/XX-Net-win7-4.12.6.7z)
[Mac 版下载](https://github.com/XX-net/XX-Net/releases/download/4.12.6/XX-Net-mac-4.12.6.7z)
[Linux 版下载](https://github.com/XX-net/XX-Net/archive/4.12.6.zip)
[Android版下载](https://github.com/XX-net/XX-Net/releases/download/4.12.6/XX-Net-4.12.6.apk)
4 changes: 2 additions & 2 deletions code/default/gae_proxy/local/appid_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def get(self):
if time_to_reset > 0:
self.logger.warn("all appid out of quota, wait %d seconds to reset", time_to_reset)
sleep_end = time.time() + time_to_reset
while len(self.working_appid_list) == 0 & time.time() < sleep_end:
while len(self.working_appid_list) == 0 and time.time() < sleep_end:
time.sleep(1)
return None
else:
Expand Down Expand Up @@ -75,7 +75,7 @@ def report_out_of_quota(self, appid):

def report_not_exist(self, appid, ip):
self.logger.debug("report_not_exist:%s %s", appid, ip)
th = threading.Thread(target=self.process_appid_not_exist, args=(appid, ip))
th = threading.Thread(target=self.process_appid_not_exist, args=(appid, ip), name="process_appid_not_exist")
th.start()

def process_appid_not_exist(self, appid, ip):
Expand Down
Loading