A network debugging tool to improve the happiness of Chinese programmers

Warning: The tools described in this article are only used for development work. If users violate national laws and regulations, the consequences will be at their own risk and have nothing to do with this article.

If the body is in China, configuring the development environment is a kind of torture.

yarn install is very slow; npm install is very slow; bundle install is very slow. In order to improve the download speed, you must replace the various dependent download addresses with domestic mirrors.

Access to Stack Overflow is extremely slow, and access to Github is extremely slow. You have to set up HTTP Proxy for your browser.

The current mainstream network tools provide HTTP Proxy. SSH can set proxy, browser can set proxy, git can set proxy. But HTTP Proxy has many disadvantages:

  • It works at the Layer 7 application layer and not all software supports it.
  • Every time you switch (or close) the Proxy address, you have to modify it software by software. terminal, chrome, system proxy, very cumbersome. I even need to write a shell script that automatically switches based on the name of the wifi. If you go to work, use Proxy A, if you are at home, use Proxy B.

Surge

If you are using MacOS, I suggest you buy Surge , a network debugging tool, directly. I haven’t received any rebates or commissions, I’m recommending in good faith.

Its biggest highlight is ” enhanced mode ,” which installs a virtual network card and sets it as the default route, distributing traffic automatically. This is equivalent to distributing traffic on Layer 2. You don’t need to go to great lengths to set up Proxy for each software.

If you buy the Surge, be sure to turn on the enhanced mode, otherwise you will lose money.

Surge’s functions are not limited to this, it can also capture HTTP packets and HTTPs through man-in-the-middle attacks. You no longer need to purchase Charles Web Debugging Proxy.

Buy a software, 2 uses, buy is to earn.

Proxy Server

Surge only develops software and does not provide proxy services, so you need to build your own proxy server. But it is not recommended to do this, because it is a waste of time, time is money, so it is recommended that you buy QWdlbnRORU8= .

  1. It will maintain a list of servers, which can be chosen at will.

  2. You can customize Surge’s rules.

    • Decide which websites to use Proxy and which not to use Proxy.
    • The default path is direct connection or proxy.

Purchase link: aHR0cHM6Ly9hZ25lby5jby8/cmM9b3Z0MTh3YWI= , using this link, both you and I will get a 5 yuan discount coupon.

in conclusion

Surge + QWdlbnRORU8= is my current network debugging tool, which greatly improves productivity.

This article is reprinted from: http://mednoter.com/surge.html
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment