notsure2
f0ec1e6562
Merge with v2.12.0
2025-07-24 14:05:48 +03:00
Andy Wang
8af137637e
Add backwards compatibility fallback to firefox
2025-06-08 18:19:58 +01:00
notsure2
7b3e630661
Upgrade packages minor tweak to randomization
2024-12-17 01:30:50 +02:00
notsure2
fa941acbd6
Merge branch 'master' into notsure2
2024-06-30 17:11:18 +03:00
Andy Wang
d5da5d049c
Update copyright
2024-04-13 23:10:09 +01:00
Andy Wang
392fc41de8
Move random utilities to common package
2024-04-13 23:08:34 +01:00
notsure2
3b449b64b3
Support ServerName randomization (by setting ServerName=random) using the same algorithm as ProtonVPN bcf344b39b
2024-04-13 22:48:55 +01:00
notsure2
d1f89eb509
Delete dead code.
2024-02-17 17:21:16 +02:00
notsure2
b6cbc0c0f0
Merge remote-tracking branch 'upstream/master' into notsure2
2024-02-10 21:00:38 +02:00
Andy Wang
c48a8800d6
Remove old utls
2024-02-09 17:30:22 +00:00
Andy Wang
6417e3393d
Use utls for ClientHello fingerprint
...
Close #223
2024-02-09 16:37:57 +00:00
notsure2
2531e8cea5
Fix buffer size handling.
...
- For local buffers, it must be set on the LISTENING socket.
- For remote buffers, it must be set BEFORE dialing.
2023-12-11 06:34:19 +02:00
notsure2
870455200a
Fix config parsing.
2023-12-08 09:35:03 +02:00
notsure2
c0f7e8ff1f
Implement remote side buffer control.
2023-12-08 08:59:09 +02:00
notsure2
391c017956
Fix failing unit test due to the connection not being a tcp connection in tests.
2023-06-11 01:40:03 +03:00
notsure2
e2e8a8e9be
Support ServerName randomization (by setting ServerName=random) using the same algorithm as ProtonVPN bcf344b39b
2023-06-11 01:32:10 +03:00
notsure2
455a7cdea0
Implement TCP_NODELAY in client and server tcp connections.
2023-06-10 15:46:51 +03:00
notsure2
4efd000bda
Fix config parsing of the new buffer values.
2023-05-29 19:43:18 +03:00
notsure2
55c06a0a58
Fix integration test.
2023-05-29 19:32:15 +03:00
notsure2
0d788b728c
Restore windows compatibility.
2023-05-29 18:13:37 +03:00
notsure2
93bf613a28
Buffer control for client using options TcpSendBuffer and TcpReceiveBuffer.
2023-05-29 17:05:51 +03:00
notsure2
4831cfac61
Merge remote-tracking branch 'upstream/master' into notsure2
2023-04-23 19:03:08 +02:00
Andy Wang
59919e5ec0
Remove gopacket dependency due to pcap
2023-04-23 15:14:14 +02:00
Andy Wang
d04366ec32
Fix padding calculation
2023-04-23 15:09:35 +02:00
Andy Wang
bc67074610
Add Safari browser signature
2023-04-23 11:04:02 +02:00
Andy Wang
641f6b2a9c
Update to Chrome and Firefox 112
2023-04-23 11:04:02 +02:00
notsure2
72b6a3ad0b
Merge
2023-04-21 15:39:42 +02:00
name
11e42dd542
Add WebSocket path for CDN mode
...
add new option to README
Change field name and default value of CDNWsUrlPath
2023-03-07 17:13:13 +08:00
name
e696b18187
format using goimports
2023-03-07 17:09:18 +08:00
notsure2
3a941f29b9
Merge branch 'master' into notsure2
2022-03-31 20:59:39 +02:00
notsure2
fda8b2b3c8
Add Steam client signature cab2baf994ded9c9
2022-03-24 20:28:17 +02:00
HirbodBehnam
9614fbc03d
Update firefox fingerprint
2022-03-24 14:14:50 +04:30
HirbodBehnam
f67ae6e644
Update chrome fingerprint
2022-03-23 21:52:17 +04:30
Andy Wang
750340126a
Update browser fingerprint versions (no actual fingerprint change)
2022-02-02 22:00:32 +00:00
Andy Wang
611bad91fd
Minor refactors to remove unnecessary function
2022-02-02 22:00:26 +00:00
Andy Wang
121c27fe1f
Merge pull request #168 from notsure2/fix-empty-alternative-names
...
Fix incorrect addition of empty name in MockDomainList if the config string contains AlternativeNames=;
2021-07-24 16:38:49 +01:00
notsure2
9d5c663618
Fix incorrect addition of empty name in MockDomainList if the config string contains AlternativeNames=;
2021-07-22 20:05:30 +02:00
notsure2
387b76d426
Support CloudFlare CDN. Fixes #155
2021-07-22 14:52:56 +02:00
Andy Wang
cfdff93a1c
Update Chrome version comment (actual signature remains the same)
2021-04-30 16:00:52 +01:00
Andy Wang
8709bc0b2f
Update Firefox signature to version 88
2021-04-30 15:56:08 +01:00
Selim
ae14e28999
ServerName rotation ( #158 )
...
* inital servername rotation
* Move MockDomainList to LocalConnConfig as the list doesn't need to be sent to the remote
* Use CSPRNG to pick the next candidate of MockDomains
Co-authored-by: Andy Wang <cbeuw.andy@gmail.com>
2021-03-25 20:06:16 +00:00
Andy Wang
4a2eac51fe
Cleanup some tests using testify/assert
2020-12-29 01:24:32 +00:00
Andy Wang
5cb54aa3c9
Correctly fallthrough to fix client configuration compatibility
2020-12-28 09:15:40 +00:00
Andy Wang
d1b05ee9e5
Add new encryption method option aes-128-gcm
2020-12-27 13:26:45 +00:00
不确定
dc030fbb47
Implement UDP stream timeout. ( #148 )
...
* Implement UDP stream timeout.
* Correctly delete streams from map after closing
Co-authored-by: Andy Wang <cbeuw.andy@gmail.com>
2020-12-23 00:43:38 +00:00
Andy Wang
de0daac123
Update deprecated curve25519 functions and defend against low-order point attacks
2020-12-21 16:37:33 +00:00
不确定
cfbf0dfcb6
Fix critical bugs in session opening for TCP and UDP in case of Singleplex mode. ( #145 )
...
* Fix critical bugs in session opening for TCP and UDP in case of Singleplex mode.
- In case of TCP, don't open the session in the listener accept thread. This
causes resource exhaustion of the tcp listener backlog queue in case of internet
connection disruption or timeout.
- In case of UDP, don't create a new session for every UDP packet.
* Fix race in integration test.
* Fix race condition in session maker
* Code style improvements
* Explicit session.Close() call is indeed needed
Co-authored-by: Andy Wang <cbeuw.andy@gmail.com>
2020-12-19 14:42:10 +00:00
不确定
a72273096a
Add CdnHttpHost config setting with documentation. ( #143 )
...
* Add CdnHttpHost config setting with documentation.
* Rename CdnHttpHost to CDNOriginHost and make README more concise
Co-authored-by: Andy Wang <cbeuw.andy@gmail.com>
2020-12-12 20:40:48 +00:00
不确定
e77fd4c446
Fix regression: termination of long downloads after StreamTimeout seconds ( #141 )
...
* Fix termination of long downloads after StreamTimeout seconds.
- Even if not broadcasting in a loop, we still need to update the read deadline.
- Don't enforce the timeout after the first data is written.
* When timeout no longer needs to be enforced, no need to schedule a broadcast.
* Fix Cloak client. Don't enforce read deadline after first read.
* Enforce StreamTimeout on the initial bytes sent by localConn only.
* Revert changes to multiplex module. Remove timeout from caller.
2020-12-12 17:00:46 +00:00
不确定
b7e7bfb314
Make sure times are UTC and correctly subtract the timestamp window from the server time. ( #134 )
2020-11-24 18:58:02 +00:00