Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Feature Request: Built-in Bandwidth Limiting Support for ProxyChain

Aperta
#586 1 commento 2 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
nodejs, typescript
Ambito
networking

Direzione di ricerca

The request is for a built-in bandwidthLimit option on the ProxyChain.Server constructor, which the issue sketches but does not specify. Read how the server handles raw connections and tunnels, and compare the workaround the issue describes, hooking server.server.on('connection') with stream-throttle. Settling the per-connection versus global semantics and the throttling point is the design decision, so a maintainer must agree on it before any code is written.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

low priority t-unblocking

Hello, thank you for the amazing work on proxy-chain!

I'm requesting a feature to support built-in bandwidth throttling for incoming/outgoing traffic. Currently, proxy-chain does not provide any option to limit bandwidth per connection or globally. To achieve this, users have to manually use stream-throttle or similar libraries and hook into raw TCP connections using server.server.on('connection').

However, this approach is low-level, error-prone, and may break internal handling (e.g., TLS tunnels, HTTP parsing, etc.). Having official support for throttling would make it easier to:

  • Limit bandwidth per connection (e.g., 10 Mbps per client)
  • Set global bandwidth limits for the proxy server
  • Prevent abuse or overload of upstream proxies
  • Simulate network conditions for testing

Suggested API Design:

const server = new ProxyChain.Server({
  port: 8000,
  bandwidthLimit: {
    rate: 10 * 1024 * 1024, // bytes per second
    perConnection: true // or false for global throttle
  }
});
Lingua principale
TypeScript
Stelle
1k
Fork
167
Merge medio
16h 22m
PR unite (30g)
16

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apify/proxy-chain

Tutte le issue di apify/proxy-chain

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.