Using HTTPS upstream while in Reverse Proxy Mode
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 22/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- c
- Lĩnh vực
- backend, networking
Hướng nghiên cứu
Start by reading Tinyproxy's ReverseOnly and upstream proxy configuration documentation, then trace how reverse proxy requests are routed through the SOCKS5 upstream. The issue does not identify relevant source files or tests, and the desired behavior needs design decisions about selecting HTTP versus HTTPS for virtual hosts. Done would mean a documented configuration and behavior that routes both kinds of sites as described.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Tinyproxy version
1.11.1
Issue
Not sure if this is at all possible, but...
I'd like to use Tinyproxy as a reverse proxy only (ReverseOnly) while the default upstream is a SOCKS5 proxy.
Currently I have:
Port 8888
upstream socks5 127.0.0.1:1080
Allow 127.0.0.1
Where (for reason that I won't get into) there is a SOCKS5 proxy server that connects to an Apache web server serving up multiple sites (virtual hosts).
This works great if I setup my web browser to use TinyProxy as it's proxy server. I can connect to anyone of those sites, including both HTTP and HTTPS (the HTTPS is important for the next part).
Now... In front of TinyProxy I have setup an HAProxy instance that has a backend pointing to TinyProxy:
frontend http
bind *:443 ssl crt /etc/ssl/certs/mysite.pem
default_backend tunneled
backend tunneled
server tinyproxy 127.0.0.1:8888
By now I think you understand what I'd like to do. Essentially I would like to use TinyProxy as an HTTPS -> SOCKS5 -> HTTP/HTTPS proxy/translator.
Question (or feature request) is, what configuration changes must I make to TinyProxy to allow the above to work? For example, one thing that comes to mind is how do I tell TinyProxy that "Site A" on the upstream uses HTTP vs "Site B" on the same upstream uses HTTPS?
- Ngôn ngữ chính
- C
- Star
- 6.1k
- Fork
- 768
- Merge trung bình
- 15 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của tinyproxy/tinyproxy
-
HTTP Request Smuggling: non-final chunked Transfer-Encoding not rejected (CWE-444)Có thể đã có người làm @code1a2024 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
-
Feature request: opt-in destination-CIDR denial for direct origin connectionsCó thể đã có người làm @omrzk đã nhận 28 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 49/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Tất cả issue của tinyproxy/tinyproxy
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
jaredgei/wow-forever-android#97 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
on_ctrl_redirect(): iterator never advances — infinite loop stalls the event loop at 100% CPUĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
openziti/ziti-sdk-c#1254 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Requisite=graphical-session.target lets a D-Bus activation at logout cancel the target's stopĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
flatpak/xdg-desktop-portal#2215 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
http_fetch tests: the two no-child rows fail, not skip, where a task's children file does not existCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởarea:http kind:gate-defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
InauguralSystems/EigenScript#2397 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add SECURITY.mdĐang mởenhancement
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày