1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-17 18:06:15 -05:00
Commit Graph

52 Commits

Author SHA1 Message Date
DarthVader
ac1e5cd925
Add minimal perfect hash domain matcher (#743)
* rename to HybridDomainMatcher & convert domain to lowercase

* refactor code & add open hashing for rolling hash map

* fix lint errors

* update app/dns/dns.go

* convert domain to lowercase in `strmatcher.go`

* keep the original matcher behavior

* add mph domain matcher & conver domain names to loweercase when matching

* fix lint errors

* fix lint errors
2021-03-15 15:21:38 +08:00
Loyalsoldier
f94dd11a8c
Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
DarthVader
de618121ad
Refactor: A faster DomainMatcher implementation (#587)
* a faster DomainMatcher implementation

* rename benchmark name

* fix linting errors
2021-01-20 15:53:07 +08:00
Loyalsoldier
b68f943c78
Fix lint according to golangci-lint (#439) 2020-11-22 05:05:01 +08:00
Vigilans
5a497890e6 Routing Context: Fix GetUser() & Use string for Attributes Value 2020-09-13 00:34:35 +08:00
Vigilans
f9d37b724c Extract session information during routing as routing context 2020-09-04 11:32:19 +08:00
Vigilans
c74a33f827 Amending domain matcher with returning array of all matches 2020-08-11 13:31:04 +08:00
Vigilans
40c0bcc3ab Support source port matching in routing config 2020-08-09 16:53:45 +08:00
Agioi Theodoroi
bbd3988f3d
clean up code 2020-06-27 07:51:42 +08:00
Darien Raymond
02d8845093
add scripting support for attributes matching 2019-02-28 14:04:43 +01:00
Darien Raymond
0d31a68694
extract all session context before checking conditions 2019-02-28 09:28:55 +01:00
Darien Raymond
95583b5031
support range list in routing rule 2019-02-24 23:43:00 +01:00
Darien Raymond
7e5e080488
move sniffing result to session 2019-02-22 16:58:16 +01:00
Darien Raymond
1ab94fed79
optimize v2ctl size 2019-02-01 20:08:21 +01:00
Darien Raymond
82d562d1f0
use session.Outbound.ResolvedIPs 2018-12-04 20:36:51 +01:00
Darien Raymond
6543f5825b
remove usage of NetworkList in NetworkMatcher 2018-11-20 12:27:33 +01:00
Darien Raymond
b9c8506c23
optimize network matcher 2018-11-20 12:25:56 +01:00
Darien Raymond
2364f5f280
remove AddressFamily.Either() 2018-11-16 11:13:36 +01:00
Darien Raymond
58221ebae1
optimize multi-geoip matcher 2018-11-07 23:57:06 +01:00
Darien Raymond
6e82128dc9
remove unused code 2018-11-05 11:36:05 +01:00
Darien Raymond
41956e92a5
migrate to the new geoip matcher 2018-11-01 21:43:16 +01:00
Darien Raymond
c73e899f54
prototype for high performance geoip matcher 2018-11-01 09:10:41 +01:00
Darien Raymond
c2566e1331
cleanup unused scenarios 2018-10-22 22:40:53 +02:00
Darien Raymond
ed2779e333
more test case for router 2018-10-22 20:59:01 +02:00
Darien Raymond
595f3d685e
merge user info inbound metadata 2018-10-15 08:36:50 +02:00
Darien Raymond
94b880d060
move session based info into session package 2018-09-18 23:09:54 +02:00
Darien Raymond
eb05a92592
dont start periodic task until necessary 2018-08-29 23:00:01 +02:00
Darien Raymond
d828aa2fba
add full domain matching 2018-08-21 21:30:32 +02:00
Darien Raymond
059dfdbb97
doc for strmatcher interface 2018-08-20 15:39:58 +02:00
Darien Raymond
edcf564dd7
improve performance of domain matcher 2018-08-19 21:04:15 +02:00
Darien Raymond
c0e37ef34a
prototype for new sniffing mechanism 2018-07-16 13:47:00 +02:00
Darien Raymond
cb0eb91f2b
strmatcher 2018-06-26 21:57:41 +02:00
Darien Raymond
4a46817cf6
optimize map usage 2018-05-31 12:05:25 +02:00
Darien Raymond
2bf5a008f0
fix error levels 2017-12-27 22:25:12 +01:00
Darien Raymond
26f005e822
resolve to ip on demand 2017-11-15 12:55:47 +01:00
Darien Raymond
57648c145c cachable domain matcher: step 2 2017-11-06 22:30:56 +01:00
Darien Raymond
6b77e14bf6 cachable domain matcher, step 1 2017-11-06 21:12:28 +01:00
Darien Raymond
52ad41cda3 completely move away from net package 2017-08-29 14:32:54 +02:00
Darien Raymond
815019f6da rename IPNet to IPNetTable 2017-08-29 13:51:09 +02:00
Darien Raymond
069837417f
test case for routing rule 2017-05-17 13:24:53 +02:00
Darien Raymond
74b2734cb8
refactor 2017-05-08 12:25:36 +02:00
Darien Raymond
a0bde091d4
sub domain matcher 2017-05-08 12:18:13 +02:00
Darien Raymond
a0ac334703
refactor 2017-05-08 11:48:41 +02:00
Darien Raymond
d04d92c187
update context functions 2017-02-09 22:49:38 +01:00
Darien Raymond
0bf5f3e531
fix #374 2017-01-28 09:04:29 +01:00
Darien Raymond
8231d2cdad
dns test 2017-01-27 21:19:46 +01:00
Darien Raymond
9716d7fdfe
Fix usage of source in context 2017-01-27 20:38:01 +01:00
Darien Raymond
ca721230e1
split listening settings from inbound proxies and apply context 2017-01-26 20:46:44 +01:00
Darien Raymond
f95c322677
rename 'this' 2016-11-27 21:39:09 +01:00
Darien Raymond
fc81b0aae2
config for inbound tag routing 2016-11-13 21:23:34 +01:00