1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-03 16:57:38 -05:00
Commit Graph

31 Commits

Author SHA1 Message Date
Kslr
66cba31123 return error instead of panic, fixes #1638 2019-04-14 08:57:01 +08:00
Darien Raymond
7e5e080488
move sniffing result to session 2019-02-22 16:58:16 +01:00
Darien Raymond
bb8465e1d6
fix dns parsing for unknown header types 2019-02-21 15:04:33 +01:00
Darien Raymond
9957c64b4a
correctly propagate dns errors all the way through.
the internal dns system can correctly handle the cases where:
1) domain has no A or AAAA records
2) domain doesn't exist
fixes #1565
2019-02-21 13:43:48 +01:00
Darien Raymond
1ab94fed79
optimize v2ctl size 2019-02-01 20:08:21 +01:00
Darien Raymond
ffb3793b26
support domain to domain mapping in static host 2019-01-30 21:04:29 +01:00
Darien Raymond
44d87ed642
inbound tag for dns requests 2019-01-16 20:32:41 +01:00
Darien Raymond
b52725cf65
DialUDP function 2019-01-05 21:43:22 +01:00
Darien Raymond
1c830472b9
dns protocol package 2018-12-29 09:03:32 +01:00
Darien Raymond
fc1e660c27
change net.IP to net.Address 2018-12-28 20:15:22 +01:00
Darien Raymond
9cad27e9bd
skip answer if it is not A or AAAA record 2018-11-22 17:16:44 +01:00
Darien Raymond
1cc3a4832d
fix logic for adding localhost dns 2018-11-22 16:29:09 +01:00
Darien Raymond
bb1efdebd1
support querying either IPv4 or IPv6 dns 2018-11-19 20:42:02 +01:00
Darien Raymond
afc613f8f3
test case for edns0_subnet 2018-11-19 14:13:20 +01:00
Darien Raymond
d013e8069d
switch to stdlib for dns queries 2018-11-19 13:13:02 +01:00
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
Darien Raymond
b6dc31d3fe
first part to move feature interfaces into dedicated directory 2018-10-11 20:43:37 +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
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
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
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
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