Skip to content

TKS Node v0.1.27

Choose a tag to compare

@github-actions github-actions released this 18 Nov 12:09
· 3 commits to main since this release

TKS Node v0.1.27

Security hardening & release deploy fix — locks down reverse-proxied relay/shard endpoints, bounds HTTP/WS body sizes, adds SSRF guards on mesh fanout, and defaults standalone binaries to 127.0.0.1 binding.

Security & Hardening

  • cipher-relay: fix Nginx loopback bypass on POST /signal/push (X-Forwarded-For / X-Real-IP / Forwarded never auto-trust loopback), constant-time X-TKS-Federated-Push-Key check, 16 MiB POST & 1 MiB /internal/push body caps (413 Payload Too Large), addr & WS payload validation, SSRF IP/hostname filtering on outbound mesh replication/push, and default CIPHER_BIND_ADDR=127.0.0.1 for bare-metal runs.
  • cipher-shard-executor: authorize /ingest & /ingest/batch (X-TKS-Shard-Ingest-Key or unproxied loopback), enforce 16 MiB body cap, serialize JSON responses safely with serde_json::json!, and default CIPHER_BIND_ADDR=127.0.0.1.
  • Docker & Ops: Dockerfile sets container-internal CIPHER_BIND_ADDR=0.0.0.0 (preserving network/docker-compose-live.yml 127.0.0.1: host mappings); network/tks-node.service drops --rpc-external --rpc-cors all; network/scripts/vps-docker-github-release.sh verifies standalone SHA256SUMS.txt assets directly.

Downloads

Platform Architecture File
macOS Apple Silicon (M1/M2/M3/M4) tks-chain-node-*-macos-arm64
macOS Intel (x86_64) tks-chain-node-*-macos-amd64
Linux x86_64 (servers, VPS) tks-chain-node-*-linux-amd64
Linux ARM64 (Raspberry Pi, VPS) tks-chain-node-*-linux-arm64
Windows x86_64 tks-chain-node-*-windows-amd64.exe

Quick install (Linux/macOS)

curl -sSf https://raw.githubusercontent.com/TokenKickstarter/tokenkickstarter-node/v0.1.27/network/install.sh | bash

Replace v0.1.27 with this tag (for example v0.1.8).


Join the network (full node)

./tks-chain-node \
  --chain tks-testnet-spec-raw.json \
  --base-path ~/.tks/data \
  --rpc-external --rpc-cors all \
  --name "MyNode"

Production RPC with Cipher and HyperSwarm

See README.md and network/docker-compose-live.yml.

./tks-chain-node \
  --chain /path/to/chainspec-raw.json \
  --base-path /data \
  --rpc-port 9944 --rpc-external --rpc-cors all --ws-external \
  --port 30333 \
  --enable-cipher-relay --cipher-relay-port=4002 \
  --enable-cipher-shard-executor --cipher-shard-port=4010 --cipher-shard-id=0 \
  --enable-cipher-hyperswarm --cipher-hyperswarm-port=4001 \
  --cipher-public-relay-url=https://relay.example.com

Run as validator

./tks-chain-node \
  --chain tks-testnet-spec-raw.json \
  --validator \
  --name "MyValidator"

Full steps: network/start-validator.sh, network/inject-validator-keys.sh.


Network

Chain ID 7779 (0x1E63)
Token TKS (18 decimals)
Block time ~1 second
Consensus Aura + GRANDPA
P2P 30333
RPC 9944

Full documentation: README.md · RELEASE_NOTES.md