Commit graph

9 commits

Author SHA1 Message Date
klzgrad
337bcbe062 Redirect DNS for redir://
Run a fake stub DNS resolver at the same port with redir://.
2020-08-30 01:26:24 +08:00
klzgrad
3e97ce7c5f Handle payload data immediately after HTTP headers
In HttpProxySocket there can be data immediately after HTTP headers,
as in the case of fast HTTP CONNECT.

Instead of reporting an error, handle this case by returning
the data after HTTP headers in the next Read() call.
2020-08-30 01:26:24 +08:00
klzgrad
c430844821 Support TCP transparent proxying
Enable with naive --listen=redir:// and iptables ... -j REDIRECT
--to-ports 1080.
2020-08-30 01:26:24 +08:00
klzgrad
dd32fee7af Support loading config.json 2020-08-30 01:26:24 +08:00
klzgrad
ac4c924d09 Add QUIC client 2020-08-30 01:26:24 +08:00
klzgrad
3fb58d483a Add server implementation and tunnel padding 2020-08-30 01:26:24 +08:00
klzgrad
9a0bbc2e30 naive proxy bin Fix base::Value usage 2020-08-30 01:26:24 +08:00
klzgrad
6fe3ed64af Add initial implementation of Naive client 2020-08-30 01:26:24 +08:00
importer
a8c7668b8d Import chromium-85.0.4183.83 2020-08-29 22:09:54 +08:00