Coder Social home page Coder Social logo

Comments (7)

farhadgh64 avatar farhadgh64 commented on May 29, 2024 2

thats not a ws host, i check that by wire shark, its send host 3 times to server, 2 times fake host and one time in middle the true host
image

from xray-core.

Fangliding avatar Fangliding commented on May 29, 2024 1

Multiple host headers?
If it could pass through, it might be a bug.
I need to talk this with cloudflare engineer

from xray-core.

Fangliding avatar Fangliding commented on May 29, 2024

The host in WS request can already be set (see doc)
By the way, I didn't understand what you were saying. It's known that IFW will block HTTP connections to cloudflare, so what's the use of setting up a host

from xray-core.

chise0713 avatar chise0713 commented on May 29, 2024
  "headers": {
    "Host": "",
    "Host": "",
    "Host": "",
    "Host": ""
  }

from xray-core.

mmmray avatar mmmray commented on May 29, 2024

There are many bugs like this in iranian DPI, across ISPs. Some of them do not require any specific behavior from cloudflare and are compatible with more CDNs. They are all trivial to patch by the censor, and so it should not be widely promoted.

I know this was an argument against fragment as well, but this new method used in Mahsa is much easier to patch, it does not require additional resources such as a TCP reassembly buffer.

If somebody opens a PR for this anyway (despite the issue being closed), I would urge you to implement a more generic feature, like injecting arbitrary bytes between GET / .. and the first HTTP header, instead of implementing a specific feature that documents the exact bypass really well and helps censors.

PS: Also, general support for "multiple host headers" isn't sufficient to implement this particular bypass.

from xray-core.

farhadgh64 avatar farhadgh64 commented on May 29, 2024

There are many bugs like this in iranian DPI, across ISPs. Some of them do not require any specific behavior from cloudflare and are compatible with more CDNs. They are all trivial to patch by the censor, and so it should not be widely promoted.

I know this was an argument against fragment as well, but this new method used in Mahsa is much easier to patch, it does not require additional resources such as a TCP reassembly buffer.

If somebody opens a PR for this anyway (despite the issue being closed), I would urge you to implement a more generic feature, like injecting arbitrary bytes between GET / .. and the first HTTP header, instead of implementing a specific feature that documents the exact bypass really well and helps censors.

PS: Also, general support for "multiple host headers" isn't sufficient to implement this particular bypass.

i'm not an expert, i'm an end user and as you say multiple host didnt solve my problem by the way thank you for your answer.

from xray-core.

APT-ZERO avatar APT-ZERO commented on May 29, 2024

thats not a ws host, i check that by wire shark, its send host 3 times to server, 2 times fake host and one time in middle the true host
image

damn, this is cool

from xray-core.

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.