37 Repos
Low-level implementations of request-response patterns over TCP sockets.
Distinct from Request and Response Transformers: Closest candidates are focused on HTTP/Web transformers; this is a raw TCP socket stream implementation.
Explore 37 awesome GitHub repositories matching networking & communication · TCP Protocol Implementations. Refine with filters or upvote what's useful.
shadowsocks-libev is an event-driven network daemon that provides an encrypted SOCKS5 proxy. It functions as a lightweight proxy server using a non-blocking event loop to route TCP and UDP traffic through encrypted tunnels to bypass network restrictions. The project implements a transparent proxy gateway capable of intercepting outbound packets at the network layer, allowing system traffic to be redirected through the encrypted tunnel without per-application configuration. It also includes a daemon process manager to control multiple proxy server instances as child processes via local communi
Implements wrapping of TCP streams in custom encrypted protocols to bypass network restrictions.
redis-py is a Python client library for executing Redis commands and managing in-memory data structures. It provides the necessary components to integrate Python applications with Redis for data storage and retrieval. The project includes a cluster client for monitoring health and managing automatic failover across multiple active-active database replicas. It also features a connection pool manager to maintain reusable socket connections and a dedicated pub/sub client for subscribing to real-time message channels. The library covers broad capability areas including performance optimization t
Serializes commands into a protocol stream and reads responses sequentially from persistent TCP sockets.
Workerman is an event-driven asynchronous socket framework for PHP. It provides the core components necessary to build high-concurrency network servers, including an asynchronous TCP framework, a coroutine library for task management, and dedicated implementations for HTTP and WebSocket servers. The project enables the development of specialized network services using custom frame-based communication protocols. It supports both inbound concurrent server implementation and asynchronous outbound connectivity to remote services. The framework covers a broad range of network programming capabili
Provides a tool for creating non-blocking TCP connections and custom frame-based protocols for high-volume data transmission.
A Rust port of shadowsocks
Encrypts outbound TCP streams at the local proxy and decrypts them at the remote proxy for forwarding to the destination.
This project provides a version of the Redis 3.0 codebase featuring detailed technical commentary and annotations. It serves as a technical resource for studying the internal design and implementation of an in-memory key-value store and the architecture of a networked NoSQL database. The documentation focuses on the implementation of the Redis Sentinel system, covering the mechanisms used for monitoring instance health, managing automatic failover, and notifying clients of primary node changes. The project covers broader architectural areas including in-memory data storage, high availability
Implements a custom text-based request-response protocol over raw TCP sockets for client commands.
wait-for-it is a Bash-based service dependency tool and network utility designed to verify TCP port availability. It functions as a connection wait script that pauses execution until a specific host and port are reachable. The utility polls a remote port to ensure a service is online before starting dependent processes. Once the network condition is met or a TCP socket handshake is successful, it can trigger a secondary command to initiate subsequent automation tasks. The script includes mechanisms for linear execution blocking and timeout-driven termination to prevent infinite hangs. These
Uses low-level network calls to verify the availability of a listener via a TCP socket handshake.
testssl.sh is a suite of diagnostic tools and a network security auditor used to scan network ports for supported encryption protocols, ciphers, and vulnerabilities in TLS and SSL configurations. It functions as a security scanner that evaluates the cryptographic strength of a server by testing all available cipher suites. The tool analyzes server encryption strength and identifies security vulnerabilities or weak settings through TLS and SSL security auditing. It verifies that encryption is properly implemented on specific network ports and evaluates whether only strong and modern encryption
Verifies port availability using raw TCP sockets before attempting cryptographic handshakes.
udp2raw is a network tunneling tool designed to bypass firewalls and obfuscate UDP traffic. It wraps UDP packets in alternative headers and utilizes raw socket networking to move data through networks that otherwise block or throttle UDP traffic. The project distinguishes itself by simulating TCP connections, mimicking the three-way handshake and sequence numbering to trick firewalls into treating UDP streams as TCP traffic. It further stabilizes these connections through heartbeat-driven port rotation, which automatically switches ports to recover sessions after detected failures. The tool
Mimics the TCP three-way handshake and sequence numbering to bypass firewalls while delivering real-time UDP traffic.
Trojan-go is a network proxy implementation that uses the Trojan protocol to disguise internet traffic as standard TLS to bypass censorship and deep packet inspection. It functions as a tunneling gateway that encapsulates network data within encrypted tunnels to mimic ordinary web browsing. The project distinguishes itself through advanced obfuscation techniques, including TLS fingerprint mimicry to avoid detection by client signature identification and the use of WebSockets to relay encrypted traffic through content delivery networks. It also supports UDP forwarding through the Trojan protoc
Reduces connection latency and overhead by multiplexing multiple TCP streams through a single encrypted TLS tunnel.
jcode ist ein Framework für die Entwicklung autonomer KI-Coding-Agenten, die Softwareentwicklungsaufgaben automatisieren. Es fungiert als Agenten-Orchestrator, Tool-Laufzeitumgebung und semantische Speicher-Engine und ermöglicht die Erstellung von Agenten, die Code modifizieren, Tests ausführen und ihre eigene Funktionalität iterieren können. Das Projekt zeichnet sich durch die Verwendung von rekursivem Agenten-Swarming aus, bei dem eine Hierarchie zusammenarbeitender Agenten untergeordnete Agenten hervorbringen kann, um komplexe Aufgaben zu zerlegen. Es implementiert ein semantisches Speichersystem, das vektorbasierte Abfrage mit graphenbasierter Beziehungszuordnung kombiniert, um den Kontext über Sitzungen hinweg zu wahren. Um Risiken zu verwalten, verwendet das System eine gestaffelte Aktions-Governance, die für sensible Operationen eine menschliche Genehmigung erfordert und Agentenaktivitäten innerhalb separater Git-Worktrees isoliert. Das Framework enthält ein umfassendes Browser-Automatisierungs-Toolkit für die Interaktion mit Webseiten, das Extrahieren von DOM-Snapshots und das Erfassen von Screenshots. Es implementiert zudem das Model Context Protocol zur Integration externer Tools und Daten und unterstützt binäres Hot-Reloading, um den Server zu aktualisieren, ohne aktive Netzwerkverbindungen zu verlieren. Das System bietet eine Befehlszeilenschnittstelle zur Verwaltung von Agenten-Speichern und enthält Audit-Tools, um den Fortschritt von Plänen zu verfolgen und die Topologie des Agenten-Schwarms zu visualisieren.
Provides a server environment to manage external tool processes and handle AI provider authentication.
Zinx is a lightweight TCP server framework written in Go that provides a structured foundation for building scalable network applications. It combines a goroutine-pool worker model for concurrency control with message-ID-based routing, enabling efficient packet dispatching to registered handler functions. The framework distinguishes itself through its modular plugin architecture, which organizes server components like routers, connections, and message modules as interchangeable plugins for extensibility. It uses packet-header length prefixing for reliable TCP stream framing, assigns a dedicat
Provides a lightweight, modular framework for building TCP servers in Go with connection handling and message routing.
Snapcast is a multiroom audio streaming system designed to broadcast synchronized high-fidelity audio from a central server to multiple network clients. It functions as a TCP audio distribution server that captures raw audio sources and distributes them to synchronous network audio players. The system utilizes networked clock synchronization to coordinate timing between devices, ensuring simultaneous playback across different physical locations without echo or delay. It includes a remote audio playback controller to manage volume, mute status, and stream assignments via HTTP or WebSockets. T
Uses a structured TCP-based protocol to send playback and volume commands to clients.
ShadowsocksR Android Client ist eine Android-VPN-Anwendung und ein sicherer Proxy-Client, der entwickelt wurde, um mobilen Netzwerkverkehr über einen externen Server zu leiten. Sein Hauptzweck ist die Verschlüsselung von Daten und die Umgehung von Internetsperren und Zensur auf Android-Geräten. Die Anwendung baut sichere Tunnel unter Verwendung des ShadowsocksR-Protokolls auf, um Netzwerkaktivitäten zu maskieren und die Privatsphäre zu wahren. Sie funktioniert durch das Maskieren von Datenverkehr und die Verschlüsselung von Daten zwischen dem Mobilgerät und einem Remote-Proxy-Server, um regionale Firewalls und Konnektivitätsblockaden zu umgehen. Die Software implementiert einen systemweiten Netzwerk-Wrapper unter Verwendung des Android-VPN-Dienstes, um den Datenverkehr des Geräts abzufangen. Sie verarbeitet Netzwerkanfragen über eine SOCKS5-Proxy-Implementierung und sichert Datenpakete durch eine stream-basierte Verschlüsselungsschicht, um TCP- und UDP-Traffic-Tunneling zu ermöglichen.
Encapsulates TCP and UDP traffic into secure streams to bypass network restrictions.
libhv is a high-performance C/C++ network library and event-driven I/O framework used to build TCP, UDP, SSL, HTTP, WebSocket, and MQTT clients and servers. It provides a non-blocking event loop for managing network sockets, timers, and system signals across multiple threads. The project is distinguished by its integrated support for specialized network roles, including a full HTTP web server with RESTful routing and middleware, an MQTT messaging client for IoT communication, and the ability to implement SOCKS5 and HTTP proxies. It also features a reliable UDP implementation to ensure ordered
Allows wrapping TCP streams into custom protocols to transmit data between clients and servers.
This repository contains the comprehensive documentation for a code editor focused on AI-assisted software development and remote development workflows. It covers the implementation of AI agents and language models used for autonomous code generation, large-scale refactoring, and task iteration. The project is distinguished by its deep integration of autonomous AI agents capable of web navigation, application logic validation, and orchestrating multi-step development processes. It provides specialized frameworks for tailoring AI behavior through custom instructions, model context protocols, a
Manages whether AI assistants can utilize tools provided by third-party extensions, servers, or integrated browsers.
FASTER is a high-throughput key-value store that combines an in-memory data store with a hybrid memory-disk storage engine, enabling datasets larger than available RAM. It uses a latch-free, cache-optimized index for concurrent point lookups and heavy updates, and records all mutations to a persistent append-only log on disk with checksum validation and group-commit checkpointing for crash recovery. The system supports multi-key transactional workloads through atomic multi-key locking, ensuring transactional consistency without coarse-grained contention. It exposes the key-value store to remo
Exposes the key-value store over a custom TCP protocol that scales linearly with concurrent connections.
wstunnel is a tool that tunnels arbitrary TCP traffic through WebSocket connections, enabling communication across restrictive firewalls and proxies. It operates as both a client and server, encapsulating TCP data within WebSocket binary frames and multiplexing multiple connections over a single WebSocket link. The tool supports mutual TLS authentication, requiring clients to present signed certificates for verification before establishing a tunnel, and provides shared secret access control and tunnel forwarding restrictions for additional security. The project distinguishes itself by offerin
Forwards TCP connections through a WebSocket or HTTP2 tunnel to bypass firewalls and proxies.
Twisted is an event-driven networking engine for Python that provides a framework for building asynchronous network applications. At its core, it uses a reactor-based event loop to drive all input and output, dispatching callbacks in a single thread without blocking. The library implements a deferred promise chain for composing asynchronous logic, along with a protocol and factory pattern that separates connection state management from protocol handling, enabling reusable handlers for different network protocols. The framework supports multiple event loops across platforms, including select,
Enables building custom protocol servers by handling connections and parsing messages asynchronously.
dsvpn ist ein Point-to-Point-VPN-Tool, das verschlüsselte Tunnel zwischen zwei spezifischen Endpunkten aufbaut. Es fungiert als Netzwerktreiber-Utility, das rohen Betriebssystem-Traffic zur Kapselung und sicheren Übertragung durch ein virtuelles Interface leitet. Das Projekt zeichnet sich dadurch aus, dass es IP-Pakete innerhalb von TCP-Streams kapselt, wodurch sichere Verbindungen restriktive Netzwerk-Firewalls und Filter umgehen können, die nicht-standardisierte Protokolle blockieren. Es verwendet symmetrische Verschlüsselung mit vorab geteilten geheimen Schlüsseln, um Teilnehmer zu authentifizieren und die Datenübertragung zu schützen. Die Software enthält umfassende Funktionen zur Verhinderung von Datenlecks durch Unterdrückung von IPv6-Traffic und Manipulation statischer Routing-Tabellen, um sicherzustellen, dass alle ausgehenden Daten innerhalb des verschlüsselten Tunnels verbleiben. Sie bietet zudem Utilities für das Management der Adressierung virtueller Interfaces und die Konfiguration kryptografischer Schlüssel.
Wraps IP packets in TCP streams to bypass restrictive network filters and firewalls.
Creates tailored server programs that expose specific tools and resources for AI applications.