Skip to content

Adding CDN IP lists #16

Description

@euphoria360

Thanks for your great script for psiphon and patterniha MITM json.

As you may know, the original ip and domain provided in patterniha json file is blocked. So using this script as is, wont result in a successful connection.
But fortunately, IR didn't fully block whole Akamai and fastly ip ranges and there are lots of ways and ip lists currently circulating that are used in Apos like Shir-o-Khorshid which allow using psiphon.

The issue is, i cant find a way to put them in patterniha json.
In the json file, there are lines like this:

"dns":{
    "hosts": {
	  "fastly.redirect": "pypi.org",
      "akamai.redirect": "92.123.102.43"
    },

Or

"streamSettings": {
        "security": "tls",
        "tlsSettings": {
          "serverName": "92.123.102.43",
          "verifyPeerCertByName": "fromMitM,92.123.102.43,a248.e.akamai.net,a.akamaized.net,a.akamaized-staging.net,a.akamaihd.net,a.akamaihd-staging.net,www.akamai.com",
          "alpn": ["fromMitM"],
          "fingerprint": "chrome"
        },

Should we search and find a working ip,domain pair and put them there?

Can you help me with that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions