1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-23 02:26:49 -05:00
Commit Graph

1058 Commits

Author SHA1 Message Date
秋のかえで
b9a8a7e237
Feat: add transport original name to listen unix (#2048) 2022-10-08 09:04:05 +08:00
秋のかえで
5593fdee09
Feat: add bind to device to Windows and Darwin (#1972) 2022-10-08 09:03:51 +08:00
Shelikhoo
137cd7093c
chore: regenerate protobuf file 2022-09-06 20:36:27 +01:00
秋のかえで
05df03edc0
Feat: increase idle timeout to 300s for udp split (#1903) 2022-08-19 20:12:30 +08:00
秋のかえで
3dd347f9d2
Chore: bump github.com/lucas-clemente/quic-go from 0.27.0 to 0.28.0 2022-07-15 11:13:44 +08:00
世界
fc6ae4d4e7
Fix lint 2022-06-28 21:36:12 +08:00
Huang-Huang Bao
02c8b04230 Fix: correct TCP keepalive sockopt names for darwin
Fixes: a0eb84dbff
2022-06-25 19:45:18 +01:00
Shelikhoo
4e24784082
Add JsonV5 support for QUIC: auto generated 2022-05-12 23:05:08 +01:00
Shelikhoo
7deca02977
Add JsonV5 support for QUIC 2022-05-12 23:05:07 +01:00
Shelikhoo
52ea2b0146
Fix TLS Client Certificate Verify Not Applied 2022-05-03 15:23:33 +01: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
秋のかえで
552936674c
Style: formart code by gofumpt 2022-04-07 00:06:46 +08:00
秋のかえで
2332513471
Chore: fix gofumpt lint (#1719) 2022-04-06 23:48:16 +08:00
1ocalhost
64a780bba6
Fix: net.Address type checking (#1629)
Allow zero port for listening port, namely random port.
2022-04-06 13:42:25 +08:00
yuhan6665
7bcb3c901b
Fix client dialer log (#1568)
* Fix client dialer log

Log such as:
tunneling request to tcp:www.google.com:80 via tcp:x.x.x.x:443
the second "tcp" is misleading when using mKcp or quic transport

Remove the second "tcp" and add the correct logging for transport dialer:
- transport/internet/tcp: dialing TCP to tcp:x.x.x.x:443
- transport/internet/quic: dialing quic to udp:x.x.x.x:443

* Update transport/internet/quic/dialer.go

Co-authored-by: 秋のかえで <autmaple@protonmail.com>

Co-authored-by: 秋のかえで <autmaple@protonmail.com>
Co-authored-by: Kslr <kslrwang@gmail.com>
2022-04-06 13:24:43 +08:00
秋のかえで
84c31ba87f
Chore: bump github.com/lucas-clemente/quic-go from 0.26.0 to 0.27.0 (#1716) 2022-04-06 12:59:25 +08:00
dyhkwong
5ce71e0652
Feat: make gRPC dialer accept socket config (#1697) 2022-04-06 12:26:04 +08:00
Shelikhoo
4357719480 apply sockopt rename 2022-01-23 20:33:01 +00:00
Shelikhoo
190a8e7ed7 rename sockopt options: auto generated 2022-01-23 20:33:01 +00:00
Shelikhoo
1fc7c5731a rename sockopt options 2022-01-23 20:33:01 +00:00
Shelikhoo
547b4fb49b rewrite sockopt rxtx buf size message for darwin, freebsd 2022-01-23 20:33:01 +00:00
Shelikhoo
16a44f65be add socksopt rxtxbuf for freebsd 2022-01-23 20:33:01 +00:00
Shelikhoo
1a004529d9 apply coding style for keep alive sockopt in freebsd 2022-01-23 20:33:01 +00:00
Shelikhoo
1a35c1dc69 add socksopt rxtxbuf for freebsd 2022-01-23 20:33:01 +00:00
Shelikhoo
7dc8559f1c add socksopt rxtxbuf for windows 2022-01-23 20:33:01 +00:00
Shelikhoo
eb0b52fdfa add socksopt bindToDevice, rxtxbuf for linux 2022-01-23 20:33:01 +00:00
Shelikhoo
ccab22b863 add force buffer size sockopt option: auto generated 2022-01-23 20:33:01 +00:00
Shelikhoo
e088086abf add force buffer size sockopt option 2022-01-23 20:33:01 +00:00
Shelikhoo
1019ae36c2 refactor linux socket opts 2022-01-23 20:33:01 +00:00
Shelikhoo
434d8a49a0 add bind to device, socket buf size setting to socket options: auto generated 2022-01-23 20:33:01 +00:00
Shelikhoo
84f2d47c74 add bind to device, socket buf size setting to socket options 2022-01-23 20:33:01 +00:00
世界
093a4d6a82
fix error formatting in sockopt 2022-01-16 20:39:29 +00:00
Shelikhoo
84c428c226 adapt style recommendations for keep alive control
From: https://github.com/v2fly/v2ray-core/pull/1484#discussion_r777456773 https://github.com/v2fly/v2ray-core/pull/1484#discussion_r777270291
2022-01-16 13:31:44 +00:00
ValdikSS
a0eb84dbff Separate TcpKeepAliveIdle and TcpKeepAliveInterval check logic 2022-01-16 13:31:44 +00: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
d068b60791 shadowsockets fullcone outbound support 2022-01-03 15:55:18 +00:00
Shelikhoo
690b4924ae add packetaddr support for socks 2022-01-03 15:55:18 +00:00
Shelikhoo
ec9b64e5ec Add packet addr dispatcher 2022-01-03 15:55:18 +00:00
Shelikhoo
6ff1cfa253 add Closable to dispatcher interface 2022-01-03 15:55:18 +00:00
Shelikhoo
bf8a0b7290 apply dispatcher interface 2022-01-03 15:55:18 +00:00
Shelikhoo
ac65036808 refactor UDP dispatcher to support fullcone dispatcher 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
秋のかえで
423d566024
fix typo 2021-12-23 13:14:43 +08:00
Bo He
79f751662c
fix typo (#1475) 2021-12-22 22:51:11 +08:00
世界
fa61371102
Fix log usage 2021-12-12 18:10:21 +08:00
Shelikhoo
b960d3f1fb Add tcp transport registration 2021-11-28 22:49:16 +00:00
Shelikhoo
718922b047 use sys/unix instead of syscall
Suggestion from:
https://github.com/v2fly/v2ray-core/pull/1395#issuecomment-974761647
2021-11-28 22:49:02 +00:00
Shelikhoo
a47fcffe50 use sys/unix instead of syscall
Suggestion from:
https://github.com/v2fly/v2ray-core/pull/1395#issuecomment-974761647
2021-11-28 22:49:02 +00:00
Shelikhoo
44272fa82f embed macOS const to avoid platform inconsistency(again) 2021-11-28 22:49:02 +00:00