mirror of
https://github.com/honmashironeko/ProxyCat.git
synced 2025-06-21 10:23:01 +00:00
Update
This commit is contained in:
parent
e95360326a
commit
18dd05a785
@ -35,52 +35,17 @@ In summary, **ProxyCat** was born! This tool aims to transform short-lived IPs,
|
||||
|
||||
## Features
|
||||
|
||||
**Upstream multi protocol monitoring**
|
||||
|
||||
- **Dual protocol support**: Supports SOCKS5 and HTTP protocol listening, adapts to more tools.
|
||||
|
||||
**Multi-Protocol Support**
|
||||
|
||||
- **SOCKS5 Proxy**: Supports the SOCKS5 protocol, suitable for various network environments.
|
||||
- **HTTP/HTTPS Proxy**: Supports HTTP and HTTPS proxies to meet different application scenarios.
|
||||
|
||||
**Proxy Rotation Modes**
|
||||
|
||||
- **Cycle Mode**: Sequentially cycles through each proxy in the list, ensuring balanced usage.
|
||||
- **Load Balance Mode**: Randomly selects available proxies to distribute traffic load and enhance performance.
|
||||
- **Custom Mode**: Allows users to customize proxy selection logic to flexibly meet specific needs.
|
||||
|
||||
**Dynamic Proxy Acquisition**
|
||||
|
||||
- **Acquire Proxies Using GetIP Function**: Supports dynamically obtaining real-time available proxies through the GetIP function, ensuring the proxies are current and valid.
|
||||
|
||||
**Proxy Verification**
|
||||
|
||||
- **Automatic Validity Detection**: Automatically checks the availability of proxies at startup, filtering out invalid proxies to ensure the reliability of the proxy list.
|
||||
- **Supports Multiple Protocols for Verification**: Specifically checks HTTP, HTTPS, and SOCKS5 proxies to improve validation accuracy.
|
||||
- **Support proxy failure switching**: In the process of forwarding traffic, if the proxy server suddenly fails, it can automatically switch to a new proxy.
|
||||
|
||||
**Authentication Mechanism**
|
||||
|
||||
- **Username/Password Authentication**: Supports proxy authentication based on username and password to enhance security and prevent unauthorized access.
|
||||
|
||||
**High Concurrency Handling**
|
||||
|
||||
- **Asynchronous Architecture**: Implements asynchronous processing based on `asyncio`, supporting large-scale concurrent connections suitable for high-traffic demands.
|
||||
|
||||
**Logging and Monitoring**
|
||||
|
||||
- **Colored Log Output**: Utilizes `colorama` for colored logs, facilitating real-time monitoring and debugging.
|
||||
- **Real-Time Status Updates**: Displays the current proxy status and the next switch time to help users understand proxy dynamics.
|
||||
|
||||
**Flexible Configuration**
|
||||
|
||||
- **Configurable Files**: Easily adjust parameters such as port, mode, and authentication information through the `config.ini` file to adapt to different usage scenarios.
|
||||
- **Command-Line Arguments**: Supports specifying the configuration file path via command-line arguments for increased convenience.
|
||||
|
||||
**Automatic Update Checks**
|
||||
|
||||
- **Version Detection**: Built-in version detection feature automatically checks for the latest version and notifies users to ensure continuous software optimization.
|
||||
- **Dual Protocol Support**: Supports listening for SOCKS5 and HTTP protocols, adapting to more tools.
|
||||
- **Multiple Proxy Protocols**: Supports HTTP/HTTPS/SOCKS5 proxy servers to meet the needs of different application scenarios.
|
||||
- **Various Switching Modes**: Uses each proxy in the list in a cyclic order to ensure balanced use; randomly selects available proxies to distribute traffic load and enhance performance. Allows users to customize proxy selection logic to flexibly meet specific needs.
|
||||
- **Function to Acquire Proxies**: Supports dynamically acquiring instantly available proxies through the GetIP function, ensuring the timeliness and effectiveness of proxies.
|
||||
- **Automatic Detection of Validity**: Automatically detects the availability of proxies at startup, filters out invalid ones, and ensures the reliability of the proxy list.
|
||||
- **Switch Only When Forwarding Through Proxies**: Changes to a new proxy server only when there is a new request as the timer counts down to zero, preventing continuous resource consumption during runtime.
|
||||
- **Support for Proxy Failure Switching**: In case a proxy server suddenly fails during traffic forwarding, it can automatically switch to a new one.
|
||||
- **Proxy Pool Authentication**: Supports authentication based on username and password for enhanced security against unauthorized access.
|
||||
- **Real-time Status Updates**: Displays current proxy status and next switching time, helping users understand dynamic changes in proxies.
|
||||
- **Configurable File**: Easily adjust parameters such as ports, modes, authentication information through config.ini file, accommodating various usage scenarios.
|
||||
- **Version Checking**: Built-in version checking feature that automatically checks for updates and reminds users to upgrade, ensuring ongoing software optimization.
|
||||
|
||||
## Installation and Usage
|
||||
|
||||
|
47
README.md
47
README.md
@ -35,51 +35,16 @@
|
||||
|
||||
## 功能特点
|
||||
|
||||
**上游多协议监听**
|
||||
|
||||
- **双协议支持**:支持 SOCKS5 和 HTTP 协议监听,适配更多工具
|
||||
|
||||
**多代理协议支持**
|
||||
|
||||
- **SOCKS5 代理**:支持 SOCKS5 协议,适用于各种网络环境。
|
||||
- **HTTP/HTTPS 代理**:支持 HTTP 和 HTTPS 代理,满足不同应用场景需求。
|
||||
|
||||
**代理轮换模式**
|
||||
|
||||
- **循环模式(Cycle)**:按照顺序循环使用代理列表中的每一个代理,确保均衡使用。
|
||||
- **负载均衡模式(Load Balance)**:随机选择可用代理,分摊流量负载,提升性能。
|
||||
- **自定义模式(Custom)**:允许用户自定义代理选择逻辑,灵活满足特定需求。
|
||||
|
||||
**动态代理获取**
|
||||
|
||||
- **使用 GetIP 函数获取代理**:支持通过 GetIP 函数动态获取即时可用的代理,保证代理的实时性和有效性。
|
||||
|
||||
**代理验证**
|
||||
|
||||
- **多重代理协议**:支持 HTTP/HTTPS/SOCKS5 代理服务器,满足不同应用场景需求。
|
||||
- **多种切换模式**:按照顺序循环使用代理列表中的每一个代理,确保均衡使用;随机选择可用代理,分摊流量负载,提升性能。允许用户自定义代理选择逻辑,灵活满足特定需求。
|
||||
- **函数获取代理**:支持通过 GetIP 函数动态获取即时可用的代理,保证代理的实时性和有效性。
|
||||
- **自动检测有效性**:在启动时自动检测代理的可用性,过滤无效代理,确保代理列表的可靠性。
|
||||
- **支持多种协议检测**:针对 HTTP、HTTPS 和 SOCKS5 代理进行专门的检测,提升验证精度。
|
||||
- **仅在代理转发时切换**:在计时器归零时,有新的请求才会更换为新的代理服务器,防止运行时一直消耗资源。
|
||||
- **支持代理失效切换**:在转发流量过程中,遇到代理服务器突然失效,可自动切换到新的代理上。
|
||||
|
||||
**认证机制**
|
||||
|
||||
- **用户名/密码认证**:支持基于用户名和密码的代理认证,增强代理的安全性,防止未授权访问。
|
||||
|
||||
**高并发处理**
|
||||
|
||||
- **异步架构**:基于 asyncio 实现异步处理,支持大规模并发连接,适用于高流量需求。
|
||||
|
||||
**日志与监控**
|
||||
|
||||
- **彩色日志输出**:通过 colorama 实现彩色日志,便于实时监控和调试。
|
||||
- **代理池身份认证**:支持基于用户名和密码的代理认证,增强代理的安全性,防止未授权访问。
|
||||
- **实时状态更新**:显示当前代理状态和下次切换时间,帮助用户了解代理动态。
|
||||
|
||||
**配置灵活**
|
||||
|
||||
- **可配置文件**:通过 `config.ini` 文件轻松调整端口、模式、认证信息等参数,适应不同使用场景。
|
||||
- **命令行参数**:支持通过命令行指定配置文件路径,增加使用的便捷性。
|
||||
|
||||
**自动更新检查**
|
||||
|
||||
- **可配置文件**:通过 config.ini 文件轻松调整端口、模式、认证信息等参数,适应不同使用场景。
|
||||
- **版本检测**:内置版本检测功能,自动检查最新版本并提醒用户更新,确保软件的持续优化。
|
||||
|
||||
## 安装与使用
|
||||
|
Loading…
x
Reference in New Issue
Block a user