LVT
Le Van Truong
All Engineering Systems (18)
Software EngineeringCompletedPublic Repository
Case Study 17 · 2024 · Systems & Network Programmer

Cross-Platform HTTP Proxy Server

Socket-Level Traffic Forwarding, Domain/IP Filtering & Raylib GUI in C/C++

A cross-platform HTTP proxy server written in C/C++ featuring raw socket connection handling, HTTP header parsing, configurable domain/IP blacklist filtering, and a lightweight Raylib management GUI.

Headline Empirical Metrics
Language
C / C++
Raw socket programming + Raylib GUI
02 · Problem Statement

The Technical Bottleneck

Understanding low-level network traffic control requires handling concurrent client-server socket connections, parsing raw HTTP request headers, and enforcing access policies without high-level web frameworks.

03 · Research Motivation

Why Existing Baselines Fail

Systems-level C/C++ network programming builds foundational mastery of concurrency, buffer management, and protocol parsing.

04 · Proposed Approach

Core Formulation & Insight

Implemented a cross-platform C/C++ socket proxy that intercepts client HTTP requests, parses host headers and IP addresses, blocks or forwards traffic against dynamic filter rules, and exposes live controls via a Raylib graphical interface.

05 · System Architecture & Pipeline Stages

Architectural Design

C/C++ socket proxy engine paired with a Raylib real-time inspection and filtering GUI.

Stage 01

1. Socket Listener & Connection Handler

Accepts client connections and manages upstream server sockets across Windows/Linux.

Stage 02

2. HTTP Header Parser & Domain/IP Filter

Extracts target host/IP and enforces configurable blocklists before forwarding bytes.

Stage 03

3. Raylib Management Interface

Provides a lightweight native GUI for viewing proxy state and toggling domain/IP filters.

06 · Engineering Implementation

Technical Stack & Systems Engineering

Languages
CC++
Frameworks & Libraries
POSIX / WinSock SocketsRaylibCMake / Make
Backbone Models
Rule-Based Domain & IP Packet/Request Filtering
Compute & Storage Infrastructure
Cross-Platform Native Binary

Implementation Highlights

  • →Implemented from scratch in C/C++ using low-level socket APIs and Raylib without external proxy libraries.
07 · Experimental Setup

Datasets & Protocol

Datasets & Corpora

  • Live HTTP Client Traffic & Domain/IP Filter Lists

Evaluation Protocol

Tested request forwarding, header parsing, and blacklist rejection across platforms.

Tracked Evaluation Metrics

Rule Enforcement AccuracyCross-Platform Build Stability
08 · Quantitative Results & Analysis

Built a functional C/C++ HTTP proxy server with configurable domain/IP blocking and a native Raylib GUI.

Language
C / C++

Raw socket programming + Raylib GUI

Empirical Analysis & Interpretation

Demonstrates low-level systems and networking proficiency complementing high-level AI research.

09 · Primary Technical Contributions

What This System Contributes

  • 01Implemented the HTTP parsing, socket forwarding, domain/IP filtering, and Raylib GUI.
10 · Limitations & Scope Constraints

Boundary Conditions & Future Work

  • ·Designed for HTTP traffic inspection and educational network filtering rather than production TLS MITM termination.