37 个仓库
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 是一个用于开发自主 AI 编码代理的框架,这些代理可自动化软件开发任务。它作为一个代理编排器、工具运行时和语义记忆引擎,支持创建能够修改代码、运行测试并迭代自身功能的代理。 该项目以其递归代理群集(Swarming)而著称,其中协作代理的层级结构可以生成子代理来分解复杂任务。它实现了一个语义记忆系统,结合了基于向量的检索和基于图的关系映射,以在会话间保持上下文。为了管理风险,该系统使用分级操作治理,要求人工批准敏感操作,并将代理活动隔离在单独的 Git 工作树中。 该框架包含一个全面的浏览器自动化工具包,用于与网页交互、提取 DOM 快照和捕获截图。它还实现了模型上下文协议(MCP)以集成外部工具和数据,并支持二进制热重载以在不丢失活动网络连接的情况下更新服务器。 该系统提供用于管理代理记忆的命令行界面,并包括用于跟踪计划进度和可视化代理群集拓扑的审计工具。
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 是一款 Android VPN 应用程序和安全代理客户端,旨在通过外部服务器路由移动网络流量。其主要目的是加密数据并绕过 Android 设备上的互联网限制和审查。 该应用程序使用 ShadowsocksR 协议建立安全隧道,以掩盖网络活动并保护隐私。它通过在移动设备和远程代理服务器之间掩盖流量并加密数据,从而绕过区域防火墙和连接封锁。 该软件使用 Android VPN 服务实现了一个系统级网络封装器,以拦截设备流量。它通过 SOCKS5 代理实现处理网络请求,并通过基于流的加密层保护数据包,以促进 TCP 和 UDP 流量隧道传输。
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 是一款点对点虚拟专用网络工具,可在两个特定端点之间建立加密隧道。它作为一个网络驱动程序实用程序,通过虚拟接口路由原始操作系统流量以进行封装和安全传输。 该项目通过将 IP 数据包封装在 TCP 流中脱颖而出,允许安全连接绕过限制性网络防火墙和拦截非标准协议的过滤器。它使用带有预共享密钥的对称加密来验证参与者并保护数据传输。 该软件包含全面的数据泄露防护功能,通过抑制 IPv6 流量并操作静态路由表,确保所有传出数据保留在加密隧道内。它还提供了用于管理虚拟接口寻址和加密密钥配置的实用程序。
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.