[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1005862: apt: Feature request - apt-get Source IP



On Wed, Feb 16, 2022 at 10:42:57AM +0200, Joe Botha wrote:
> Package: apt
> Version: 2.2.4
> Severity: wishlist
> Tags: ipv6
> 
> Dear Maintainer,
> 
> *** Reporter, please consider answering these questions, where appropriate ***
> 
> I use Debian on a server with multiple upstream internet links. Some of these links have peering point IPs.
> 
> It happens fairly often that apt-get traffic uses the source IP in a peering point range and then downloads fail.
> 
> Please consider adding a feature so I can configure apt-get to specify a source IP or interface on the server.
> 
> For example: traceroute has a -s option: "Chooses  an alternative source address."

I was about to say that specifying ip addresses for sources needs to be
solved at an RFC level (need to standardize URLs like http://foo[ip]/), 
but um now I understand that you don't want to configure the IP of the
source, but the interface we send packets from.

Probably should be retitled with a less ambiguous title :D

Anyway, no idea how complex that feature is, I guess proof of
concept patches welcome.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en


Reply to: