Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Sansui233/proxypoolCheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxypool Health Check

Info

This is proxy health check and provider part of proxypool. You should have had a proxypool server available at first.

Due to the poor availability of proceeding proxy health check on servers overseas, The best usage of this project is to run on your own server within Mainland China.

Install&Run

Choose either.

1. Use release version

Download from releases

Don't forget to add 755 permissions

chmod +775 proxypoolcheck

Put config.yaml into directory and run. You can use -c to specify configuration path.

./proxypoolCheck
# or
./proxypoolCheck -c PathToConfig

2. Use Source

Make sure golang 1.16 installed. Then download source

$ go get -u -v github.com/Sansui233/proxypoolCheck

And run

$ go run main.go -c ./config/config.yaml

Compile into bin directory

make

Configuration

# proxypool remote server url. Blank for http://127.0.0.1:8080
server_url:
  - https://example.proxypoolserver.com
  - https://example.proxypoolserver.com/clash/proxies?type=vmess


# For your local server
request: http   # http / https
domain:         # default: 127.0.0.1
port:           # default: 80

cron_interval: 15       # default: 15  minutes
show_remote_speed: true # default false

healthcheck_timeout:    # default 5
healthcheck_connection: # default 100

speedtest:            # default false
speed_timeout:         # default 10
speed_connection:     # default 5

If your web server port is not the same as proxypoolCheck serving port, you should put web server port in configuration, and set an environment variable PORT for proxypoolCheck to serve. This will be really helpful when you are doing frp.

export PORT=ppcheckport

声明

本项目遵循 GNU General Public License v3.0 开源,在此基础上,所有使用本项目提供服务者都必须在网站首页保留指向本项目的链接

本项目仅限个人自己使用,禁止使用本项目进行营利做其他违法事情,产生的一切后果本项目概不负责。

Screenshots