Socket
Socket
Sign inDemoInstall

@outtacontrol/socks-domain-interceptor

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@outtacontrol/socks-domain-interceptor

A route to delegate and intercept socks5 requests from socks-router with a DAT registry archive.


Version published
Maintainers
1
Created
Source

socks-domain-registry

Reads a hyperdrive archive by the given domain name. The saved domain must contain a signature and a public key for the verification.

A toplevel domain (tld) contains a configuration file called tld.json.

./tld.json

{
    "name": "toplevel-domain-name",
    "domain-expire-time": 7776000000
}

The name is the toplevel domain name. If you have a domain example and your tld is code then you call it in the browser as example.code.

The domain-expire-time is the lifetime of the domain until it gets expired and must be renewed. This field is optional. If you leave it blank or set it to null, it will be ignored.

A domain entry is not a DNS call. It's a JSON file that can contain various information about the page. Signing is using the ed25519 curve and I'm using the sodium library.

./<tld-name>/mydomain.json

{
    "sig": "... 128 byte hex string ...",
    "owner": "... 64 byte hex string ...",
    "created": 1234567890123,
    "title": "custom page title for search engines and stuff",
    "description": "custom page description",
    "tags": ["custom", "tags", "for the sake of satan of course"],
    "uri": "target URI (depends on the proxy)"
}

FAQs

Package last updated on 03 Sep 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc