Loyalsoldier
1cb9fd2999
Chore: little refinements ( #973 )
2021-05-05 07:28:09 +08:00
Shelikhoo
44514ebc1a
Merge branch 'dev-wsearlydatadiverse'
2021-05-04 22:50:06 +01:00
Shelikhoo
e0f02dcca6
add required import
2021-05-04 22:46:16 +01:00
Shelikhoo
8aff3e09a4
update tcp keep alive interval config
2021-05-04 22:39:28 +01:00
Shelikhoo
c564c84b17
set TCP keep alive only on TCP socket
2021-05-04 22:30:41 +01:00
Shelikhoo
1dfe55fac8
Merge branch 'master' of https://github.com/therealak12/v2ray-core into therealak12-master-pr962
2021-05-04 22:28:26 +01:00
Shelikhoo
00a4551637
add document for temporary API:DNSResolverFunc, DNSResolverFunc
2021-05-04 22:25:37 +01:00
rurirei
2129c6e1e9
feat: update bootstrap_dns_android ( #966 )
...
* update with non_specified network
* remove wrongs
* add alternative bootstrapDialer
* do test
* Update dns_bootstrap_android_test.go
* example of alternative dialer
* public method
* move const
* Update dns_bootstrap_android_test.go
* no duplicated
* Rename infra/conf/dns_bootstrap_android.go to transport/internet/system_dns_android.go
* Update system_dns_android.go
* Update and rename infra/conf/dns_bootstrap_android_test.go to transport/internet/system_dns_android_test.go
* no imports
* Update system_dns_android.go
* Update system_dns_android_test.go
* create systemDNS
* Create system_dns_android.go
* Update system_dialer.go
* call Resolver on systemDialer
* create system_dns_test.go
* resolver.LookupIP params
* param fix
* noneed TestSystemDNSResolver
* revert: no specified resolver
* Delete system_dns.go
* android only
* android only test
* typo
2021-05-04 22:22:01 +01:00
Shelikhoo
0fbd8a1fd1
fix coding style
2021-05-04 20:47:19 +01:00
Shelikhoo
452de7c964
apply h2 http header on server side
2021-05-04 20:32:27 +01:00
Shelikhoo
2847bc3271
Add method, header support to http2 transport
2021-05-04 20:30:09 +01:00
Shelikhoo
957d7791c4
Regenerate proto: Add method support to http2 transport
2021-05-04 20:30:09 +01:00
Shelikhoo
6e5b8dcd8f
Add method support to http2 transport
2021-05-04 20:30:08 +01:00
Shelikhoo
4701a225f4
Regenerate proto: Add header support to http2 transport
2021-05-04 20:30:08 +01:00
Shelikhoo
4b1d6ec4d1
Add header support to http2 transport
2021-05-04 20:29:54 +01:00
Ahmad Karimi
ab6480ef72
Fix: add keep alive request duration to configs
2021-05-02 23:36:30 +04:30
rurirei
1822504ed8
Fix: nullcheck on alternative systemDialer ( #959 )
...
* fix: null-check on alternative systemDialer
* delete deprecated option DualStack
2021-05-02 22:28:33 +08:00
Loyalsoldier
625a15e03b
Chore: format code by new customized goimports ( #950 )
2021-05-01 11:15:39 +08:00
Shelikhoo
d378b8c42e
add support for header based early data on server side
2021-05-01 01:32:35 +01:00
Shelikhoo
75231604c7
add support for header based early data on server side
2021-05-01 01:31:41 +01:00
Shelikhoo
54d0c3d400
added client support for header based websocket early data
2021-05-01 01:14:16 +01:00
Shelikhoo
b446001de8
update generated protobuf for websocket
2021-05-01 00:49:25 +01:00
Shelikhoo
dd5048c702
define early data header name in websocket protobuf
2021-05-01 00:48:04 +01:00
Shelikhoo
408b5adc1c
apply coding style
2021-05-01 00:41:53 +01:00
Shelikhoo
7a6f887fe3
relocated browser forwarder interface
2021-05-01 00:06:10 +01:00
Shelikhoo
50bdcc24a7
pinned cert test
2021-04-15 20:03:33 +01:00
Shelikhoo
ebb720804d
refactored cert pin
2021-04-15 20:02:48 +01:00
Shelikhoo
92b845a45b
added calculation of certificate hash as separate command and tlsping, use base64 to represent fingerprint to align with jsonPb
2021-04-15 19:01:55 +01:00
Shelikhoo
34a3850f16
publish cert chain hash generation algorithm
2021-04-15 18:17:52 +01:00
Shelikhoo
59472de6a9
verify peer cert function for better man in the middle prevention
2021-04-15 18:16:19 +01:00
Shelikhoo
e1de9c9bed
fix coding style lint
2021-04-05 19:43:28 +01:00
Shelikhoo
3a77bbdf65
fix early data listener bug
2021-04-05 19:34:22 +01:00
Bhoppi Chaw
0dcd1f4992
fix QUIC disconnecting issue ( #850 )
...
Co-authored-by: Bhoppi Chaw <bhoppi#outlook,com>
2021-04-04 16:32:56 +08:00
loyalsoldier
090a659cab
Chore: fix lint
2021-03-28 09:33:00 +08:00
loyalsoldier
a0c817888b
Chore: format code
2021-03-28 08:44:04 +08:00
loyalsoldier
24948c6520
Merge branch 'master' into dev-wsimprovement
2021-03-28 08:40:05 +08:00
mzz
5f851c05b1
fix(tproxy): the problem that cannot find ipv6 destination in redirect mode of tproxy ( #815 )
...
* fix(tproxy): the problem that cannot find ipv6 destination in redirect mode of tproxy
* chore(lint): reformat the code
* chore(lint): Codacy Static Code Analysis
2021-03-25 16:42:58 +08:00
Loyalsoldier
f3a56ca090
Feat: update lucas-clemente/quic-go to v0.20.0 ( #816 )
2021-03-22 22:26:30 +08:00
Shelikhoo
af641f3219
added browser forwarder early data
2021-03-20 22:03:43 +00:00
Loyalsoldier
9e9173acb4
Chore: update protobuf & dependencies ( #793 )
...
* Chore: update protobuf
* Chore: regenerate mock files
* Chore: update dependencies
* Chore: use Go v1.16.2 and later
2021-03-18 12:17:26 +08:00
Shelikhoo
1eaec6818a
Fix max delay unintentionally low
2021-03-16 12:49:23 +00:00
Loyalsoldier
4028a09e70
Revert "Test: fix http2 dial timeout ( #570 )" ( #778 )
...
* Revert "Test: fix http2 dial timeout (#570 )"
This reverts commit 405a051c50
.
* Feat: lower the payload size
* Remove state.NegotiatedProtocolIsMutual
It has been deprecated since Go 1.16 because it shouldn't be used: this value is always true.
2021-03-15 16:57:33 +08:00
maskedeken
fb9a5a136b
Add remote address to grpc transport layer conn ( #783 )
...
* Add remote address to grpc transport layer conn
* go fmt
2021-03-15 16:50:09 +08:00
Loyalsoldier
e46204f828
Chore: fix lint according to golangci-lint errors ( #781 )
...
* Chore: fix lint according to golangci-lint errors
* Chore: regenerate pb.go files
2021-03-14 07:44:47 +08:00
Loyalsoldier
88e1e25aa9
Chore: format import using goimports ( #780 )
2021-03-14 07:09:51 +08:00
Shelikhoo
971eddaa12
fix applied wrong name, and wrong varible name
2021-03-11 15:02:31 +00:00
Xiaokang Wang
aaa9e788e7
Grpc Gun Transport ( #757 )
...
* introduce grpc transport structure
* fix package name inconsistency
* grpc gun transport dialer and listener
* add selective build tag
* add grpc:gun listener
* add grpc:gun config
* add generated files
* various bug fix for gun:grpc transport
* Cache dialed connections
* grpc:gun Use V2Ray Managed Dial function
* Update destination.pb.go
* Update gun.go
* GunSettings -> GunConfig
* gu -> gs
* add grpc alias
Co-authored-by: RPRX <63339210+rprx@users.noreply.github.com>
Co-authored-by: kslr <kslrwang@gmail.com>
2021-03-11 16:46:17 +08:00
Loyalsoldier
e03947e6b0
Chore: update protobuf & dependencies ( #748 )
2021-03-08 05:12:27 +08:00
Shelikhoo
867bbb429e
create session content in the context if do not exist yet
2021-03-06 14:33:20 +00:00
Shelikhoo
e8ac0412a5
workaround crash when V is not in context
2021-03-05 16:27:02 +00:00