Plain-HTTP requests bypass the -mitm and -tunnel host lists #7

Closed
opened 2026-10-26 20:23:17 +00:00 by mikluko · 0 comments
Owner

Router.Default forwards every absolute-URI (non-CONNECT) request without matching its host. With -mitm example.com alone, curl -x http://127.0.0.1:8080 http://anything.test/ is still proxied, while a CONNECT to the same host is refused.

Non-CONNECT requests should go through the same host patterns as CONNECT, and be refused when nothing matches.

`Router.Default` forwards every absolute-URI (non-`CONNECT`) request without matching its host. With `-mitm example.com` alone, `curl -x http://127.0.0.1:8080 http://anything.test/` is still proxied, while a `CONNECT` to the same host is refused. Non-`CONNECT` requests should go through the same host patterns as `CONNECT`, and be refused when nothing matches.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mikluko/multiproxy#7
No description provided.