Repository navigation
Releases
Releases · GuJi08233/Resin
v1.4.0
Resin v1.4.0
Managed WARP Exits
- WARP exits are managed in a dedicated subscription instead of per-node configuration. Enable it once and Resin registers Cloudflare WARP devices through UDP-capable parent nodes, with a configurable exit limit (default 300) that scales up and down automatically in the background.
- Exits are created with bounded parallelism and IPv6-first family balancing. Parents are warmed up independently, duplicate egress IPs defer retries, and verified parent/family latency metadata is persisted so a restart recovers without re-probing everything.
- Parents that cannot carry UDP are detected with a DNS query before device registration and skipped; explicit refusals (for example SOCKS5
UDP ASSOCIATEcode 7) pause all families at once. Repeated parent failures pause that parent with a doubling backoff (30m up to 6h) and recover on the next success. - Unused devices from failed attempts are reused instead of registering new ones, and Cloudflare registration pacing plus
Retry-Afterare respected without penalizing the parent. - WARP nodes appear in the node pool alongside subscription nodes. Platforms can exclude them independently, and the original subscription nodes remain available.
- Subscription management shows IPv4/IPv6 exit counts, maintenance progress per phase, and tunnel diagnostics (parent identity, endpoint, handshake and packet counters).
Native Mieru Support
- Resin can now build Mieru outbounds natively (TCP and UDP), alongside the existing sing-box protocols.
Egress IP Profiles (IPPure)
- Optionally probe
https://my.ippure.com/v1/infothrough each node's own egress to record the exit IP's location, ASN, organization, fraud score, native/broadcast status, and residential/hosting status. Disabled by default: turn onipinfo_probe_enabledin the runtime config. - Probes reuse the existing worker pool, dual-priority queue, and per-node deduplication. Failures only record the attempt timestamp and never touch the circuit breaker.
POST /api/v1/nodes/{node_hash}/actions/probe-ipinfotriggers a one-off probe and returns the profile. Profiles persist incache.dband are restored on startup.- The nodes table, node details, and system config pages show IP type, risk score, ASN, and location.
Platform and Node Pool Filtering
- Platforms gain
ipinfo_filters: a risk-score range, IP type (residential/hosting), native type (native/broadcast), and ASN allow/deny lists. Once any condition is set, nodes without a profile are not routed by that platform. - Node listing accepts the same filters plus
has_ipinfo, and supportssort_by=fraud_score. Nodes without a profile always sort last. - Region resolution now falls back through explicit probe region, GeoIP, and finally the profile's country code, so region filters keep working without a GeoIP database.
Upgrade Notes
Important
state.db gains an ipinfo_filters_json column on the platforms table and cache.db moves to schema version 3 with ipinfo_json / last_ipinfo_probe_attempt_ns on nodes_dynamic. Both migrations are additive and run automatically at startup; existing platforms and nodes are preserved.
- Back up
<RESIN_STATE_DIR>/state.dband<RESIN_CACHE_DIR>/cache.dbbefore upgrading. - WARP configuration migrated from per-node settings to the dedicated subscription. Previously created WARP exits are re-created by the background maintenance loop; no manual action is required.
- IP profile probing is off by default. Manual probes still work while periodic probing is disabled.
- Multi-platform GHCR images (
linux/amd64,linux/arm64) continue to publish on every master push and on version tags.
Full Changelog: v1.3.2...v1.4.0
v1.3.2
Resin v1.3.2
Fixes
- Apply status-code cooldowns and blacklists before returning upstream response headers, so immediate retries cannot reuse the excluded egress IP while the platform view is rebuilding.
- Check live exclusions for random routing, sticky leases, and same-IP node rotation. Other platforms remain unaffected.
- Allow an expired cooldown to trigger again even before the background expiry sweep removes the old record.
Upgrade Notes
- No database changes. Drop-in upgrade from v1.3.1.
- Status-code rules apply to plain HTTP forward proxying and HTTP/HTTPS reverse proxying. CONNECT and SOCKS5 tunnels do not provide status-code feedback; HTTPS clients needing these rules should use reverse proxying.
Full Changelog: v1.3.1...v1.3.2
v1.3.1
Resin v1.3.1
Fixes
- The Platform status code rule editor now treats an empty end code as a single status code. Entering
429alone matches exactly429; filling the end code still creates an inclusive range such as500-599. - Single-code rules are rendered compactly as
429instead of429 ~ 429.
Upgrade Notes
- No database changes. Drop-in upgrade from v1.3.0.
- HTTP forward and reverse proxy traffic can observe status codes; CONNECT and SOCKS5 tunnels cannot.
Full Changelog: v1.3.0...v1.3.1
v1.3.0
Resin v1.3.0
Platform-Scoped Status Code Rules
- Each Platform can now define its own HTTP status code rules:
COOLDOWNan egress IP for a configurable duration, orBLACKLISTit permanently. - Rules accept exact codes or inclusive ranges (for example
403,429, or500-599) and are edited from the Platform create dialog and config tab. - Actions are scoped to a single Platform and keyed by egress IP: every node sharing that IP stops being routable for that Platform, while other Platforms and global node health are unaffected.
- Cooldowns recover automatically when they expire. Blacklists stay until an operator unblocks the IP from the Platform ops tab (
GET /api/v1/platforms/{id}/exclusions,POST /api/v1/platforms/{id}/actions/unblock-egress-ip). - Cooldowns and blacklists are persisted in
state.dband survive restarts. - HTTP forward and reverse proxy traffic can observe status codes; CONNECT and SOCKS5 tunnels cannot.
Upgrade Notes
Important
Persisted legacy Platform regex filters are automatically migrated to composable tag-filter rules during startup. This database migration is irreversible because earlier releases cannot represent OR or exclusion rules.
- The v1.3.0 schema additions are additive: existing Platforms are preserved and receive an empty
status_code_ruleslist. No manual database action is required. - Back up
<RESIN_STATE_DIR>/state.dbbefore upgrading. - To downgrade to an earlier release, stop Resin and restore the pre-upgrade backup. Do not attempt to roll back the migrated database.
Full Changelog: v1.2.0...v1.3.0