Commit Graph

828 Commits (2cc8c1aa01f03d2495cbfccda868574439c44953)

Author SHA1 Message Date
Darien Raymond 2020bbe606
prototype for reverse proxy
6 years ago
Darien Raymond 53870f1ea7
refactor mux client worker
6 years ago
Darien Raymond 284923664a
split worker picker from client manager
6 years ago
Darien Raymond f122d0e518
update proto generated files
6 years ago
Darien Raymond 9e66f315e6
update mocks
6 years ago
Darien Raymond 4988b5ad9a
update protbuf gen files
6 years ago
Darien Raymond 5fc606ce9d
relocate mocks
6 years ago
Darien Raymond 838f2919ab
move mux to common
6 years ago
Darien Raymond c2566e1331
cleanup unused scenarios
6 years ago
Darien Raymond 17e51b277b
move proxy.Dialer to internet.Dialer
6 years ago
Darien Raymond ed2779e333
more test case for router
6 years ago
Darien Raymond 39134c1b82
remove unnecessary sleep
6 years ago
Darien Raymond f78cf6cfc2
testing with mock
6 years ago
Darien Raymond 307aac26b3
simplify dependency resolution
6 years ago
Darien Raymond 9decb3fe36
comments
6 years ago
Darien Raymond ab9ae703fc
remove config from outbound.Handler
6 years ago
Darien Raymond c29f1c8cf0
merge duplicated code
6 years ago
Darien Raymond a5dcb0f13e
refactor dependency resolution
6 years ago
Darien Raymond fb7dd1a577
fix #1322
6 years ago
Darien Raymond dcae6c63dd
move size stats writer into vio
6 years ago
Darien Raymond 33becfe553
comments
6 years ago
Darien Raymond 595f3d685e
merge user info inbound metadata
6 years ago
Darien Raymond cb8e7dc9a0
comments
6 years ago
Darien Raymond e2bfdec012
rename ReadFrom to Unmarshal
6 years ago
Darien Raymond abf0cb1ec4
move function to features
6 years ago
Darien Raymond d730637239
Require Type() for Feature
6 years ago
Darien Raymond c3170dfc8e
fix dns client
6 years ago
Darien Raymond b4821c5ed5
move policy and dnsClient
6 years ago
Darien Raymond 273342d0b9
move stats and inbound to features directory
6 years ago
Darien Raymond b6dc31d3fe
first part to move feature interfaces into dedicated directory
6 years ago
Iskander Sharipov 4dfe45ec19 app/router: rewrite if-else chain to switch
6 years ago
Darien Raymond 091fa6ad23
use new errorgen
6 years ago
Darien Raymond 56ce5d5f84
use new context
6 years ago
Darien Raymond d55fbd7f8d
simplify error creation
6 years ago
Darien Raymond 00ea6e3cb2
update protobuf generated files
6 years ago
Darien Raymond f9f8c21a07
move framemeta onto stack
6 years ago
Darien Raymond 9d646d6039
support tproxy in tcp connections
6 years ago
Darien Raymond 909cb9b27a
announce deprecated proto settings
6 years ago
Darien Raymond 5649c7ba2d
support regex domain type in dns
6 years ago
Darien Raymond 94b880d060
move session based info into session package
6 years ago
Darien Raymond 383b84e7dd
unified tproxy option
6 years ago
Darien Raymond d068f357bd
update proto lib
6 years ago
Darien Raymond f9436b3556
skip DNS tests on windows
6 years ago
Darien Raymond 813fdb6235
Revert "move away from dns.Server.ListenAndServe"
6 years ago
Darien Raymond f0a801142d
move away from dns.Server.ListenAndServe
6 years ago
Darien Raymond dad0892a39
wait until dns server is up
6 years ago
Darien Raymond 156af4241d
add some logs
6 years ago
Darien Raymond b3847fb7c0
MemoryStreamSettings
6 years ago
Darien Raymond 91109f3657
replace channel with pipe in udp conn
6 years ago
Darien Raymond 1be86e6e3a
update activity in ReadMultiBuffer
6 years ago
Darien Raymond de74460f15
extract logic for write frame
6 years ago
Darien Raymond eb05a92592
dont start periodic task until necessary
6 years ago
Darien Raymond 89fa9367ba
release buffer on error
6 years ago
Darien Raymond ce96941029
reduce waiting time on sniffing
6 years ago
Darien Raymond 54e1bb96cc
introduce in-memory user
6 years ago
Darien Raymond f227e85b54
support per-domain prioritized name server
6 years ago
Darien Raymond 128ec95218
merge stread reader from mux to crypto
6 years ago
Darien Raymond 4e30ac33d0
reduce delay on passive connections
6 years ago
Darien Raymond d828aa2fba
add full domain matching
6 years ago
Darien Raymond 059dfdbb97
doc for strmatcher interface
6 years ago
Darien Raymond fca324a399
fix build break
6 years ago
Darien Raymond edcf564dd7
improve performance of domain matcher
6 years ago
Darien Raymond fdb3a7b57d
remove use of buf.NewSize()
6 years ago
Darien Raymond 053fc38d38
refine udp hub api
6 years ago
Darien Raymond c0fc277551
fix mux closing logic
6 years ago
Darien Raymond ef679bddbd
test case
6 years ago
Darien Raymond 200ce404c6
fix buffer settings
6 years ago
Darien Raymond 206f52affc
refine buffer interface
6 years ago
Darien Raymond 4b63638dca
update protobuf lib
6 years ago
Darien Raymond cd7a8595d9
fix #1207
6 years ago
Darien Raymond 72b4fa4a14
fix #1205
6 years ago
Darien Raymond 6276bfa508
rename domain override
6 years ago
Darien Raymond ecd45ffb65
propagate error when adding domain condition
6 years ago
Darien Raymond c0e37ef34a
prototype for new sniffing mechanism
6 years ago
Darien Raymond b288b3c773
grpc for QueryStats
6 years ago
Darien Raymond e3cc852c57
udp dispatcher takes context with dispatching requests. fixes #1182.
6 years ago
Darien Raymond 463a9cbef8
tweak dns options
6 years ago
Darien Raymond 4c18b61e6c
fix dns query for CNAME
6 years ago
Darien Raymond 4368edf87c
switch to pubsub in dns service
6 years ago
Darien Raymond b05597df3a
fix passive connection in mux. fix #1167
7 years ago
Darien Raymond c9e35bb1ba
fix localnameserver creation
7 years ago
Darien Raymond 69820788b5
fix #1165
7 years ago
Darien Raymond 4477e7436b
simplify client ip design
7 years ago
Darien Raymond d5f7728acd
support subdomain matching in dns hosts
7 years ago
Darien Raymond cb0eb91f2b
strmatcher
7 years ago
Darien Raymond ed34adf967
set udp size in edns
7 years ago
Darien Raymond e9e9de55ac
support client subnet
7 years ago
Darien Raymond ff0ae91b9b
update protobuf generated files
7 years ago
Darien Raymond f743b1e591
remove task member in dns.Server.
7 years ago
Darien Raymond 2fb77d6911
consume context in local nameserver.
7 years ago
Darien Raymond 9cfb2bfd51
simplify classic dns server
7 years ago
Darien Raymond 9977eadf8c
remove dependency from errors to session
7 years ago
Darien Raymond 70abb689bf
relace Notifier with Done
7 years ago
Darien Raymond b01180b913
fix lint warnings
7 years ago
Darien Raymond ee0ca6cbd2
fix a deadlock
7 years ago
Darien Raymond 4a46817cf6
optimize map usage
7 years ago
Darien Raymond adade2bffd
fix lint warnings
7 years ago
Darien Raymond daa790582f
update uplink traffic in read multibuffer
7 years ago
Darien Raymond ac6a0f7511
update activity timer
7 years ago
Darien Raymond 46dbbfff8c
fix reading in udp conn
7 years ago
Darien Raymond 13f3c356ca
unified task package
7 years ago
Darien Raymond cad07c3a83
faster udp reading
7 years ago
Darien Raymond fde877e276
fix lint errors
7 years ago
Darien Raymond 483a56c847
adjust lint settings
7 years ago
Darien Raymond 67f5292f38
fix lint errors
7 years ago
Darien Raymond 65bd8509d7
fix buffer policy settings
7 years ago
Darien Raymond b24e808a8a
fix pipe related tests
7 years ago
Darien Raymond 213f827406
policy for internal buffer size
7 years ago
Darien Raymond 68da956fc4
re-generate code
7 years ago
Darien Raymond 0b5c638028
sniff on TCP only
7 years ago
Darien Raymond f9c794c795
fix lint errors
7 years ago
Darien Raymond 148a7d064d
simplify buf.BufferedReader
7 years ago
Darien Raymond d7aeb51904
merge http.Connection into net.Connection
7 years ago
Darien Raymond 3997d13b97
rename Slice and Slice from to Resize and Advance
7 years ago
Darien Raymond 1425fd2ba9
remove Buffer.Append method
7 years ago
Darien Raymond 1d001c090b
comments
7 years ago
Darien Raymond a8aab30e6b
fix done.Close() in defer
7 years ago
Darien Raymond 8e62134bdf
fix draining in mux
7 years ago
Darien Raymond be1c175de6
fix lint warnings
7 years ago
Darien Raymond 0c66016d5f
fix a regression that mux doesn't handle passive connection. fixes #1061
7 years ago
Darien Raymond ef1d9d24cd
fix test break
7 years ago
Darien Raymond 5d23604713
rewrite ray -> pipe
7 years ago
Darien Raymond d6dc88860b
simplify done api
7 years ago
Darien Raymond f175d322ae
fix lint warnings
7 years ago
Darien Raymond c76d492c0f
stats counter for inbound traffic
7 years ago
Darien Raymond d2470e2cdb
fix lint errors
7 years ago
Darien Raymond 622cb529a9
include base error
7 years ago
Darien Raymond a320196b77
refine domain socket transport
7 years ago
DarienRaymond 61d9b04ca5
Merge pull request #1019 from v2ray/domainsocket
7 years ago
Darien Raymond 83625618ee
re-init maps when they are empty
7 years ago
Darien Raymond 758723516e
reorder condition list to short circuit IP resolution if possible.
7 years ago
Darien Raymond 7315b2c647
fix mux test
7 years ago
Darien Raymond 435be61661
fix error handling in mux
7 years ago
Shelikhoo 6d1faf5f6e
Remove staging code
7 years ago
Shelikhoo c542c043f3
Merge branch 'master' of github.com:v2ray/v2ray-core into domainsocket
7 years ago
Shelikhoo 12012cd4df
Testing and fixs
7 years ago
Shelikhoo 8b881d7eb6
Rename to prevent confusion
7 years ago
Darien Raymond 2b675335bd
properly handle error case
7 years ago
Shelikhoo d08929a687
finish up dial
7 years ago
Darien Raymond 79c1087311
change status to option
7 years ago
Darien Raymond 75a7e9c7f5
comments
7 years ago
Darien Raymond 90c6113dfc
handle transport errors in mux session
7 years ago
Shelikhoo 176a5c0d44
generalize interface
7 years ago
Shelikhoo 7e96581921
Added integration
7 years ago
Shelikhoo c51830bd75
Added UnixSenderConfig
7 years ago
Darien Raymond a3f47f4fa2
comments
7 years ago
Darien Raymond 9f198d7e3d
fix lint errors
7 years ago
DarienRaymond 8bc20c8656
Merge pull request #1013 from wuxiangzhou2010/master
7 years ago
wuxiang 3f19d09878 update some comments
7 years ago
Darien Raymond c5bd23105e
change uint32 to int32
7 years ago
Darien Raymond 81a147e540
Merge branch 'master' of https://github.com/v2ray/v2ray-core
7 years ago
Darien Raymond 08dab81eb2
migrate int to int32
7 years ago
wuxiangzhou2010 a58063e7ac fix typo, first sound of user is not a vowel, but the consonant /j/
7 years ago
Darien Raymond 4de3f1adc1
change ReadFullFrom to take int32 size
7 years ago
Darien Raymond 6d98bc4607
split uplink and downlink traffic
7 years ago
Darien Raymond 0975e26ed1
command handler for stats
7 years ago
Darien Raymond e5a5c30b67
support stats counter in dispatcher
7 years ago
Darien Raymond 695a4f8493
support stats in policy
7 years ago
Darien Raymond f7dd7e6279
support stats counter in ray stream
7 years ago
Darien Raymond 35e160a1ff
stats feature
7 years ago
Darien Raymond fa63beceb6
fix double release on buffers
7 years ago
Darien Raymond 12181f527f
defensive fix for improper usage of buf.New().
7 years ago
Shelikhoo a00c0764e5
Pass unused data into Receiver
7 years ago
Jinqiu Yu 33e090befe Clean useless code
7 years ago
DarienRaymond bf5e93efd7
Merge pull request #968 from wuxiangzhou2010/master
7 years ago
Wuxiang e8438a522a
fix typo
7 years ago
Shelikhoo 09bf78a089
notify progressTraffic to quit
7 years ago
Shelikhoo 3e05a3529a
finish UnixInboundHandler
7 years ago
Shelikhoo 8e5063dedf
(Sync Commit)
7 years ago
DarienRaymond a8a68c2e70
Merge pull request #962 from yujinqiu/fix-typo
7 years ago
Jinqiu Yu 855925a805 Fix typo
7 years ago
Darien Raymond 5a227ec356
int to int32
7 years ago
Darien Raymond 1cbfeea0cd
simplify NewSize calls
7 years ago
Darien Raymond 994aecd13c
rename NewLocal to NewSize
7 years ago
Darien Raymond f97e6fa3d2
refine buffer allocation
7 years ago
Shelikhoo 43abfc9463
Unix listeners(sync commit)
7 years ago
Darien Raymond 649119493b
remove pending request from cache when error. fixes #942
7 years ago
Darien Raymond fbc025869b
fix lint errors
7 years ago
Darien Raymond e1bdca446d
fix context reference
7 years ago
Darien Raymond 59958fed68
refactor udp worker
7 years ago
DarienRaymond 0179b73de3
Merge pull request #884 from yujinqiu/fix-sniffer-typo
7 years ago
Jinqiu Yu 861ff94e5e Fix sniff typo
7 years ago
Darien Raymond c43a5e7d85
use AddressParser in mux
7 years ago
Darien Raymond 0a3b3d0b6d
refactor UDPNameServer clean up task
7 years ago
Darien Raymond 6b872c266c
session id
7 years ago
Darien Raymond 7e6b45ace4
format
7 years ago
Darien Raymond 88b25d38cb
simplify context retrieval
7 years ago
Darien Raymond 3734195156
fix log test
7 years ago
Darien Raymond f0849543ed
remove commander from core feature
7 years ago
Darien Raymond c25a76a0cf
integration test case for policy
7 years ago
Darien Raymond 446059f8dc
fix error handling in outbound handler
7 years ago
Darien Raymond 39cfc982b5
test case for policy
7 years ago
Darien Raymond 5bd3cee371
gofmt
7 years ago
Darien Raymond 84f8192b61
fix default logger
7 years ago
Darien Raymond c48fa50ab1
logger service
7 years ago
Darien Raymond 1e0b35f869
fix nil reference in udp worker
7 years ago
Darien Raymond 31d1fb6cc3
fix lint errors
7 years ago
Darien Raymond ae395bbe1f
increase udp hub capacity
7 years ago
Darien Raymond 7391b2439e
simplify udp hub
7 years ago
Shelikhoo 91f32cc8c4
Auto Gen
7 years ago