Skip to content

Commit

Permalink
bit more haproxy
Browse files Browse the repository at this point in the history
  • Loading branch information
sftcd committed Sep 3, 2023
1 parent 3c72a91 commit 51a2897
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
5 changes: 2 additions & 3 deletions esnistuff/haproxy-split.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Basic config mapping a listening IP:port to another host's IP:port with
# support for HTTP/1 and 2.

global
strict-limits # refuse to start if insufficient FDs/memory
stats socket /tmp/haproxy.sock mode 600 level admin
stats timeout 2m

# logging - see also testhaproxy.sh for what to put in /etc/rsyslog.conf
# log 127.0.4.5:7514 local0 debug
Expand Down
15 changes: 6 additions & 9 deletions esnistuff/haproxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@

## August 2023

Got HRR working, but still need to fix leaks and test early data.
Both HRR and early data working now. Switched to stderr based logging.

## June 2023

Based on some interest in bringing the haproxy integration up to the same level
as for other servers, we're currenty investigating full support for HRR.
Rekeying to follow, as are split-mode tests with early data etc.

Still at the point of figuring out how to handle the ECH state so as to have it
available when the 2nd CH is see in the case of HRR.
Next up is to figure out how to reload ECH keys without restarting haproxy.
TLS certificate/key reloading via socket-API/CLI is described
[here](https://docs.haproxy.org/dev/management.html#9.3). We'll want to try
figure out something similar for ECH keys, or to figure out an equivalent for
the LUA interface.

## May 2023 rebuild...

Expand Down
5 changes: 4 additions & 1 deletion esnistuff/haproxymin.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@

global
strict-limits # refuse to start if insufficient FDs/memory
stats socket /tmp/haproxy.sock mode 600 level admin
stats timeout 2m

# logging - see also testhaproxy.sh for what to put in /etc/rsyslog.conf
log 127.0.4.5:7514 local0 debug
# log 127.0.4.5:7514 local0 debug
log stderr format raw local0 info

defaults
log global
Expand Down

0 comments on commit 51a2897

Please sign in to comment.