Releases: memclutter/proxycheck
Releases · memclutter/proxycheck
v0.0.6 — fix --judge flag, hang, and CI
Patch release: the --judge flag now works, the CLI no longer hangs after
checking, and the GitHub Actions CI is fixed. Also relicensed to MIT with a
reworked README and new contributor docs.
Fixed
--judgenow selects the proxy judge. It was parsed but ignored — every check
ran against the AZEnv judge regardless of the flag, so the documented
proxyjudge.usdefault never applied. An unknown judge name is now rejected
with a non-zero exit (listing the valid names) and no proxies are checked.- The CLI no longer hangs after processing all proxies.
Actionnever closed its
worker channel, so the worker goroutines never returned and the program blocked
forever; the channel is now closed once the feed is exhausted. - Rewrote the GitHub Actions workflows: pinned current Go versions, fixed the
emptygo-versionin the lint job, and dropped the dead OS matrix.
Added
ResolveJudgehelper that looks a judge up in theJudgesregistry, and a
NewAppconstructor shared by the binary and the tests.CONTRIBUTING.mddescribing setup, the test/lint workflow, code style, and the
commit/PR/release process.CHANGELOG.md, with reconstructed notes for the previously empty
v0.0.1–v0.0.5releases.
Changed
- Relicensed from the Apache License 2.0 to the MIT License, matching the other
memclutterprojects. - Reworked
README.md: description, status badges, install/usage, the
tab-separated output format, a library-usage example, and a "how it works"
explanation of judges and protocol probing.
Full changelog: v0.0.5...v0.0.6
v0.0.5
Added
- Second proxy judge
ProxyjudgeUsJudge(http://proxyjudge.us/) alongsideAZEnvPhpJudge, plus aJudgesregistry map keyed by judge name. golangci-lintand its GitHub Actions workflow.- More tests around the judges and check engine.
Full changelog: v0.0.4...v0.0.5
v0.0.4
Added
- Tests for the
Feedimplementations.
Fixed
- Off-by-one bug in
SliceFeed.Nextthat mis-tracked the current index.
Full changelog: v0.0.3...v0.0.4
v0.0.3
Changed
- Introduced
base.goholding the coreFeedandJudgeinterfaces (moved out of their previous files) and reformatted the package godoc.
Full changelog: v0.0.2...v0.0.3
v0.0.2
A full rewrite of the checker into a concurrent, judge-based engine.
Added
Check(addr, judge)engine that probes eachip:portagainst all four protocols (http,https,socks4,socks5) and returns aCheckResultwith the online flag, supported protocols, per-protocol errors, and speed.Judgeabstraction (target URL + recommended timeout) with theAZEnvPhpJudgeimplementation.- Reading proxies from a stdin stream in addition to command-line arguments.
- Concurrent checking via a worker pool sized by the
--threadsflag (default 10). - GitHub Actions CI running the test suite with coverage uploaded to Codecov.
Changed
- Upgraded the CLI from
urfave/cliv1 to v2 and moved the entry point tocmd/main.go. - Proxy addresses are now plain
ip:port(the tool tries every protocol) instead of requiring ascheme://prefix. - Output is now tab-separated
addr<TAB>protocols<TAB>speedfor working proxies.
Full changelog: v0.0.1...v0.0.2
v0.0.1
First release of proxycheck — a simple proxy list checker.
Added
- A
urfave/cliv1 command that checks proxies supplied via repeatable--proxyAddrflags or a--proxyAddrFilelist file. - Per-scheme checking for
http,https,socks4, andsocks5proxies (h12.io/socksfor SOCKS), validating each against a--targetURL. - Working proxy addresses printed to stdout; failures logged.