Reimagining the Internet: A fully decentralized, anonymous, and encrypted peer-to-peer network
ATR-NET is a revolutionary decentralized networking protocol that provides true anonymity, encryption, and censorship resistance. Built from the ground up in Go, it creates a parallel internet infrastructure that operates independently of traditional centralized systems.
- End-to-End Encryption: All communications are encrypted using AES-GCM
- Onion-Style Routing: Multi-hop routing through up to 9 nodes for maximum anonymity
- Ed25519 Signatures: Cryptographic authentication for all network participants
- Zero-Knowledge Architecture: No central authority can monitor or control traffic
- Peer-to-Peer Mesh Network: Self-organizing network topology
- Distributed Hash Table (DHT): Decentralized data storage and retrieval
- Blockchain Integration: Immutable ledger for network integrity
- DNS-Free Resolution: Built-in naming system for .atr domains
- Chunked Data Transmission: Splits data across multiple routes for enhanced security
- Automatic Peer Discovery: Dynamic network expansion and healing
- Load Balancing: Intelligent traffic distribution across network nodes
- Clearnet Proxy: Secure bridge to traditional internet
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β Bootstrap β β DNS Server β β Web Server β
β Server β β (.atr domains)β β (HTTP Proxy) β
β Port: 7778 β β Port: 7779 β β Port: 7781 β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β β β
βββββββββββββββββββββββββΌββββββββββββββββββββββββ
β
ββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββ
β β β
βββββββββββ βββββββββββ βββββββββββ
β Node βββββββββββββββΊβ Node βββββββββββββββΊβ Node β
β :7777 β β :7778 β β :7779 β
βββββββββββ βββββββββββ βββββββββββ
β β β
ββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββ
β
βββββββββββββββββββ
β Mesh Network β
β (Decentralized β
β P2P Routing) β
βββββββββββββββββββ
- Go 1.21 or higher
- Network connectivity (for peer discovery)
# Clone the repository
git clone https://github.com/WolfTech-Innovations/ATR-NET.git
cd ATR-NET
# Build the project
go build -o atr-net main.go
# Run ATR-NET
./atr-netOnce started, ATR-NET will automatically:
- Start the bootstrap server on port 7778
- Launch DNS resolution service on port 7779
- Initialize web proxy on port 7781
- Create 5 mesh nodes on ports 7777-7781
Access the network through:
- Web Portal:
http://localhost:7781
Access traditional websites through ATR-NET's anonymizing proxy:
http://localhost:7781/google.com.clear
http://localhost:7781/github.com.clear
const (
NETID = "ATR-NET-V1" // Network identifier
MAXHOPS = 9 // Maximum routing hops
CHUNKS = 7 // Data splitting factor
NODEPORT = 7777 // Base node port
BOOTPORT = 7778 // Bootstrap port
DNSPORT = 7779 // DNS service port
WEBPORT = 7780 // Web service port
)- Encryption: AES-256-GCM with random keys
- Signatures: Ed25519 cryptographic signatures
- Routing: Multi-path onion routing
- Key Exchange: Ephemeral key generation
HELLO/HELLO_ACK- Peer discovery and handshakePING/PONG- Network health monitoringRESOLVE/RESOLVED- DNS resolutionPUBLISH- Domain registrationGET/PUT- Data storage operations
type PKT struct {
T string // Packet type
D []byte // Data payload
R []H256 // Routing path
L int // Hops remaining
X XL // Encryption context
E bool // Encrypted flag
}- Hash Function: SHA-256 for content addressing
- Digital Signatures: Ed25519 for authentication
- Symmetric Encryption: AES-256-GCM for payload protection
- Key Derivation: Secure random key generation
- Mesh Structure: Each node maintains connections to multiple peers
- Dynamic Routing: Adaptive path selection based on network conditions
- Fault Tolerance: Automatic route recovery and peer replacement
- Scalability: Logarithmic lookup complexity with DHT
- Blockchain: Immutable transaction ledger
- DHT Storage: Distributed content-addressable storage
- Peer Caching: Local storage for frequently accessed data
ATR-NET/
βββ main.go # Core network implementation
βββ README.md # This file
βββ LICENSE # MIT License
|_________________
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
# Run unit tests
go test ./...
# Network integration tests
go test -tags=integration ./...- Traffic Analysis: Mitigated through multi-hop routing
- Node Compromise: Limited impact due to decentralized architecture
- Censorship: Resistant through distributed infrastructure
- Surveillance: Protected by end-to-end encryption
- Regular key rotation
- Peer diversity maintenance
- Network monitoring
- Security audits
This project is licensed under the MIT License
- The Tor Project for onion routing inspiration
- The Bitcoin community for blockchain concepts
- The Go team for excellent networking libraries
- All contributors and early adopters
- Claude AI for help with the coding and making this awesome README
Built with β€οΈ by WolfTech Innovations
"Decentralizing the future, one node at a time"