Commit Graph

852 Commits (master)

Author SHA1 Message Date
Darien Raymond 9957c64b4a
correctly propagate dns errors all the way through.
6 years ago
Darien Raymond c27050ad90
fix usability for both IPv4 and v6 in static dns mapping
6 years ago
Darien Raymond 6c31049295
add some log to dns lookup
6 years ago
Darien Raymond 4eb2b5e607
merge ext into core
6 years ago
Darien Raymond 932e09a388
remove dep of assert lib
6 years ago
Darien Raymond 2aa0c08709
check domain name
6 years ago
Darien Raymond 836440c61a
dns outbound proxy
6 years ago
Darien Raymond bdd71a44b4
remove dep on assert lib
6 years ago
Darien Raymond 1ab94fed79
optimize v2ctl size
6 years ago
Darien Raymond 3b02c02ab4
Revert "move init func to separate files"
6 years ago
Darien Raymond 3de50a6412
move init func to separate files
6 years ago
Darien Raymond c9958681f7
remove dependency on assert lib
6 years ago
Darien Raymond ffb3793b26
support domain to domain mapping in static host
6 years ago
Darien Raymond 44d87ed642
inbound tag for dns requests
6 years ago
Darien Raymond defc93c49d
rename dispatcher to handler
6 years ago
Darien Raymond 163776b182
remove dependency on assert lib
6 years ago
Darien Raymond edd71de1c3
remove dependency on assert lib
6 years ago
Darien Raymond 4468c60b95
remove usage on assert lib
6 years ago
Darien Raymond b52725cf65
DialUDP function
6 years ago
Darien Raymond 3de8389361
rename CloseError() to Interrupt()
6 years ago
Darien Raymond d35c407419
fix #1493
6 years ago
Darien Raymond 1c830472b9
dns protocol package
6 years ago
Darien Raymond daa8c9c5da
rename NameServerInterface to Client
6 years ago
Darien Raymond fc1e660c27
change net.IP to net.Address
6 years ago
Darien Raymond 7f1bd9f522
comment
6 years ago
Darien Raymond 0ca762e0e2
fix a deadlock in cacheReader. fix #1471
6 years ago
Darien Raymond 30b5bffad4
support custom log handler
6 years ago
Darien Raymond b9450d8475
Revert "use default logger for android and ios"
6 years ago
Darien Raymond 9743380e2d
use default logger for android and ios
6 years ago
Darien Raymond 82d562d1f0
use session.Outbound.ResolvedIPs
6 years ago
Darien Raymond bea521537e
errors.Combine
6 years ago
Darien Raymond e5314cfb56
domain property
6 years ago
Darien Raymond 057e271588
update proto lib
6 years ago
Darien Raymond 39a092b178
fix #1427
6 years ago
Darien Raymond 9cad27e9bd
skip answer if it is not A or AAAA record
6 years ago
Darien Raymond 1cc3a4832d
fix logic for adding localhost dns
6 years ago
Darien Raymond 3eac22c27d
add missing changes
6 years ago
Darien Raymond bb8cab9cc7
change from map to slice
6 years ago
Darien Raymond 769f770cf7
migrate NetworkList to []Network
6 years ago
Darien Raymond 7b80322b60
fix function signature
6 years ago
Darien Raymond 6543f5825b
remove usage of NetworkList in NetworkMatcher
6 years ago
Darien Raymond b9c8506c23
optimize network matcher
6 years ago
Darien Raymond 8a82a3664c
pick IP family by local address in freedom
6 years ago
Darien Raymond bb1efdebd1
support querying either IPv4 or IPv6 dns
6 years ago
Darien Raymond afc613f8f3
test case for edns0_subnet
6 years ago
Darien Raymond d013e8069d
switch to stdlib for dns queries
6 years ago
Darien Raymond 842a089dad
refactor multibuffer
6 years ago
Darien Raymond 0f324a613e
remove MultiBuffer.Release
6 years ago
Darien Raymond 2364f5f280
remove AddressFamily.Either()
6 years ago
Darien Raymond a01fdc29a6
remove NewMultiBufferValue
6 years ago
Darien Raymond 24288a74a2
update tests
6 years ago
Darien Raymond a14fae4b35
fix lint warnings
6 years ago
Darien Raymond 58221ebae1
optimize multi-geoip matcher
6 years ago
Darien Raymond 2cc92920fa
test case for balancer
6 years ago
Darien Raymond 73d3be424b
prototype for balancing rules
6 years ago
Darien Raymond 6e82128dc9
remove unused code
6 years ago
Darien Raymond e13def10c4
more test cases
6 years ago
Darien Raymond 3ccdecaf8f
remove vio package
6 years ago
Darien Raymond 128a90b98b
move link to transport
6 years ago
Darien Raymond f7b96507f9
simplify buffer extension
6 years ago
Darien Raymond 815c7f09ba
migrate to std lib
6 years ago
Darien Raymond 58e2ed3381
remove closure on ReadFullFrom
6 years ago
Darien Raymond 9360448c59
improve geoip matching performance
6 years ago
Darien Raymond 41956e92a5
migrate to the new geoip matcher
6 years ago
Darien Raymond 5400153827
sort cidr list before use
6 years ago
Darien Raymond 15cd999ed3
comments
6 years ago
Darien Raymond c73e899f54
prototype for high performance geoip matcher
6 years ago
Darien Raymond ee74256aac
sort.Interface for CIDR list
6 years ago
Victoria Raymond 2fcc011afe
Merge pull request #1343 from wuxiangzhou2010/patch-2
6 years ago
Darien Raymond ff310d6bc6
detect underlying mux worker closed
6 years ago
Wuxiang 3a4371ad21
fix a typo
6 years ago
Darien Raymond f3ad8acbe4
release bridge worker when inactive
6 years ago
Darien Raymond f1ab89d9d8
long running reverse test case
6 years ago
Darien Raymond 715ac9d267
test case for reverse proxy
6 years ago
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