New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

github.com/dannyzb/dht/v2

Package Overview
Dependencies
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/dannyzb/dht/v2

Source
Go Modules
Version
v2.0.0-20250507064540-e7c61881fc47
Version published
Created
Source

dht

Go Reference

dht implements the mainline DHT protocol used by BitTorrent. It provides server and client implementations, handling the protocol level stuff, and allowing the user to provide their own store and routing table implementations.

Installation

Get the library package with go get github.com/dannyzb/dht/v2, or the provided cmds with go install github.com/dannyzb/dht/v2/cmd/...@latest.

Commands

Several commands are provided that use the library:

dht

Supports various commands operating on the DHT.

% go run github.com/dannyzb/dht/v2/cmd/dht --help
valid arguments at this point:
  --help|-h
  --network <string>
  --secure
  --bootstrap-addr <[]string>
  --query-resend-delay <time.Duration>
  derive-put-target
  put
  put-mutable-infohash
  get
  ping
  get-peers
  query
  ping-nodes

Downstream projects

Projects that uses this repo in novel ways.

  • cove: Torrent browser with streaming, DHT search, video transcoding and casting.
  • btlink: btlink supports DNS records stored on the DHT.

FAQs

Package last updated on 07 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts