Hot answers tagged

3

This won't solve all your tasks, but maybe this is still helpful. Despite the name, apt-cacher-ng doesn't only work with Debian and derivatives, and is a caching proxy. Specialized for package files from Linux distributors, primarily for Debian (and Debian based) distributions but not limited to those. I'm using this in production in a similar (...


2

Have you tried to: proxy_bind $server_addr; I'm not 100% sure if that variable is available within a proxy configuration. But it should contain address of the specific connection.


2

Your VirtualHost is only set up to process IPv4 connections. <VirtualHost *:9999> You need to set it up to process both IPv4 and IPv6 connections. <VirtualHost *:9999 [::]:9999>


2

We use Squid for this; the nice thing about squid is that you can set individual expiry of objects based on a pattern match, fairly easily, which allows the metadata from the yum repo to be purged fairly quickly. The config we have which implements this: refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880 refresh_pattern (\.xml|xml\.gz)$ ...


1

I interpret what the BBC are saying as more like a phishing attack. You think you're connecting to a legitimate website but it's really a fake copy that tries to entice you to download some sort of malware or virus. However, at least with HTTP traffic, when you explicitly configure your machine to use a proxy you're delegating the responsibility of fetching ...


1

we had a similar challenge and have solved it using local repos and a snapshot based storage system. We basically update the development repository, clone it for testing, clone that for staging and finally for production. The amount of disk used is limited that way, plus it's all slow sata storage and that's ok. The clients get the repository info from our ...


1

Your best bet is to setup squid in transparent mode, but your network diagram would change. As the proxy server would NAT, that would replace your cisco as a router too. (and while at it, why not remove your ISP router to not double NAT ?? as if someday you want to create some VPN, you can't in double-NAT) See a tutorial there; http://xmodulo.com/squid-...


1

it won't work with https:// extentions no matter in what way I try to set it Your <VirtualHost *:80> is only matching port 80 traffic, so it cannot work with "https:// extentions." Whatever problem there might be with your proxy setup, your first issue is with your virtual host setup. EDIT per OP comment to answer: what I want to do is redirect ...



Only top voted, non community-wiki answers of a minimum length are eligible