MCPcopy Index your code
hub / github.com/YCCDSZXH/proxy-checker-rs

github.com/YCCDSZXH/proxy-checker-rs @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
13 symbols 21 edges 5 files 0 documented · 0% updated 12mo ago★ 128
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Proxy Checker

This repository provides an open-source server-side API for detecting if a client is using a proxy. The detection method compares the Round-Trip Time (RTT) of both the TLS and TCP layers. This differential analysis helps identify the presence of a proxy.

How

Demo

click demo

or

curl https://api.proxychecker.yccd.cc:8443

Usage

Clone the repository:

git clone https://github.com/YCCDSZXH/proxy-checker-rs.git
cd proxy-checker-rs

Build

cargo b

Configure certificate

openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout server.key -out server.crt

Run the server:

cargo r

Make a request to the detection endpoint:

curl https://localhost:8443 -k

If you use self generate certificate, you need -k to skip certificate verify

The API will return a JSON response indicating whether a proxy was detected.

Contributing

Contributions are welcome! Feel free to submit issues, fork the repository, and create pull requests.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Core symbols most depended-on inside this repo

load_tls
called by 1
src/main.rs
load_certs
called by 1
src/main.rs
load_private_key
called by 1
src/main.rs
tls_rtt
called by 1
src/http2.rs
detect_anomalies
called by 1
src/http2.rs
calculate_variance
called by 1
src/http2.rs
handle
called by 1
src/tcp.rs
get_tcp_rtt
called by 1
src/tcp.rs

Shape

Function 11
Class 2

Languages

Rust100%

Modules by API surface

src/main.rs4 symbols
src/http2.rs4 symbols
src/tcp.rs3 symbols
src/tls.rs1 symbols
src/args.rs1 symbols

For agents

$ claude mcp add proxy-checker-rs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page