feat: Initial code

This commit is contained in:
2025-04-23 17:22:51 +10:00
commit aa3da9d5c3
9 changed files with 640 additions and 0 deletions

34
README.md Normal file
View File

@@ -0,0 +1,34 @@
# FireProxy - C Proxy Server with DoH Support
FireProxy is a lightweight HTTP proxy server written in C that intercepts web requests and resolves DNS queries using DNS-over-HTTPS (DoH).
## Features
- HTTP proxy functionality
- DNS resolution using DoH (DNS-over-HTTPS)
- Uses hnsdoh.com as the DoH provider
- Multithreaded connection handling
## Building
```bash
make
```
## Usage
```bash
./fireproxy [port]
```
Default port is 8080 if not specified.
## Configure Your Browser
Configure your browser's proxy settings to use localhost with the port you specified when running FireProxy.
## Dependencies
- libcurl for HTTP requests
- OpenSSL for HTTPS support
- pthread for multi-threading