From 2b0d8dacd3b7def1d8839d725fd44ae75d71629d Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 3 Jun 2025 22:10:36 +0000 Subject: Add proxy-server Signed-off-by: Laurent Bercot --- .gitignore | 1 + INSTALL | 8 +- NEWS | 7 + doc/index.html | 12 +- doc/upgrade.html | 13 ++ package/deps.mak | 2 + package/info | 2 +- package/modes | 1 + package/targets.mak | 1 + src/conn-tools/deps-exe/proxy-server | 2 + src/conn-tools/proxy-server.c | 358 +++++++++++++++++++++++++++++++++++ 11 files changed, 396 insertions(+), 11 deletions(-) create mode 100644 src/conn-tools/deps-exe/proxy-server create mode 100644 src/conn-tools/proxy-server.c diff --git a/.gitignore b/.gitignore index c4185f5..b02f1a2 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ *.lo *.a.xyzzy *.so.xyzzy +/proxy-server /s6-clockadd /s6-clockview /s6-getservbyname diff --git a/INSTALL b/INSTALL index 5cb1ebc..b9bbcf5 100644 --- a/INSTALL +++ b/INSTALL @@ -6,10 +6,10 @@ Build Instructions - A POSIX-compliant C development environment - GNU make version 3.81 or later - - skalibs version 2.14.4.0 or later: https://skarnet.org/software/skalibs/ - - Optional (but recommended): execline version 2.9.7.0 or later: https://skarnet.org/software/execline/ - - s6 version 2.13.2.0 or later: https://skarnet.org/software/s6/ - - s6-dns version 2.4.1.0 or later: https://skarnet.org/software/s6-dns/ + - skalibs version 2.14.5.0 or later: https://skarnet.org/software/skalibs/ + - Optional (but recommended): execline version 2.9.7.1 or later: https://skarnet.org/software/execline/ + - s6 version 2.13.2.1 or later: https://skarnet.org/software/s6/ + - s6-dns version 2.4.1.1 or later: https://skarnet.org/software/s6-dns/ - Depending on whether you build the SSL tools, bearssl version 0.6 or later: https://bearssl.org/ or libressl version 4.1.0 or later: https://libressl.org/ diff --git a/NEWS b/NEWS index 0ec7dd4..58e5a08 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,12 @@ Changelog for s6-networking. +In 2.7.2.0 +---------- + + - Support for shared libraries on MacOS + - New binary: proxy-server, understanding the PROXY protocol + + In 2.7.1.0 ---------- diff --git a/doc/index.html b/doc/index.html index b349bb9..260213e 100644 --- a/doc/index.html +++ b/doc/index.html @@ -55,15 +55,15 @@ as extensions to the s6 ecosystem.
  • A POSIX-compliant system with a standard C development environment
  • GNU make, version 3.81 or later
  • skalibs version -2.14.4.0 or later. It's a build-time requirement. It's also a run-time +2.14.5.0 or later. It's a build-time requirement. It's also a run-time requirement if you link against the shared version of the skalibs library.
  • (Optional, but recommended) execline version -2.9.7.0 or later. It's a build-time and run-time requirement.
  • +2.9.7.1 or later. It's a build-time and run-time requirement.
  • s6 version -2.13.2.0 or later. It's a build-time and run-time requirement.
  • +2.13.2.1 or later. It's a build-time and run-time requirement.
  • s6-dns version -2.4.1.0 or later. It's a build-time requirement. It's also a run-time +2.4.1.1 or later. It's a build-time requirement. It's also a run-time requirement if you link against the shared version of the s6-dns libraries.
  • If you want to build the secure communication tools: @@ -91,8 +91,8 @@ run-time requirement if you link against its shared version.