Commit Graph

817 Commits (47c997d75ef1866798c77c81e402ebd02ed7bf8f)

Author SHA1 Message Date
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
Darien Raymond 463a9cbef8
tweak dns options
6 years ago
Darien Raymond 4c18b61e6c
fix dns query for CNAME
7 years ago
Darien Raymond 4368edf87c
switch to pubsub in dns service
7 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