[Bug 1952720] Re: apt uses proxy in order to access local resources

2021-11-30 Thread David Laštovička
David Kalnischkies: I confirm this statement: "apt contacts the squid
proxy (which is on your local machine) hence the ipv6 from your
machine".

After testing it in a real network on distinct computers, the IP address
is indeed not apt's address but squid-deb-proxy's address.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1952720

Title:
  apt uses proxy in order to access local resources

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/1952720/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1952720] Re: apt uses proxy in order to access local resources

2021-11-30 Thread David Laštovička
I attach my /etc/squid-deb-proxy folder which might be relevant for the
squid-deb-proxy team (although I didn't change these configuration
files, it is just as it is after installing the squid-deb-proxy
package).

In my opinion, the relevant part of the configuration is in: 
autogenerated/mirror-dstdomain.acl file containing lines:
.archive.ubuntu.com
security.ubuntu.com

That in my opinion covers the lu.archive.ubuntu.com as well as
security.ubuntu.com in my sources.list, and I still consider it as a
problem in apt. Yet, thank you for looking into that.


** Attachment added: "squid-deb-proxy.zip"
   
https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/1952720/+attachment/5544349/+files/squid-deb-proxy.zip

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1952720

Title:
  apt uses proxy in order to access local resources

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/1952720/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1952720] Re: apt uses proxy in order to access local resources

2021-11-30 Thread David Kalnischkies
apt contacts the squid proxy (which is on your local machine) hence the ipv6 
from your machine. The "Forbidden" is the reply from the proxy for the request. 
squid-deb-proxy hardcodes an allowlist for mirrors and sources to contact and 
ips that can contact the proxy. I would presume that either (or both) does not 
match with your reality (anymore) and hence denies the request. You actually 
confirmed this already by disabling the checks in the config which resulted in 
it working (again).
As apt works as it should be here, reassign to the suqid-proxy package.

** Package changed: apt (Ubuntu) => squid-deb-proxy (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1952720

Title:
  apt uses proxy in order to access local resources

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/1952720/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1952720] Re: apt uses proxy in order to access local resources

2021-11-30 Thread David Laštovička
After having provided additional explanation and information, I've
changed the status to New again. If you are still persuaded that it is
not a bug, please, feel free to close it somehow definitely.

** Changed in: apt (Ubuntu)
   Status: Invalid => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1952720

Title:
  apt uses proxy in order to access local resources

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1952720/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1952720] Re: apt uses proxy in order to access local resources

2021-11-30 Thread David Laštovička
For reference, see below the content of the sources.list (comments stripped, 
source.list.d is empty; you can see that it does not contain neither 127.0.0.1 
nor 2a03:687:4ea:4900:fe9f:937c:3487:4cd3 mentioned in the error messages; the 
2a03:687:4ea:4900:fe9f:937c:3487:4cd3 is IP assigned by DHCP to the apt's 
localhost):
deb http://lu.archive.ubuntu.com/ubuntu/ impish main restricted
deb http://lu.archive.ubuntu.com/ubuntu/ impish-updates main restricted
deb http://lu.archive.ubuntu.com/ubuntu/ impish universe
deb http://lu.archive.ubuntu.com/ubuntu/ impish-updates universe
deb http://lu.archive.ubuntu.com/ubuntu/ impish multiverse
deb http://lu.archive.ubuntu.com/ubuntu/ impish-updates multiverse
deb http://lu.archive.ubuntu.com/ubuntu/ impish-backports main restricted 
universe multiverse
deb http://security.ubuntu.com/ubuntu impish-security main restricted
deb http://security.ubuntu.com/ubuntu impish-security universe
deb http://security.ubuntu.com/ubuntu impish-security multiverse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1952720

Title:
  apt uses proxy in order to access local resources

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1952720/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1952720] Re: apt uses proxy in order to access local resources

2021-11-30 Thread David Laštovička
This is not a local configuration issue. Please see the steps to
reproduce: besides the 'sudo apt install squid-deb-proxy squid-deb-
proxy-client' there is no additional configuration present.

The issue is not in "how your proxy configuration will interact with
your sources.list" but in "apt using proxy in order to access local
resources on the machine where apt is installed", it is not an access to
whatever in sources.list that triggers the errors, but an attempt to
access localhost through the proxy.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1952720

Title:
  apt uses proxy in order to access local resources

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1952720/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1952720] Re: apt uses proxy in order to access local resources

2021-11-30 Thread Julian Andres Klode
This is a local configuration issue and not a bug in apt. APT does not
know how your proxy configuration will interact with your sources.list.

** Changed in: apt (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1952720

Title:
  apt uses proxy in order to access local resources

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1952720/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs