1. 17 Mar, 2022 4 commits
    • Łukasz Nowak's avatar
      69f1b939
    • Łukasz Nowak's avatar
      caddy-frontend: Improve and stabilise Via header · 0a9869ef
      Łukasz Nowak authored
      Via header for response and request is fully stabilized and present according
      to the RFC now.
      
      Important information, like protocol and protocol version are exposed.
      
      Hops which were present in the request are stored and descriptively named.
      
      Versions of components are exposed in hidden way and in the same time the
      frontend administrator and frontend user are able to analyze the versions,
      and the version history present on the node is transmitted back.
      
      Additionally each node can be identified by frontend admins and users for
      request and response headers, allowing more debugging.
      
      Improve the tests by extending assertSlaveBase and reuse it instead of
      duplicating the code everywhere.
      0a9869ef
    • Łukasz Nowak's avatar
      caddy-frontend: Improve header management in test backend · 4a4071cc
      Łukasz Nowak authored
      Accessing headers.dict results with dropping headers sent in more then one
      line, which is accepted by RFC.
      
      So in case if many lines for given header arrived, expose them as a list,
      otherwise simply show exactly arrived header.
      4a4071cc
    • Łukasz Nowak's avatar
      component/trafficserver: Make Via header Rapid.CDN specific · ebe9b475
      Łukasz Nowak authored
      Rapid.CDN has strong requirements regarding Via header passing by, so strip
      down unnecessary parts of the original implementation.
      ebe9b475
  2. 16 Mar, 2022 3 commits
  3. 14 Mar, 2022 1 commit
  4. 10 Mar, 2022 1 commit
  5. 09 Mar, 2022 5 commits
  6. 08 Mar, 2022 2 commits
  7. 07 Mar, 2022 7 commits
    • Łukasz Nowak's avatar
      caddy-frontend: Rename test to follow real check · e6834382
      Łukasz Nowak authored
      The test name (and shared instance name) was misleading.
      e6834382
    • Łukasz Nowak's avatar
      kvm: Fix test for boot images · e9464a85
      Łukasz Nowak authored
      The test have incorrect leftover of old limited implementation, now the system
      shall update images by itself.
      
      Also the typical scenario - image on first request - was not covered.
      
      Adapt the test to code without needed linking.
      e9464a85
    • Łukasz Nowak's avatar
      kvm: Improve boot image url handling · 5da9c082
      Łukasz Nowak authored
      image-download-controller raises error state during download process, to
      inform other components that download is not ready yet.
      
      template-kvm-run.in asserts presence of all images and otherwise refuses to
      start, so that it gives chance for the image to being downloaded.
      
      Sorting images happen by proper key instead of needless links.
      
      Fix race condition, as the hash parameter shall depend on boot image url
      configuration, and not it's failure state.
      5da9c082
    • Łukasz Nowak's avatar
      caddy-frontend: Cover manual CSR handling · a9e7b041
      Łukasz Nowak authored
      a9e7b041
    • Łukasz Nowak's avatar
      caddy-frontend: Cleanup CSR exposure · 6a531a74
      Łukasz Nowak authored
      Cleanups:
      
       * simplify nginx management with real template
       * rename sections to provide explanation in their name so it's less cryptic
      6a531a74
    • Łukasz Nowak's avatar
      9ff5eccf
    • Łukasz Nowak's avatar
      caddy-frontend: Switch to full CSR analysis · 615bfd3e
      Łukasz Nowak authored
      Instead of trusting CSR id published by the node which tries to join the
      cluster add a tool which is able to compare exposed CSR with one in caucase
      and then decide to accept node in the cluster. This tool does what usual user
      would do, and it's logic implemented as a script leads to much simpler profiles.
      
      For sake of clean profiles csr_id has been removed, except when it's used for
      self joining of the user to the cluster.
      615bfd3e
  8. 02 Mar, 2022 1 commit
  9. 01 Mar, 2022 2 commits
  10. 22 Feb, 2022 1 commit
  11. 21 Feb, 2022 1 commit
  12. 17 Feb, 2022 2 commits
  13. 14 Feb, 2022 1 commit
  14. 11 Feb, 2022 4 commits
  15. 10 Feb, 2022 1 commit
  16. 09 Feb, 2022 2 commits
  17. 08 Feb, 2022 1 commit
    • Łukasz Nowak's avatar
      caddy-frontend: Keep Server header intact · 3d6af70d
      Łukasz Nowak authored
      Server header might be changed by client facing caddy, for which caddy code
      has been fixed to not transmit the Server header at all by default.
      In ATS Server header has been disabled by configuration.
      haproxy does not add Server header at all.
      Thanks to improvement in the test backend, it's asserted that Server header
      send by the backend is left intact.
      3d6af70d
  18. 07 Feb, 2022 1 commit