16 مستودعات
Logic used to identify and route incoming requests to the appropriate handlers based on specific criteria.
Explore 16 awesome GitHub repositories matching networking & communication · Request Matching. Refine with filters or upvote what's useful.
Caddy is an extensible, modular web server platform designed for high-performance traffic management and automated security. At its core, it functions as a dynamic HTTP gateway that handles request routing, static asset delivery, and reverse proxying through a chain of configurable handler modules. The system is built on a modular architecture that allows developers to extend server functionality by registering custom components, all managed through a unified lifecycle and provisioning framework. What distinguishes Caddy is its focus on automated infrastructure and zero-downtime operations. I
Traffic filtering based on client IP addresses or CIDR ranges provides granular control over request access, including support for trusted proxy headers.
This project is a technical educational guide focused on browser architecture and the internal processes used to render web pages. It provides a detailed breakdown of the web request lifecycle, from the initial networking phase to the final visual output on a screen. The guide covers specific technical sequences including the DNS resolution process across browser, operating system, and ISP caches, and the establishment of secure connections through the TLS handshake. It also details the communication flow between clients and servers using the HTTP protocol and server-side request handling. T
Explains how servers match incoming HTTP requests to virtual hosts to trigger specific content handlers.
nock is a Node.js HTTP mocking library and request interceptor. It captures outgoing network traffic to specific hosts and paths, returning predefined responses to decouple applications from external servers during automated testing. The project functions as an API expectation framework to verify that specific calls were made with correct parameters. It includes a traffic recorder that captures real network interactions as fixtures for playback and a network simulation tool to introduce artificial latency or trigger network errors. Its capabilities cover request matching via hostnames, paths
Matches requests using hostnames, paths, verbs, or headers through strings and regular expressions.
CrowdSec is a collaborative, distributed security engine designed for threat detection and infrastructure protection. It functions as an intrusion detection system that parses logs and network traffic to identify malicious patterns, utilizing a bucket-based threshold detection model to aggregate events and trigger alerts. The platform is built on a modular architecture that includes a centralized local API server for managing security signals and a relational database for persistent storage of remediation decisions. What distinguishes the project is its decoupled enforcement model, which offl
Matches incoming requests against defined criteria to categorize traffic for security analysis.
Seerr is a self-hosted media request system and automation orchestrator. It provides a web interface for users to search for and request movies and television shows for a home media server, acting as a coordinator between users, media servers, and automation tools to trigger the download and organization of approved content. The system distinguishes itself through a comprehensive request management layer that includes granular, role-based permissions and custom override rules to filter and modify incoming requests. It also features a dedicated notification engine that dispatches real-time sta
Matches or modifies requests automatically by applying custom override rules based on predefined conditions.
Text Generation Inference is a production-ready engine designed for the deployment and serving of large language models. It functions as a containerized runtime environment that manages model execution, scales across distributed hardware, and provides high-performance inference capabilities for demanding production environments. The project distinguishes itself through advanced optimization techniques, including continuous batching to maximize hardware utilization and tensor parallelism to shard large models across multiple accelerator cards. It supports efficient inference through custom com
Filters incoming traffic based on client IP addresses to prevent service abuse.
Pollyjs is an HTTP mocking and recording library designed to capture and replay network interactions to create deterministic tests. It functions as a request interceptor and stubbing framework that records real API responses into files, ensuring consistent test results across different environments without relying on live network servers. The tool utilizes pluggable network adapters to support various environments and employs a state-based mode switching system to toggle between recording, replaying, and stubbing behaviors. It uses pattern-based request matching and persistent interaction sto
Identifies the correct recorded response by comparing request URIs and headers against predefined rules.
Symfony HttpFoundation is an object-oriented library that models HTTP requests and responses as structured objects, wrapping PHP superglobals into typed parameter bags and providing dedicated objects for headers, cookies, and file uploads. It serves as the foundational layer for building HTTP-based applications in PHP, offering a complete abstraction for reading request data, constructing responses, and managing the full request-response lifecycle. The library distinguishes itself through composable request matchers that check incoming requests against conditions like IP, method, host, or pat
Implements composable matcher classes that check requests against IP, method, host, or path conditions.
This PHP routing library is an HTTP request router and matcher designed to map incoming URL paths to specific controller actions using defined patterns and configuration. It serves as a programmatic interface for defining, loading, and resolving URL patterns, while providing a URL generator to produce absolute or relative URIs from route names and parameters. The system supports diverse route loading through YAML, XML, PHP arrays, and class attributes, utilizing compiled route matching to optimize performance. It enables sophisticated request handling through regex-based path matching, sub-do
Evaluates if a request meets specific conditions based on IP, HTTP method, host, or path using matcher classes.
TrustedProxy is an HTTP proxy trust manager and Laravel middleware designed to validate request headers and manage session consistency for applications operating behind load balancers or reverse proxies. It serves as a request environment handler that ensures secure client IP detection and accurate URL generation. The system prevents header spoofing by allowing the definition of trusted IP addresses and ranges. It validates that incoming requests originate from authorized intermediaries before modifying the request object to reflect the original client IP and protocol. The project covers tra
Implements IP-based request matching to validate that incoming traffic originates from trusted network ranges.
VCR is a Ruby library that records and replays HTTP interactions during test runs, storing them in serialized cassette files. It captures real HTTP requests and responses, then serves those recorded responses instead of making actual network calls, enabling fast and deterministic test suites that work offline. The library provides configurable request matching, allowing comparisons based on method, URI, host, path, body, or headers to find the correct recorded response. It supports scheduled cassette re-recording to automatically refresh stored interactions at a configurable interval, keeping
Compares incoming HTTP requests against recorded ones using method, URI, host, path, body, or headers.
VeryNginx هو امتداد لـ Nginx يعتمد على Lua وجدار حماية لتطبيقات الويب قابل للبرمجة. يوفر لوحة تحكم إدارية ولوحة مراقبة لحركة المرور لتكوين إعدادات الخادم وتحليل إحصائيات الطلبات دون الحاجة إلى تعديلات يدوية لملفات التكوين. ينفذ المشروع طبقة أمان قابلة للبرمجة لتصفية حركة المرور الضارة وحظر هجمات الويب الشائعة، مثل حقن SQL واجتياز الدليل. ويتضمن أدوات لتقييد حركة مرور الروبوتات من خلال تحديد معدل الطلبات والتحقق من هوية المتصفح. يغطي النظام إدارة حركة المرور عبر توجيه URI وإعادة التوجيه، بالإضافة إلى المراقبة في الوقت الفعلي. يشمل ذلك مراقبة صحة الخادم، وتحليل حركة مرور الشبكة، وتجميع مقاييس الأداء وتوزيعات رموز الحالة لكل مورد فريد.
Implements conditional traffic behaviors by combining request matchers with targeted server actions.
LoopBack Next هو إطار عمل API لـ Node.js يستخدم لبناء واجهات برمجة تطبيقات REST ومتعددة البروتوكولات. يعمل كتنفيذ لخادم OpenAPI يمكنه إما إنشاء مواصفات قابلة للقراءة آلياً من الكود أو إنتاج وحدات تحكم ونماذج تنفيذ من مواصفات موجودة. يتميز إطار العمل بحاوية حقن تبعية مركزية وطبقة وصول للبيانات تعتمد على نمط المستودع (repository pattern). تفصل هذه البنية منطق التطبيق عن بناء المكونات والتخزين الدائم، مما يسمح بنظام قابل للتوصيل حيث يتم عزل مصادر البيانات ومنطق الأعمال من خلال نظام موصل موحد. يغطي المشروع مجموعة واسعة من الإمكانات بما في ذلك التحكم في الوصول القائم على الأدوار مع استراتيجيات مصادقة قابلة للتوصيل وتنسيق خدمات REST و SOAP الخارجية. كما يوفر أدوات للاتصال في الوقت الفعلي عبر نقاط نهاية WebSocket، والتحقق من صحة مخطط JSON، وسقالات المشروع الآلية من خلال واجهة سطر أوامر. يتم دعم التطوير من خلال مجموعة من أدوات CLI لبدء التطبيقات، وإنشاء مكونات API، وإدارة تبعيات المشروع.
Allows replacing default request processing steps with custom logic to modify responses and parameters.
Kyanos هي مجموعة أدوات تشخيصية لتحليل الشبكة تستخدم eBPF لقياس زمن انتقال الحزم وتتبع حركة المرور من بطاقة الشبكة إلى التطبيق. تعمل كأداة لتوصيف زمن انتقال النواة (Kernel) ومراقبة أداء الشبكة، مما يوفر إمكانيات لرسم خرائط التبعيات الخارجية والتقاط حركة مرور الشبكة. يتميز المشروع بقدرته على إجراء فك تشفير تلقائي لحركة مرور SSL، وتحويل الطلبات والاستجابات المشفرة إلى نص عادي للتحليل. كما يعمل على عزل الاختناقات من خلال تحديد زمن الانتقال عبر مراحل متعددة، وتتبع الوقت الذي تقضيه الحزم داخل مكدس شبكة نواة Linux. تغطي مجموعة الأدوات مجالات واسعة بما في ذلك تجميع حركة المرور حسب عنوان IP أو البروتوكول، ومطابقة أزواج الطلب والاستجابة، وتصفية حركة المرور بناءً على الأداء. كما توفر أدوات لتصدير المقاييس الملتقطة وبيانات حركة المرور بتنسيق JSON للمعالجة الخارجية.
Correlates disparate network packets into logical conversations by tracking sequence numbers and connection identifiers.
Overseerr هي بوابة طلب مستضافة ذاتيًا ومنسق أتمتة وسائط مصمم لإدارة اكتشاف واقتناء الأفلام والمسلسلات التلفزيونية. تعمل كمنصة لاكتشاف الوسائط ومدير طلبات مخصص لخوادم وسائط Plex، مما يوفر واجهة مركزية للمستخدمين للعثور على المحتوى وتقديم الطلبات. ينسق النظام سير عمل طلب الوسائط عن طريق ربط عمليات إرسال المستخدم بخدمات التنزيل التلقائية. يتزامن مع خوادم الوسائط لتتبع محتوى المكتبة الحالي ومنع الطلبات المكررة، مع تزويد المسؤولين بلوحة معلومات للموافقة على الطلبات المعلقة أو رفضها. تتضمن المنصة قدرات لمصادقة المستخدم الخارجي والتحكم في الوصول القائم على الأدوار لإدارة الأذونات الدقيقة. كما تتميز بنظام إشعارات لتنبيه المستخدمين عند طلب المحتوى أو توفره، إلى جانب أدوات لتنظيم قوائم المراقبة وقوائم الحظر.
Provides custom override rules to ensure media requests meet administrative conditions before processing.
Salvo هو إطار عمل ويب Rust شامل لبناء خوادم HTTP غير متزامنة وتطبيقات ويب. يتميز بموجه ويب هرمي يستخدم بنية قائمة على الشجرة لتعيين الطلبات إلى المعالجات وخط أنابيب وسيط غير متزامن يعتمد على نموذج البصل لمعالجة الطلبات والاستجابات قبل وبعد المعالجة. يتميز إطار العمل بدعمه الأصلي لبروتوكولات الشبكة الحديثة، بما في ذلك تنفيذ HTTP/3 القائم على QUIC إلى جانب HTTP/1 و HTTP/2. يتضمن مولد وثائق OpenAPI متكاملاً يستخرج المخططات مباشرة من توقيعات المعالج لإنتاج مواصفات API موحدة وواجهات تفاعلية. بالإضافة إلى ذلك، يوفر إدارة TLS تلقائية من خلال تكامل ACME للحصول على شهادات الأمان وتجديدها. يغطي المشروع مجموعة واسعة من القدرات، بما في ذلك الاتصال في الوقت الفعلي عبر WebSockets و WebTransport، بالإضافة إلى وظائف بوابة API مع وكيل الطلب وإعادة كتابة المسار. يتضمن دعماً مدمجاً لإدارة الجلسة، واستخراج المعلمات الآمن من النوع، وإمكانية المراقبة من خلال تكامل OpenTelemetry. يتم التعامل مع تسليم المحتوى عبر خدمة الملفات الثابتة وقوالب HTML الديناميكية. يتم توفير أداة سطر أوامر لتمهيد هياكل المشاريع الجديدة.
Compares incoming HTTP requests against path filters to determine the appropriate handler.