No, but you could maybe use this instead.Hey,
Is there a possibility to make it work on a PowerMac G5 with MacOS Sorbet Leopard ?
Yes, you absolutely can! But since I've never used Squid on a PC I can't tell you exactly what to do, although the squid.conf in my package may be useful as a starting point.And if it isn't possible, because I'm using my main computer to share Ethernet to my PPC, can I set up a proxy server on my main PC ?
Ho, thanksThe proxy fixes https connection issues. So if the reason an app can't connect to the internet is because of https incompatibilities, the proxy will fix it.
If there's some other reason the app can't connect (for example if the servers for an old version of an app have been shut down), the proxy isn't going to magically fix it, I'm sorry.
I don't use iTunes but my guess is that Snow Leopard iTunes simply doesn't work anymore.
Can you try excluding that domain in System Preferences? This can be done in Network → Advanced → Proxies → "Bypass proxy settings for these Hosts & domains".the proxy seems to be interfering with game center:
View attachment 2492796View attachment 2492795
the first image is without the proxy, the second one is with the proxy
perhaps it could be configured to exclude *.gc.apple.com?
alright thanksCan you try excluding that domain in System Preferences? This can be done in Network → Advanced → Proxies → "Bypass proxy settings for these Hosts & domains".
I think I did! There's no one thing that's clearly consuming most CPU time, and as I said, just from watching Activity Monitor it's pretty good on resource usage overall. I still think it's a little more CPU hungry than Squid but it's really hard to tell since I'm not doing a particularly scientific test here. It's definitely not heavy.so you should be able to optimize out any hot loops.
No clue. What happened was that with the original code, I noticed that parts of various websites were broken, and on the New York Times in particular, if you tried to load more than one web page without restarting the proxy in between, subsequent pages would be completely blank. This commit fixes it.Don't most websites do that, since HTTP 1.1 can reuse the same tcp connection?
Unfortunately, I didn't save that Terminal session. I did ask a fresh session of Claude to explain the commit just now:Do you happen to have the transcript and can paste exactly what Claude said? Looking at it I think the bug had something to do with use of oneShotDialer.
The main changes:
1. Replaced the reverse proxy approach with direct bidirectional tunneling
2. Implemented proper data copying between client and server with the new copyData function
3. Added detailed connection tracking and logging
4. Fixed certificate handling and reuse
5. Removed single-shot connection handling that limited connections to one request
Before this fix, the code was using a single-shot approach that terminated after handling the first request. The new implementation uses bidirectional tunneling that keeps the connection open for multiple requests.
Yep, that worked!Also that copyData func looks like it could be optimized further, IIRC golang has some inbuilt primitive to copy data between channels. But I don't know if it works with net.Conn type. Try asking Claude if that can be optimized?
Here's a bunch of them!!! Installing most of these on iOS 6 fixed iCloud. I don't remember which they are, though...Now that the proxy is trusting certificates based on Keychain Access instead of shipping its own CA store, it will fail to connect if Keychain Access has outdated root certificates. This is a good problem to have, but it means the installer will need to be responsible for adding some root certificates to Keychain Access in order for things to work.
I want to do this carefully, adding only the minimum number of certificates needed for 99% of websites to work.
We definitely need to add ISRG Root X1. Some quick browsing around indicated we may also need GlobalSign Root R6. Are there others? Not sure how to best go about this.
Also, at uninstall time, I'm probably going to leave all the certificates in place since I won't know if they came from our installer or the user or something else... I think that's reasonable, right?
digicert global root g2/g3Now that the proxy is trusting certificates based on Keychain Access instead of shipping its own CA store, it will fail to connect if Keychain Access has outdated root certificates. This is a good problem to have, but it means the installer will need to be responsible for adding some root certificates to Keychain Access in order for things to work.
I want to do this carefully, adding only the minimum number of certificates needed for 99% of websites to work.
We definitely need to add ISRG Root X1. Some quick browsing around indicated we may also need GlobalSign Root R6. Are there others? Not sure how to best go about this.
Also, at uninstall time, I'm probably going to leave all the certificates in place since I won't know if they came from our installer or the user or something else... I think that's reasonable, right?
Thank you very much for your strength with this proxy, it has helped me use my favorite system as almost main.Just FYI, I'm still hoping to replace Squid with a Go-based Proxy. Stuff is happening: https://github.com/Wowfunhappy/legacy-mac-proxy-go/tree/master
It's based off of the code that @f54da recommended, and then (because I still don't know Go) I had an AI help me:
I think performance is now very close to Squid, maybe a little worse but not by much. Given that it's clearly more robust than Squid (iMessage and the App Store work on 10.9 without any special workarounds), that's worth the cost. I just need to make sure this works back to 10.6, then put it all together in a nice installer.
- Add AIA Chasing
- Add CPU profiling (so I could figure out how to improve performance)
- Add certificate caching (improves performance)
- Make RSA key generation asynchronous (improves performance)
- Fixed websites that use a single TLS connection for multiple requests (I don't really understand this one, but without it many websites don't work properly, such as The New York Times.)
No promises but I'm officially on summer break, and the plan from now until September is to catch up on all the OS X projects I've been putting off.Thank you very much for your strength with this proxy, it has helped me use my favorite system as almost main.
Would you have a scheduled release date for this new Legacy-MAC-Proxy?
Ooh my friend, good summer break !No promises but I'm officially on summer break, and the plan from now until September is to catch up on all the OS X projects I've been putting off.