Darien Raymond
|
f7b96507f9
|
simplify buffer extension
|
2018-11-02 21:34:04 +01:00 |
|
Darien Raymond
|
58e2ed3381
|
remove closure on ReadFullFrom
|
2018-11-02 15:01:33 +01:00 |
|
Wuxiang
|
3a4371ad21
|
fix a typo
|
2018-10-29 19:24:17 +08:00 |
|
Darien Raymond
|
307aac26b3
|
simplify dependency resolution
|
2018-10-22 11:26:22 +02:00 |
|
Darien Raymond
|
a5dcb0f13e
|
refactor dependency resolution
|
2018-10-21 10:27:13 +02:00 |
|
Darien Raymond
|
fb7dd1a577
|
fix #1322
|
2018-10-19 06:45:10 +02:00 |
|
Darien Raymond
|
abf0cb1ec4
|
move function to features
|
2018-10-13 15:15:49 +02:00 |
|
Darien Raymond
|
d730637239
|
Require Type() for Feature
|
2018-10-12 23:57:56 +02:00 |
|
Darien Raymond
|
c3170dfc8e
|
fix dns client
|
2018-10-11 23:09:15 +02:00 |
|
Darien Raymond
|
b4821c5ed5
|
move policy and dnsClient
|
2018-10-11 22:34:31 +02:00 |
|
Darien Raymond
|
b6dc31d3fe
|
first part to move feature interfaces into dedicated directory
|
2018-10-11 20:43:37 +02:00 |
|
Darien Raymond
|
091fa6ad23
|
use new errorgen
|
2018-09-30 23:08:41 +02:00 |
|
Darien Raymond
|
d55fbd7f8d
|
simplify error creation
|
2018-09-30 18:39:53 +02:00 |
|
Darien Raymond
|
00ea6e3cb2
|
update protobuf generated files
|
2018-09-30 18:39:28 +02:00 |
|
Darien Raymond
|
909cb9b27a
|
announce deprecated proto settings
|
2018-09-21 16:54:06 +02:00 |
|
Darien Raymond
|
5649c7ba2d
|
support regex domain type in dns
|
2018-09-19 16:10:42 +02:00 |
|
Darien Raymond
|
383b84e7dd
|
unified tproxy option
|
2018-09-17 15:12:58 +02:00 |
|
Darien Raymond
|
d068f357bd
|
update proto lib
|
2018-09-14 11:00:59 +02:00 |
|
Darien Raymond
|
f9436b3556
|
skip DNS tests on windows
|
2018-09-10 23:43:17 +02:00 |
|
Darien Raymond
|
813fdb6235
|
Revert "move away from dns.Server.ListenAndServe"
This reverts commit f0a801142d .
|
2018-09-10 23:41:52 +02:00 |
|
Darien Raymond
|
f0a801142d
|
move away from dns.Server.ListenAndServe
|
2018-09-10 22:58:37 +02:00 |
|
Darien Raymond
|
dad0892a39
|
wait until dns server is up
|
2018-09-10 22:29:35 +02:00 |
|
Darien Raymond
|
156af4241d
|
add some logs
|
2018-09-10 22:12:07 +02:00 |
|
Darien Raymond
|
eb05a92592
|
dont start periodic task until necessary
|
2018-08-29 23:00:01 +02:00 |
|
Darien Raymond
|
89fa9367ba
|
release buffer on error
|
2018-08-29 16:42:14 +02:00 |
|
Darien Raymond
|
f227e85b54
|
support per-domain prioritized name server
|
2018-08-24 21:51:03 +02:00 |
|
Darien Raymond
|
059dfdbb97
|
doc for strmatcher interface
|
2018-08-20 15:39:58 +02:00 |
|
Darien Raymond
|
4b63638dca
|
update protobuf lib
|
2018-07-25 00:36:28 +02:00 |
|
Darien Raymond
|
e3cc852c57
|
udp dispatcher takes context with dispatching requests. fixes #1182.
|
2018-07-03 21:38:02 +02:00 |
|
Darien Raymond
|
463a9cbef8
|
tweak dns options
|
2018-07-02 22:22:04 +02:00 |
|
Darien Raymond
|
4c18b61e6c
|
fix dns query for CNAME
|
2018-07-01 17:15:29 +02:00 |
|
Darien Raymond
|
4368edf87c
|
switch to pubsub in dns service
|
2018-07-01 12:38:40 +02:00 |
|
Darien Raymond
|
c9e35bb1ba
|
fix localnameserver creation
|
2018-06-27 11:23:39 +02:00 |
|
Darien Raymond
|
69820788b5
|
fix #1165
|
2018-06-27 09:12:55 +02:00 |
|
Darien Raymond
|
4477e7436b
|
simplify client ip design
|
2018-06-26 23:23:59 +02:00 |
|
Darien Raymond
|
d5f7728acd
|
support subdomain matching in dns hosts
|
2018-06-26 22:34:05 +02:00 |
|
Darien Raymond
|
ed34adf967
|
set udp size in edns
|
2018-06-26 17:26:34 +02:00 |
|
Darien Raymond
|
e9e9de55ac
|
support client subnet
|
2018-06-26 17:14:51 +02:00 |
|
Darien Raymond
|
f743b1e591
|
remove task member in dns.Server.
|
2018-06-26 15:35:22 +02:00 |
|
Darien Raymond
|
2fb77d6911
|
consume context in local nameserver.
|
2018-06-26 15:16:45 +02:00 |
|
Darien Raymond
|
9cfb2bfd51
|
simplify classic dns server
|
2018-06-26 15:04:47 +02:00 |
|
Darien Raymond
|
13f3c356ca
|
unified task package
|
2018-05-27 13:02:29 +02:00 |
|
Darien Raymond
|
68da956fc4
|
re-generate code
|
2018-05-25 11:56:01 +02:00 |
|
Darien Raymond
|
1d001c090b
|
comments
|
2018-04-19 21:33:18 +02:00 |
|
Darien Raymond
|
83625618ee
|
re-init maps when they are empty
|
2018-04-07 23:07:30 +02:00 |
|
Darien Raymond
|
9f198d7e3d
|
fix lint errors
|
2018-04-04 00:29:30 +02:00 |
|
wuxiang
|
3f19d09878
|
update some comments
|
2018-04-03 17:11:54 +08:00 |
|
Jinqiu Yu
|
33e090befe
|
Clean useless code
|
2018-03-23 14:20:14 +08:00 |
|
Darien Raymond
|
649119493b
|
remove pending request from cache when error. fixes #942
|
2018-03-10 09:34:38 +01:00 |
|
Darien Raymond
|
0a3b3d0b6d
|
refactor UDPNameServer clean up task
|
2018-02-22 17:29:21 +01:00 |
|
Darien Raymond
|
88b25d38cb
|
simplify context retrieval
|
2018-02-21 17:05:29 +01:00 |
|
Darien Raymond
|
dffaef60b4
|
use periodic task in dns.Server
|
2018-02-08 17:00:22 +01:00 |
|
Darien Raymond
|
efcb567273
|
remove context in struct
|
2018-02-08 15:39:46 +01:00 |
|
Darien Raymond
|
b5caea67ac
|
gofmt
|
2018-01-13 00:07:37 +01:00 |
|
Darien Raymond
|
6a7887b655
|
fix LocalNameServer
|
2018-01-10 13:32:48 +01:00 |
|
Darien Raymond
|
292d7cc353
|
massive refactoring for interoperability
|
2018-01-10 12:22:37 +01:00 |
|
Darien Raymond
|
bc52a105ff
|
rename dns.Server
|
2017-12-28 23:19:41 +01:00 |
|
Darien Raymond
|
2bf5a008f0
|
fix error levels
|
2017-12-27 22:25:12 +01:00 |
|
Darien Raymond
|
e736c08794
|
report pack error instead of panic
|
2017-12-23 21:11:17 +01:00 |
|
Darien Raymond
|
35545cb2db
|
fix test
|
2017-12-20 00:51:46 +01:00 |
|
Darien Raymond
|
ab4f245313
|
overrideable dns
|
2017-12-19 23:55:09 +01:00 |
|
Darien Raymond
|
f4c35db968
|
merge log into common log
|
2017-12-19 21:28:12 +01:00 |
|
Darien Raymond
|
d43a23aa96
|
move error generator to common
|
2017-12-03 01:04:57 +01:00 |
|
Darien Raymond
|
fd8db49dc9
|
generalized event handler
|
2017-11-28 23:41:20 +01:00 |
|
Darien Raymond
|
3214a5078c
|
customizable policy
|
2017-11-27 22:09:30 +01:00 |
|
Darien Raymond
|
afacee9e05
|
refactor
|
2017-11-19 21:43:20 +01:00 |
|
Darien Raymond
|
8fb69fc2b6
|
send IPv6 query only to supported server.
|
2017-11-19 20:42:34 +01:00 |
|
Darien Raymond
|
878d412c6a
|
handle truncated DNS messages. fix #713
|
2017-11-18 20:00:09 +01:00 |
|
Darien Raymond
|
88b521c77e
|
remove debug info
|
2017-11-17 03:03:27 +00:00 |
|
Darien Raymond
|
0dbfb66126
|
clean up dns package
|
2017-11-15 00:36:14 +01:00 |
|
Darien Raymond
|
74cf833758
|
fully migrate to new assertion lib
|
2017-10-24 16:15:35 +02:00 |
|
Darien Raymond
|
1c856a46ab
|
step 1 to remove reference to net package
|
2017-08-29 12:56:57 +02:00 |
|
Darien Raymond
|
c13b212fc6
|
remove unused variables
|
2017-06-22 21:07:16 +02:00 |
|
Darien Raymond
|
2e756cdaa8
|
refactor
|
2017-04-27 11:54:15 +02:00 |
|
Darien Raymond
|
59a1e2d736
|
refactor
|
2017-04-23 19:16:56 +02:00 |
|
Darien Raymond
|
0e01e9e9ca
|
comments
|
2017-04-09 14:49:40 +02:00 |
|
Darien Raymond
|
277a08d8a7
|
fix lint error
|
2017-04-09 14:33:08 +02:00 |
|
Darien Raymond
|
35248497d2
|
refactor error messages
|
2017-04-09 01:43:25 +02:00 |
|
Darien Raymond
|
67956b9120
|
update error message
|
2017-04-06 21:44:20 +02:00 |
|
Darien Raymond
|
75f5cb9afb
|
refactor log and error
|
2017-04-06 21:13:17 +02:00 |
|
Darien Raymond
|
fc31f9b94c
|
refactor error interface
|
2017-04-06 15:13:09 +02:00 |
|
Darien Raymond
|
2e5cb82790
|
update proto
|
2017-04-04 12:28:14 +02:00 |
|
Darien Raymond
|
48eb40ff39
|
dice.RandomUint16
|
2017-02-14 22:29:44 +01:00 |
|
Darien Raymond
|
6888093197
|
gofmt
|
2017-02-10 16:42:24 +01:00 |
|
Darien Raymond
|
b5d14b6823
|
update java options
|
2017-02-03 23:15:10 +01:00 |
|
Darien Raymond
|
43fb425fd7
|
unified dispatcher interface
|
2017-02-03 22:50:01 +01:00 |
|
Darien Raymond
|
f046f334cd
|
move common/log to app/log
|
2017-02-01 21:35:40 +01:00 |
|
Darien Raymond
|
18e1ca85aa
|
rename udp.Server
|
2017-01-27 14:45:16 +01:00 |
|
Darien Raymond
|
ca721230e1
|
split listening settings from inbound proxies and apply context
|
2017-01-26 20:46:44 +01:00 |
|
Darien Raymond
|
c48e1f02a6
|
comments
|
2017-01-13 14:33:32 +01:00 |
|
Darien Raymond
|
f7e1f00c88
|
rename dispatcher.Interface
|
2017-01-13 13:53:44 +01:00 |
|
Darien Raymond
|
17504d2aac
|
context'ize apps
|
2017-01-13 13:41:40 +01:00 |
|
Darien Raymond
|
b11d48d73f
|
simplify app design
|
2017-01-06 15:32:36 +01:00 |
|
Darien Raymond
|
e678000c44
|
remove release() pattern
|
2017-01-04 12:52:24 +01:00 |
|
Darien Raymond
|
c9a421fba6
|
remove generate package comments in .pb.go files.
|
2017-01-03 14:17:44 +01:00 |
|
Darien Raymond
|
20fe6d10a4
|
rollback gitignore change
|
2017-01-02 20:52:45 +01:00 |
|
Darien Raymond
|
52e1dfaeac
|
remove all generated files
|
2017-01-02 08:15:31 +01:00 |
|
Darien Raymond
|
7dc7937443
|
rename ws to websocket
|
2016-12-23 00:30:46 +01:00 |
|
Darien Raymond
|
eb782436b3
|
proto option for C# namespace
|
2016-12-23 00:24:28 +01:00 |
|
Darien Raymond
|
ceaf5d1178
|
fix lint warnings
|
2016-12-21 15:37:16 +01:00 |
|
Darien Raymond
|
c4144af223
|
decouple dns server
|
2016-12-16 16:20:12 +01:00 |
|
Darien Raymond
|
50bc195f7f
|
rename TypedSettings to TypedMessage
|
2016-12-15 11:51:09 +01:00 |
|
Darien Raymond
|
eee23e6718
|
fix api usage
|
2016-12-11 21:43:16 +01:00 |
|
dd
|
20c330d03c
|
fix dns query
|
2016-12-12 00:12:58 +08:00 |
|
Darien Raymond
|
055023fdd5
|
refactor buffer
|
2016-12-09 12:08:25 +01:00 |
|
Darien Raymond
|
7a80409e30
|
rename alloc to buf
|
2016-12-09 11:35:27 +01:00 |
|
Darien Raymond
|
cf3eb0e77d
|
refine buffer usage
|
2016-12-05 15:19:14 +01:00 |
|
Darien Raymond
|
efb24a4d21
|
rewrite error lib
|
2016-12-04 09:10:47 +01:00 |
|
Darien Raymond
|
f95c322677
|
rename 'this'
|
2016-11-27 21:39:09 +01:00 |
|
Darien Raymond
|
d00f8eef56
|
remove use of 'v' as a variable name
|
2016-11-27 17:01:44 +01:00 |
|
Darien Raymond
|
c041740940
|
remove ErrMissingApplication
|
2016-11-21 21:13:01 +01:00 |
|
Darien Raymond
|
9471b5b066
|
refine dispatcher
|
2016-11-13 14:33:00 +01:00 |
|
Darien Raymond
|
531be77a59
|
remove test case depending on external resources
|
2016-10-24 16:49:41 +02:00 |
|
Darien Raymond
|
e13c97d162
|
rename IP to CIDR in router
|
2016-10-18 16:42:22 +02:00 |
|
Darien Raymond
|
4e80ed05d9
|
comments
|
2016-10-18 10:31:39 +02:00 |
|
Darien Raymond
|
5a311cbe08
|
json config parser
|
2016-10-17 14:35:13 +02:00 |
|
Darien Raymond
|
e866ff24a4
|
refine app settings in v2ray config
|
2016-10-16 16:04:30 +02:00 |
|
Darien Raymond
|
be026870f7
|
protogen update
|
2016-10-16 00:23:27 +02:00 |
|
Darien Raymond
|
fc6a706166
|
refactor protos
|
2016-10-12 18:43:55 +02:00 |
|
Darien Raymond
|
1d13f47f9c
|
protobuf for stream settings
|
2016-10-02 23:43:58 +02:00 |
|
Darien Raymond
|
af6abfa3e3
|
update proto generated code
|
2016-09-26 15:14:39 +02:00 |
|
Darien Raymond
|
91f2a40dae
|
refine proto package names
|
2016-09-26 15:14:16 +02:00 |
|
Darien Raymond
|
d38e62932d
|
proto for dns config
|
2016-09-20 16:05:35 +02:00 |
|
Darien Raymond
|
7de7588ec2
|
proto for destination
|
2016-09-20 11:53:05 +02:00 |
|
Darien Raymond
|
cdb4c56546
|
protobuf for net
|
2016-08-27 00:04:35 +02:00 |
|
Darien Raymond
|
e6e0419958
|
format private annotation
|
2016-08-24 11:17:42 +02:00 |
|
v2ray
|
07a86f549b
|
unified import path
|
2016-08-20 20:55:45 +02:00 |
|
v2ray
|
4419f1e3d6
|
introduce address family in v2net
|
2016-08-14 18:14:12 +02:00 |
|
v2ray
|
a9d583b92f
|
connection session
|
2016-08-14 17:08:01 +02:00 |
|
v2ray
|
bcd27ba36f
|
option to allow passive connection
|
2016-08-12 23:37:21 +02:00 |
|
v2ray
|
ea39a6fde6
|
format code
|
2016-07-24 13:44:29 +02:00 |
|
v2ray
|
98cc28a4c4
|
leverage dice.Roll
|
2016-06-29 23:53:50 +02:00 |
|
v2ray
|
7f661f5215
|
rename Error to Err
|
2016-06-27 08:53:35 +02:00 |
|
v2ray
|
9b6dc6bcea
|
massive refactoring for kcp
|
2016-06-14 22:54:08 +02:00 |
|
v2ray
|
50ca869929
|
organize handler metadata
|
2016-06-04 14:25:13 +02:00 |
|
v2ray
|
a4d76dc394
|
support using specific address
|
2016-06-04 00:38:22 +02:00 |
|
v2ray
|
4ec96efe84
|
smarter DNS query
|
2016-06-01 22:09:24 +02:00 |
|
v2ray
|
fc63f0432c
|
simplify testing
|
2016-05-24 21:55:46 +02:00 |
|
v2ray
|
3582b9d869
|
move net/testing/assert into assert
|
2016-05-24 15:29:08 +02:00 |
|
v2ray
|
bb503c6954
|
Static hosts in DNS server
|
2016-05-22 22:30:08 +02:00 |
|
v2ray
|
3ded18a75b
|
initializable apps
|
2016-05-18 08:12:04 -07:00 |
|
v2ray
|
7765fedd78
|
modulize dispatcher and proxyman
|
2016-05-17 23:05:52 -07:00 |
|
v2ray
|
09ea65687c
|
avoid goroutine leak
|
2016-05-16 17:30:00 -07:00 |
|
v2ray
|
18d75cb7b4
|
bug fixes to dns server
|
2016-05-16 11:53:18 -07:00 |
|
v2ray
|
49c8c31e26
|
test case for dns config
|
2016-05-16 09:19:55 -07:00 |
|
v2ray
|
10d1d9288b
|
default value of dns config
|
2016-05-16 09:05:01 -07:00 |
|
v2ray
|
dac1339d6e
|
Use dns in router
|
2016-05-16 00:25:34 -07:00 |
|
v2ray
|
3b545abe02
|
dns client implementation
|
2016-05-15 23:09:28 -07:00 |
|
v2ray
|
a37819c330
|
rename RegisterApp to Register
|
2016-05-11 12:05:58 -07:00 |
|
v2ray
|
2031c13a7f
|
refactor app.Space
|
2016-01-31 17:01:28 +01:00 |
|