-
Notifications
You must be signed in to change notification settings - Fork 13
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
Make whonix templates happy to use cacher #12
Comments
I had replied to this proposal by email, but gh doesnt show the comment.(?) That cant be the right solution. We don't want cacher to always return "tor proxy", since it's in the I suggest that cacher set: IF the current target for @type:TemplateVM is target=sys-whonix, then If the option to update over Tor is enabled, and cacher is already If we do this then the rewrite option should not be applied in Whonix |
I see that this was implemented under: @unman said:
Right. But Whonix templates, being based on debian-11, will still result as of now in the same debian package being downloaded at least 3x minimum, even if using cacher:
As previously said:
To me the two solutions above are functionally equivalent. One effectively lying that the proxy supports tor (@unman is right, this would be misleading, but would not require any change applied to whonix templates), where the second option would require cacher to modify Whonix templates to deactivate the proxy check. Both would fail if the proxy doesn't effectively supports tor to download Whonix updates through tor. On that @unman asked:
@unman @adrelanos: I am not sure how to properly have both cacher and whonix coexist and having their packages cached through cacher without cacher hacking current Whonix template proxy check, one way or the other above. I still see a big advantage for everyone waiting for QubesOS/qubes-issues#1957 (top 10 commented still unresolved issue) to download once on limited bandwidth to have their system up to date in precarious environments/metered internet connections/slow internet connection. |
Ideal solution would be Whonix templates actually testing for tor addresses reachability instead of relaying on crafted tinyproxy proxy response/apt-cacher response to advertise tor compliance. The test should verify tor network availibility. This is detailed #10 (comment) I agree with @unman, it should not be cacher's responsibility to hack into Whonix templates for them to bypass their tor proxy checks or to fake its own apt-cacher-ng userinfo.html to comply with expected hardcoded tinyproxy responses (hacked into Whonix-gw tinyproxy's webpage modification as this issue suggests to do, to replicate Whonix-gw's sys-whonix behavior). Whonix templates should functionally test for tor addresses reachability instead. Closing. This discussion should continue under #10 or wherever @adrelanos points to under #10. |
1- The following userinfo.html would need to be put under
/usr/lib/apt-cacher-ng/userinfo.html
under cloned template-cacher so that whonix templates proxy check detects a tor enabled local proxy (otherwise fails):(As stated under #10 (comment) point 1)
The text was updated successfully, but these errors were encountered: