fix(smart-proxy): include proxy IPs in smart proxy configuration
This commit is contained in:
@@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2026-02-19 - 25.7.4 - fix(smart-proxy)
|
||||||
|
include proxy IPs in smart proxy configuration
|
||||||
|
|
||||||
|
- Add proxyIps: this.settings.proxyIPs to proxy options in ts/proxies/smart-proxy/smart-proxy.ts
|
||||||
|
- Ensures proxy IPs from settings are passed into the proxy implementation (enables proxy IP filtering/whitelisting)
|
||||||
|
|
||||||
## 2026-02-16 - 25.7.3 - fix(metrics)
|
## 2026-02-16 - 25.7.3 - fix(metrics)
|
||||||
centralize connection-closed reporting via ConnectionGuard and remove duplicate explicit metrics.connection_closed calls
|
centralize connection-closed reporting via ConnectionGuard and remove duplicate explicit metrics.connection_closed calls
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@push.rocks/smartproxy',
|
name: '@push.rocks/smartproxy',
|
||||||
version: '25.7.3',
|
version: '25.7.4',
|
||||||
description: 'A powerful proxy package with unified route-based configuration for high traffic management. Features include SSL/TLS support, flexible routing patterns, WebSocket handling, advanced security options, and automatic ACME certificate management.'
|
description: 'A powerful proxy package with unified route-based configuration for high traffic management. Features include SSL/TLS support, flexible routing patterns, WebSocket handling, advanced security options, and automatic ACME certificate management.'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -409,6 +409,7 @@ export class SmartProxy extends plugins.EventEmitter {
|
|||||||
keepAliveTreatment: this.settings.keepAliveTreatment,
|
keepAliveTreatment: this.settings.keepAliveTreatment,
|
||||||
keepAliveInactivityMultiplier: this.settings.keepAliveInactivityMultiplier,
|
keepAliveInactivityMultiplier: this.settings.keepAliveInactivityMultiplier,
|
||||||
extendedKeepAliveLifetime: this.settings.extendedKeepAliveLifetime,
|
extendedKeepAliveLifetime: this.settings.extendedKeepAliveLifetime,
|
||||||
|
proxyIps: this.settings.proxyIPs,
|
||||||
acceptProxyProtocol: this.settings.acceptProxyProtocol,
|
acceptProxyProtocol: this.settings.acceptProxyProtocol,
|
||||||
sendProxyProtocol: this.settings.sendProxyProtocol,
|
sendProxyProtocol: this.settings.sendProxyProtocol,
|
||||||
metrics: this.settings.metrics,
|
metrics: this.settings.metrics,
|
||||||
|
|||||||
Reference in New Issue
Block a user