Commit Graph

635 Commits (813fdb6235b9c7abbf4b592959868913493b28af)

Author SHA1 Message Date
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
Darien Raymond cab5c10fc2
remove use of KeepAlive
7 years ago
Darien Raymond c1eccb3a45
safe release buffer
7 years ago
Darien Raymond 57648c145c cachable domain matcher: step 2
7 years ago
Darien Raymond 6b77e14bf6 cachable domain matcher, step 1
7 years ago
Darien Raymond 682319a004 proto def for geosite
7 years ago
Darien Raymond 3545d20b1c protobuf for geoip
7 years ago
Darien Raymond c3fc27f7a1 comments
7 years ago
Darien Raymond 5901192a58 fix udp in transparent proxy
7 years ago
Darien Raymond 27c099dd37 simplify metadata reader
7 years ago
Darien Raymond a1cf299848 reduce memory allocation in mux
7 years ago
Darien Raymond d6e9162f78 trace outstanding error only
7 years ago
Darien Raymond 0f27e0b4d3 close outbound ray on error
7 years ago
Darien Raymond 74cf833758 fully migrate to new assertion lib
7 years ago
Darien Raymond 26818a2602 fix domain length issue for all proxies
7 years ago
Darien Raymond 9f392eb506 avoid long domain names in mux
7 years ago
Darien Raymond 24089bfad0 remove duplicated address type def
7 years ago
Darien Raymond f1a15e92f5 apply bitmask to other packages
7 years ago
Darien Raymond 8c6f73f30b bitmask
7 years ago
Darien Raymond 948534f480 reduce memory consumption of mux.Writer
7 years ago
Darien Raymond 9df5ac6e4f fix frame meta
7 years ago
Darien Raymond aa5e06a26e reduce memory consumption of frame meta
7 years ago
Darien Raymond 7f4296cd78 assert meta is nil on error
7 years ago
Darien Raymond badc77a7f7 return proper error in drain
7 years ago
Darien Raymond 103cb48692 test case for SessionManager.Size()
7 years ago
Darien Raymond 95c469c1fd handle proxy error in mux client
7 years ago
Darien Raymond 52ad41cda3 completely move away from net package
7 years ago
Darien Raymond 815019f6da rename IPNet to IPNetTable
7 years ago
Darien Raymond 1c856a46ab step 1 to remove reference to net package
7 years ago
Darien Raymond e7aaba0c30
refactor
7 years ago