Commit Graph

764 Commits (854f97fb78755c661e698c48e96552d17c078b9b)

Author SHA1 Message Date
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
Shelikhoo 5e0ed59599
added function stub for UnixReceiverHandler Instancer
7 years ago
Shelikhoo 7f34cbdaff
Add Generated Files
7 years ago
Shelikhoo 7b51a56c33
Fix pb err
7 years ago
Shelikhoo 7afd26a78f
Type switch for UnixReceiver
7 years ago
Shelikhoo 71c3e81a7e
Rebase: Add domainsocket receiver config
7 years ago
Darien Raymond 92aef24f98
remove unnecessary proxy functions
7 years ago
Darien Raymond c1fc7c738a
fix command listener
7 years ago
Darien Raymond d9040b571d
decouple commander interface from grpc
7 years ago
Darien Raymond 495ae1c5e3
implement remove user operation
7 years ago
Darien Raymond 862f9a152e
comments and refactoring
7 years ago
Darien Raymond b5facc0ca5
remove context from mux.Client
7 years ago
Darien Raymond 32f1ba7c7e
properly start and close outbound handlers
7 years ago
Darien Raymond dffaef60b4
use periodic task in dns.Server
7 years ago
Darien Raymond 9a46cf37fb
fix default outbound handler
7 years ago
Darien Raymond efcb567273
remove context in struct
7 years ago
Darien Raymond 8b83bf2283
comments and test cases.
7 years ago
Darien Raymond 8b5fe1a13b
correct handler running status
7 years ago
Darien Raymond deaee9fa65
test case for removing handler on the fly
7 years ago
Darien Raymond 3a0f211c22
gofmt
7 years ago
Darien Raymond 1e6d5561cc
prototype of commander
7 years ago
Darien Raymond 384844f898
fix #840
7 years ago
Darien Raymond b5caea67ac
gofmt
7 years ago
Darien Raymond ddb6437976
remove unused code
7 years ago
Darien Raymond efc8c23207
support dial for v2ray instance
7 years ago
Darien Raymond 68ef98a35d
remove unused code
7 years ago
Darien Raymond 6a7887b655
fix LocalNameServer
7 years ago
Darien Raymond 292d7cc353
massive refactoring for interoperability
7 years ago
Darien Raymond 24395a3e60
comments for protos.
7 years ago
Darien Raymond bc52a105ff
rename dns.Server
7 years ago
Darien Raymond 2bf5a008f0
fix error levels
7 years ago
Darien Raymond a82ca019b2
release script relocation
7 years ago
Darien Raymond e736c08794
report pack error instead of panic
7 years ago
Darien Raymond 2b8cc43cb4
fix a typo
7 years ago
Darien Raymond 11d726f9bf
refine log handlers
7 years ago
Darien Raymond 35545cb2db
fix test
7 years ago
Darien Raymond 7078f23291
fix nil pointer on close().
7 years ago
Darien Raymond c277c6de54
fix test
7 years ago
Darien Raymond ab4f245313
overrideable dns
7 years ago
Darien Raymond 49056d22ac
remove unused function
7 years ago
Darien Raymond 49b270152a
register logger on start
7 years ago
Darien Raymond f4c35db968
merge log into common log
7 years ago
Darien Raymond 484bdeecc9
comments
7 years ago
Darien Raymond 6797483fe0
remove unused web server
7 years ago
Darien Raymond 742d9d25d1
migrate to new severity def
7 years ago
Darien Raymond d43a23aa96
move error generator to common
7 years ago
Darien Raymond 5e27e3d260
gofmt
7 years ago
Darien Raymond 21bcf64f0f
comments
7 years ago
Darien Raymond fd8db49dc9
generalized event handler
7 years ago
Darien Raymond 973ce07db9
fix proto merging logic
7 years ago
Darien Raymond f90ec9fff0
rename interfaces
7 years ago
Darien Raymond 3214a5078c
customizable policy
7 years ago
Darien Raymond 6de4ef014a
read directly from underlying buffered reader in mux
7 years ago
Darien Raymond 1226f3ce39
more test cases
7 years ago
Darien Raymond 619f4eae59
remove vpndialer from core. will be added through plugin
7 years ago
Darien Raymond afacee9e05
refactor
7 years ago
Darien Raymond 8fb69fc2b6
send IPv6 query only to supported server.
7 years ago
Darien Raymond 878d412c6a
handle truncated DNS messages. fix #713
7 years ago
Darien Raymond 88b521c77e
remove debug info
7 years ago
Darien Raymond aa2c1f76f4
remove unused function
7 years ago
Darien Raymond 26f005e822
resolve to ip on demand
7 years ago
Darien Raymond 0dbfb66126
clean up dns package
7 years ago
Darien Raymond 594ec15c09
cleanup buffer usage
7 years ago
Darien Raymond 66b82e4ab7
cleanup MultiBuffer
7 years ago
Darien Raymond ead3fa09e5
release buffer on error
7 years ago