{"id":29810018,"url":"https://github.com/wolftech-innovations/atr-net","last_synced_at":"2025-07-28T16:16:07.123Z","repository":{"id":298622440,"uuid":"1000561058","full_name":"WolfTech-Innovations/ATR-NET","owner":"WolfTech-Innovations","description":"ATR-NET - The Anonymous Traffic Routing Network","archived":false,"fork":false,"pushed_at":"2025-06-15T02:57:29.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-15T03:33:06.051Z","etag":null,"topics":["anonymity","anonymization"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WolfTech-Innovations.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-12T01:33:22.000Z","updated_at":"2025-06-15T02:57:31.000Z","dependencies_parsed_at":"2025-06-15T03:33:20.822Z","dependency_job_id":"959dc942-51af-4b10-b1a6-495dceb598f9","html_url":"https://github.com/WolfTech-Innovations/ATR-NET","commit_stats":null,"previous_names":["christopherfoxjr/bhttpj","wolftech-innovations/bhttpj","wolftech-innovations/atr-net"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WolfTech-Innovations/ATR-NET","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WolfTech-Innovations%2FATR-NET","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WolfTech-Innovations%2FATR-NET/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WolfTech-Innovations%2FATR-NET/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WolfTech-Innovations%2FATR-NET/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WolfTech-Innovations","download_url":"https://codeload.github.com/WolfTech-Innovations/ATR-NET/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WolfTech-Innovations%2FATR-NET/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267545413,"owners_count":24104974,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anonymity","anonymization"],"created_at":"2025-07-28T16:16:03.855Z","updated_at":"2025-07-28T16:16:07.114Z","avatar_url":"https://github.com/WolfTech-Innovations.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ATR-NET - The Anonymous Traffic Routing Network\n\n[![Go Version](https://img.shields.io/badge/Go-1.21+-blue.svg)](https://golang.org/)\n[![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)\n\n\u003e **Reimagining the Internet: A fully decentralized, anonymous, and encrypted peer-to-peer network**\n\nATR-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.\n\n## 🌟 Key Features\n\n### 🔒 **Privacy \u0026 Security**\n- **End-to-End Encryption**: All communications are encrypted using AES-GCM\n- **Onion-Style Routing**: Multi-hop routing through up to 9 nodes for maximum anonymity\n- **Ed25519 Signatures**: Cryptographic authentication for all network participants\n- **Zero-Knowledge Architecture**: No central authority can monitor or control traffic\n\n### 🌐 **Decentralized Infrastructure**\n- **Peer-to-Peer Mesh Network**: Self-organizing network topology\n- **Distributed Hash Table (DHT)**: Decentralized data storage and retrieval\n- **Blockchain Integration**: Immutable ledger for network integrity\n- **DNS-Free Resolution**: Built-in naming system for .atr domains\n\n### 🚀 **Advanced Networking**\n- **Chunked Data Transmission**: Splits data across multiple routes for enhanced security\n- **Automatic Peer Discovery**: Dynamic network expansion and healing\n- **Load Balancing**: Intelligent traffic distribution across network nodes\n- **Clearnet Proxy**: Secure bridge to traditional internet\n\n## 🏗️ Architecture Overview\n\n```\n┌─────────────────┐    ┌─────────────────┐    ┌─────────────────┐\n│   Bootstrap     │    │   DNS Server    │    │   Web Server    │\n│   Server        │    │   (.atr domains)│    │   (HTTP Proxy)  │\n│   Port: 7778    │    │   Port: 7779    │    │   Port: 7781    │\n└─────────────────┘    └─────────────────┘    └─────────────────┘\n         │                       │                       │\n         └───────────────────────┼───────────────────────┘\n                                 │\n    ┌────────────────────────────┼────────────────────────────┐\n    │                            │                            │\n┌─────────┐              ┌─────────┐              ┌─────────┐\n│  Node   │◄────────────►│  Node   │◄────────────►│  Node   │\n│ :7777   │              │ :7778   │              │ :7779   │\n└─────────┘              └─────────┘              └─────────┘\n    │                            │                            │\n    └────────────────────────────┼────────────────────────────┘\n                                 │\n                        ┌─────────────────┐\n                        │  Mesh Network   │\n                        │  (Decentralized │\n                        │   P2P Routing)  │\n                        └─────────────────┘\n```\n\n## 🚀 Quick Start\n\n### Prerequisites\n- Go 1.21 or higher\n- Network connectivity (for peer discovery)\n\n### Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/WolfTech-Innovations/ATR-NET.git\ncd ATR-NET\n\n# Build the project\ngo build -o atr-net main.go\n\n# Run ATR-NET\n./atr-net\n```\n\n### Usage\n\nOnce started, ATR-NET will automatically:\n1. Start the bootstrap server on port 7778\n2. Launch DNS resolution service on port 7779\n3. Initialize web proxy on port 7781\n4. Create 5 mesh nodes on ports 7777-7781\n\nAccess the network through:\n- **Web Portal**: `http://localhost:7781`\n\n## 🌐 Network Services\n\n### Clearnet Proxy\nAccess traditional websites through ATR-NET's anonymizing proxy:\n```\nhttp://localhost:7781/google.com.clear\nhttp://localhost:7781/github.com.clear\n```\n\n## 🔧 Configuration\n\n### Network Constants\n```go\nconst (\n    NETID     = \"ATR-NET-V1\"    // Network identifier\n    MAXHOPS   = 9               // Maximum routing hops\n    CHUNKS    = 7               // Data splitting factor\n    NODEPORT  = 7777            // Base node port\n    BOOTPORT  = 7778            // Bootstrap port\n    DNSPORT   = 7779            // DNS service port\n    WEBPORT   = 7780            // Web service port\n)\n```\n\n### Security Parameters\n- **Encryption**: AES-256-GCM with random keys\n- **Signatures**: Ed25519 cryptographic signatures\n- **Routing**: Multi-path onion routing\n- **Key Exchange**: Ephemeral key generation\n\n## 📡 Protocol Specification\n\n### Message Types\n- `HELLO` / `HELLO_ACK` - Peer discovery and handshake\n- `PING` / `PONG` - Network health monitoring\n- `RESOLVE` / `RESOLVED` - DNS resolution\n- `PUBLISH` - Domain registration\n- `GET` / `PUT` - Data storage operations\n\n### Packet Structure\n```go\ntype PKT struct {\n    T    string   // Packet type\n    D    []byte   // Data payload\n    R    []H256   // Routing path\n    L    int      // Hops remaining\n    X    XL       // Encryption context\n    E    bool     // Encrypted flag\n}\n```\n\n## 🔍 Technical Deep Dive\n\n### Cryptographic Primitives\n- **Hash Function**: SHA-256 for content addressing\n- **Digital Signatures**: Ed25519 for authentication\n- **Symmetric Encryption**: AES-256-GCM for payload protection\n- **Key Derivation**: Secure random key generation\n\n### Network Topology\n- **Mesh Structure**: Each node maintains connections to multiple peers\n- **Dynamic Routing**: Adaptive path selection based on network conditions\n- **Fault Tolerance**: Automatic route recovery and peer replacement\n- **Scalability**: Logarithmic lookup complexity with DHT\n\n### Data Persistence\n- **Blockchain**: Immutable transaction ledger\n- **DHT Storage**: Distributed content-addressable storage\n- **Peer Caching**: Local storage for frequently accessed data\n\n## 🛠️ Development\n\n### Project Structure\n```\nATR-NET/\n├── main.go          # Core network implementation\n├── README.md        # This file\n├── LICENSE          # MIT License\n|_________________\n```\n\n### Contributing\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n### Testing\n```bash\n# Run unit tests\ngo test ./...\n\n# Network integration tests\ngo test -tags=integration ./...\n```\n\n## 🔒 Security Considerations\n\n### Threat Model\n- **Traffic Analysis**: Mitigated through multi-hop routing\n- **Node Compromise**: Limited impact due to decentralized architecture\n- **Censorship**: Resistant through distributed infrastructure\n- **Surveillance**: Protected by end-to-end encryption\n\n### Best Practices\n- Regular key rotation\n- Peer diversity maintenance\n- Network monitoring\n- Security audits\n\n## 📄 License\n\nThis project is licensed under the MIT License\n\n## 🙏 Acknowledgments\n\n- The Tor Project for onion routing inspiration\n- The Bitcoin community for blockchain concepts\n- The Go team for excellent networking libraries\n- All contributors and early adopters\n- Claude AI for help with the coding and making this awesome README\n\n---\n\n**Built with ❤️ by WolfTech Innovations**\n\n*\"Decentralizing the future, one node at a time\"*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolftech-innovations%2Fatr-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwolftech-innovations%2Fatr-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolftech-innovations%2Fatr-net/lists"}