aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-01-03update copyright for 2023Gravatar Christian Hesse5-5/+5
2023-01-03update patch...Gravatar Christian Hesse1-6/+17
... as resent to pacman-dev. Let's hope the mention of 'negative chaching' for reverse proxies and load balancers changes something.
2023-01-03upstream denied new revision of patch as wellGravatar Christian Hesse1-1/+1
😳😢 https://lists.archlinux.org/archives/list/pacman-dev@lists.archlinux.org/message/5QNSFAHFBFJZXSTR2455FAWHYEHSHTUQ/
2022-09-26prepare version 0.4.60.4.6Gravatar Christian Hesse1-1/+1
2022-09-15use http header 'Cache-Control: no-cache' for soft failureGravatar Christian Hesse4-50/+66
This is standard header...
2022-05-10more solutions for caveat with pacman's server error limitGravatar Christian Hesse3-3/+412
2022-04-04prepare version 0.4.50.4.5Gravatar Christian Hesse1-1/+1
2022-04-04create a system user for pacredirGravatar Christian Hesse3-1/+3
Missing configuration in /etc/nsswitch.conf was problematic before... Looks looks handling of dynamic users became even worse with dbus 1.14.0 - so let's create a regular system user. Addresses #1
2022-03-30make the file name match the project nameGravatar Christian Hesse1-1/+1
2022-03-29pacserve: use empty file for indexGravatar Christian Hesse2-1/+3
This makes monitoring happy... 😊
2022-03-29send extra http header on expected failureGravatar Christian Hesse1-0/+1
Indicate that this failure is expected and pacman should not log an error and not increase the server error count. Looks like pacman will not support this... 😢 Let's add it anyway, may be handy.
2022-01-03update copyright for 2022Gravatar Christian Hesse5-5/+5
2021-06-07prepare version 0.4.40.4.4Gravatar Christian Hesse1-1/+1
2021-06-07add info about caveat with pacman's server error limitGravatar Christian Hesse1-0/+28
... also reported in #10.
2021-06-07simplify address handlingGravatar Christian Hesse1-1/+1
2021-06-07do not redirect if database file is too oldGravatar Christian Hesse2-5/+6
The Arch repositories see regular updates... Consider a database file older than 24 hours out-of-date and do not redirect.
2021-06-07get the db timestamp from http requestGravatar Christian Hesse3-18/+11
2021-05-28make the flow colorfulGravatar Christian Hesse2-228/+224
2021-05-26document request flowGravatar Christian Hesse5-0/+1219
2021-05-26Makefile: convert all markdown files to htmlGravatar Christian Hesse2-9/+12
2021-01-01prepare version 0.4.30.4.3Gravatar Christian Hesse1-1/+1
2021-01-01update copyright for 2021Gravatar Christian Hesse5-5/+5
2020-12-29reload via systemd serviceGravatar Christian Hesse2-4/+4
2020-12-29support reload from systemd serviceGravatar Christian Hesse1-0/+1
2020-11-25clearly state the licenseGravatar Christian Hesse7-6/+741
2020-07-07fix build with libmicrohttpd 0.9.71Gravatar Christian Hesse2-2/+9
2020-02-08update copyright for 2020Gravatar Christian Hesse3-3/+3
2019-08-06move NetworkManager dispatcher to /usrGravatar Christian Hesse1-1/+1
2019-07-01prepare version 0.4.20.4.2Gravatar Christian Hesse1-1/+1
2019-07-01Merge branch 'ignore-db-files'Gravatar Christian Hesse2-3/+20
2019-07-01use proper log message when ignoring database filesGravatar Christian Hesse1-3/+6
2019-07-01allow to ignore database filesGravatar Christian Hesse2-1/+15
2019-07-01Makefile: change order of compiler parametersGravatar Christian Hesse1-1/+1
2019-01-01prepare version 0.4.10.4.1Gravatar Christian Hesse1-1/+1
2019-01-01update copyright for 2019Gravatar Christian Hesse3-3/+3
2019-01-01fix parsing of /etc/os-releaseGravatar Christian Hesse1-1/+1
2018-08-14release: add comment with file name to signaturesGravatar Christian Hesse1-2/+2
2018-07-05prepare version 0.4.00.4.0Gravatar Christian Hesse1-1/+1
2018-07-05Merge branch 'bind-mount'Gravatar Christian Hesse14-174/+72
2018-07-05drop 'struct services'Gravatar Christian Hesse2-44/+34
Now that we have just one service this can be merged with 'struct hosts'.
2018-07-04use private bind mounts for pacserve, remove pacdbservesystemd-v233Gravatar Christian Hesse14-138/+46
We want just one service to serve database files and package archives. Private bind mounts make both available to pacserve. This alse removes some complexity in pacredir.
2018-06-11update dependencies' upstream urlsGravatar Christian Hesse1-6/+6
2018-06-08remove trailing spacesGravatar Christian Hesse1-2/+2
2018-06-08make gitlab.com a mirrorGravatar Christian Hesse1-2/+6
https://blog.github.com/2018-06-04-github-microsoft/
2018-06-06release: write tar signature to git notesGravatar Christian Hesse1-0/+1
2018-01-02add documentation link in systemd unit fileGravatar Christian Hesse1-0/+1
2018-01-02update copyright for 2018Gravatar Christian Hesse3-3/+3
2017-12-13prepare version 0.3.30.3.3Gravatar Christian Hesse1-1/+1
2017-12-13make the documentation match the real outputGravatar Christian Hesse1-1/+1
2017-12-13enable TCP fastopen optionGravatar Christian Hesse1-1/+1
2017-12-13use ipv4 loopback address explicitlyGravatar Christian Hesse1-1/+1
Depending on the system configuration 'loopback' can resolve to an IPv4 or IPv6 loopback address. As we bind to 127.0.0.1 use the same address here.
2017-11-28prepare version 0.3.20.3.2Gravatar Christian Hesse1-1/+1
2017-11-28do not return EXIT_FAILURE but goto failGravatar Christian Hesse1-1/+1
2017-11-28fix memory corruption with libmicrohttpdGravatar Christian Hesse1-4/+3
We had a race where page was freed before the queue finished. Tell libmicrohttpd it has to free itself.
2017-11-28allow HEAD requestsGravatar Christian Hesse1-1/+1
2017-11-22use printf to generate version.hGravatar Christian Hesse1-3/+1
2017-10-30set basename for proper html output in responseGravatar Christian Hesse1-1/+1
2017-10-20prepare version 0.3.10.3.1Gravatar Christian Hesse1-1/+1
2017-10-20allow to specify uid and gid in config.hGravatar Christian Hesse2-1/+5
2017-10-19use annotated (and signed) tags onlyGravatar Christian Hesse1-1/+1
2017-10-19try to drop root privilegesGravatar Christian Hesse1-0/+8
2017-10-19implement simple counters for systemctl statusGravatar Christian Hesse1-0/+12
2017-10-10allocate a dynamic usersystemd-v232Gravatar Christian Hesse3-6/+3
2017-05-13prepare version 0.3.00.3.0Gravatar Christian Hesse1-1/+1
2017-05-13use a smarter way to determine architectureGravatar Christian Hesse4-61/+7
2017-05-13prepare for reproducible buildsGravatar Christian Hesse2-2/+5
2017-05-13update version stringsGravatar Christian Hesse1-3/+4
2017-05-13add distribution ID to avahi service namesGravatar Christian Hesse5-10/+17
Now that we have pacredir in official repositories... ArchLinux ARM will have the package as well, having package names (at least for 'any') clash. So add distribution ID to avahi service names. This is incompatible with pacredir < 0.2.3, so make sure to update all your installations.
2017-05-13add comment about IPv6 addresses in manual hostsGravatar Christian Hesse1-1/+2
2017-05-13more details about protocols in configGravatar Christian Hesse1-1/+2
2017-05-02prepare version 0.2.20.2.2Gravatar Christian Hesse1-1/+1
2017-05-02Merge branch 'ipv6'Gravatar Christian Hesse3-29/+65
2017-05-02add configuration option for protocol (IPv4 vs. IPv6)Gravatar Christian Hesse2-2/+25
2017-05-02(re-)add support for IPv6Gravatar Christian Hesse2-29/+42
2017-04-29prepare version 0.2.10.2.1Gravatar Christian Hesse1-1/+1
2017-04-29extra verbosity from configGravatar Christian Hesse2-0/+9
2017-04-29Do not rely on mDNS...Gravatar Christian Hesse3-33/+96
... but do resolve the addresses within pacredir. The biggest advantage is that we do no longer require nss-mdns, which tends to fool us in different ways. As requests are done by address rather than host name you can no longer use virtual hosts for pacserve and pacdbserve. But did anybody try that?
2017-04-29prepare version 0.2.00.2.0Gravatar Christian Hesse1-1/+1
2017-04-29update links to point to the readmeGravatar Christian Hesse2-3/+3
2017-04-28Merge branch 'pacredir'Gravatar Christian Hesse10-37/+33
2017-04-28update references to 'pacredir'Gravatar Christian Hesse4-15/+15
2017-04-28rename files to 'pacredir'Gravatar Christian Hesse6-13/+15
2017-04-28drop unit file paccache.serviceGravatar Christian Hesse3-9/+3
2017-03-08use https for my mirrorGravatar Christian Hesse1-1/+1
2017-01-14update copyright for 2017Gravatar Christian Hesse5-5/+5
2017-01-06notify systemd on stopGravatar Christian Hesse1-0/+5
2017-01-05no need to tell systemd the pidGravatar Christian Hesse1-1/+1
This is required only when the pid is different from what systemd executed itself.
2016-12-01prepare version 0.1.250.1.25Gravatar Christian Hesse1-1/+1
2016-12-01add systemd dependency in READMEGravatar Christian Hesse1-0/+1
2016-12-01Use systemd service manager notificationGravatar Christian Hesse4-0/+8
Notify systemd service manager when our initialization sequence completed.
2016-10-12prepare release 0.1.240.1.24Gravatar Christian Hesse1-1/+1
2016-10-12calculate date/time string only when neededGravatar Christian Hesse1-5/+6
2016-10-12make more output depend on verbose (do not print by default)Gravatar Christian Hesse1-19/+37
2016-10-12always pass real port to add_host(), print to verbose outputGravatar Christian Hesse1-5/+8
2016-10-12print only if verboseGravatar Christian Hesse1-7/+10
2016-10-11prepare version 0.1.230.1.23Gravatar Christian Hesse1-1/+1
2016-10-11differentiate between offline and badGravatar Christian Hesse1-1/+6
2016-10-11Be more verbose about badtime, simplify conditionGravatar Christian Hesse1-8/+12
2016-10-11add line breakGravatar Christian Hesse1-1/+2
2016-10-11throttle requestsGravatar Christian Hesse1-0/+4