Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-11-13 | drop setting to ignore db files...cacheserver | Christian Hesse | 2 | -17/+2 | |
Using just `CacheServer` (and commenting `Server`) in pacman configuration has the same effect. | |||||
2023-11-13 | use different addresses in pacman configuration snippet | Christian Hesse | 2 | -3/+3 | |
Now that pacredir answers requests on 127.0.0.0/8... Make sure we do not confuse pacman by using default loopback address, which could host other repositories. | |||||
2023-11-13 | add a cache server entry in pacman configuration snippet | Christian Hesse | 2 | -60/+8 | |
The server error limit was introduced in pacman 6.0.0, which caused some trouble with pacredir: Returning 404 (not found) is common case and no fatal error. Add a cache server with different address to make sure to request files from pacredir in case the address above was caught by pacman's server error limit. | |||||
2023-11-13 | do not limit listen socket, but redirect for 127.0.0.0/8 only | Christian Hesse | 1 | -9/+8 | |
2023-11-06 | link Gitlab merge requests | Christian Hesse | 1 | -0/+6 | |
2023-09-30 | update wording: server -> peer | Christian Hesse | 3 | -12/+12 | |
2023-01-03 | update copyright for 2023 | Christian Hesse | 5 | -5/+5 | |
2023-01-03 | update patch... | Christian Hesse | 1 | -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-03 | upstream denied new revision of patch as well | Christian Hesse | 1 | -1/+1 | |
😳😢 https://lists.archlinux.org/archives/list/pacman-dev@lists.archlinux.org/message/5QNSFAHFBFJZXSTR2455FAWHYEHSHTUQ/ | |||||
2022-09-26 | prepare version 0.4.60.4.6 | Christian Hesse | 1 | -1/+1 | |
2022-09-15 | use http header 'Cache-Control: no-cache' for soft failure | Christian Hesse | 4 | -50/+66 | |
This is standard header... | |||||
2022-05-10 | more solutions for caveat with pacman's server error limit | Christian Hesse | 3 | -3/+412 | |
2022-04-04 | prepare version 0.4.50.4.5 | Christian Hesse | 1 | -1/+1 | |
2022-04-04 | create a system user for pacredir | Christian Hesse | 3 | -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-30 | make the file name match the project name | Christian Hesse | 1 | -1/+1 | |
2022-03-29 | pacserve: use empty file for index | Christian Hesse | 2 | -1/+3 | |
This makes monitoring happy... 😊 | |||||
2022-03-29 | send extra http header on expected failure | Christian Hesse | 1 | -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-03 | update copyright for 2022 | Christian Hesse | 5 | -5/+5 | |
2021-06-07 | prepare version 0.4.40.4.4 | Christian Hesse | 1 | -1/+1 | |
2021-06-07 | add info about caveat with pacman's server error limit | Christian Hesse | 1 | -0/+28 | |
... also reported in #10. | |||||
2021-06-07 | simplify address handling | Christian Hesse | 1 | -1/+1 | |
2021-06-07 | do not redirect if database file is too old | Christian Hesse | 2 | -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-07 | get the db timestamp from http request | Christian Hesse | 3 | -18/+11 | |
2021-05-28 | make the flow colorful | Christian Hesse | 2 | -228/+224 | |
2021-05-26 | document request flow | Christian Hesse | 5 | -0/+1219 | |
2021-05-26 | Makefile: convert all markdown files to html | Christian Hesse | 2 | -9/+12 | |
2021-01-01 | prepare version 0.4.30.4.3 | Christian Hesse | 1 | -1/+1 | |
2021-01-01 | update copyright for 2021 | Christian Hesse | 5 | -5/+5 | |
2020-12-29 | reload via systemd service | Christian Hesse | 2 | -4/+4 | |
2020-12-29 | support reload from systemd service | Christian Hesse | 1 | -0/+1 | |
2020-11-25 | clearly state the license | Christian Hesse | 7 | -6/+741 | |
2020-07-07 | fix build with libmicrohttpd 0.9.71 | Christian Hesse | 2 | -2/+9 | |
2020-02-08 | update copyright for 2020 | Christian Hesse | 3 | -3/+3 | |
2019-08-06 | move NetworkManager dispatcher to /usr | Christian Hesse | 1 | -1/+1 | |
2019-07-01 | prepare version 0.4.20.4.2 | Christian Hesse | 1 | -1/+1 | |
2019-07-01 | Merge branch 'ignore-db-files' | Christian Hesse | 2 | -3/+20 | |
2019-07-01 | use proper log message when ignoring database files | Christian Hesse | 1 | -3/+6 | |
2019-07-01 | allow to ignore database files | Christian Hesse | 2 | -1/+15 | |
2019-07-01 | Makefile: change order of compiler parameters | Christian Hesse | 1 | -1/+1 | |
2019-01-01 | prepare version 0.4.10.4.1 | Christian Hesse | 1 | -1/+1 | |
2019-01-01 | update copyright for 2019 | Christian Hesse | 3 | -3/+3 | |
2019-01-01 | fix parsing of /etc/os-release | Christian Hesse | 1 | -1/+1 | |
2018-08-14 | release: add comment with file name to signatures | Christian Hesse | 1 | -2/+2 | |
2018-07-05 | prepare version 0.4.00.4.0 | Christian Hesse | 1 | -1/+1 | |
2018-07-05 | Merge branch 'bind-mount' | Christian Hesse | 14 | -174/+72 | |
2018-07-05 | drop 'struct services' | Christian Hesse | 2 | -44/+34 | |
Now that we have just one service this can be merged with 'struct hosts'. | |||||
2018-07-04 | use private bind mounts for pacserve, remove pacdbservesystemd-v233 | Christian Hesse | 14 | -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-11 | update dependencies' upstream urls | Christian Hesse | 1 | -6/+6 | |
2018-06-08 | remove trailing spaces | Christian Hesse | 1 | -2/+2 | |
2018-06-08 | make gitlab.com a mirror | Christian Hesse | 1 | -2/+6 | |
https://blog.github.com/2018-06-04-github-microsoft/ | |||||
2018-06-06 | release: write tar signature to git notes | Christian Hesse | 1 | -0/+1 | |
2018-01-02 | add documentation link in systemd unit file | Christian Hesse | 1 | -0/+1 | |
2018-01-02 | update copyright for 2018 | Christian Hesse | 3 | -3/+3 | |
2017-12-13 | prepare version 0.3.30.3.3 | Christian Hesse | 1 | -1/+1 | |
2017-12-13 | make the documentation match the real output | Christian Hesse | 1 | -1/+1 | |
2017-12-13 | enable TCP fastopen option | Christian Hesse | 1 | -1/+1 | |
2017-12-13 | use ipv4 loopback address explicitly | Christian Hesse | 1 | -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-28 | prepare version 0.3.20.3.2 | Christian Hesse | 1 | -1/+1 | |
2017-11-28 | do not return EXIT_FAILURE but goto fail | Christian Hesse | 1 | -1/+1 | |
2017-11-28 | fix memory corruption with libmicrohttpd | Christian Hesse | 1 | -4/+3 | |
We had a race where page was freed before the queue finished. Tell libmicrohttpd it has to free itself. | |||||
2017-11-28 | allow HEAD requests | Christian Hesse | 1 | -1/+1 | |
2017-11-22 | use printf to generate version.h | Christian Hesse | 1 | -3/+1 | |
2017-10-30 | set basename for proper html output in response | Christian Hesse | 1 | -1/+1 | |
2017-10-20 | prepare version 0.3.10.3.1 | Christian Hesse | 1 | -1/+1 | |
2017-10-20 | allow to specify uid and gid in config.h | Christian Hesse | 2 | -1/+5 | |
2017-10-19 | use annotated (and signed) tags only | Christian Hesse | 1 | -1/+1 | |
2017-10-19 | try to drop root privileges | Christian Hesse | 1 | -0/+8 | |
2017-10-19 | implement simple counters for systemctl status | Christian Hesse | 1 | -0/+12 | |
2017-10-10 | allocate a dynamic usersystemd-v232 | Christian Hesse | 3 | -6/+3 | |
2017-05-13 | prepare version 0.3.00.3.0 | Christian Hesse | 1 | -1/+1 | |
2017-05-13 | use a smarter way to determine architecture | Christian Hesse | 4 | -61/+7 | |
2017-05-13 | prepare for reproducible builds | Christian Hesse | 2 | -2/+5 | |
2017-05-13 | update version strings | Christian Hesse | 1 | -3/+4 | |
2017-05-13 | add distribution ID to avahi service names | Christian Hesse | 5 | -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-13 | add comment about IPv6 addresses in manual hosts | Christian Hesse | 1 | -1/+2 | |
2017-05-13 | more details about protocols in config | Christian Hesse | 1 | -1/+2 | |
2017-05-02 | prepare version 0.2.20.2.2 | Christian Hesse | 1 | -1/+1 | |
2017-05-02 | Merge branch 'ipv6' | Christian Hesse | 3 | -29/+65 | |
2017-05-02 | add configuration option for protocol (IPv4 vs. IPv6) | Christian Hesse | 2 | -2/+25 | |
2017-05-02 | (re-)add support for IPv6 | Christian Hesse | 2 | -29/+42 | |
2017-04-29 | prepare version 0.2.10.2.1 | Christian Hesse | 1 | -1/+1 | |
2017-04-29 | extra verbosity from config | Christian Hesse | 2 | -0/+9 | |
2017-04-29 | Do not rely on mDNS... | Christian Hesse | 3 | -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-29 | prepare version 0.2.00.2.0 | Christian Hesse | 1 | -1/+1 | |
2017-04-29 | update links to point to the readme | Christian Hesse | 2 | -3/+3 | |
2017-04-28 | Merge branch 'pacredir' | Christian Hesse | 10 | -37/+33 | |
2017-04-28 | update references to 'pacredir' | Christian Hesse | 4 | -15/+15 | |
2017-04-28 | rename files to 'pacredir' | Christian Hesse | 6 | -13/+15 | |
2017-04-28 | drop unit file paccache.service | Christian Hesse | 3 | -9/+3 | |
2017-03-08 | use https for my mirror | Christian Hesse | 1 | -1/+1 | |
2017-01-14 | update copyright for 2017 | Christian Hesse | 5 | -5/+5 | |
2017-01-06 | notify systemd on stop | Christian Hesse | 1 | -0/+5 | |
2017-01-05 | no need to tell systemd the pid | Christian Hesse | 1 | -1/+1 | |
This is required only when the pid is different from what systemd executed itself. | |||||
2016-12-01 | prepare version 0.1.250.1.25 | Christian Hesse | 1 | -1/+1 | |
2016-12-01 | add systemd dependency in README | Christian Hesse | 1 | -0/+1 | |
2016-12-01 | Use systemd service manager notification | Christian Hesse | 4 | -0/+8 | |
Notify systemd service manager when our initialization sequence completed. | |||||
2016-10-12 | prepare release 0.1.240.1.24 | Christian Hesse | 1 | -1/+1 | |
2016-10-12 | calculate date/time string only when needed | Christian Hesse | 1 | -5/+6 | |
2016-10-12 | make more output depend on verbose (do not print by default) | Christian Hesse | 1 | -19/+37 | |
2016-10-12 | always pass real port to add_host(), print to verbose output | Christian Hesse | 1 | -5/+8 | |