Pool Party | Pool Party |
---|---|
This program is written in Go and sets up a TCP connection pool to a target host. It also listens for incoming connections and forwards traffic from these connections to the target host via the pool.
- Connection Pooling
- Keep-alive for connections
- Automatic reinitialization of the pool if the size drops
- Random selection of a connection for forwarding
- Replacing closed or failed connections
- Go (golang)
- The standard Go library (no external dependencies)
sudo apt install golang && go build
Usage of pool_party:
-listen string
The IP and port to listen on (default "127.0.0.1:9080")
-target string
The target host and port to connect to (default "mainnet-pociot.helium.io:9080")
---
version: "3.8"
services:
miner:
image: quay.io/team-helium/miner:gateway-latest
links:
- poolparty:mainnet-pociot.helium.io
environment:
- GW_REGION=US915
- GW_KEYPAIR=ecc://i2c-1
- GW_LISTEN=0.0.0.0:1680
- GW_API=0.0.0.0:4467
expose:
- "1680/udp"
- "4467/tcp"
depends_on:
- poolparty
cap_add:
- SYS_RAWIO
devices:
- /dev/i2c-1:/dev/i2c-1
restart: unless-stopped
poolparty:
build:
context: https://github.com/joecryptotoo/pool_party.git#main
expose:
- 9080/tcp
restart: unless-stopped