Coder Social home page Coder Social logo

[Bug] 5.4 版本在防护配置 如果条件是Host ,如果Host是带有端口的 比如 a.example.com:8080 则保存之后 规则只能显示8080 ,并且规则不会生效 about safeline HOT 5 CLOSED

paddypq avatar paddypq commented on June 5, 2024
[Bug] 5.4 版本在防护配置 如果条件是Host ,如果Host是带有端口的 比如 a.example.com:8080 则保存之后 规则只能显示8080 ,并且规则不会生效

from safeline.

Comments (5)

yrluke avatar yrluke commented on June 5, 2024 1

这个是看上一跳是怎么传进来的,这个地方最近版本没有修改过,麻烦检查一下上一跳配置

from safeline.

panp1 avatar panp1 commented on June 5, 2024

这个第一有2个问题 1个是UI 保存之后 只显示端口, 第二个就是规则 不生效。 没有上一跳, 这个直接暴露在外面一个公网IP 我试了几种情况 80 443 这种没有端口的 我在host 直接写hostname 是没问题能看到waf 生效有 拦截或者人机校验, 我用非标端口 比如 8080 8888 之类的 我在log 看到拿到的host是 hostname:端口 这边配置hostname:端口 发现没有拦截

from safeline.

panp1 avatar panp1 commented on June 5, 2024

我碰到同样问题

from safeline.

panp1 avatar panp1 commented on June 5, 2024

image
在规则设置 HOST 不带端口 指定host 工作正常。
规则设置里面 HOST 带端口 UI 不正常, 拦截也不正常。 HOST 这边存在问题

from safeline.

paddypq avatar paddypq commented on June 5, 2024

貌似在5.51 修好了 可以关了

from safeline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.