Article may be outdated

This article is 2 days old. Some details may have changed since publication.

Hacker News·3 min read·hard

Gonc – Netcat with P2P Nat Traversal

G
gonc_cc
Gonc – Netcat with P2P Nat Traversal
AI Summary

Gonc is a Golang-based networking tool that enables peer-to-peer communication with automated NAT traversal. It allows users to establish secure, encrypted connections for file sharing and remote shell access using only a shared passphrase.

Why it matters

This tool simplifies complex network configurations for P2P file transfers, making secure, direct communication more accessible to non-technical users.

Dive DeeperCreate a free account to unlock

gonc is a Golang-based netcat tool designed to facilitate peer-to-peer communication. Its main features include:

🔁 Automated NAT Traversal : Zero configuration. Both sides only need to agree on a passphrase. By using the -p2p parameter, peers can automatically discover each other’s network addresses and establish a point-to-point connection through NAT traversal, leveraging public STUN and MQTT services for address exchange.

🔒 End-to-End Encrypted with Mutual Authentication : Supports TLS for TCP and DTLS for UDP encrypted transmission, with passphrase-based mutual identity authentication.

🧩 Flexible Service Configuration : With the -e parameter, you can flexibly set the application to serve each connection. For example, -e /bin/sh can provide a remote cmd shell. You can also use built-in virtual commands for convenient SOCKS5 service, HTTP file service, and traffic forwarding.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technology

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in