1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 18:17:52 -05:00
Commit Graph

4518 Commits

Author SHA1 Message Date
vcptr
ceb77ac8f5 only add to ipIndexMap if GeoIP is configured
clearer logging for expectIPs

refactor dns init code

optimal to default port logic

clear message exit if doh met error
2019-11-26 13:05:19 +08:00
vcptr
6ef77246ab add DOH dns client 2019-11-25 15:41:36 +08:00
Kslr
7313089539
Merge pull request #2043 from vcptr/testbuf
more test code
2019-11-22 20:28:23 +08:00
vcptr
3b9514ec9f minor optm 2019-11-22 17:57:16 +08:00
vcptr
fa30713e76 minor changes to dns from pr #2037 2019-11-22 17:40:24 +08:00
vcptr
905ac82bb1 more test to common/buf 2019-11-22 17:40:24 +08:00
Kslr
ec9cf059e8
Merge pull request #2041 from mellow-io/fix-reader
properly propagate Reader errors
2019-11-22 17:22:47 +08:00
ghost
8da0a53845 properly propagate Reader errors 2019-11-22 10:11:23 +08:00
Kslr
e52d3fa90b
Merge pull request #2037 from weaving118/master
add ip match feature for dns
2019-11-21 22:15:26 +08:00
weaving118
debb7f0c44
ignore if domain already lookup failed 2019-11-21 02:32:09 +08:00
weaving118
1345185b81
add errExpectedIPNonMatch and return nil if empty response 2019-11-21 01:09:23 +08:00
Kslr
44aafae19e
Merge pull request #2039 from v2fly/fixconftest
fix test failed on logger position
2019-11-20 22:01:38 +08:00
weaving118
e916a3b29d
update confip ip to expectIPs 2019-11-20 17:20:33 +08:00
vcptr
47a5c970fc fix test failed on logger position 2019-11-20 15:08:20 +08:00
Kslr
c94f5f66a6
Merge pull request #2038 from vcptr/earlylog
Earlylogger
2019-11-19 18:26:17 +08:00
vcptr
54f903040a early inited log 2019-11-19 14:06:25 +08:00
vcptr
901e4837ad logger module start firstly 2019-11-19 14:06:20 +08:00
weaving118
101f5d32fa
add ip match feature for dns 2019-11-18 23:48:42 +08:00
Kslr
7f40be7567
Merge pull request #2002 from forever8938/master
Support external domain file for dns hosts
2019-11-12 01:55:28 +08:00
Kslr
9a06ff8f91
Merge pull request #2005 from mellow-io/fix-read
fix ReadBuffer()
2019-11-05 18:35:58 +08:00
ghost
f7abe353df fix ReadBuffer() 2019-11-03 17:37:44 +08:00
forever8938
6bfe044cfa
Support external domain file for dns hosts 2019-11-02 15:49:29 +08:00
kslr
5e1d8f8e69 release 4.21.3 2019-10-28 23:12:46 +08:00
Kslr
e55f1c5722
Merge pull request #1981 from v2ray/revert-1893-patch-1
Revert "Fix self-signed certificates on Windows"
2019-10-28 23:00:29 +08:00
Kslr
ae04c402da
Revert "Fix self-signed certificates on Windows" 2019-10-28 23:00:09 +08:00
Kslr
8a36846869
Merge pull request #1975 from fcying/access_log_add_detour_tag
check detour tag size
2019-10-27 23:29:36 +08:00
fcying
1cc7702c51 check detour tag size 2019-10-27 23:14:08 +08:00
Kslr
876e2fcc73
Merge pull request #1904 from hex2tan/master
fixed add new vmess user bug
2019-10-27 15:27:03 +08:00
Kslr
5bb4efd126
Merge pull request #1893 from lixin9311/patch-1
Fix self-signed certificates on Windows
2019-10-27 15:23:39 +08:00
kslr
bf6cf0bc75 release 4.21.2 2019-10-27 15:00:59 +08:00
Kslr
e34266b784
Merge pull request #1973 from fcying/access_log_add_detour_tag
access log add detour tag
2019-10-27 14:57:01 +08:00
fcying
fa926a1d1d access log add detour tag 2019-10-27 14:24:50 +08:00
kslr
85d2c69241 release 4.21.1 2019-10-26 18:54:37 +08:00
Kslr
1ebaca3bf3
Merge pull request #1966 from v2fly/tlsohttp
fix: allow tls outbound http proxy outbound
2019-10-25 18:03:12 +08:00
vcptr
385fed08de fix: allow tls outbound http proxy outbound 2019-10-25 18:00:01 +08:00
kslr
5e14afd293 release 4.21.0 2019-10-24 22:46:10 +08:00
Kslr
d0ac3e9d8e
Merge pull request #1940 from enihcam/master
Add SO_REUSEPORT (kernel level load balance) support
2019-10-19 12:19:09 +08:00
Kslr
98fd5eafbf
Merge pull request #1955 from v2fly/nonext
migrate to go mod to maintain 3rd party libs
2019-10-19 12:18:09 +08:00
vcptr
854f97fb78 remove script's fiddling 2019-10-19 11:12:11 +08:00
vcptr
c022ce610e add doc under external 2019-10-19 10:38:27 +08:00
vcptr
fa0a21f0dd external module refraction-networking/utls use mod version 2019-10-19 10:22:49 +08:00
vcptr
5d9e2e69a9 external module gorilla/websocket use mod version 2019-10-19 10:05:40 +08:00
Kslr
31a647bcf0
Merge pull request #1950 from keepalivesrc/patch-2
Websocket Read Limit Fix
2019-10-18 17:54:04 +08:00
keepalivesrc
01c7bba529
Delete conn_test.go 2019-10-16 16:58:07 -07:00
keepalivesrc
3b2d63d8d3
update TestReadLimit sub-test 2019-10-16 16:52:41 -07:00
Nicholas Wang
607425b9bb
Merge pull request #1951 from nicholascw/master
new telegram group link in release/doc/readme.md
2019-10-16 16:15:54 -05:00
Nicholas Wang
bc828b2986
new telegram group link 2019-10-16 16:14:23 -05:00
Kslr
0d213ff077
Merge pull request #1949 from keepalivesrc/patch-1
fix typos
2019-10-17 03:19:57 +08:00
keepalivesrc
96dc2c1c81
websocket Read Limit Fix
This fix addresses a potential denial-of-service (DoS) vector that can cause an integer overflow in the presence of malicious WebSocket frames.

The fix adds additional checks against the remaining bytes on a connection, as well as a test to prevent regression.

Credit to Max Justicz (https://justi.cz/) for discovering and reporting this, as well as providing a robust PoC and review.

* bugfix: fix DoS vector caused by readLimit bypass
* bugfix: payload length 127 should read bytes as uint64
* bugfix: defend against readLength overflows
2019-10-16 01:14:01 -07:00
keepalivesrc
ac481e6842
fix typos 2019-10-16 01:04:35 -07:00