├── .gitignore ├── LICENSE ├── README.md ├── api ├── main.lua ├── router.lua └── server.lua ├── bin ├── cmds │ ├── register.lua │ ├── reload.lua │ ├── restart.lua │ ├── start.lua │ ├── stop.lua │ └── store.lua ├── lib │ └── ansicolors.lua ├── main.lua ├── orange └── utils │ ├── args_util.lua │ ├── command_util.lua │ ├── db_util.lua │ ├── logger.lua │ └── ngx_handle.lua ├── conf ├── mime.types ├── nginx.conf └── orange.conf ├── dashboard ├── main.lua ├── middleware │ ├── check_is_admin.lua │ └── check_login.lua ├── model │ ├── api_stat.lua │ ├── db.lua │ ├── node.lua │ ├── user.lua │ └── waf.lua ├── routes │ ├── admin.lua │ ├── api_stat.lua │ ├── auth.lua │ ├── dashboard.lua │ ├── node.lua │ └── waf.lua ├── server.lua ├── static │ ├── css │ │ ├── app.css │ │ ├── bootstrap-table.css │ │ ├── bootstrap.min.css │ │ ├── dialog.min.css │ │ ├── fe-jsonformat-content.css │ │ ├── font-awesome.min.css │ │ ├── highlight-8.4-github.min.css │ │ ├── style.css │ │ └── toastr.css │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ ├── fontawesome-webfont.woff2 │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ ├── img │ │ ├── favicon.ico │ │ ├── toastr-error.png │ │ ├── toastr-info.png │ │ ├── toastr-success.png │ │ └── toastr-warning.png │ └── js │ │ ├── api_stat.js │ │ ├── balancer.js │ │ ├── basic_auth.js │ │ ├── dynamic_upstream.js │ │ ├── echarts3 │ │ ├── echarts.common.min.js │ │ └── echarts.min.js │ │ ├── headers.js │ │ ├── hmac_auth.js │ │ ├── jwt_auth.js │ │ ├── kafka.js │ │ ├── key_auth.js │ │ ├── libs │ │ ├── FileSaver.min.js │ │ ├── MD5.min.js │ │ ├── bootstrap.min.js │ │ ├── dialog-min.js │ │ ├── highlight-8.4.min.js │ │ ├── jquery-ui-1.10.4.min.js │ │ ├── jquery-ui.custom.min.js │ │ ├── jquery.min.js │ │ ├── json-format-dealer.js │ │ ├── json-format-ent.js │ │ ├── json-format-min.js │ │ ├── json-format.js │ │ └── juicer-min.js │ │ ├── monitor.js │ │ ├── monitor_stat.js │ │ ├── node.js │ │ ├── orange.js │ │ ├── plugins │ │ ├── bootstrap-table │ │ │ ├── bootstrap-table-locale-all.js │ │ │ └── bootstrap-table.js │ │ ├── metisMenu │ │ │ └── jquery.metisMenu.js │ │ ├── slimscroll │ │ │ └── jquery.slimscroll.min.js │ │ └── toastr │ │ │ └── toastr.min.js │ │ ├── property_rate_limiting.js │ │ ├── rate_limiting.js │ │ ├── redirect.js │ │ ├── rewrite.js │ │ ├── signature_auth.js │ │ ├── status.js │ │ ├── user_manage.js │ │ └── waf.js └── views │ ├── api_stat.html │ ├── balancer.html │ ├── basic_auth │ ├── basic_auth.html │ ├── credential-add.html │ ├── credential-edit.html │ └── credential-tmpl.html │ ├── common │ ├── common_js.html │ ├── condition-add.html │ ├── condition-edit.html │ ├── data-view-part.html │ ├── extraction-add.html │ ├── extraction-edit.html │ ├── extraction-tmpl.html │ ├── header-add.html │ ├── header-edit.html │ ├── header-tmpl.html │ ├── left_nav.html │ ├── logo.html │ ├── meta.html │ ├── plugin-op.html │ ├── right-selector-rule-part.html │ ├── selector-add.html │ ├── selector-edit.html │ ├── selector-item-tpl.html │ └── selector-judge-condition-part.html │ ├── dynamic_upstream.html │ ├── error.html │ ├── headers.html │ ├── help.html │ ├── hmac_auth │ ├── credential-add.html │ ├── credential-edit.html │ ├── credential-tmpl.html │ └── hmac_auth.html │ ├── index.html │ ├── jwt_auth │ ├── credential-add.html │ ├── credential-edit.html │ ├── credential-tmpl.html │ └── jwt_auth.html │ ├── kafka.html │ ├── key_auth │ ├── credential-add.html │ ├── credential-edit.html │ ├── credential-tmpl.html │ └── key_auth.html │ ├── login.html │ ├── monitor-rule-stat.html │ ├── monitor.html │ ├── node.html │ ├── property_rate_limiting.html │ ├── rate_limiting.html │ ├── redirect.html │ ├── rewrite.html │ ├── signature_auth │ ├── credential-add.html │ ├── credential-edit.html │ ├── credential-tmpl.html │ └── signature_auth.html │ ├── status.html │ ├── user_manage.html │ └── waf.html ├── install └── orange.sql ├── lor ├── index.lua ├── lib │ ├── application.lua │ ├── debug.lua │ ├── holder.lua │ ├── methods.lua │ ├── middleware │ │ ├── cookie.lua │ │ ├── init.lua │ │ └── session.lua │ ├── node.lua │ ├── request.lua │ ├── response.lua │ ├── router │ │ ├── group.lua │ │ └── router.lua │ ├── trie.lua │ ├── utils │ │ ├── aes.lua │ │ ├── base64.lua │ │ └── utils.lua │ ├── view.lua │ └── wrap.lua └── version.lua ├── orange ├── lib │ ├── classic.lua │ ├── cookie.lua │ ├── date.lua │ ├── globalpatches.lua │ ├── jit-uuid.lua │ └── uuid.lua ├── orange.lua ├── plugins │ ├── README.md │ ├── api_stat │ │ ├── README.md │ │ ├── api.lua │ │ ├── handler.lua │ │ └── persist.lua │ ├── balancer │ │ ├── README.md │ │ ├── api.lua │ │ └── handler.lua │ ├── base_api.lua │ ├── base_handler.lua │ ├── basic_auth │ │ ├── README.md │ │ ├── api.lua │ │ └── handler.lua │ ├── common_api.lua │ ├── dynamic_upstream │ │ ├── README.md │ │ ├── api.lua │ │ └── handler.lua │ ├── headers │ │ ├── README.md │ │ ├── api.lua │ │ └── handler.lua │ ├── hmac_auth │ │ ├── README.md │ │ ├── api.lua │ │ └── handler.lua │ ├── jwt_auth │ │ ├── README.md │ │ ├── api.lua │ │ └── handler.lua │ ├── kafka │ │ ├── README.md │ │ ├── api.lua │ │ ├── handler.lua │ │ └── logger.lua │ ├── key_auth │ │ ├── README.md │ │ ├── api.lua │ │ └── handler.lua │ ├── monitor │ │ ├── README.md │ │ ├── api.lua │ │ ├── handler.lua │ │ └── stat.lua │ ├── node │ │ ├── README.md │ │ ├── api.lua │ │ ├── handler.lua │ │ └── node.lua │ ├── property_rate_limiting │ │ ├── README.md │ │ ├── api.lua │ │ ├── counter.lua │ │ ├── handler.lua │ │ └── plugin.lua │ ├── rate_limiting │ │ ├── README.md │ │ ├── api.lua │ │ ├── counter.lua │ │ └── handler.lua │ ├── redirect │ │ ├── README.md │ │ ├── api.lua │ │ └── handler.lua │ ├── rewrite │ │ ├── README.md │ │ ├── api.lua │ │ └── handler.lua │ ├── signature_auth │ │ ├── README.md │ │ ├── api.lua │ │ └── handler.lua │ ├── stat │ │ ├── README.md │ │ ├── api.lua │ │ ├── handler.lua │ │ └── stat.lua │ └── waf │ │ ├── README.md │ │ ├── api.lua │ │ └── handler.lua ├── store │ ├── base.lua │ ├── consul_kv.lua │ ├── dao.lua │ ├── mysql_db.lua │ ├── mysql_store.lua │ └── orange_db.lua ├── utils │ ├── balancer.lua │ ├── condition.lua │ ├── config_loader.lua │ ├── constants.lua │ ├── extractor.lua │ ├── handle.lua │ ├── headers.lua │ ├── io.lua │ ├── ip_convert.lua │ ├── json.lua │ ├── judge.lua │ ├── rules_cache.lua │ ├── stringy.lua │ └── utils.lua └── version.lua └── resty ├── cookie.lua ├── evp.lua ├── hmac.lua ├── http.lua ├── http_headers.lua ├── jwt-validators.lua ├── jwt.lua ├── kafka ├── broker.lua ├── client.lua ├── errors.lua ├── producer.lua ├── request.lua ├── response.lua ├── ringbuffer.lua └── sendbuffer.lua ├── template.lua └── template ├── html.lua └── microbenchmark.lua /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/README.md -------------------------------------------------------------------------------- /api/main.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/api/main.lua -------------------------------------------------------------------------------- /api/router.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/api/router.lua -------------------------------------------------------------------------------- /api/server.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/api/server.lua -------------------------------------------------------------------------------- /bin/cmds/register.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/bin/cmds/register.lua -------------------------------------------------------------------------------- /bin/cmds/reload.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/bin/cmds/reload.lua -------------------------------------------------------------------------------- /bin/cmds/restart.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/bin/cmds/restart.lua -------------------------------------------------------------------------------- /bin/cmds/start.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/bin/cmds/start.lua -------------------------------------------------------------------------------- /bin/cmds/stop.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/bin/cmds/stop.lua -------------------------------------------------------------------------------- /bin/cmds/store.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/bin/cmds/store.lua -------------------------------------------------------------------------------- /bin/lib/ansicolors.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/bin/lib/ansicolors.lua -------------------------------------------------------------------------------- /bin/main.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/bin/main.lua -------------------------------------------------------------------------------- /bin/orange: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/bin/orange -------------------------------------------------------------------------------- /bin/utils/args_util.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/bin/utils/args_util.lua -------------------------------------------------------------------------------- /bin/utils/command_util.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/bin/utils/command_util.lua -------------------------------------------------------------------------------- /bin/utils/db_util.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/bin/utils/db_util.lua -------------------------------------------------------------------------------- /bin/utils/logger.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/bin/utils/logger.lua -------------------------------------------------------------------------------- /bin/utils/ngx_handle.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/bin/utils/ngx_handle.lua -------------------------------------------------------------------------------- /conf/mime.types: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/conf/mime.types -------------------------------------------------------------------------------- /conf/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/conf/nginx.conf -------------------------------------------------------------------------------- /conf/orange.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/conf/orange.conf -------------------------------------------------------------------------------- /dashboard/main.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/main.lua -------------------------------------------------------------------------------- /dashboard/middleware/check_is_admin.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/middleware/check_is_admin.lua -------------------------------------------------------------------------------- /dashboard/middleware/check_login.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/middleware/check_login.lua -------------------------------------------------------------------------------- /dashboard/model/api_stat.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/model/api_stat.lua -------------------------------------------------------------------------------- /dashboard/model/db.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/model/db.lua -------------------------------------------------------------------------------- /dashboard/model/node.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/model/node.lua -------------------------------------------------------------------------------- /dashboard/model/user.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/model/user.lua -------------------------------------------------------------------------------- /dashboard/model/waf.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/model/waf.lua -------------------------------------------------------------------------------- /dashboard/routes/admin.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/routes/admin.lua -------------------------------------------------------------------------------- /dashboard/routes/api_stat.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/routes/api_stat.lua -------------------------------------------------------------------------------- /dashboard/routes/auth.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/routes/auth.lua -------------------------------------------------------------------------------- /dashboard/routes/dashboard.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/routes/dashboard.lua -------------------------------------------------------------------------------- /dashboard/routes/node.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/routes/node.lua -------------------------------------------------------------------------------- /dashboard/routes/waf.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/routes/waf.lua -------------------------------------------------------------------------------- /dashboard/server.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/server.lua -------------------------------------------------------------------------------- /dashboard/static/css/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/css/app.css -------------------------------------------------------------------------------- /dashboard/static/css/bootstrap-table.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/css/bootstrap-table.css -------------------------------------------------------------------------------- /dashboard/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /dashboard/static/css/dialog.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/css/dialog.min.css -------------------------------------------------------------------------------- /dashboard/static/css/fe-jsonformat-content.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/css/fe-jsonformat-content.css -------------------------------------------------------------------------------- /dashboard/static/css/font-awesome.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/css/font-awesome.min.css -------------------------------------------------------------------------------- /dashboard/static/css/highlight-8.4-github.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/css/highlight-8.4-github.min.css -------------------------------------------------------------------------------- /dashboard/static/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/css/style.css -------------------------------------------------------------------------------- /dashboard/static/css/toastr.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/css/toastr.css -------------------------------------------------------------------------------- /dashboard/static/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /dashboard/static/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /dashboard/static/fonts/fontawesome-webfont.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/fonts/fontawesome-webfont.svg -------------------------------------------------------------------------------- /dashboard/static/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /dashboard/static/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /dashboard/static/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /dashboard/static/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /dashboard/static/fonts/glyphicons-halflings-regular.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/fonts/glyphicons-halflings-regular.svg -------------------------------------------------------------------------------- /dashboard/static/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /dashboard/static/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /dashboard/static/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /dashboard/static/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/img/favicon.ico -------------------------------------------------------------------------------- /dashboard/static/img/toastr-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/img/toastr-error.png -------------------------------------------------------------------------------- /dashboard/static/img/toastr-info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/img/toastr-info.png -------------------------------------------------------------------------------- /dashboard/static/img/toastr-success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/img/toastr-success.png -------------------------------------------------------------------------------- /dashboard/static/img/toastr-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/img/toastr-warning.png -------------------------------------------------------------------------------- /dashboard/static/js/api_stat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/api_stat.js -------------------------------------------------------------------------------- /dashboard/static/js/balancer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/balancer.js -------------------------------------------------------------------------------- /dashboard/static/js/basic_auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/basic_auth.js -------------------------------------------------------------------------------- /dashboard/static/js/dynamic_upstream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/dynamic_upstream.js -------------------------------------------------------------------------------- /dashboard/static/js/echarts3/echarts.common.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/echarts3/echarts.common.min.js -------------------------------------------------------------------------------- /dashboard/static/js/echarts3/echarts.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/echarts3/echarts.min.js -------------------------------------------------------------------------------- /dashboard/static/js/headers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/headers.js -------------------------------------------------------------------------------- /dashboard/static/js/hmac_auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/hmac_auth.js -------------------------------------------------------------------------------- /dashboard/static/js/jwt_auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/jwt_auth.js -------------------------------------------------------------------------------- /dashboard/static/js/kafka.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/kafka.js -------------------------------------------------------------------------------- /dashboard/static/js/key_auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/key_auth.js -------------------------------------------------------------------------------- /dashboard/static/js/libs/FileSaver.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/libs/FileSaver.min.js -------------------------------------------------------------------------------- /dashboard/static/js/libs/MD5.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/libs/MD5.min.js -------------------------------------------------------------------------------- /dashboard/static/js/libs/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/libs/bootstrap.min.js -------------------------------------------------------------------------------- /dashboard/static/js/libs/dialog-min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/libs/dialog-min.js -------------------------------------------------------------------------------- /dashboard/static/js/libs/highlight-8.4.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/libs/highlight-8.4.min.js -------------------------------------------------------------------------------- /dashboard/static/js/libs/jquery-ui-1.10.4.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/libs/jquery-ui-1.10.4.min.js -------------------------------------------------------------------------------- /dashboard/static/js/libs/jquery-ui.custom.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/libs/jquery-ui.custom.min.js -------------------------------------------------------------------------------- /dashboard/static/js/libs/jquery.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/libs/jquery.min.js -------------------------------------------------------------------------------- /dashboard/static/js/libs/json-format-dealer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/libs/json-format-dealer.js -------------------------------------------------------------------------------- /dashboard/static/js/libs/json-format-ent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/libs/json-format-ent.js -------------------------------------------------------------------------------- /dashboard/static/js/libs/json-format-min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/libs/json-format-min.js -------------------------------------------------------------------------------- /dashboard/static/js/libs/json-format.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/libs/json-format.js -------------------------------------------------------------------------------- /dashboard/static/js/libs/juicer-min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/libs/juicer-min.js -------------------------------------------------------------------------------- /dashboard/static/js/monitor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/monitor.js -------------------------------------------------------------------------------- /dashboard/static/js/monitor_stat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/monitor_stat.js -------------------------------------------------------------------------------- /dashboard/static/js/node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/node.js -------------------------------------------------------------------------------- /dashboard/static/js/orange.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/orange.js -------------------------------------------------------------------------------- /dashboard/static/js/plugins/bootstrap-table/bootstrap-table-locale-all.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/plugins/bootstrap-table/bootstrap-table-locale-all.js -------------------------------------------------------------------------------- /dashboard/static/js/plugins/bootstrap-table/bootstrap-table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/plugins/bootstrap-table/bootstrap-table.js -------------------------------------------------------------------------------- /dashboard/static/js/plugins/metisMenu/jquery.metisMenu.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/plugins/metisMenu/jquery.metisMenu.js -------------------------------------------------------------------------------- /dashboard/static/js/plugins/slimscroll/jquery.slimscroll.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/plugins/slimscroll/jquery.slimscroll.min.js -------------------------------------------------------------------------------- /dashboard/static/js/plugins/toastr/toastr.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/plugins/toastr/toastr.min.js -------------------------------------------------------------------------------- /dashboard/static/js/property_rate_limiting.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/property_rate_limiting.js -------------------------------------------------------------------------------- /dashboard/static/js/rate_limiting.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/rate_limiting.js -------------------------------------------------------------------------------- /dashboard/static/js/redirect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/redirect.js -------------------------------------------------------------------------------- /dashboard/static/js/rewrite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/rewrite.js -------------------------------------------------------------------------------- /dashboard/static/js/signature_auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/signature_auth.js -------------------------------------------------------------------------------- /dashboard/static/js/status.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/status.js -------------------------------------------------------------------------------- /dashboard/static/js/user_manage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/user_manage.js -------------------------------------------------------------------------------- /dashboard/static/js/waf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/static/js/waf.js -------------------------------------------------------------------------------- /dashboard/views/api_stat.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/api_stat.html -------------------------------------------------------------------------------- /dashboard/views/balancer.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/balancer.html -------------------------------------------------------------------------------- /dashboard/views/basic_auth/basic_auth.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/basic_auth/basic_auth.html -------------------------------------------------------------------------------- /dashboard/views/basic_auth/credential-add.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/basic_auth/credential-add.html -------------------------------------------------------------------------------- /dashboard/views/basic_auth/credential-edit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/basic_auth/credential-edit.html -------------------------------------------------------------------------------- /dashboard/views/basic_auth/credential-tmpl.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/basic_auth/credential-tmpl.html -------------------------------------------------------------------------------- /dashboard/views/common/common_js.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/common_js.html -------------------------------------------------------------------------------- /dashboard/views/common/condition-add.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/condition-add.html -------------------------------------------------------------------------------- /dashboard/views/common/condition-edit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/condition-edit.html -------------------------------------------------------------------------------- /dashboard/views/common/data-view-part.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/data-view-part.html -------------------------------------------------------------------------------- /dashboard/views/common/extraction-add.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/extraction-add.html -------------------------------------------------------------------------------- /dashboard/views/common/extraction-edit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/extraction-edit.html -------------------------------------------------------------------------------- /dashboard/views/common/extraction-tmpl.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/extraction-tmpl.html -------------------------------------------------------------------------------- /dashboard/views/common/header-add.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/header-add.html -------------------------------------------------------------------------------- /dashboard/views/common/header-edit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/header-edit.html -------------------------------------------------------------------------------- /dashboard/views/common/header-tmpl.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/header-tmpl.html -------------------------------------------------------------------------------- /dashboard/views/common/left_nav.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/left_nav.html -------------------------------------------------------------------------------- /dashboard/views/common/logo.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/logo.html -------------------------------------------------------------------------------- /dashboard/views/common/meta.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/meta.html -------------------------------------------------------------------------------- /dashboard/views/common/plugin-op.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/plugin-op.html -------------------------------------------------------------------------------- /dashboard/views/common/right-selector-rule-part.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/right-selector-rule-part.html -------------------------------------------------------------------------------- /dashboard/views/common/selector-add.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/selector-add.html -------------------------------------------------------------------------------- /dashboard/views/common/selector-edit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/selector-edit.html -------------------------------------------------------------------------------- /dashboard/views/common/selector-item-tpl.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/selector-item-tpl.html -------------------------------------------------------------------------------- /dashboard/views/common/selector-judge-condition-part.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/common/selector-judge-condition-part.html -------------------------------------------------------------------------------- /dashboard/views/dynamic_upstream.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/dynamic_upstream.html -------------------------------------------------------------------------------- /dashboard/views/error.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/error.html -------------------------------------------------------------------------------- /dashboard/views/headers.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/headers.html -------------------------------------------------------------------------------- /dashboard/views/help.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/help.html -------------------------------------------------------------------------------- /dashboard/views/hmac_auth/credential-add.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/hmac_auth/credential-add.html -------------------------------------------------------------------------------- /dashboard/views/hmac_auth/credential-edit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/hmac_auth/credential-edit.html -------------------------------------------------------------------------------- /dashboard/views/hmac_auth/credential-tmpl.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/hmac_auth/credential-tmpl.html -------------------------------------------------------------------------------- /dashboard/views/hmac_auth/hmac_auth.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/hmac_auth/hmac_auth.html -------------------------------------------------------------------------------- /dashboard/views/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/index.html -------------------------------------------------------------------------------- /dashboard/views/jwt_auth/credential-add.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/jwt_auth/credential-add.html -------------------------------------------------------------------------------- /dashboard/views/jwt_auth/credential-edit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/jwt_auth/credential-edit.html -------------------------------------------------------------------------------- /dashboard/views/jwt_auth/credential-tmpl.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/jwt_auth/credential-tmpl.html -------------------------------------------------------------------------------- /dashboard/views/jwt_auth/jwt_auth.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/jwt_auth/jwt_auth.html -------------------------------------------------------------------------------- /dashboard/views/kafka.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/kafka.html -------------------------------------------------------------------------------- /dashboard/views/key_auth/credential-add.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/key_auth/credential-add.html -------------------------------------------------------------------------------- /dashboard/views/key_auth/credential-edit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/key_auth/credential-edit.html -------------------------------------------------------------------------------- /dashboard/views/key_auth/credential-tmpl.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/key_auth/credential-tmpl.html -------------------------------------------------------------------------------- /dashboard/views/key_auth/key_auth.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/key_auth/key_auth.html -------------------------------------------------------------------------------- /dashboard/views/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/login.html -------------------------------------------------------------------------------- /dashboard/views/monitor-rule-stat.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/monitor-rule-stat.html -------------------------------------------------------------------------------- /dashboard/views/monitor.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/monitor.html -------------------------------------------------------------------------------- /dashboard/views/node.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/node.html -------------------------------------------------------------------------------- /dashboard/views/property_rate_limiting.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/property_rate_limiting.html -------------------------------------------------------------------------------- /dashboard/views/rate_limiting.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/rate_limiting.html -------------------------------------------------------------------------------- /dashboard/views/redirect.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/redirect.html -------------------------------------------------------------------------------- /dashboard/views/rewrite.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/rewrite.html -------------------------------------------------------------------------------- /dashboard/views/signature_auth/credential-add.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/signature_auth/credential-add.html -------------------------------------------------------------------------------- /dashboard/views/signature_auth/credential-edit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/signature_auth/credential-edit.html -------------------------------------------------------------------------------- /dashboard/views/signature_auth/credential-tmpl.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/signature_auth/credential-tmpl.html -------------------------------------------------------------------------------- /dashboard/views/signature_auth/signature_auth.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/signature_auth/signature_auth.html -------------------------------------------------------------------------------- /dashboard/views/status.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/status.html -------------------------------------------------------------------------------- /dashboard/views/user_manage.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/user_manage.html -------------------------------------------------------------------------------- /dashboard/views/waf.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/dashboard/views/waf.html -------------------------------------------------------------------------------- /install/orange.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/install/orange.sql -------------------------------------------------------------------------------- /lor/index.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/index.lua -------------------------------------------------------------------------------- /lor/lib/application.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/application.lua -------------------------------------------------------------------------------- /lor/lib/debug.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/debug.lua -------------------------------------------------------------------------------- /lor/lib/holder.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/holder.lua -------------------------------------------------------------------------------- /lor/lib/methods.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/methods.lua -------------------------------------------------------------------------------- /lor/lib/middleware/cookie.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/middleware/cookie.lua -------------------------------------------------------------------------------- /lor/lib/middleware/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/middleware/init.lua -------------------------------------------------------------------------------- /lor/lib/middleware/session.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/middleware/session.lua -------------------------------------------------------------------------------- /lor/lib/node.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/node.lua -------------------------------------------------------------------------------- /lor/lib/request.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/request.lua -------------------------------------------------------------------------------- /lor/lib/response.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/response.lua -------------------------------------------------------------------------------- /lor/lib/router/group.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/router/group.lua -------------------------------------------------------------------------------- /lor/lib/router/router.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/router/router.lua -------------------------------------------------------------------------------- /lor/lib/trie.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/trie.lua -------------------------------------------------------------------------------- /lor/lib/utils/aes.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/utils/aes.lua -------------------------------------------------------------------------------- /lor/lib/utils/base64.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/utils/base64.lua -------------------------------------------------------------------------------- /lor/lib/utils/utils.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/utils/utils.lua -------------------------------------------------------------------------------- /lor/lib/view.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/view.lua -------------------------------------------------------------------------------- /lor/lib/wrap.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/lor/lib/wrap.lua -------------------------------------------------------------------------------- /lor/version.lua: -------------------------------------------------------------------------------- 1 | return "0.3.4" 2 | -------------------------------------------------------------------------------- /orange/lib/classic.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/lib/classic.lua -------------------------------------------------------------------------------- /orange/lib/cookie.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/lib/cookie.lua -------------------------------------------------------------------------------- /orange/lib/date.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/lib/date.lua -------------------------------------------------------------------------------- /orange/lib/globalpatches.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/lib/globalpatches.lua -------------------------------------------------------------------------------- /orange/lib/jit-uuid.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/lib/jit-uuid.lua -------------------------------------------------------------------------------- /orange/lib/uuid.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/lib/uuid.lua -------------------------------------------------------------------------------- /orange/orange.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/orange.lua -------------------------------------------------------------------------------- /orange/plugins/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/README.md -------------------------------------------------------------------------------- /orange/plugins/api_stat/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/api_stat/README.md -------------------------------------------------------------------------------- /orange/plugins/api_stat/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/api_stat/api.lua -------------------------------------------------------------------------------- /orange/plugins/api_stat/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/api_stat/handler.lua -------------------------------------------------------------------------------- /orange/plugins/api_stat/persist.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/api_stat/persist.lua -------------------------------------------------------------------------------- /orange/plugins/balancer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/balancer/README.md -------------------------------------------------------------------------------- /orange/plugins/balancer/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/balancer/api.lua -------------------------------------------------------------------------------- /orange/plugins/balancer/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/balancer/handler.lua -------------------------------------------------------------------------------- /orange/plugins/base_api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/base_api.lua -------------------------------------------------------------------------------- /orange/plugins/base_handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/base_handler.lua -------------------------------------------------------------------------------- /orange/plugins/basic_auth/README.md: -------------------------------------------------------------------------------- 1 | ### HTTP Basic Authorization Plugin 2 | 3 | -------------------------------------------------------------------------------- /orange/plugins/basic_auth/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/basic_auth/api.lua -------------------------------------------------------------------------------- /orange/plugins/basic_auth/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/basic_auth/handler.lua -------------------------------------------------------------------------------- /orange/plugins/common_api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/common_api.lua -------------------------------------------------------------------------------- /orange/plugins/dynamic_upstream/README.md: -------------------------------------------------------------------------------- 1 | ### 动态负载 插件 2 | 参考 3 | https://github.com/thisverygoodhhhh/orange/wiki/dynamic-upstream-usage 4 | 5 | -------------------------------------------------------------------------------- /orange/plugins/dynamic_upstream/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/dynamic_upstream/api.lua -------------------------------------------------------------------------------- /orange/plugins/dynamic_upstream/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/dynamic_upstream/handler.lua -------------------------------------------------------------------------------- /orange/plugins/headers/README.md: -------------------------------------------------------------------------------- 1 | ### headers 插件 2 | - 匹配selector,rule,修改http 的头信息 -------------------------------------------------------------------------------- /orange/plugins/headers/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/headers/api.lua -------------------------------------------------------------------------------- /orange/plugins/headers/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/headers/handler.lua -------------------------------------------------------------------------------- /orange/plugins/hmac_auth/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/hmac_auth/README.md -------------------------------------------------------------------------------- /orange/plugins/hmac_auth/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/hmac_auth/api.lua -------------------------------------------------------------------------------- /orange/plugins/hmac_auth/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/hmac_auth/handler.lua -------------------------------------------------------------------------------- /orange/plugins/jwt_auth/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/jwt_auth/README.md -------------------------------------------------------------------------------- /orange/plugins/jwt_auth/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/jwt_auth/api.lua -------------------------------------------------------------------------------- /orange/plugins/jwt_auth/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/jwt_auth/handler.lua -------------------------------------------------------------------------------- /orange/plugins/kafka/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/kafka/README.md -------------------------------------------------------------------------------- /orange/plugins/kafka/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/kafka/api.lua -------------------------------------------------------------------------------- /orange/plugins/kafka/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/kafka/handler.lua -------------------------------------------------------------------------------- /orange/plugins/kafka/logger.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/kafka/logger.lua -------------------------------------------------------------------------------- /orange/plugins/key_auth/README.md: -------------------------------------------------------------------------------- 1 | ### HTTP Key Authorization Plugin 2 | 3 | -------------------------------------------------------------------------------- /orange/plugins/key_auth/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/key_auth/api.lua -------------------------------------------------------------------------------- /orange/plugins/key_auth/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/key_auth/handler.lua -------------------------------------------------------------------------------- /orange/plugins/monitor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/monitor/README.md -------------------------------------------------------------------------------- /orange/plugins/monitor/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/monitor/api.lua -------------------------------------------------------------------------------- /orange/plugins/monitor/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/monitor/handler.lua -------------------------------------------------------------------------------- /orange/plugins/monitor/stat.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/monitor/stat.lua -------------------------------------------------------------------------------- /orange/plugins/node/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/node/README.md -------------------------------------------------------------------------------- /orange/plugins/node/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/node/api.lua -------------------------------------------------------------------------------- /orange/plugins/node/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/node/handler.lua -------------------------------------------------------------------------------- /orange/plugins/node/node.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/node/node.lua -------------------------------------------------------------------------------- /orange/plugins/property_rate_limiting/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/property_rate_limiting/README.md -------------------------------------------------------------------------------- /orange/plugins/property_rate_limiting/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/property_rate_limiting/api.lua -------------------------------------------------------------------------------- /orange/plugins/property_rate_limiting/counter.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/property_rate_limiting/counter.lua -------------------------------------------------------------------------------- /orange/plugins/property_rate_limiting/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/property_rate_limiting/handler.lua -------------------------------------------------------------------------------- /orange/plugins/property_rate_limiting/plugin.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/property_rate_limiting/plugin.lua -------------------------------------------------------------------------------- /orange/plugins/rate_limiting/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/rate_limiting/README.md -------------------------------------------------------------------------------- /orange/plugins/rate_limiting/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/rate_limiting/api.lua -------------------------------------------------------------------------------- /orange/plugins/rate_limiting/counter.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/rate_limiting/counter.lua -------------------------------------------------------------------------------- /orange/plugins/rate_limiting/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/rate_limiting/handler.lua -------------------------------------------------------------------------------- /orange/plugins/redirect/README.md: -------------------------------------------------------------------------------- 1 | ### redirect插件 2 | 3 | - 根据配置的规则进行重定向 -------------------------------------------------------------------------------- /orange/plugins/redirect/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/redirect/api.lua -------------------------------------------------------------------------------- /orange/plugins/redirect/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/redirect/handler.lua -------------------------------------------------------------------------------- /orange/plugins/rewrite/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/rewrite/README.md -------------------------------------------------------------------------------- /orange/plugins/rewrite/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/rewrite/api.lua -------------------------------------------------------------------------------- /orange/plugins/rewrite/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/rewrite/handler.lua -------------------------------------------------------------------------------- /orange/plugins/signature_auth/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/signature_auth/README.md -------------------------------------------------------------------------------- /orange/plugins/signature_auth/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/signature_auth/api.lua -------------------------------------------------------------------------------- /orange/plugins/signature_auth/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/signature_auth/handler.lua -------------------------------------------------------------------------------- /orange/plugins/stat/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/stat/README.md -------------------------------------------------------------------------------- /orange/plugins/stat/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/stat/api.lua -------------------------------------------------------------------------------- /orange/plugins/stat/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/stat/handler.lua -------------------------------------------------------------------------------- /orange/plugins/stat/stat.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/stat/stat.lua -------------------------------------------------------------------------------- /orange/plugins/waf/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/waf/README.md -------------------------------------------------------------------------------- /orange/plugins/waf/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/waf/api.lua -------------------------------------------------------------------------------- /orange/plugins/waf/handler.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/plugins/waf/handler.lua -------------------------------------------------------------------------------- /orange/store/base.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/store/base.lua -------------------------------------------------------------------------------- /orange/store/consul_kv.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/store/consul_kv.lua -------------------------------------------------------------------------------- /orange/store/dao.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/store/dao.lua -------------------------------------------------------------------------------- /orange/store/mysql_db.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/store/mysql_db.lua -------------------------------------------------------------------------------- /orange/store/mysql_store.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/store/mysql_store.lua -------------------------------------------------------------------------------- /orange/store/orange_db.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/store/orange_db.lua -------------------------------------------------------------------------------- /orange/utils/balancer.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/utils/balancer.lua -------------------------------------------------------------------------------- /orange/utils/condition.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/utils/condition.lua -------------------------------------------------------------------------------- /orange/utils/config_loader.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/utils/config_loader.lua -------------------------------------------------------------------------------- /orange/utils/constants.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/utils/constants.lua -------------------------------------------------------------------------------- /orange/utils/extractor.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/utils/extractor.lua -------------------------------------------------------------------------------- /orange/utils/handle.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/utils/handle.lua -------------------------------------------------------------------------------- /orange/utils/headers.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/utils/headers.lua -------------------------------------------------------------------------------- /orange/utils/io.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/utils/io.lua -------------------------------------------------------------------------------- /orange/utils/ip_convert.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/utils/ip_convert.lua -------------------------------------------------------------------------------- /orange/utils/json.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/utils/json.lua -------------------------------------------------------------------------------- /orange/utils/judge.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/utils/judge.lua -------------------------------------------------------------------------------- /orange/utils/rules_cache.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/utils/rules_cache.lua -------------------------------------------------------------------------------- /orange/utils/stringy.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/utils/stringy.lua -------------------------------------------------------------------------------- /orange/utils/utils.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/utils/utils.lua -------------------------------------------------------------------------------- /orange/version.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/orange/version.lua -------------------------------------------------------------------------------- /resty/cookie.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/cookie.lua -------------------------------------------------------------------------------- /resty/evp.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/evp.lua -------------------------------------------------------------------------------- /resty/hmac.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/hmac.lua -------------------------------------------------------------------------------- /resty/http.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/http.lua -------------------------------------------------------------------------------- /resty/http_headers.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/http_headers.lua -------------------------------------------------------------------------------- /resty/jwt-validators.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/jwt-validators.lua -------------------------------------------------------------------------------- /resty/jwt.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/jwt.lua -------------------------------------------------------------------------------- /resty/kafka/broker.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/kafka/broker.lua -------------------------------------------------------------------------------- /resty/kafka/client.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/kafka/client.lua -------------------------------------------------------------------------------- /resty/kafka/errors.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/kafka/errors.lua -------------------------------------------------------------------------------- /resty/kafka/producer.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/kafka/producer.lua -------------------------------------------------------------------------------- /resty/kafka/request.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/kafka/request.lua -------------------------------------------------------------------------------- /resty/kafka/response.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/kafka/response.lua -------------------------------------------------------------------------------- /resty/kafka/ringbuffer.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/kafka/ringbuffer.lua -------------------------------------------------------------------------------- /resty/kafka/sendbuffer.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/kafka/sendbuffer.lua -------------------------------------------------------------------------------- /resty/template.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/template.lua -------------------------------------------------------------------------------- /resty/template/html.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/template/html.lua -------------------------------------------------------------------------------- /resty/template/microbenchmark.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/starjiang/xorange/HEAD/resty/template/microbenchmark.lua --------------------------------------------------------------------------------