Commit Graph

37 Commits (4448d37c2b1d1f11c34d490d8ed945f755c9a40c)

Author SHA1 Message Date
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 1ab94fed79
optimize v2ctl size 2019-02-01 20:08:21 +01:00
Darien Raymond 769f770cf7
migrate NetworkList to []Network 2018-11-20 16:58:26 +01:00
Darien Raymond 7b80322b60
fix function signature 2018-11-20 16:12:14 +01:00
Darien Raymond 2cc92920fa
test case for balancer 2018-11-07 21:25:43 +01:00
Darien Raymond 73d3be424b
prototype for balancing rules 2018-11-07 21:08:20 +01:00
Darien Raymond 41956e92a5
migrate to the new geoip matcher 2018-11-01 21:43:16 +01:00
Darien Raymond 15cd999ed3
comments 2018-11-01 10:39:03 +01:00
Darien Raymond c73e899f54
prototype for high performance geoip matcher 2018-11-01 09:10:41 +01:00
Darien Raymond ee74256aac
sort.Interface for CIDR list 2018-11-01 08:44:11 +01:00
Iskander Sharipov 4dfe45ec19 app/router: rewrite if-else chain to switch
From effective Go: https://golang.org/doc/effective_go.html#switch

> It's therefore possible—and idiomatic—to write an if-else-if-else chain as a switch.
2018-10-01 12:07:19 +03:00
Darien Raymond fca324a399
fix build break 2018-08-19 22:28:02 +02:00
Darien Raymond edcf564dd7
improve performance of domain matcher 2018-08-19 21:04:15 +02:00
Darien Raymond ecd45ffb65
propagate error when adding domain condition 2018-07-17 17:53:24 +02:00
Darien Raymond c0e37ef34a
prototype for new sniffing mechanism 2018-07-16 13:47:00 +02:00
Darien Raymond 758723516e
reorder condition list to short circuit IP resolution if possible.
Fix #1021
2018-04-06 15:56:53 +02:00
Darien Raymond 2bf5a008f0
fix error levels 2017-12-27 22:25:12 +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 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 68bc9ea8e4
cleanup error messages 2017-04-09 15:04:04 +02:00
Darien Raymond 35248497d2
refactor error messages 2017-04-09 01:43:25 +02:00
Darien Raymond ca721230e1
split listening settings from inbound proxies and apply context 2017-01-26 20:46:44 +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 fc81b0aae2
config for inbound tag routing 2016-11-13 21:23:34 +01:00
Darien Raymond aae99a8e98
use session in router 2016-10-18 23:01:39 +02:00
Darien Raymond e13c97d162
rename IP to CIDR in router 2016-10-18 16:42:22 +02:00
Darien Raymond 22ef12a456
simplify router 2016-10-12 16:11:13 +02:00
Darien Raymond ae8121e633 remove json packages in app folder 2016-01-17 15:20:49 +00:00
v2ray 641e5db851 rename RouterConfig to Config 2015-12-08 00:04:02 +01:00
v2ray aab774e78f simplify router config 2015-12-07 22:47:47 +01:00