Shelikhoo
439d13a3b0
Add DelayAuthWrite to socks client
2024-03-16 20:17:43 +00:00
Vigilans
f8ac919d66
[app/dns] Support per-client configuration for fakedns ( #2212 )
...
* Move `filterIP` from `hosts.go` to `dnscommon.go`
* Implement adding pools for fakedns.HolderMulti
* Implement per-client fakedns for DNS app
* Remove `dns.ClientWithIPOption` and replace with new programming model
* Implement JSON config support for new fakedns config
* Fix lint and tests
* Fix some codacy analysis
2022-12-15 10:38:28 +08:00
dyhkwong
d467eb7511
fix: socks4/4a client handshake ( #1971 )
2022-10-08 10:59:28 +08:00
Loyalsoldier
d9125f91af
Fix: gci command for formatting code ( #1757 )
...
* Fix: gci command for formatting code
* Chore: format code
2022-05-01 00:47:14 +08:00
Shelikhoo
1e98e0ae92
fix error introduced by rebase
2022-01-03 15:55:18 +00:00
Shelikhoo
0f2da63f0c
fix lint warnings in packetaddr
2022-01-03 15:55:18 +00:00
Shelikhoo
dc5cffc8b0
socks5 UDP outbound packet addr support
2022-01-03 15:55:18 +00:00
Shelikhoo
3ef7feaeaf
update version: auto replacement to v5 path
2022-01-02 15:16:23 +00:00
世界
9ee66f7efe
Add socks4/4a support
2021-09-27 21:54:29 +01:00
Jebbs
b05a469488
v5: Remove v2ctl & wv2ray (rebased from 7c1ab06206
)
2021-09-04 11:09:55 +01:00
database64128
c78ee5aac7
🏡 Housekeeping: Update to Go 1.17 ( #1215 )
...
* ⬆ Update to Go 1.17
* 🏗 Update workflows and add windows-arm64
* 💾 Update generated files
* 📛 Update not-so-friendly filenames
2021-08-21 13:20:40 +08:00
Loyalsoldier
6f8979d017
Style: format code by gofumpt ( #1022 )
2021-05-20 05:28:52 +08:00
Loyalsoldier
f94dd11a8c
Chore: change module name ( #677 )
2021-02-17 04:31:50 +08:00
database64128
0eccf52399
🧦 Fix socks client UDP outbound's wrong destination ( #522 )
...
- When you connect to a non-localhost socks5 server, in the response of a UdpAssociate from a socks5 server, the remote address may be `::` or `0.0.0.0`. The previous behavior is to connect to the remote address in the response, which obviously fails.
- This commit changes the behavior to dial to the outbound server's address when the remote address in the response is `::` or `0.0.0.0`.
- Rename `cmdUDPPort` to `cmdUDPAssociate` for clarity.
2020-12-16 04:23:40 +08:00
loyalsoldier
784775f689
Refine code according to golangci-lint results
2020-10-11 19:22:46 +08:00
loyalsoldier
f9175e3bc8
Fix according to go vet results
2020-08-26 19:35:33 +08:00
Darien Raymond
1ab94fed79
optimize v2ctl size
2019-02-01 20:08:21 +01:00
Darien Raymond
427679e66d
simplify task execution
2018-12-06 11:35:02 +01:00
Darien Raymond
128a90b98b
move link to transport
2018-11-03 12:36:29 +01:00
Darien Raymond
17e51b277b
move proxy.Dialer to internet.Dialer
2018-10-22 22:12:50 +02:00
Darien Raymond
a5dcb0f13e
refactor dependency resolution
2018-10-21 10:27:13 +02:00
Darien Raymond
b4821c5ed5
move policy and dnsClient
2018-10-11 22:34:31 +02:00
Darien Raymond
b6dc31d3fe
first part to move feature interfaces into dedicated directory
2018-10-11 20:43:37 +02:00
Darien Raymond
94b880d060
move session based info into session package
2018-09-18 23:09:54 +02:00
Darien Raymond
54e1bb96cc
introduce in-memory user
2018-08-27 00:11:32 +02:00
Darien Raymond
57966adf49
revert reader creation based on per-connection buffer
2018-08-17 20:54:25 +02:00
Darien Raymond
5e65d7da6d
more accurate memory usage when buffer = 0
2018-07-31 16:05:57 +02:00
Darien Raymond
7baa6977d3
cleanup buf interfaces
2018-07-31 13:43:27 +02:00
Darien Raymond
9977eadf8c
remove dependency from errors to session
2018-06-25 01:09:02 +02:00
Darien Raymond
13f3c356ca
unified task package
2018-05-27 13:02:29 +02:00
Darien Raymond
7fa4bb434b
fix pipe closing logic for inbound proxies.
2018-05-27 11:42:01 +02:00
Darien Raymond
b453190e58
fix lint errors in socks
2018-05-26 02:01:48 +02:00
Darien Raymond
8eb84a2025
Close outbound output stream properly. fix #1082
2018-05-11 16:36:20 +02:00
Darien Raymond
5d23604713
rewrite ray -> pipe
2018-04-17 00:31:10 +02:00
Darien Raymond
0caf92726b
better way to run tasks in parallel
2018-04-11 16:45:09 +02:00
Darien Raymond
a059ee2c00
fix lint errors
2018-02-23 17:14:20 +01:00
Darien Raymond
6b872c266c
session id
2018-02-22 15:26:00 +01:00
Darien Raymond
88b25d38cb
simplify context retrieval
2018-02-21 17:05:29 +01:00
Darien Raymond
1f8fcb558d
fix error handling in freedom, shadowsocks and socks
2018-02-19 21:38:04 +01:00
Darien Raymond
0dbfb66126
clean up dns package
2017-11-15 00:36:14 +01:00
Darien Raymond
cab5c10fc2
remove use of KeepAlive
2017-11-07 22:31:47 +01:00
Darien Raymond
3a27ff8239
increase default timeout to 5 minutes
2017-09-27 21:09:13 +02:00
Darien Raymond
6f3362fc4c
update activity
2017-04-27 22:30:48 +02:00
Darien Raymond
498c7dafdf
clean udp writer
2017-04-21 14:51:09 +02:00
Darien Raymond
ab9349ec31
rename buf.Copy
2017-04-17 22:50:02 +02:00
Darien Raymond
ac8d882a55
check number of socks servers
2017-04-11 10:35:14 +02:00
Darien Raymond
0e01e9e9ca
comments
2017-04-09 14:49:40 +02:00
Darien Raymond
35248497d2
refactor error messages
2017-04-09 01:43:25 +02:00
Darien Raymond
ade8453c0a
completely remove connection reuse feature
2017-04-07 21:54:40 +02:00
Darien Raymond
b4cd497abf
update error messages
2017-04-06 22:00:32 +02:00