Why is Tinyproxy reporting HTTP 500 right after getting DNS response?
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 20/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- c
- Bereich
- backend, networking
Rechercherichtung
The report provides a Tinyproxy 1.11.0 configuration and a packet trace showing DNS replies immediately before HTTP 500, but names no source files or tests. Start by checking Tinyproxy logs and tracing the CONNECT request through DNS resolution and connection setup; compare the configured Bind address with the WireGuard interface and route. Done means identifying the cause and confirming a successful CONNECT, but the issue has had no activity for years and appears to be a request for help.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Tinyproxy version
1.11.0
Issue
Probably my issue, so I'm just asking for help. Trying to set up a web proxy server on my LAN that provides a WireGuard VPN tunnel to a VPN server in the cloud. I'm using Firefox as the client and have configured it to use the proxy server that is running Tinyproxy. On an attempt to access a site, Firefox immediately reports "having trouble finding ... can't connect." Using the tshark sniffer to see traffic, I see the following, where "..." indicates I've truncated a line and "!" indicates a line that tshark displayed out of timestamp order and which I have here moved into timestamp order.
Addresses:
192.168.50.200 client (Firefox)
192.168.50.212 Tinyproxy server and WireGuard client machine
10.4.0.2 WireGuard tunnel virtual interface wg0
10.4.0.1, referenced in .conf Bind, is the cloud end of tunnel; 10.4.0.0/16 is routed to wg0 interface
1.1.1.2 DNS server in cloud
502 47.114586667 192.168.50.200 → 192.168.50.212 HTTP 277 CONNECT ifconfig.me:443 HTTP/1.1
503 47.114636300 192.168.50.212 → 192.168.50.200 TCP 66 8888 → 57666 [ACK] ...
504 47.115387336 10.4.0.2 → 1.1.1.2 DNS 57 Standard query 0x7a6e A ifconfig.me
505 47.115428139 10.4.0.2 → 1.1.1.2 DNS 57 Standard query 0x8f64 AAAA ifconfig.me
!515 47.319108832 1.1.1.2 → 10.4.0.2 DNS 128 Standard query response 0x8f64 AAAA ifconfig.me ...
!516 47.319109241 1.1.1.2 → 10.4.0.2 DNS 73 Standard query response 0x7a6e A ifconfig.me A 34.117.59.81
506 47.319604790 192.168.50.212 → 192.168.50.200 TCP 170 HTTP/1.0 500 Unable to connect [TCP segment of a reassembled PDU]
What have I done, or omitted, to cause Tinyproxy to report an HTTP 500 error immediately after receiving a DNS response?
.conf file:
Port 8888
Listen 192.168.50.212
Bind 10.4.0.1
Timeout 600
DefaultErrorFile "/usr/share/tinyproxy/default.html"
StatFile "/usr/share/tinyproxy/stats.html"
Syslog On
LogLevel Info
MaxClients 2
Allow 127.0.0.1
Allow 192.168.0.0/16
ViaProxyName "tinyproxy"
- Vorherrschende Sprache
- C
- Sterne
- 6.1k
- Forks
- 768
- Ø Merge
- 15 T. 3 Std.
- Gemergte PRs (30 T.)
- 1
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus tinyproxy/tinyproxy
-
HTTP Request Smuggling: non-final chunked Transfer-Encoding not rejected (CWE-444)Evtl. vergeben @code1a2024 hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
-
Feature request: opt-in destination-CIDR denial for direct origin connectionsEvtl. vergeben @omrzk hat das vor 28 Tagen übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 49/100
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
Alle Issues in tinyproxy/tinyproxy
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
jaredgei/wow-forever-android#97 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
openziti/ziti-sdk-c#1254 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
flatpak/xdg-desktop-portal#2215 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
http_fetch tests: the two no-child rows fail, not skip, where a task's children file does not existEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenarea:http kind:gate-defect
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
InauguralSystems/EigenScript#2397 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Add SECURITY.mdOffenenhancement
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 65/100
Maintainer antworten meist innerhalb von 1 Tag