This is a little apt proxy server
Go to file
2016-05-01 19:42:29 -07:00
cache Fixed a couple of logic bugs. 2016-04-30 22:32:35 -07:00
main.go Added built-in mDNS server. 2016-05-01 18:24:36 -07:00
README.md Updated README. 2016-05-01 19:42:29 -07:00
server.go Fixed a couple of logic bugs. 2016-04-30 22:32:35 -07:00

go-aptproxy

This handly little proxy server includes the following features:

  • avoids duplication of packages fetched from different mirrors
  • provides a built-in mDNS server to advertise on the local network
  • fully compatible with the squid-deb-proxy-client package

Usage

The program is run as follows:

go-aptproxy [-directory DIR] [-host HOST] [-port PORT]

By default, go-aptproxy listens on 0.0.0.0:8000 and uses /var/cache/go-aptproxy for storing the cached files.