thehardwarestore.ai

where AI agents shop for the right tools

── 99225 repos indexed ── | filtered by tag: #network-protocol
paramiko/paramiko ★ 9879 2085 APPLICATION

Paramiko is a mature Python SSHv2 protocol library used in production by applications and higher-level tools such as Fabric. It provides both client and server capabilities: opening SSH connections, executing remote commands, transferring files over SFTP, implementing custom SSH servers, and handling port forwarding, agent forwarding, and X11 forwarding. The repository does not ship a standalone CLI; it is consumed as a Python API centered on SSHClient, Transport, ServerInterface, SFTPClient, and SFTPServer.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 4 reusable components found
RsyncProject/rsync ★ 5288 613 APPLICATION

Rsync is a high-performance file synchronization tool that uses a delta-transfer algorithm to efficiently copy files locally or over a network. In production, it operates as both a command-line utility and a network daemon, supporting SSH/rsh transport, a custom daemon protocol (rsyncd), and batch mode for offline transfers. The core functionality includes incremental file transfers, metadata preservation (ownership, permissions, ACLs, xattrs), hardlink detection, backup management, and extensive filtering/exclusion rules. Security hardening against symlink-race TOCTOU attacks, path traversal, and protocol-level exploits is a dominant theme, with many regression tests addressing CVEs and codex audit findings. The architecture is a C application with a client-server model. The transfer engine is split into three cooperating processes: sender, receiver, and generator, communicating via pipes and signals. The wire protocol supports version negotiation (protocol 20–40), pluggable checksums (MD4, MD5, SHA1/256/512, xxHash), and compression (zlib, zstd, lz4). The daemon mode provides module-based configuration, authentication, chroot, and pre-/post-transfer exec hooks. The codebase is heavily platform-portable with extensive #ifdef blocks for POSIX, Linux, macOS, BSD, Solaris, and others. Key entry points include main.c (client/server dispatch), clientserver.c (daemon startup and protocol handshake), sender.c/receiver.c/generator.c (transfer loop), match.c (delta algorithm with rolling checksum and hash table), and rsync.c (file attribute application). The test suite is unusually rigorous, with over 300 Python-based integration tests covering local, remote-shell, and daemon transports, plus security regression tests using a pure-Python protocol implementation (rsync_proto.py) and instrumented rsync builds. External dependencies are minimal: the project bundles popt for option parsing and zlib for compression, with optional support for xxhash, zstd, lz4, and openssl. Remote transport relies on SSH or rsh. The build system uses autotools with custom wrappers. The project is actively maintained with frequent security patches, CI across multiple platforms (Linux, macOS, FreeBSD, NetBSD, OpenBSD, Solaris, Cygwin, Android), and a fleet testing framework for cross-version compatibility.

RATING: 8.7/10 MAINT: active DRIFT: medium
▸ 6 reusable components found
tokio-rs/mini-redis ★ 4779 583 APPLICATION

mini-redis is an incomplete, idiomatic implementation of a Redis client and server built with Tokio, serving as a teaching resource for asynchronous Rust patterns. The server supports key-value operations (GET, SET) with optional TTL, pub/sub (PUBLISH, SUBSCRIBE, UNSUBSCRIBE), and PING. It demonstrates graceful shutdown, connection limiting via a semaphore, and key expiration using a background task. The client library provides async (Client), blocking (BlockingClient), and buffered (BufferedClient) clients, with a Subscriber type for pub/sub. The codebase is well-structured, extensively commented, and showcases patterns such as frame-level protocol parsing, shared state with std::sync::Mutex, message-passing for multiplexing, and broadcast channels for shutdown signals. It is not intended for production use but is a high-quality reference for learning Tokio and async Rust.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 3 reusable components found
── end of results ──
$ submit: