Commit Graph
100 Commits
Author SHA1 Message Date
Shelikhoo e880c61f86 update version to v5.38.0 2025-07-26 15:14:17 +01:00
Shelikhoo 15d8930552 rename to connection_enrolment to fix typo 2025-07-26 14:53:06 +01:00
Shelikhoo 143b1c86ff add sequence watermarking to TLSMirror
someone said it is by information theory impossible to implement, I said let there be sequence watermarking.
2025-07-06 19:00:14 +01:00
Shelikhoo fbe2fde9f4 add local linter setting to gitignore 2025-07-06 18:31:13 +01:00
Shelikhoo 37dabf16a5 remove mistaken commited linter config 2025-07-06 01:08:47 +01:00
Shelikhoo 91a4dac37a fix bugs in tlsmirror connection enrollment 2025-07-06 01:06:47 +01:00
Shelikhoo fadf6bc085 report error on unknown fields in jsonv5 2025-07-06 01:06:47 +01:00
Shelikhoo 5a003982db add client and server side connection enrollment check 2025-07-06 01:06:47 +01:00
Shelikhoo 89c9e1a5f7 add default h2 based primary enrollment confirmation implementation 2025-07-06 01:06:47 +01:00
Shelikhoo 2e877e7dd3 revert mistakenly included local edit to golang-linter edit 2025-07-06 01:06:47 +01:00
Shelikhoo 9c0d94710c revert mistakenly included local edit to golang-linter edit 2025-07-06 01:06:47 +01:00
Shelikhoo 09ecf18648 update version to v5.37.0 2025-07-05 15:27:50 +01:00
Shelikhoo e17ac47dc8 disable tlsmirror transport from subscription 2025-07-04 18:13:31 +01:00
Shelikhoo 800e6f03c9 fix lint issues in tls mirror 2025-07-04 17:26:05 +01:00
Shelikhoo 19025d330e rename option to DeferInstanceDerivedWriteTime in tlsmirror 2025-07-04 17:26:05 +01:00
Shelikhoo 089981bf49 move single connection HTTP transport implementation 2025-07-04 17:26:05 +01:00
Shelikhoo 81bbf5200d move single connection HTTP transport implementation 2025-07-04 17:26:05 +01:00
Shelikhoo c36ab4045c fix transport layer padding issue with tlsmirror 2025-07-04 17:26:05 +01:00
Shelikhoo d9dd3c83f9 rewrite first write delay calculation to handle edge case 2025-07-04 17:26:05 +01:00
Shelikhoo 29f16325d2 add server side first write delay 2025-07-04 17:26:05 +01:00
Shelikhoo 5d08dc5a13 add todo for clientside close 2025-07-04 17:26:05 +01:00
Shelikhoo 284d1891c6 add transport layer padding support to tlsmirror 2025-07-04 17:26:05 +01:00
Shelikhoo f59383bb82 add first write delay to compensate for timing issue created by forwarding traffic to remote server 2025-07-04 17:26:05 +01:00
Shelikhoo ba9938e93f add default no wait for wait time spec 2025-07-04 17:26:05 +01:00
Shelikhoo a1f8ede522 rework wait time in traffic generator 2025-07-04 17:26:05 +01:00
Shelikhoo 1815c1e6c9 when there is an error, disable message inserting and drain copy sockets 2025-07-04 17:26:05 +01:00
Shelikhoo 548331dc2b avoid message copy deadlock in message writers and stop copy when alert was sent 2025-07-04 17:26:05 +01:00
Shelikhoo 71f1be1b9c support connection invalidation in tlsmirror 2025-07-04 17:26:05 +01:00
Shelikhoo 22734d9ad9 update nonce counter for tls12 encrypted alert as well. 2025-07-04 17:26:05 +01:00
Shelikhoo c5199a2f6f fix corrupted tls12 aead stream in tls mirror 2025-07-04 17:26:05 +01:00
Shelikhoo 3a513fb0c3 fix not using tag in tlsmirror encryption key derivation 2025-07-04 17:26:05 +01:00
Shelikhoo 8772199e24 Add TLS1.2 AEAD explicit nonce processing 2025-07-04 17:26:05 +01:00
Shelikhoo 56dd21428f Add TLS1.2 AEAD explicit nonce detection 2025-07-04 17:26:05 +01:00
Shelikhoo b1701bc934 update version to v5.36.0 2025-07-03 18:14:54 +01:00
Shelikhoo 58f836c139 fix adding timeout=30m to go test 2025-07-03 17:58:49 +01:00
Shelikhoo ac68bb34da update generated protocol buffer files 2025-07-03 17:52:42 +01:00
Shelikhoo 2efd36474e increase test timeout to 30m 2025-07-03 17:46:24 +01:00
Shelikhoo d69f57486a stop closing planned tickets and prs 2025-07-03 11:52:45 +01:00
Xiaokang Wang (Shelikhoo) b1ef737d48 Add TLSMirror looks like TLS censorship resistant transport protocol as a developer preview transport (#3437)
* Add tlsmirror server processing routine

* Add tlsmirror server processing routine: generated

* Add tlsmirror server handshake capture

* it runs version~

* add draining copy for handshake

* refactor out base tls mirror connection

* tls mirror server side base

* add random field extraction

* add tls like encryption

* add tls like encryption (generated)

* add server side implementation for tlsmirror

* apply coding style: tlsmirror

* fix typo in mirrortls mirror crypto

* add client initial implementation for tls mirror

* add traffic generator implementation for tlsmirror

* add client processing of traffic generator originated traffic

* add embedded traffic generator support to mirrortls client

* override security setting of traffic generator if appropriate

* override security setting of traffic generator if appropriate

* apply request wait time for traffic generator

* add unsafe keyword required for linkname

* fix outbound manager registration for traffic ingress at tlsmirror client

* initial works at sticking packets together

* fix traffic generator's traffic goto logic

* fix get client and server random

* fix applying primary key

* fix log error handling for handshake random retrieval

* fix nonce generation and key derivation logic

* fix: add readPipe channel to client and server connection handlers

* fix: use detached context for persistent mirror TLS dialer

* fix: ensure proper closure of connections on context cancellation

* fix: proper detection of traffic generator originated connection

wait for connection ready before sending payload

* fix coding style
2025-07-03 11:33:16 +01:00
Shelikhoo 248cba4e43 update version to v4.35.0 2025-06-30 05:28:12 +01:00
Xiaokang Wang (Shelikhoo) eff7df91d0 Update quic version to v0.53.0 (#3435) 2025-06-30 05:13:51 +01:00
Shelikhoo 6eb00bec29 update version to v5.34.0 2025-06-22 23:59:50 +01:00
Shelikhoo 9844b507e5 Update version to v5.33.0 2025-05-26 23:20:59 +01:00
Shelikhoo a4f28a2f6f update version to 5.32.0 2025-05-17 22:05:22 +01:00
Shelikhoo f0d87d13d6 Update linter version 2025-05-17 21:57:59 +01:00
Shelikhoo d565c48690 Revert "Fix buffer leak in mkcp transport protocol (#3347)"
This reverts commit d2b2f8c1f3.
2025-05-17 21:50:18 +01:00
Shelikhoo 28f558601f update version to v5.31.0 2025-04-28 14:12:25 +01:00
Shelikhoo 5910b3388c update utls to v1.7.1 2025-04-28 13:42:16 +01:00
Shelikhoo db2cea29c1 update version to v5.30.0 2025-04-06 19:11:41 +01:00
Shelikhoo 6a27c0c852 bulk update of dependencies 2025-04-05 21:52:53 +01:00
Shelikhoo c06fe2d34c update builder golang version 2025-04-05 16:08:00 +01:00
Shelikhoo 4c96d63e10 update golang version req 2025-04-05 16:06:25 +01:00
Xiaokang Wang (Shelikhoo) c3be0e2622 Add dns proxy response ttl control (#3323) 2025-04-05 15:51:27 +01:00
Shelikhoo 2b4546a4b3 update version to v5.29.3 2025-03-23 18:17:49 +00:00
Xiaokang Wang (Shelikhoo) c8c1120747 QUIC sniffer restructure (#3360) 2025-03-23 18:16:29 +00:00
Shelikhoo 77d2d1b172 Update version to v5.29.2 2025-02-27 14:33:25 +00:00
Xiaokang Wang (Shelikhoo) 561f31245d A temporary testing fix for the buffer corruption issue (#3331) 2025-02-27 14:32:04 +00:00
Shelikhoo 4144c87fc1 Update version to v5.29.1 2025-02-20 20:58:26 +00:00
Shelikhoo 14bc04a889 Update version to v5.29.0 2025-02-16 14:24:16 +00:00
Xiaokang Wang (Shelikhoo) 2fefe944ca Enable restricted mode load for http protocol client (#3315) 2025-02-16 14:11:42 +00:00
Shelikhoo 807d4b200e update to v5.28.0 2025-02-10 20:36:54 +00:00
Xiaokang Wang (Shelikhoo) e1064c5f4c Add Persistence to Subscription Imports, plus Subscription Update API (#3307)
* Add Persistence for Subscription imports

* Add Update Tracked Subscription
2025-02-10 19:27:32 +00:00
Shelikhoo 45e741bae0 update version to v5.27.0 2025-02-06 18:17:40 +00:00
Shelikhoo b661f2e26a remove debian package builder 2025-02-05 20:42:51 +00:00
Xiaokang Wang (Shelikhoo) 78cd513b82 Add Persistent Storage Support to V2Ray (#3300)
* update protogen to strip unused part

* add persistent storage support

* fix coding style

* update linter setting

* update github integration
2025-02-05 20:36:40 +00:00
Shelikhoo 3ee9045697 chore: regenerate protos 2025-02-02 13:57:34 +00:00
Shelikhoo 1cf24f44b4 update version to v5.26.0 2025-01-26 20:42:21 +00:00
Shelikhoo f395b7dd7e really really fix pie build x2 2025-01-26 20:35:40 +00:00
Shelikhoo ca5ce23fb4 really really fix pie build 2025-01-26 20:24:29 +00:00
Xiaokang Wang (Shelikhoo) 524861989a update linter settings (#3290) 2025-01-22 12:52:32 +00:00
Xiaokang Wang (Shelikhoo) 442581d897 Fixing all the lint errors (#3288)
* Fixing all the lint errors!

* update lint settings
2025-01-22 08:27:48 +00:00
Shelikhoo efec9ea0dc update version to v5.25.1 2025-01-21 15:30:07 +00:00
Xiaokang Wang (Shelikhoo) d5bcf9d878 really fix pie build (#3286) 2025-01-21 10:16:01 +00:00
Shelikhoo f5938647a0 update version to v5.25.0 2025-01-18 11:54:46 +00:00
Xiaokang Wang (Shelikhoo) 69b09074f8 Add WebUI Support for V2Ray (#3284)
* Add support for web based grpc

* Avoid panic in observatory command: incorrect tag

* Add WebCommander app for web based client

* Add WebCommander app for web based client

* Add urlline subscription container format support

* avoid panic when serving user request

* refine subscription info api

* fix start consistency issue in web commander

* fix webcommander import style

* fix urlline parsing

* fix crash in subscription commander

* add webroot file serving at webcommmander

* fix crash when observatory is not found

* add autogenerated subscriptionmgr err
2025-01-17 17:42:53 +00:00
Xiaokang Wang (Shelikhoo) 4adda5806a fix broken pie build with generating seperate files (#3281) 2025-01-14 10:06:23 +00:00
Xiaokang Wang (Shelikhoo)andJimmyHuang454 54fbeeba6d Resync Hysteria2 Import (#3280)
* Revert "Remove hysteria2"

This reverts commit 1d21d7a077.

* Update Hysteria2

* Rename hysteria2 module

* fix broken hy2 import version

---------

Co-authored-by: JimmyHuang454 <jimmyhuang454@gmail.com>
2025-01-14 10:06:08 +00:00
Shelikhoo ccacd52b24 update version to v5.24.0 2025-01-08 18:28:27 +00:00
Xiaokang Wang (Shelikhoo) 4c1d94863b Add Early Data and Custom Header Support to HTTPUpgrade Transport (#3276)
* Add early reply draining for httpupgrade

* Add early data config for httpupgrade

* Add early data implementation for httpupgrade

* Add send extra header for httpupgrade
2025-01-08 18:26:01 +00:00
Shelikhoo d59c2b4c85 update version to v5.23.0 2024-12-08 22:16:10 +00:00
Shelikhoo a72c4d2644 update version to v5.22.0 2024-10-27 22:26:49 +00:00
Xiaokang Wang (Shelikhoo) 2415b89510 fix infinite loop when parsing empty nonnative subscription content (#3208) 2024-10-27 21:50:37 +00:00
Shelikhoo cab66deace update version to v5.21.0 2024-10-13 14:36:07 +01:00
Xiaokang Wang (Shelikhoo) 229b30d877 drop unsupported domain address type in packet addr (#3186) 2024-10-12 19:25:59 +01:00
Xiaokang Wang (Shelikhoo) 05345cc4fd Add Mekya Stereotype (#3185)
* Add mekya stereotype config

* Add mekya stereotype config: autogenerated

* add autogenerated files

* add mekya stereotype

* add mekya stereotype: fixup

* add mekya stereotype to default distro

* add mekya testing
2024-10-12 19:25:45 +01:00
Shelikhoo 6c091e6645 update version to v5.20.0 2024-10-01 20:01:13 +01:00
Xiaokang Wang (Shelikhoo) 5ca0f36743 generate alert instead of panic when encountering incorrect listen on port 0 on IPv4 or v6 address (#3172) 2024-10-01 19:33:50 +01:00
Xiaokang Wang (Shelikhoo) b921dcad6c add support for parsing some shadowsocks links (#3169) 2024-10-01 19:33:38 +01:00
Xiaokang Wang (Shelikhoo) d9181ad84a Add Testing for meek, grpc, httpUpgrade Transport (#3160)
* Add instance management based testing

* Add testing for meek transport

* Add testing for grpc, httpupgrade transport
2024-09-16 11:19:42 +01:00
Shelikhoo 531b3533b5 update version to v5.19.0 2024-09-15 16:09:44 +01:00
Shelikhoo df52e20448 Update Go mod toolchain to v1.22 2024-09-15 15:54:06 +01:00
Shelikhoo 4402ebc0e2 Update Go version to v1.23 2024-09-15 15:33:54 +01:00
Shelikhoo 8b36010fc2 update version to v5.18.0 2024-09-08 18:43:31 +01:00
Shelikhoo 80f1e2fa17 Add back tls certChainHash command 2024-09-08 08:38:05 +01:00
Shelikhoo 764fb2f7d8 removed unused hy2 config 2024-09-08 08:38:05 +01:00
Shelikhoo 3f419f93ec update generated protocol for grpc transport 2024-09-08 08:38:05 +01:00
Shelikhoo c5dcf1be03 Adjust default build set to remove pprof from default distribution 2024-09-06 15:13:32 +01:00
Shelikhoo 5961b2fd46 Add AllowInsecureIfPinnedPeerCertificate option to tls security 2024-09-06 14:39:53 +01:00
Shelikhoo b7d02ad972 update to v5.17.1 2024-08-24 18:33:46 +01:00
Shelikhoo 3e7dc35562 fix: use sync.Map in request to packet conn server 2024-08-24 18:32:38 +01:00