config.pb.go 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  1. package router
  2. import (
  3. fmt "fmt"
  4. proto "github.com/golang/protobuf/proto"
  5. math "math"
  6. net "v2ray.com/core/common/net"
  7. )
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // Type of domain value.
  18. type Domain_Type int32
  19. const (
  20. // The value is used as is.
  21. Domain_Plain Domain_Type = 0
  22. // The value is used as a regular expression.
  23. Domain_Regex Domain_Type = 1
  24. // The value is a root domain.
  25. Domain_Domain Domain_Type = 2
  26. // The value is a domain.
  27. Domain_Full Domain_Type = 3
  28. )
  29. var Domain_Type_name = map[int32]string{
  30. 0: "Plain",
  31. 1: "Regex",
  32. 2: "Domain",
  33. 3: "Full",
  34. }
  35. var Domain_Type_value = map[string]int32{
  36. "Plain": 0,
  37. "Regex": 1,
  38. "Domain": 2,
  39. "Full": 3,
  40. }
  41. func (x Domain_Type) String() string {
  42. return proto.EnumName(Domain_Type_name, int32(x))
  43. }
  44. func (Domain_Type) EnumDescriptor() ([]byte, []int) {
  45. return fileDescriptor_6b1608360690c5fc, []int{0, 0}
  46. }
  47. type Config_DomainStrategy int32
  48. const (
  49. // Use domain as is.
  50. Config_AsIs Config_DomainStrategy = 0
  51. // Always resolve IP for domains.
  52. Config_UseIp Config_DomainStrategy = 1
  53. // Resolve to IP if the domain doesn't match any rules.
  54. Config_IpIfNonMatch Config_DomainStrategy = 2
  55. // Resolve to IP if any rule requires IP matching.
  56. Config_IpOnDemand Config_DomainStrategy = 3
  57. )
  58. var Config_DomainStrategy_name = map[int32]string{
  59. 0: "AsIs",
  60. 1: "UseIp",
  61. 2: "IpIfNonMatch",
  62. 3: "IpOnDemand",
  63. }
  64. var Config_DomainStrategy_value = map[string]int32{
  65. "AsIs": 0,
  66. "UseIp": 1,
  67. "IpIfNonMatch": 2,
  68. "IpOnDemand": 3,
  69. }
  70. func (x Config_DomainStrategy) String() string {
  71. return proto.EnumName(Config_DomainStrategy_name, int32(x))
  72. }
  73. func (Config_DomainStrategy) EnumDescriptor() ([]byte, []int) {
  74. return fileDescriptor_6b1608360690c5fc, []int{7, 0}
  75. }
  76. // Domain for routing decision.
  77. type Domain struct {
  78. // Domain matching type.
  79. Type Domain_Type `protobuf:"varint,1,opt,name=type,proto3,enum=v2ray.core.app.router.Domain_Type" json:"type,omitempty"`
  80. // Domain value.
  81. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  82. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  83. XXX_unrecognized []byte `json:"-"`
  84. XXX_sizecache int32 `json:"-"`
  85. }
  86. func (m *Domain) Reset() { *m = Domain{} }
  87. func (m *Domain) String() string { return proto.CompactTextString(m) }
  88. func (*Domain) ProtoMessage() {}
  89. func (*Domain) Descriptor() ([]byte, []int) {
  90. return fileDescriptor_6b1608360690c5fc, []int{0}
  91. }
  92. func (m *Domain) XXX_Unmarshal(b []byte) error {
  93. return xxx_messageInfo_Domain.Unmarshal(m, b)
  94. }
  95. func (m *Domain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  96. return xxx_messageInfo_Domain.Marshal(b, m, deterministic)
  97. }
  98. func (m *Domain) XXX_Merge(src proto.Message) {
  99. xxx_messageInfo_Domain.Merge(m, src)
  100. }
  101. func (m *Domain) XXX_Size() int {
  102. return xxx_messageInfo_Domain.Size(m)
  103. }
  104. func (m *Domain) XXX_DiscardUnknown() {
  105. xxx_messageInfo_Domain.DiscardUnknown(m)
  106. }
  107. var xxx_messageInfo_Domain proto.InternalMessageInfo
  108. func (m *Domain) GetType() Domain_Type {
  109. if m != nil {
  110. return m.Type
  111. }
  112. return Domain_Plain
  113. }
  114. func (m *Domain) GetValue() string {
  115. if m != nil {
  116. return m.Value
  117. }
  118. return ""
  119. }
  120. // IP for routing decision, in CIDR form.
  121. type CIDR struct {
  122. // IP address, should be either 4 or 16 bytes.
  123. Ip []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
  124. // Number of leading ones in the network mask.
  125. Prefix uint32 `protobuf:"varint,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
  126. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  127. XXX_unrecognized []byte `json:"-"`
  128. XXX_sizecache int32 `json:"-"`
  129. }
  130. func (m *CIDR) Reset() { *m = CIDR{} }
  131. func (m *CIDR) String() string { return proto.CompactTextString(m) }
  132. func (*CIDR) ProtoMessage() {}
  133. func (*CIDR) Descriptor() ([]byte, []int) {
  134. return fileDescriptor_6b1608360690c5fc, []int{1}
  135. }
  136. func (m *CIDR) XXX_Unmarshal(b []byte) error {
  137. return xxx_messageInfo_CIDR.Unmarshal(m, b)
  138. }
  139. func (m *CIDR) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  140. return xxx_messageInfo_CIDR.Marshal(b, m, deterministic)
  141. }
  142. func (m *CIDR) XXX_Merge(src proto.Message) {
  143. xxx_messageInfo_CIDR.Merge(m, src)
  144. }
  145. func (m *CIDR) XXX_Size() int {
  146. return xxx_messageInfo_CIDR.Size(m)
  147. }
  148. func (m *CIDR) XXX_DiscardUnknown() {
  149. xxx_messageInfo_CIDR.DiscardUnknown(m)
  150. }
  151. var xxx_messageInfo_CIDR proto.InternalMessageInfo
  152. func (m *CIDR) GetIp() []byte {
  153. if m != nil {
  154. return m.Ip
  155. }
  156. return nil
  157. }
  158. func (m *CIDR) GetPrefix() uint32 {
  159. if m != nil {
  160. return m.Prefix
  161. }
  162. return 0
  163. }
  164. type GeoIP struct {
  165. CountryCode string `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
  166. Cidr []*CIDR `protobuf:"bytes,2,rep,name=cidr,proto3" json:"cidr,omitempty"`
  167. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  168. XXX_unrecognized []byte `json:"-"`
  169. XXX_sizecache int32 `json:"-"`
  170. }
  171. func (m *GeoIP) Reset() { *m = GeoIP{} }
  172. func (m *GeoIP) String() string { return proto.CompactTextString(m) }
  173. func (*GeoIP) ProtoMessage() {}
  174. func (*GeoIP) Descriptor() ([]byte, []int) {
  175. return fileDescriptor_6b1608360690c5fc, []int{2}
  176. }
  177. func (m *GeoIP) XXX_Unmarshal(b []byte) error {
  178. return xxx_messageInfo_GeoIP.Unmarshal(m, b)
  179. }
  180. func (m *GeoIP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  181. return xxx_messageInfo_GeoIP.Marshal(b, m, deterministic)
  182. }
  183. func (m *GeoIP) XXX_Merge(src proto.Message) {
  184. xxx_messageInfo_GeoIP.Merge(m, src)
  185. }
  186. func (m *GeoIP) XXX_Size() int {
  187. return xxx_messageInfo_GeoIP.Size(m)
  188. }
  189. func (m *GeoIP) XXX_DiscardUnknown() {
  190. xxx_messageInfo_GeoIP.DiscardUnknown(m)
  191. }
  192. var xxx_messageInfo_GeoIP proto.InternalMessageInfo
  193. func (m *GeoIP) GetCountryCode() string {
  194. if m != nil {
  195. return m.CountryCode
  196. }
  197. return ""
  198. }
  199. func (m *GeoIP) GetCidr() []*CIDR {
  200. if m != nil {
  201. return m.Cidr
  202. }
  203. return nil
  204. }
  205. type GeoIPList struct {
  206. Entry []*GeoIP `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"`
  207. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  208. XXX_unrecognized []byte `json:"-"`
  209. XXX_sizecache int32 `json:"-"`
  210. }
  211. func (m *GeoIPList) Reset() { *m = GeoIPList{} }
  212. func (m *GeoIPList) String() string { return proto.CompactTextString(m) }
  213. func (*GeoIPList) ProtoMessage() {}
  214. func (*GeoIPList) Descriptor() ([]byte, []int) {
  215. return fileDescriptor_6b1608360690c5fc, []int{3}
  216. }
  217. func (m *GeoIPList) XXX_Unmarshal(b []byte) error {
  218. return xxx_messageInfo_GeoIPList.Unmarshal(m, b)
  219. }
  220. func (m *GeoIPList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  221. return xxx_messageInfo_GeoIPList.Marshal(b, m, deterministic)
  222. }
  223. func (m *GeoIPList) XXX_Merge(src proto.Message) {
  224. xxx_messageInfo_GeoIPList.Merge(m, src)
  225. }
  226. func (m *GeoIPList) XXX_Size() int {
  227. return xxx_messageInfo_GeoIPList.Size(m)
  228. }
  229. func (m *GeoIPList) XXX_DiscardUnknown() {
  230. xxx_messageInfo_GeoIPList.DiscardUnknown(m)
  231. }
  232. var xxx_messageInfo_GeoIPList proto.InternalMessageInfo
  233. func (m *GeoIPList) GetEntry() []*GeoIP {
  234. if m != nil {
  235. return m.Entry
  236. }
  237. return nil
  238. }
  239. type GeoSite struct {
  240. CountryCode string `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
  241. Domain []*Domain `protobuf:"bytes,2,rep,name=domain,proto3" json:"domain,omitempty"`
  242. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  243. XXX_unrecognized []byte `json:"-"`
  244. XXX_sizecache int32 `json:"-"`
  245. }
  246. func (m *GeoSite) Reset() { *m = GeoSite{} }
  247. func (m *GeoSite) String() string { return proto.CompactTextString(m) }
  248. func (*GeoSite) ProtoMessage() {}
  249. func (*GeoSite) Descriptor() ([]byte, []int) {
  250. return fileDescriptor_6b1608360690c5fc, []int{4}
  251. }
  252. func (m *GeoSite) XXX_Unmarshal(b []byte) error {
  253. return xxx_messageInfo_GeoSite.Unmarshal(m, b)
  254. }
  255. func (m *GeoSite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  256. return xxx_messageInfo_GeoSite.Marshal(b, m, deterministic)
  257. }
  258. func (m *GeoSite) XXX_Merge(src proto.Message) {
  259. xxx_messageInfo_GeoSite.Merge(m, src)
  260. }
  261. func (m *GeoSite) XXX_Size() int {
  262. return xxx_messageInfo_GeoSite.Size(m)
  263. }
  264. func (m *GeoSite) XXX_DiscardUnknown() {
  265. xxx_messageInfo_GeoSite.DiscardUnknown(m)
  266. }
  267. var xxx_messageInfo_GeoSite proto.InternalMessageInfo
  268. func (m *GeoSite) GetCountryCode() string {
  269. if m != nil {
  270. return m.CountryCode
  271. }
  272. return ""
  273. }
  274. func (m *GeoSite) GetDomain() []*Domain {
  275. if m != nil {
  276. return m.Domain
  277. }
  278. return nil
  279. }
  280. type GeoSiteList struct {
  281. Entry []*GeoSite `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"`
  282. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  283. XXX_unrecognized []byte `json:"-"`
  284. XXX_sizecache int32 `json:"-"`
  285. }
  286. func (m *GeoSiteList) Reset() { *m = GeoSiteList{} }
  287. func (m *GeoSiteList) String() string { return proto.CompactTextString(m) }
  288. func (*GeoSiteList) ProtoMessage() {}
  289. func (*GeoSiteList) Descriptor() ([]byte, []int) {
  290. return fileDescriptor_6b1608360690c5fc, []int{5}
  291. }
  292. func (m *GeoSiteList) XXX_Unmarshal(b []byte) error {
  293. return xxx_messageInfo_GeoSiteList.Unmarshal(m, b)
  294. }
  295. func (m *GeoSiteList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  296. return xxx_messageInfo_GeoSiteList.Marshal(b, m, deterministic)
  297. }
  298. func (m *GeoSiteList) XXX_Merge(src proto.Message) {
  299. xxx_messageInfo_GeoSiteList.Merge(m, src)
  300. }
  301. func (m *GeoSiteList) XXX_Size() int {
  302. return xxx_messageInfo_GeoSiteList.Size(m)
  303. }
  304. func (m *GeoSiteList) XXX_DiscardUnknown() {
  305. xxx_messageInfo_GeoSiteList.DiscardUnknown(m)
  306. }
  307. var xxx_messageInfo_GeoSiteList proto.InternalMessageInfo
  308. func (m *GeoSiteList) GetEntry() []*GeoSite {
  309. if m != nil {
  310. return m.Entry
  311. }
  312. return nil
  313. }
  314. type RoutingRule struct {
  315. // Tag of outbound that this rule is pointing to.
  316. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  317. // List of domains for target domain matching.
  318. Domain []*Domain `protobuf:"bytes,2,rep,name=domain,proto3" json:"domain,omitempty"`
  319. // List of CIDRs for target IP address matching.
  320. // The list must be sorted beforehand.
  321. Cidr []*CIDR `protobuf:"bytes,3,rep,name=cidr,proto3" json:"cidr,omitempty"` // Deprecated: Do not use.
  322. // List of GeoIPs for target IP address matching. If this entry exists, the cidr above will have no effect.
  323. // GeoIP fields with the same country code are supposed to contain exactly same content. They will be merged during runtime.
  324. // For customized GeoIPs, please leave country code empty.
  325. // The CIDR list in the GeoIP must be sorted beforehand.
  326. Geoip []*GeoIP `protobuf:"bytes,10,rep,name=geoip,proto3" json:"geoip,omitempty"`
  327. PortRange *net.PortRange `protobuf:"bytes,4,opt,name=port_range,json=portRange,proto3" json:"port_range,omitempty"`
  328. NetworkList *net.NetworkList `protobuf:"bytes,5,opt,name=network_list,json=networkList,proto3" json:"network_list,omitempty"`
  329. // List of CIDRs for source IP address matching.
  330. // The list must be sorted beforehand.
  331. SourceCidr []*CIDR `protobuf:"bytes,6,rep,name=source_cidr,json=sourceCidr,proto3" json:"source_cidr,omitempty"` // Deprecated: Do not use.
  332. // List of GeoIPs for source IP address matching. If this entry exists, the source_cidr above will have no effect.
  333. // The CIDR list in the GeoIP must be sorted beforehand.
  334. SourceGeoip []*GeoIP `protobuf:"bytes,11,rep,name=source_geoip,json=sourceGeoip,proto3" json:"source_geoip,omitempty"`
  335. UserEmail []string `protobuf:"bytes,7,rep,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
  336. InboundTag []string `protobuf:"bytes,8,rep,name=inbound_tag,json=inboundTag,proto3" json:"inbound_tag,omitempty"`
  337. Protocol []string `protobuf:"bytes,9,rep,name=protocol,proto3" json:"protocol,omitempty"`
  338. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  339. XXX_unrecognized []byte `json:"-"`
  340. XXX_sizecache int32 `json:"-"`
  341. }
  342. func (m *RoutingRule) Reset() { *m = RoutingRule{} }
  343. func (m *RoutingRule) String() string { return proto.CompactTextString(m) }
  344. func (*RoutingRule) ProtoMessage() {}
  345. func (*RoutingRule) Descriptor() ([]byte, []int) {
  346. return fileDescriptor_6b1608360690c5fc, []int{6}
  347. }
  348. func (m *RoutingRule) XXX_Unmarshal(b []byte) error {
  349. return xxx_messageInfo_RoutingRule.Unmarshal(m, b)
  350. }
  351. func (m *RoutingRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  352. return xxx_messageInfo_RoutingRule.Marshal(b, m, deterministic)
  353. }
  354. func (m *RoutingRule) XXX_Merge(src proto.Message) {
  355. xxx_messageInfo_RoutingRule.Merge(m, src)
  356. }
  357. func (m *RoutingRule) XXX_Size() int {
  358. return xxx_messageInfo_RoutingRule.Size(m)
  359. }
  360. func (m *RoutingRule) XXX_DiscardUnknown() {
  361. xxx_messageInfo_RoutingRule.DiscardUnknown(m)
  362. }
  363. var xxx_messageInfo_RoutingRule proto.InternalMessageInfo
  364. func (m *RoutingRule) GetTag() string {
  365. if m != nil {
  366. return m.Tag
  367. }
  368. return ""
  369. }
  370. func (m *RoutingRule) GetDomain() []*Domain {
  371. if m != nil {
  372. return m.Domain
  373. }
  374. return nil
  375. }
  376. // Deprecated: Do not use.
  377. func (m *RoutingRule) GetCidr() []*CIDR {
  378. if m != nil {
  379. return m.Cidr
  380. }
  381. return nil
  382. }
  383. func (m *RoutingRule) GetGeoip() []*GeoIP {
  384. if m != nil {
  385. return m.Geoip
  386. }
  387. return nil
  388. }
  389. func (m *RoutingRule) GetPortRange() *net.PortRange {
  390. if m != nil {
  391. return m.PortRange
  392. }
  393. return nil
  394. }
  395. func (m *RoutingRule) GetNetworkList() *net.NetworkList {
  396. if m != nil {
  397. return m.NetworkList
  398. }
  399. return nil
  400. }
  401. // Deprecated: Do not use.
  402. func (m *RoutingRule) GetSourceCidr() []*CIDR {
  403. if m != nil {
  404. return m.SourceCidr
  405. }
  406. return nil
  407. }
  408. func (m *RoutingRule) GetSourceGeoip() []*GeoIP {
  409. if m != nil {
  410. return m.SourceGeoip
  411. }
  412. return nil
  413. }
  414. func (m *RoutingRule) GetUserEmail() []string {
  415. if m != nil {
  416. return m.UserEmail
  417. }
  418. return nil
  419. }
  420. func (m *RoutingRule) GetInboundTag() []string {
  421. if m != nil {
  422. return m.InboundTag
  423. }
  424. return nil
  425. }
  426. func (m *RoutingRule) GetProtocol() []string {
  427. if m != nil {
  428. return m.Protocol
  429. }
  430. return nil
  431. }
  432. type Config struct {
  433. DomainStrategy Config_DomainStrategy `protobuf:"varint,1,opt,name=domain_strategy,json=domainStrategy,proto3,enum=v2ray.core.app.router.Config_DomainStrategy" json:"domain_strategy,omitempty"`
  434. Rule []*RoutingRule `protobuf:"bytes,2,rep,name=rule,proto3" json:"rule,omitempty"`
  435. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  436. XXX_unrecognized []byte `json:"-"`
  437. XXX_sizecache int32 `json:"-"`
  438. }
  439. func (m *Config) Reset() { *m = Config{} }
  440. func (m *Config) String() string { return proto.CompactTextString(m) }
  441. func (*Config) ProtoMessage() {}
  442. func (*Config) Descriptor() ([]byte, []int) {
  443. return fileDescriptor_6b1608360690c5fc, []int{7}
  444. }
  445. func (m *Config) XXX_Unmarshal(b []byte) error {
  446. return xxx_messageInfo_Config.Unmarshal(m, b)
  447. }
  448. func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  449. return xxx_messageInfo_Config.Marshal(b, m, deterministic)
  450. }
  451. func (m *Config) XXX_Merge(src proto.Message) {
  452. xxx_messageInfo_Config.Merge(m, src)
  453. }
  454. func (m *Config) XXX_Size() int {
  455. return xxx_messageInfo_Config.Size(m)
  456. }
  457. func (m *Config) XXX_DiscardUnknown() {
  458. xxx_messageInfo_Config.DiscardUnknown(m)
  459. }
  460. var xxx_messageInfo_Config proto.InternalMessageInfo
  461. func (m *Config) GetDomainStrategy() Config_DomainStrategy {
  462. if m != nil {
  463. return m.DomainStrategy
  464. }
  465. return Config_AsIs
  466. }
  467. func (m *Config) GetRule() []*RoutingRule {
  468. if m != nil {
  469. return m.Rule
  470. }
  471. return nil
  472. }
  473. func init() {
  474. proto.RegisterEnum("v2ray.core.app.router.Domain_Type", Domain_Type_name, Domain_Type_value)
  475. proto.RegisterEnum("v2ray.core.app.router.Config_DomainStrategy", Config_DomainStrategy_name, Config_DomainStrategy_value)
  476. proto.RegisterType((*Domain)(nil), "v2ray.core.app.router.Domain")
  477. proto.RegisterType((*CIDR)(nil), "v2ray.core.app.router.CIDR")
  478. proto.RegisterType((*GeoIP)(nil), "v2ray.core.app.router.GeoIP")
  479. proto.RegisterType((*GeoIPList)(nil), "v2ray.core.app.router.GeoIPList")
  480. proto.RegisterType((*GeoSite)(nil), "v2ray.core.app.router.GeoSite")
  481. proto.RegisterType((*GeoSiteList)(nil), "v2ray.core.app.router.GeoSiteList")
  482. proto.RegisterType((*RoutingRule)(nil), "v2ray.core.app.router.RoutingRule")
  483. proto.RegisterType((*Config)(nil), "v2ray.core.app.router.Config")
  484. }
  485. func init() {
  486. proto.RegisterFile("v2ray.com/core/app/router/config.proto", fileDescriptor_6b1608360690c5fc)
  487. }
  488. var fileDescriptor_6b1608360690c5fc = []byte{
  489. // 691 bytes of a gzipped FileDescriptorProto
  490. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xdd, 0x6e, 0xd3, 0x4c,
  491. 0x10, 0xfd, 0xec, 0xfc, 0xb4, 0x1e, 0xe7, 0x0b, 0xd6, 0x8a, 0x22, 0x53, 0x28, 0x04, 0x0b, 0x41,
  492. 0x2e, 0x90, 0x23, 0xa5, 0xc0, 0x1d, 0x2a, 0x6d, 0x5a, 0xa2, 0x48, 0x50, 0xa2, 0x6d, 0xcb, 0x05,
  493. 0x5c, 0x44, 0xae, 0xb3, 0x35, 0x16, 0xce, 0xee, 0x6a, 0xbd, 0x2e, 0xcd, 0x2b, 0xf0, 0x20, 0x5c,
  494. 0xf0, 0x54, 0x3c, 0x0a, 0xda, 0x9f, 0x40, 0x8b, 0x1a, 0x88, 0xb8, 0xdb, 0x59, 0x9f, 0x33, 0x73,
  495. 0xe6, 0x78, 0x76, 0xe0, 0xd1, 0x79, 0x5f, 0x24, 0xf3, 0x38, 0x65, 0xb3, 0x5e, 0xca, 0x04, 0xe9,
  496. 0x25, 0x9c, 0xf7, 0x04, 0xab, 0x24, 0x11, 0xbd, 0x94, 0xd1, 0xb3, 0x3c, 0x8b, 0xb9, 0x60, 0x92,
  497. 0xa1, 0x8d, 0x05, 0x4e, 0x90, 0x38, 0xe1, 0x3c, 0x36, 0x98, 0xcd, 0x87, 0xbf, 0xd1, 0x53, 0x36,
  498. 0x9b, 0x31, 0xda, 0xa3, 0x44, 0xf6, 0x38, 0x13, 0xd2, 0x90, 0x37, 0x1f, 0x2f, 0x47, 0x51, 0x22,
  499. 0x3f, 0x33, 0xf1, 0xc9, 0x00, 0xa3, 0x2f, 0x0e, 0x34, 0xf7, 0xd9, 0x2c, 0xc9, 0x29, 0x7a, 0x0e,
  500. 0x75, 0x39, 0xe7, 0x24, 0x74, 0x3a, 0x4e, 0xb7, 0xdd, 0x8f, 0xe2, 0x6b, 0xeb, 0xc7, 0x06, 0x1c,
  501. 0x1f, 0xcf, 0x39, 0xc1, 0x1a, 0x8f, 0x6e, 0x42, 0xe3, 0x3c, 0x29, 0x2a, 0x12, 0xba, 0x1d, 0xa7,
  502. 0xeb, 0x61, 0x13, 0x44, 0x7d, 0xa8, 0x2b, 0x0c, 0xf2, 0xa0, 0x31, 0x2e, 0x92, 0x9c, 0x06, 0xff,
  503. 0xa9, 0x23, 0x26, 0x19, 0xb9, 0x08, 0x1c, 0x04, 0x8b, 0xaa, 0x81, 0x8b, 0xd6, 0xa1, 0xfe, 0xaa,
  504. 0x2a, 0x8a, 0xa0, 0x16, 0xc5, 0x50, 0x1f, 0x8c, 0xf6, 0x31, 0x6a, 0x83, 0x9b, 0x73, 0xad, 0xa3,
  505. 0x85, 0xdd, 0x9c, 0xa3, 0x5b, 0xd0, 0xe4, 0x82, 0x9c, 0xe5, 0x17, 0xba, 0xc4, 0xff, 0xd8, 0x46,
  506. 0xd1, 0x07, 0x68, 0x0c, 0x09, 0x1b, 0x8d, 0xd1, 0x03, 0x68, 0xa5, 0xac, 0xa2, 0x52, 0xcc, 0x27,
  507. 0x29, 0x9b, 0x9a, 0x16, 0x3c, 0xec, 0xdb, 0xbb, 0x01, 0x9b, 0x12, 0xd4, 0x83, 0x7a, 0x9a, 0x4f,
  508. 0x45, 0xe8, 0x76, 0x6a, 0x5d, 0xbf, 0x7f, 0x67, 0x49, 0x77, 0xaa, 0x3c, 0xd6, 0xc0, 0x68, 0x07,
  509. 0x3c, 0x9d, 0xfc, 0x75, 0x5e, 0x4a, 0xd4, 0x87, 0x06, 0x51, 0xa9, 0x42, 0x47, 0xd3, 0xef, 0x2e,
  510. 0xa1, 0x6b, 0x02, 0x36, 0xd0, 0x28, 0x85, 0xb5, 0x21, 0x61, 0x47, 0xb9, 0x24, 0xab, 0xe8, 0x7b,
  511. 0x06, 0xcd, 0xa9, 0x76, 0xc4, 0x2a, 0xdc, 0xfa, 0xa3, 0xff, 0xd8, 0x82, 0xa3, 0x01, 0xf8, 0xb6,
  512. 0x88, 0xd6, 0xf9, 0xf4, 0xaa, 0xce, 0x7b, 0xcb, 0x75, 0x2a, 0xca, 0x42, 0xe9, 0xd7, 0x3a, 0xf8,
  513. 0x98, 0x55, 0x32, 0xa7, 0x19, 0xae, 0x0a, 0x82, 0x02, 0xa8, 0xc9, 0x24, 0xb3, 0x2a, 0xd5, 0xf1,
  514. 0x1f, 0xd5, 0xa1, 0x6d, 0x6b, 0x7a, 0xed, 0xaf, 0xa6, 0xef, 0xb9, 0xa1, 0x63, 0x8c, 0x57, 0x5e,
  515. 0x67, 0x84, 0xe5, 0x3c, 0x84, 0x55, 0xbc, 0xd6, 0x50, 0xb4, 0x03, 0xa0, 0xa6, 0x7f, 0x22, 0x12,
  516. 0x9a, 0x91, 0xb0, 0xde, 0x71, 0xba, 0x7e, 0xbf, 0x73, 0x99, 0x68, 0x1e, 0x40, 0x4c, 0x89, 0x8c,
  517. 0xc7, 0x4c, 0x48, 0xac, 0x70, 0xd8, 0xe3, 0x8b, 0x23, 0x3a, 0x80, 0x96, 0x7d, 0x18, 0x93, 0x22,
  518. 0x2f, 0x65, 0xd8, 0xd0, 0x29, 0xa2, 0x25, 0x29, 0x0e, 0x0d, 0x54, 0x59, 0x8e, 0x7d, 0xfa, 0x2b,
  519. 0x40, 0x2f, 0xc1, 0x2f, 0x59, 0x25, 0x52, 0x32, 0xd1, 0x7d, 0x37, 0x57, 0xeb, 0x1b, 0x0c, 0x67,
  520. 0xa0, 0xba, 0xdf, 0x81, 0x96, 0xcd, 0x60, 0x4c, 0xf0, 0x57, 0x30, 0xc1, 0xd6, 0x1c, 0x6a, 0x2b,
  521. 0xb6, 0x00, 0xaa, 0x92, 0x88, 0x09, 0x99, 0x25, 0x79, 0x11, 0xae, 0x75, 0x6a, 0x5d, 0x0f, 0x7b,
  522. 0xea, 0xe6, 0x40, 0x5d, 0xa0, 0xfb, 0xe0, 0xe7, 0xf4, 0x94, 0x55, 0x74, 0x3a, 0x51, 0xff, 0x78,
  523. 0x5d, 0x7f, 0x07, 0x7b, 0x75, 0x9c, 0x64, 0x68, 0x13, 0xd6, 0xf5, 0x6a, 0x48, 0x59, 0x11, 0x7a,
  524. 0xfa, 0xeb, 0xcf, 0x38, 0xfa, 0xee, 0x40, 0x73, 0xa0, 0x97, 0x14, 0x3a, 0x81, 0x1b, 0xe6, 0x27,
  525. 0x4f, 0x4a, 0x29, 0x12, 0x49, 0xb2, 0xb9, 0x5d, 0x1c, 0x4f, 0x96, 0x75, 0x6b, 0x96, 0x9b, 0x99,
  526. 0x90, 0x23, 0xcb, 0xc1, 0xed, 0xe9, 0x95, 0x58, 0x2d, 0x21, 0x51, 0x15, 0xc4, 0x8e, 0xd9, 0xb2,
  527. 0x25, 0x74, 0x69, 0x58, 0xb1, 0xc6, 0x47, 0x43, 0x68, 0x5f, 0xcd, 0xac, 0xd6, 0xca, 0x6e, 0x39,
  528. 0x2a, 0xcd, 0xde, 0x39, 0x29, 0xc9, 0x88, 0x07, 0x0e, 0x0a, 0xa0, 0x35, 0xe2, 0xa3, 0xb3, 0x43,
  529. 0x46, 0xdf, 0x24, 0x32, 0xfd, 0x18, 0xb8, 0xa8, 0x0d, 0x30, 0xe2, 0x6f, 0xe9, 0x3e, 0x99, 0x25,
  530. 0x74, 0x1a, 0xd4, 0xf6, 0x5e, 0xc0, 0xed, 0x94, 0xcd, 0xae, 0xaf, 0x3b, 0x76, 0xde, 0x37, 0xcd,
  531. 0xe9, 0x9b, 0xbb, 0xf1, 0xae, 0x8f, 0x93, 0x79, 0x3c, 0x50, 0x88, 0x5d, 0xce, 0xb5, 0x24, 0x22,
  532. 0x4e, 0x9b, 0xda, 0xab, 0xed, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x42, 0x5b, 0xf4, 0x78, 0xe6,
  533. 0x05, 0x00, 0x00,
  534. }