Chihaya Versions Save

A customizable, multi-protocol BitTorrent Tracker

v2.0.0-rc.2

6 years ago

v2.0.0-rc.1

7 years ago

Changelog

The first release candidate for 2.0.0! This release marks a total rewrite of chihaya.

Major features:

  • Protocol-agnostic middleware
  • HTTP and UDP frontends
  • IPv4 and IPv6 support
  • YAML configuration
  • Metrics via Prometheus

Middleware:

  • JWT announce validation
  • Client whitelist/blacklist

Missing features from v1:

  • Preferring peers with in the same subnet

Getting Started

Docker

# Download and edit the example config
$ curl -L https://raw.githubusercontent.com/chihaya/chihaya/v2.0.0-rc.1/example_config.yaml -o ~/chihaya-config.yaml
$ vi ~/chihaya-config.yaml

# Run the container with the config file mounted
$ docker run -p 6880:6880 -p 6881:6881 -v ~/chihaya-config.yaml:/etc/chihaya.yaml:ro  quay.io/jzelinskie/chihaya:v2.0.0-rc.1

Source

# Create a Go environment for chihaya
$ export GOPATH=$PWD/chihaya
$ git clone https://github.com/chihaya/chihaya.git chihaya/src/github.com/chihaya/chihaya

# Install chihaya
$ cd chihaya/src/github.com/chihaya/chihaya
$ git checkout v2.0.0-rc.1
$ glide install
$ go install github.com/chihaya/chihaya/...

# Run chihaya
$ $GOPATH/bin/chihaya --help

v1.0.2

7 years ago

Changelog

  • JWT errors are now returned to the client

Getting Started

Docker

# Download and edit the example config
curl -L https://raw.githubusercontent.com/chihaya/chihaya/release-v1.0/example_config.json -o config.json

# Run the container with the config file mounted
docker run -p 6880-6882:6880-6882 -v $PWD/config.json:/config.json:ro quay.io/jzelinskie/chihaya:v1.0.2 -v=5

Source

# Create a Go environment for chihaya
export GOPATH=$PWD/chihaya
git clone https://github.com/chihaya/chihaya.git chihaya/src/github.com/chihaya/chihaya
cd chihaya/src/github.com/chihaya/chihaya
git checkout v1.0.2
godep restore

# Install chihaya
go install github.com/chihaya/chihaya/cmd/chihaya

# Run chihaya (assuming $GOBIN is on your $PATH)
$ chihaya config=chihaya/src/github.com/chihaya/chihaya/example_config.json v=5

v1.0.1

7 years ago

Changelog

  • Docker Image is now based on Alpine which cuts the image size in half
  • Docker Image now only requires the config file to be mounted rather than a whole directory

Getting Started

Docker

# Download and edit the example config
curl -L https://raw.githubusercontent.com/chihaya/chihaya/release-v1.0/example_config.json -o config.json

# Run the container with the config file mounted
docker run -p 6880-6882:6880-6882 -v $PWD/config.json:/config.json:ro quay.io/jzelinskie/chihaya:v1.0.1 -v=5

Source

# Create a Go environment for chihaya
export GOPATH=$PWD/chihaya
git clone https://github.com/chihaya/chihaya.git chihaya/src/github.com/chihaya/chihaya
cd chihaya/src/github.com/chihaya/chihaya
git checkout v1.0.1
godep restore

# Install chihaya
go install github.com/chihaya/chihaya/cmd/chihaya

# Run chihaya (assuming $GOBIN is on your $PATH)
$ chihaya config=chihaya/src/github.com/chihaya/chihaya/example_config.json v=5

v1.0.0

8 years ago

Changelog

  • Public tracker feature-set with full compatibility with what exists of the BitTorrent spec
  • Low resource consumption, and fast, asynchronous request processing
  • Full IPv6 support, including handling for dual-stacked peers
  • Extensive metrics for visibility into the tracker and swarm's performance
  • Ability to prioritize peers in local subnets to reduce backbone contention
  • JWT Validation to approve the usage of a given infohash

Getting Started

Docker

# Create a config directory and download the example config
mkdir $HOME/chihaya-config
curl -L https://raw.githubusercontent.com/chihaya/chihaya/release-v1.0/example_config.json -o $HOME/chihaya-config/config.json

# Run the container with the config directory mounted
docker run -p 6880-6882:6880-6882 -v $HOME/chihaya-config:/config:ro quay.io/jzelinskie/chihaya:v1.0.0 -v=5

Source

# Create a Go environment with chihaya v1.0.0
export GOPATH=$PWD/chihaya
git clone https://github.com/chihaya/chihaya.git chihaya/src/github.com/chihaya/chihaya
cd chihaya/src/github.com/chihaya/chihaya
git checkout v1.0.0
godep restore

# Install chihaya
go install github.com/chihaya/chihaya/cmd/chihaya

# Create a config directory and download the example config
mkdir $HOME/chihaya-config
curl -L https://raw.githubusercontent.com/chihaya/chihaya/release-v1.0/example_config.json -o $HOME/chihaya-config/config.json

# Run chihaya (assuming $GOBIN is on your $PATH)
$ chihaya config=$HOME/chihaya-config/config.json v=5