Giter VIP home page Giter VIP logo

Comments (7)

isontheline avatar isontheline commented on August 22, 2024

@forsignup Thanks for your feedback!

Could you tell me which size (kb) are about 500 lines of your snippets?
I would like to reproduce and fix as much as I can

from pro.webssh.net.

forsignup avatar forsignup commented on August 22, 2024

there is the code

cat > /usr/local/etc/sing-box/config.json <<EOF && \
sing-box restart
{
  "log": {
    "disabled": false,
    "level": "*****",
    "output": "/usr/local/sing-box/sing-box.log",
    "timestamp": true
  },
  "dns": {
    "servers": [
      {
        "tag": "*****",
        "address": "*****",
        "strategy": "*****",
        "detour": "*****"
      }
    ]
  },
  "inbounds": [
    {
      "type": "*****",
      "tag": "*****",
      "listen": "::",
      "listen_port": 12345,
      "sniff": true,
      "sniff_override_destination": true,
      "up_mbps": 1000,
      "down_mbps": 1000,
      "users": [
        {
          "name": "****************************************************************",
          "password": "****************************************************************",
        }
      ],
      "tls": {
        "enabled": true,
        "certificate": [
          "***************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "*************************",
          "*****"
        ],
        "key": [
          "*****",
         "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "****************************************************************",
          "*************************",
          "*****"
        ]
      },
      "masquerade": "*****"
    },
    {
      "type": "*****",
      "tag": "*****",
      "listen": "::",
      "listen_port": 12345,
      "method": "*****",
      "password": "*****",
      "sniff": true,
      "sniff_override_destination": true
    },
    {
      "type": "*****",
      "tag": "*****",
      "listen": "*****",
      "listen_port": 12345,
      "sniff": true,
      "sniff_override_destination": true
    },
    {
      "type": "*****",
      "tag": "*****",
      "listen": "*****",
      "listen_port": 12345,
      "users": [
        {
          "uuid": "*****",
          "alterId": 0
        }
      ],
      "transport": {
        "type": "*****",
        "path": "*****",
        "max_early_data": 12345,
        "early_data_header_name": "********************"
      },
      "sniff": true,
      "sniff_override_destination": true
    },
    {
      "type": "*****",
      "tag": "*****",
      "listen": "*****",
      "listen_port": 12345,
      "users": [
        {
          "uuid": "****************************************************************",
          "flow": "****************************************************************",
        }
      ],
      "tls": {
        "enabled": true,
        "server_name": "****************************************************************",
        "reality": {
          "enabled": true,
          "handshake": {
            "server": "****************************************************************",
            "server_port": 12345
          },
          "private_key": "****************************************************************",
          "short_id": [
            "*****",
            "****************************************************************"
          ]
        }
      },
      "sniff": true,
      "sniff_override_destination": true
    },
    {
      "type": "*****",
      "listen": "*****",
      "tag": "*****",
      "listen_port": 12345,
      "users": [
        {
          "uuid": "****************************************************************"
        }
      ],
      "tls": {
        "enabled": true,
        "server_name": "****************************************************************",
        "reality": {
          "enabled": true,
          "handshake": {
            "server": "****************************************************************",
            "server_port": 12345
          },
          "private_key": "****************************************************************",
          "short_id": [
            "*****",
            "****************************************************************"
          ]
        }
      },
      "transport": {
        "type": "*****",
        "service_name": "*****"
      },
      "sniff": true,
      "sniff_override_destination": true
    },
    {
      "type": "*****",
      "tag": "*****",
      "listen": "::",
      "listen_port": 12345,
      "users": [
        {
          "uuid": "*****",
          "flow": "*****"
        }
      ],
      "tls": {
        "enabled": true,
        "server_name": "*****",
        "reality": {
          "enabled": true,
          "handshake": {
            "server": "*****",
            "server_port": 12345
          },
          "private_key": "****************************************************************",
          "short_id": ["*****"]
        }
      },
      "multiplex": {
          "enabled": true,
          "padding": true,
          "brutal": {
              "enabled": true,
              "up_mbps": 1000,
              "down_mbps": 1000
          }
      },
      "sniff": true,
      "sniff_override_destination": true
    }
  ],
  "outbounds": [
    {
      "type": "*****",
      "tag": "*****"
    },
    {
      "type": "*****",
      "tag": "*****",
      "domain_strategy": "*****"
    },
    {
      "type": "*****",
      "tag": "*****",
      "bind_interface": "*****"
    },
    {
      "type": "*****",
      "tag": "*****"
    },
    {
      "type": "*****",
      "tag": "*****"
    },
    {
      "tag": "*****",
      "type": "*****",
      "server": "*****",
      "server_port": 12345,
      "version": "*****",
      "bind_interface": "*****"
    },
    {
      "tag": "*****",
      "type": "*****",
      "server": "*****",
      "server_port": 12345,
      "method": "*****",
      "password": "*****",
      "network": "*****",
      "tcp_fast_open": true
    },
    {
      "tag": "*****",
      "type": "*****",
      "server": "*****",
      "server_port": 12345,
      "method": "*****",
      "password": "*****",
      "network": "*****",
      "tcp_fast_open": true
    },
    {
      "tag": "*****",
      "type": "*****",
      "server": "*****",
      "server_port": 12345,
      "method": "*****",
      "password": "*****",
      "network": "*****",
      "tcp_fast_open": true
    },
    {
      "tag": "*****",
      "type": "*****",
      "server": "*****",
      "server_port": 12345,
      "method": "*****",
      "password": "*****",
      "network": "*****",
      "tcp_fast_open": true
    },
    {
      "type": "*****",
      "tag": "*****",
      "server": "*****",
      "server_port": 2408,
      "local_address": [
        "*****",
        "*****"
      ],
      "private_key": "*****",
      "peer_public_key": "*****",
      "reserved": "*****",
      "mtu": 1280
    },
    {
      "tag": "*****",
      "type": "*****",
      "server": "*****",
      "server_port": 12345,
      "password": "*****",
      "tls": {
        "enabled": true,
        "server_name": "*****",
        "insecure": true
      },
      "up_mbps": 1000,
      "down_mbps": 1000
    }
  ],
  "route": {
    "rules": [
      {
        "protocol": "*****",
        "outbound": "*****"
      },
      {
        "type": "*****",
        "mode": "*****",
        "rules": [
          { "inbound": [ "*****" ] },
          { "rule_set": [ "*****" ], "rule_set_ipcidr_match_source": true }
        ],
        "outbound": "*****"
      },
      {
        "ip_cidr": [ "*.*.*.*/24", "*.*.*.*/24", "*.*.*.*/24", "*.*.*.*/24", "*.*.*.*/24" ],
        "domain_keyword": [ "*****.com", "*****.com" ],
        "outbound": "*****-out"
      },
      {
        "rule_set": [ "*****", "*****" ],
        "ip_cidr": [ "*.*.*.*/24" ],
        "outbound": "*****"
      },
      {
        "rule_set": [ "*****" ],
        "ip_is_private": true,
        "outbound": "*****"
      },
      {
        "rule_set": [ "*****" ],
        "outbound": "*****"
      },
      {
        "rule_set": [ "*****" ],
        "outbound": "*****"
      },
      {
        "rule_set": [ "*****-ip", "*****-site" ],
        "outbound": "*****"
      },
      {
        "rule_set": [ "*****-ip", "*****-site" ],
        "outbound": "*****"
      },
      {
        "rule_set": [ "*****-ip", "*****-site" ],
        "outbound": "*****"
      },
      {
        "domain_suffix": "*****.cn",
        "outbound": "*****"
      }
    ],
    "final": "*****",
    "auto_detect_interface": true,
    "rule_set": [
      {
        "tag": "*****", "type": "*****", "format": "*****", "download_detour": "*****",
        "url": "https://**************************************************************"
      },
      {
        "tag": "*****", "type": "*****", "format": "*****", "download_detour": "*****",
        "url": "https://**************************************************************"
      },
      {
        "tag": "*****", "type": "*****", "format": "*****", "download_detour": "*****",
        "url": "https://**************************************************************"
      },
      {
        "tag": "*****", "type": "*****", "format": "*****", "download_detour": "*****",
        "url": "https://**************************************************************"
      },
      {
        "tag": "*****", "type": "*****", "format": "*****", "download_detour": "*****",
        "url": "https://**************************************************************"
      },
      {
        "tag": "*****", "type": "*****", "format": "*****", "download_detour": "*****",
        "url": "https://**************************************************************"
      },
      {
        "tag": "*****", "type": "*****", "format": "*****", "download_detour": "*****",
        "url": "https://**************************************************************"
      },
      {
        "tag": "*****", "type": "*****", "format": "*****", "download_detour": "*****",
        "url": "https://**************************************************************"
      },
      {
        "tag": "*****", "type": "*****", "format": "*****", "download_detour": "*****",
        "url": "https://**************************************************************"
      },
      {
        "tag": "*****", "type": "*****", "format": "*****", "download_detour": "*****",
        "url": "https://**************************************************************"
      },
      {
        "tag": "*****", "type": "*****", "format": "*****", "download_detour": "*****",
        "url": "https://**************************************************************"
      },
    ]
  },
  "experimental": {
    "cache_file": {
      "enabled": true
    }
  }
}
EOF

from pro.webssh.net.

isontheline avatar isontheline commented on August 22, 2024

Thank you @forsignup 👍

I will start working on this soon (just after #60)

from pro.webssh.net.

isontheline avatar isontheline commented on August 22, 2024

Hello @forsignup 👋

OK I can reproduce when I want to edit the snippet content itself.

I'm searching for the root cause.
Will ping you when done.

from pro.webssh.net.

isontheline avatar isontheline commented on August 22, 2024

Hello @forsignup 👋

Could you give a try to the latest beta release please?
https://testflight.apple.com/join/QSrBK59z

from pro.webssh.net.

forsignup avatar forsignup commented on August 22, 2024

Works fine now!

from pro.webssh.net.

isontheline avatar isontheline commented on August 22, 2024

Thanks for your feedback @forsignup 🙏

from pro.webssh.net.

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.