Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

NTAP-A

NTAP-A is the public control and relay server for NTAP. It handles node registration, TAP user authentication, runtime configuration delivery, TAP frame relay, Direct strategy APIs, and the management API/Web entry point.

Repository Set

NTAP is split into three clean source repositories. Deployable packages are published only through each repository's GitHub Releases.

  • NTAP-A: public server, management API, SQLite state, node/TAP authentication, and TapHub relay.
  • NTAP-B: node side, installed at the customer gateway or internal host, connects to A, and joins the local network.
  • NTAP-C: client side, with a Windows GUI for customers and a Linux command-line entry point.

Download And Deploy

Use the final packages from GitHub Releases. Do not deploy temporary files from a source checkout.

Latest release:

https://github.com/VAMPIRE0924/NTAP-A/releases/latest

Typical server package:

NTAP-A-<version>-linux-x64.tar.gz

Basic deployment flow:

tar -xzf NTAP-A-<version>-linux-x64.tar.gz
cd NTAP-A-<version>-linux-x64
cp conf/ntap-a.conf.example conf/ntap-a.conf

Before the first run, edit the API key, listen addresses, SQLite path, and other deployment-specific settings.

Common commands from the release package:

bin/ntap-a -c conf/ntap-a.conf initdb
bin/ntap-a -c conf/ntap-a.conf serve
bin/ntap-a -c conf/ntap-a.conf api

The release package also includes service installation helpers for fixed-path deployment:

sudo sh install/install-linux-service.sh
sudo sh install/install-linux-service.sh --enable --start

Source Scope

src/a/       NTAP-A server source
src/common/  shared protocol and utility source
conf/        minimal example config

This repository keeps only source code, example config, README, and LICENSE. Final deployable packages live in GitHub Releases.

Security Notes

  • Change the default API key before exposing the API.
  • Put the API/Web listener behind HTTPS; HMAC signing does not encrypt requests or responses.
  • The current node-control, TAP-relay, and SOCKS data paths do not provide transport encryption. Keep them on a trusted private network or protect them with a VPN/TLS tunnel; do not expose them directly to an untrusted Internet.
  • Apply firewall connection limits and authentication-failure rate limits in front of the listeners until equivalent in-process controls are implemented.
  • Put SQLite data and logs under persistent directories.
  • Split API/Web, TAP relay, and node connection listeners according to the deployment firewall plan.

License

GPL-3.0-only. See LICENSE.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages