feat: SOCKS proxy support, auth-less batch import, and proxy pool fixes - #2053
Open
dimaslanjaka wants to merge 4 commits into
Open
dimaslanjaka wants to merge 4 commits into
dimaslanjaka wants to merge 4 commits into
Conversation
Add modal to review and delete proxies that failed their last health check. Users can selectively exclude proxies from bulk deletion before confirming.
dimaslanjaka
added a commit
to dimaslanjaka/OmniRoute
that referenced
this pull request
Jun 26, 2026
Extract parseBulkImportText into a standalone parseBulkProxyImport.ts module so the pure parse logic is testable without a React/Next.js environment. Add a second branch for the auth-less HOST:PORT shorthand (no pipe characters): parses host + port, auto-generates the name as "Imported HOST:PORT", defaults type to http and status to active. The existing pipe-delimited NAME|HOST|PORT|… format is unchanged (regression-guarded by 7 tests). New format covered by 5 tests. Update BULK_IMPORT_TEMPLATE and bulkImportDescription i18n key to document the new shorthand. SOCKS proxy support: already present in open-sse/utils/proxyDispatcher.ts + socksConnectorWithFamily.ts — not re-ported. notify.error on proxy-test failure: ProxyRegistryManager does not use notify.* at all (uses setError() state) — not applicable. Co-authored-by: dimaslanjaka <dimaslanjaka@gmail.com> Inspired-by: decolua/9router#2053
diegosouzapw
pushed a commit
to diegosouzapw/OmniRoute
that referenced
this pull request
Jun 26, 2026
Extract parseBulkImportText into a standalone parseBulkProxyImport.ts module so the pure parse logic is testable without a React/Next.js environment. Add a second branch for the auth-less HOST:PORT shorthand (no pipe characters): parses host + port, auto-generates the name as "Imported HOST:PORT", defaults type to http and status to active. The existing pipe-delimited NAME|HOST|PORT|… format is unchanged (regression-guarded by 7 tests). New format covered by 5 tests. Update BULK_IMPORT_TEMPLATE and bulkImportDescription i18n key to document the new shorthand. SOCKS proxy support: already present in open-sse/utils/proxyDispatcher.ts + socksConnectorWithFamily.ts — not re-ported. notify.error on proxy-test failure: ProxyRegistryManager does not use notify.* at all (uses setError() state) — not applicable. Co-authored-by: dimaslanjaka <dimaslanjaka@gmail.com> Inspired-by: decolua/9router#2053
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
1. Auth-less proxy support in batch import
host:portuser:pass@host:porthost:port:user:passprotocol://user:pass@ip:portprotocol://ip:port2. SOCKS4/SOCKS5 proxy support
proxyFetch.js:getDispatcherauto-detectssocks4:///socks5://URLs and creates the appropriateSocksProxyAgentfromsocks-proxy-agentproxyTest.js: NewtestSocksProxyfunction for testing SOCKS proxies3. Fix snackbar color for failed proxy test
notify.success()for both pass and fail4. Delete dead proxies feature
testStatus === "error"(name, URL, last error)DELETE /api/proxy-pools/:idFiles changed
open-sse/utils/proxyFetch.js— SOCKS detection in dispatchersrc/lib/network/proxyTest.js— SOCKS proxy testingsrc/app/dashboard/proxy-pools/page.js— auth-less import + snackbar fix + delete dead modal