Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy no longer works after upgrading to Ubuntu 24.04 Noble #307

Open
nfrelink opened this issue Sep 25, 2024 · 0 comments
Open

Proxy no longer works after upgrading to Ubuntu 24.04 Noble #307

nfrelink opened this issue Sep 25, 2024 · 0 comments

Comments

@nfrelink
Copy link

Hello,

I have been using mtg happily on Ubuntu 22.04 for a few years now. Unfortunately, after recently updating to the new Noble release, this proxy no longer works as expected. This is built from source, on the machine itself and thus not inside Docker.

If I start the proxy in simple-run with debug mode, I observe the following logs:

{"level":"debug","configuration":{"debug":true,"allowFallbackOnUnknownDc":true,"secret":"7k----","bindTo":"0.0.0.0:443","preferIp":"prefer-ipv6","domainFrontingPort":443,"tolerateTimeSkewness":"","concurrency":8192,"defense":{"antiReplay":{"enabled":true,"maxSize":"1mib","errorRate":0},"blocklist":{"enabled":false,"downloadConcurrency":0,"urls":null,"updateEach":""},"allowlist":{"enabled":false,"downloadConcurrency":0,"urls":null,"updateEach":""}},"network":{"timeout":{"tcp":"10s","http":"10s","idle":"10s"},"dohIp":"1.1.1.1","proxies":null},"stats":{"statsd":{"enabled":false,"address":"","metricPrefix":"","tagFormat":""},"prometheus":{"enabled":false,"bindTo":"","httpPath":"","metricPrefix":""}}}
,"logger":"","timestamp":1727273384514,"message":"configuration"}
{"level":"info","logger":"allowlist.ipblocklist.firehol","timestamp":1727273384514,"message":"ip list was updated"}
{"level":"info","client-ip":"82.x.x.x","stream-id":"WZocKHM3WbMHE-y5r5Q5Zg","logger":"proxy","timestamp":1727273384564,"message":"Stream has been started"}
{"level":"debug","dc":5,"client-ip":"82.x.x.x","stream-id":"WZocKHM3WbMHE-y5r5Q5Zg","logger":"proxy.relay","timestamp":1727273385337,"message":"client -> telegram has been finished because of EOF. Written 632 bytes"}
{"level":"debug","dc":5,"client-ip":"82.x.x.x","stream-id":"WZocKHM3WbMHE-y5r5Q5Zg","logger":"proxy.relay","timestamp":1727273385338,"message":"telegram -> client has been finished"}
{"level":"info","dc":5,"client-ip":"82.x.x.x","stream-id":"WZocKHM3WbMHE-y5r5Q5Zg","logger":"proxy","timestamp":1727273385353,"message":"Stream has been finished"}
{"level":"info","client-ip":"82.x.x.x","stream-id":"ktFx-CMtSkt5l7wSWPicQQ","logger":"proxy","timestamp":1727273391081,"message":"Stream has been started"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"ktFx-CMtSkt5l7wSWPicQQ","logger":"proxy.relay","timestamp":1727273395057,"message":"client -> telegram has been finished because of EOF. Written 104 bytes"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"ktFx-CMtSkt5l7wSWPicQQ","logger":"proxy.relay","timestamp":1727273395057,"message":"telegram -> client has been finished"}
{"level":"info","dc":4,"client-ip":"82.x.x.x","stream-id":"ktFx-CMtSkt5l7wSWPicQQ","logger":"proxy","timestamp":1727273395081,"message":"Stream has been finished"}
{"level":"info","client-ip":"82.x.x.x","stream-id":"RszG2X8au2rYzfIj2WOF0Q","logger":"proxy","timestamp":1727273395090,"message":"Stream has been started"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"RszG2X8au2rYzfIj2WOF0Q","logger":"proxy.relay","timestamp":1727273399085,"message":"client -> telegram has been finished because of EOF. Written 143 bytes"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"RszG2X8au2rYzfIj2WOF0Q","logger":"proxy.relay","timestamp":1727273399085,"message":"telegram -> client has been finished"}
{"level":"info","dc":4,"client-ip":"82.x.x.x","stream-id":"RszG2X8au2rYzfIj2WOF0Q","logger":"proxy","timestamp":1727273399106,"message":"Stream has been finished"}
{"level":"info","client-ip":"82.x.x.x","stream-id":"0nb3sWV-M5TpEgcASbFdSA","logger":"proxy","timestamp":1727273399124,"message":"Stream has been started"}
{"level":"info","client-ip":"195.x.x.x","stream-id":"6Xewdt10UFxgzzOsVP7cAg","logger":"proxy","timestamp":1727273402606,"message":"Stream has been started"}
{"level":"info","logger":"proxy","error":"bad digest","timestamp":1727273402606,"message":"cannot parse client hello"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"0nb3sWV-M5TpEgcASbFdSA","logger":"proxy.relay","timestamp":1727273403103,"message":"client -> telegram has been finished because of EOF. Written 253 bytes"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"0nb3sWV-M5TpEgcASbFdSA","logger":"proxy.relay","timestamp":1727273403103,"message":"telegram -> client has been finished"}
{"level":"info","dc":4,"client-ip":"82.x.x.x","stream-id":"0nb3sWV-M5TpEgcASbFdSA","logger":"proxy","timestamp":1727273403119,"message":"Stream has been finished"}
{"level":"info","client-ip":"82.x.x.x","stream-id":"ude18w1qcStVtqFz81DL1w","logger":"proxy","timestamp":1727273404124,"message":"Stream has been started"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"ude18w1qcStVtqFz81DL1w","logger":"proxy.relay","timestamp":1727273408114,"message":"client -> telegram has been finished because of EOF. Written 113 bytes"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"ude18w1qcStVtqFz81DL1w","logger":"proxy.relay","timestamp":1727273408114,"message":"telegram -> client has been finished"}
{"level":"info","dc":4,"client-ip":"82.x.x.x","stream-id":"ude18w1qcStVtqFz81DL1w","logger":"proxy","timestamp":1727273408132,"message":"Stream has been finished"}
{"level":"info","client-ip":"82.x.x.x","stream-id":"Vcxay6hMWYWicxx5HsFe6g","logger":"proxy","timestamp":1727273410126,"message":"Stream has been started"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"Vcxay6hMWYWicxx5HsFe6g","logger":"proxy.relay","timestamp":1727273414104,"message":"client -> telegram has been finished because of EOF. Written 219 bytes"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"Vcxay6hMWYWicxx5HsFe6g","logger":"proxy.relay","timestamp":1727273414104,"message":"telegram -> client has been finished"}
{"level":"info","dc":4,"client-ip":"82.x.x.x","stream-id":"Vcxay6hMWYWicxx5HsFe6g","logger":"proxy","timestamp":1727273414123,"message":"Stream has been finished"}
{"level":"info","client-ip":"82.x.x.x","stream-id":"qPLDBzEw0M0jluHsT6YwAg","logger":"proxy","timestamp":1727273418123,"message":"Stream has been started"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"qPLDBzEw0M0jluHsT6YwAg","logger":"proxy.relay","timestamp":1727273422104,"message":"client -> telegram has been finished because of EOF. Written 190 bytes"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"qPLDBzEw0M0jluHsT6YwAg","logger":"proxy.relay","timestamp":1727273422104,"message":"telegram -> client has been finished"}
{"level":"info","dc":4,"client-ip":"82.x.x.x","stream-id":"qPLDBzEw0M0jluHsT6YwAg","logger":"proxy","timestamp":1727273422120,"message":"Stream has been finished"}
{"level":"debug","client-ip":"195.x.x.x","stream-id":"6Xewdt10UFxgzzOsVP7cAg","logger":"proxy.domain-fronting","timestamp":1727273422889,"message":"telegram -> client has been finished"}
{"level":"debug","client-ip":"195.x.x.x","stream-id":"6Xewdt10UFxgzzOsVP7cAg","logger":"proxy.domain-fronting","timestamp":1727273422889,"message":"client -> telegram has been finished"}
{"level":"info","client-ip":"195.x.x.x","stream-id":"6Xewdt10UFxgzzOsVP7cAg","logger":"proxy","timestamp":1727273423913,"message":"Stream has been finished"}
{"level":"info","client-ip":"82.x.x.x","stream-id":"XL33o7F7ZQqxg3CuTU8r3w","logger":"proxy","timestamp":1727273430123,"message":"Stream has been started"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"XL33o7F7ZQqxg3CuTU8r3w","logger":"proxy.relay","timestamp":1727273434111,"message":"client -> telegram has been finished because of EOF. Written 261 bytes"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"XL33o7F7ZQqxg3CuTU8r3w","logger":"proxy.relay","timestamp":1727273434111,"message":"telegram -> client has been finished"}
{"level":"info","dc":4,"client-ip":"82.x.x.x","stream-id":"XL33o7F7ZQqxg3CuTU8r3w","logger":"proxy","timestamp":1727273434127,"message":"Stream has been finished"}
{"level":"info","client-ip":"82.x.x.x","stream-id":"GqgT-Ek9qOjz1NAVhh2xeA","logger":"proxy","timestamp":1727273450125,"message":"Stream has been started"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"GqgT-Ek9qOjz1NAVhh2xeA","logger":"proxy.relay","timestamp":1727273454116,"message":"client -> telegram has been finished because of EOF. Written 198 bytes"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"GqgT-Ek9qOjz1NAVhh2xeA","logger":"proxy.relay","timestamp":1727273454116,"message":"telegram -> client has been finished"}
{"level":"info","dc":4,"client-ip":"82.x.x.x","stream-id":"GqgT-Ek9qOjz1NAVhh2xeA","logger":"proxy","timestamp":1727273454132,"message":"Stream has been finished"}
{"level":"info","client-ip":"82.x.x.x","stream-id":"qtmUTAYLNmnXlqYT1IAuwQ","logger":"proxy","timestamp":1727273486120,"message":"Stream has been started"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"qtmUTAYLNmnXlqYT1IAuwQ","logger":"proxy.relay","timestamp":1727273490116,"message":"client -> telegram has been finished because of EOF. Written 163 bytes"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"qtmUTAYLNmnXlqYT1IAuwQ","logger":"proxy.relay","timestamp":1727273490116,"message":"telegram -> client has been finished"}
{"level":"info","dc":4,"client-ip":"82.x.x.x","stream-id":"qtmUTAYLNmnXlqYT1IAuwQ","logger":"proxy","timestamp":1727273490132,"message":"Stream has been finished"}
{"level":"info","client-ip":"82.x.x.x","stream-id":"qNcK2zvEEVGoK9ov2KVSxw","logger":"proxy","timestamp":1727273554124,"message":"Stream has been started"}
{"level":"info","client-ip":"82.x.x.x","stream-id":"zX5c0FnKyPpKE7AhwBaCiA","logger":"proxy","timestamp":1727273562123,"message":"Stream has been started"}
{"level":"debug","dc":5,"client-ip":"82.x.x.x","stream-id":"zX5c0FnKyPpKE7AhwBaCiA","logger":"proxy.relay","timestamp":1727273562875,"message":"client -> telegram has been finished because of EOF. Written 647 bytes"}
{"level":"debug","dc":5,"client-ip":"82.x.x.x","stream-id":"zX5c0FnKyPpKE7AhwBaCiA","logger":"proxy.relay","timestamp":1727273562875,"message":"telegram -> client has been finished"}
{"level":"info","dc":5,"client-ip":"82.x.x.x","stream-id":"zX5c0FnKyPpKE7AhwBaCiA","logger":"proxy","timestamp":1727273562891,"message":"Stream has been finished"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"qNcK2zvEEVGoK9ov2KVSxw","logger":"proxy.relay","timestamp":1727273564155,"message":"client -> telegram has been finished because of EOF. Written 271 bytes"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"qNcK2zvEEVGoK9ov2KVSxw","logger":"proxy.relay","timestamp":1727273564155,"message":"telegram -> client has been finished"}
{"level":"info","dc":4,"client-ip":"82.x.x.x","stream-id":"qNcK2zvEEVGoK9ov2KVSxw","logger":"proxy","timestamp":1727273564171,"message":"Stream has been finished"}
{"level":"info","client-ip":"82.x.x.x","stream-id":"YnQhUoPgf5ZB6hjPzfx2_g","logger":"proxy","timestamp":1727273622130,"message":"Stream has been started"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"YnQhUoPgf5ZB6hjPzfx2_g","logger":"proxy.relay","timestamp":1727273626102,"message":"client -> telegram has been finished because of EOF. Written 266 bytes"}
{"level":"debug","dc":4,"client-ip":"82.x.x.x","stream-id":"YnQhUoPgf5ZB6hjPzfx2_g","logger":"proxy.relay","timestamp":1727273626102,"message":"telegram -> client has been finished"}
{"level":"info","dc":4,"client-ip":"82.x.x.x","stream-id":"YnQhUoPgf5ZB6hjPzfx2_g","logger":"proxy","timestamp":1727273626118,"message":"Stream has been finished"}
{"level":"info","client-ip":"45.x.x.x","stream-id":"G8kB0ylIP4NHKLf0gKni9Q","logger":"proxy","timestamp":1727273640983,"message":"Stream has been started"}
{"level":"info","logger":"proxy","error":"bad digest","timestamp":1727273640983,"message":"cannot parse client hello"}
{"level":"debug","client-ip":"45.x.x.x","stream-id":"G8kB0ylIP4NHKLf0gKni9Q","logger":"proxy.domain-fronting","timestamp":1727273641173,"message":"telegram -> client has been finished (written 7 bytes): read tcp 5.x.x.x:33922->16.182.72.224:443: read: connection reset by peer"}
{"level":"debug","client-ip":"45.x.x.x","stream-id":"G8kB0ylIP4NHKLf0gKni9Q","logger":"proxy.domain-fronting","timestamp":1727273641173,"message":"client -> telegram has been finished"}
{"level":"info","client-ip":"45.x.x.x","stream-id":"G8kB0ylIP4NHKLf0gKni9Q","logger":"proxy","timestamp":1727273642217,"message":"Stream has been finished"}

My usual configuration:

secret = "ee42----"
bind-to = "0.0.0.0:443"
allow-fallback-on-unknown-dc = false
[network]
doh-ip = "1.1.1.1"

If any more information is required, I would be happy to provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant