Commit Graph

526 Commits

Author SHA1 Message Date
notsure2 ca6144ab7f Fix breakage with utls 1.7.0 due to increase in record size. 2025-04-26 23:45:43 +03:00
notsure2 7b3e630661 Upgrade packages minor tweak to randomization 2024-12-17 01:30:50 +02:00
notsure2 02d9a4655a Merge branch 'master' into notsure2 2024-10-12 01:39:42 +03:00
Andy Wang 8bbc7b08d3
Fix tests 2024-10-03 23:06:42 +01:00
Andy Wang 5cf975f596
Pad the first 5 frames 2024-10-03 23:06:41 +01:00
Ian Brown 3687087c67
Fix spelling mistake
Signed-off-by: Ian Brown <ian@zestysoft.com>
2024-09-20 19:45:46 -07:00
notsure2 fa941acbd6 Merge branch 'master' into notsure2 2024-06-30 17:11:18 +03:00
Andy Wang dc2e83f75f
Move to common.RandInt 2024-04-14 16:27:00 +01:00
Andy Wang 5988b4337d
Stop using fixedConnMapping 2024-04-14 16:25:54 +01: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 bbeb3e3db4 Apply dialer control on tcp and udp alike. 2024-02-17 17:32:13 +02:00
notsure2 d1f89eb509 Delete dead code. 2024-02-17 17:21:16 +02:00
notsure2 3b42b3f9c8 Use the buffer controls also for the redir dialer. 2024-02-17 17:11:01 +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
Andy Wang b3ec1ab3bc
Make server respond with a TLS 1.3 cipher suite 2024-02-09 15:49:42 +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 63e4b35a71 Merge branch 'master' into notsure2 2023-11-12 22:54:27 +02:00
Andy Wang eca5f13936
Remove WriteTo from recvBuffer to prevent blocking on external Writer.
Fixes #229
2023-11-12 20:47:17 +00: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 9045141035 Remove unneeded file. 2023-05-29 19:13:11 +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 4a989ccd14 Make the loopback buffers configurable 2023-01-05 18:49:27 +02:00
notsure2 786607d31e When dialing a localhost connection, set a small send and receive buffer on the socket to 32 KB to avoid bufferbloat in TCP relays. 2023-01-05 06:29:05 +02: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 e157e73ade
Check proxy method after checking admin uid to allow admin to have an invalid but unused proxy method 2022-01-26 00:58:52 +00:00
Andy Wang 67dba8c8fa
Return empty slices instead of nil for ListAllUsers 2022-01-26 00:57:18 +00:00