Skip to content

feature: support url check with regular expression matching and dynamic upstream selection #1617

Closed
@shengnoah

Description

@shengnoah

Issue description

Support url check with regular expression matching.
If url contains some specical characters and regular expression defined matching.
Set dynamic proxy upstream point to HTTTP Server A.
If msimatch regular expression.
Set dynamic proxy upstream point to HTTTP Server B.

Example

URL: http://127.0.0.1/index.php?a=<script>
Regular expression: “<(iframe|script|body|img|layer|div|meta|style|base|object|input)”
Match result: Yes, found a match string:"<script" and set dynamic proxy upstream point to HTTP server B.

Upstream HTTP server A : accept user normal HTTP Service Requests.
Upstream HTTP server B : accept user illegal requests.
Syslog Server : open Syslog UDP listening port with logs data reception for the statistics.

Flow process

example

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions