Priamo Germosen and Jonathan Morley
3a0cce0188
fix(elbv2): route shared HTTPS to ALBs by server name ( #9767 )
...
With TLS on, Floci's TLS proxy holds floci.tls.aws-https-port (443 by
default) for AWS API calls and cfn-response callbacks, so an ALB HTTPS
listener on that port could not bind it and received no traffic, where
AWS serves it.
- an HTTPS listener on the proxy's port is served on loopback, and the
proxy reads the ClientHello's SNI without terminating TLS and hands the
connection to the listener that claims the name; Floci's own endpoint
names, no SNI and unclaimed names stay with Floci
- the proxy waits for a whole ClientHello only while such a listener is
served behind it, from one deadline armed by the first bytes, and sends
anything else to Floci on its first bytes as before
- each proxied connection is pinned to the listener its ClientHello
selected, and carries the client the proxy accepted it from, so targets
see the client in X-Forwarded-For and X-Forwarded-Port names the
listener's port
- the proxy and the embedded DNS server share one list of Floci's DNS
suffixes
- a failing route lookup is logged at warn, and the connection goes to
Floci
Refs #8613
Co-authored-by: Jonathan Morley <jonathanmorley@users.noreply.github.com >
2026-11-29 15:12:09 -04:00
..
2026-11-04 21:50:47 -06:00
2026-11-24 06:46:07 -04:00
2026-11-12 11:15:12 -04:00
2026-11-24 16:17:21 -04:00
2026-11-29 11:35:27 -04:00
2026-11-27 17:52:47 -04:00
2026-09-11 17:55:48 -04:00
2026-11-10 18:28:30 -04:00
2026-11-18 08:27:23 -04:00
2026-11-25 12:08:41 -04:00
2026-11-15 18:29:22 -04:00
2026-11-09 22:36:59 -04:00
2026-11-15 18:09:00 -04:00
2026-10-26 06:50:32 -04:00
2026-09-12 11:31:20 -04:00
2026-11-21 09:18:38 -04:00
2026-10-18 14:50:09 -04:00
2026-11-26 08:09:38 -04:00
2026-09-06 23:54:37 -04:00
2026-11-13 22:40:31 -04:00
2026-11-21 19:47:19 -04:00
2026-11-29 08:00:05 -04:00
2026-11-02 15:15:59 -04:00
2026-11-28 08:24:27 -04:00
2026-08-17 00:00:49 -05:00
2026-11-27 18:16:58 -04:00
2026-11-25 15:10:24 -04:00
2026-09-17 13:53:35 -04:00
2026-11-26 23:40:56 -04:00
2026-11-26 18:45:59 -04:00
2026-11-18 21:10:52 -04:00
2026-10-26 17:27:41 -04:00
2026-08-30 14:44:08 -05:00
2026-10-26 07:31:28 -04:00
2026-11-28 08:27:25 -04:00
2026-09-04 12:16:18 -04:00
2026-11-23 14:10:49 -04:00
2026-11-28 18:39:36 -04:00
2026-08-30 15:15:49 -04:00
2026-09-07 21:49:39 -05:00
2026-11-10 10:46:59 -04:00
2026-11-13 17:10:30 -04:00
2026-09-11 22:30:02 -04:00
2026-09-07 18:31:48 -04:00
2026-09-24 15:08:34 -04:00
2026-11-23 18:54:51 -04:00
2026-11-26 01:01:13 -04:00
2026-11-18 15:27:20 -04:00
2026-11-23 10:19:49 -04:00
2026-11-11 14:08:37 -04:00
2026-11-29 00:16:55 -04:00
2026-11-23 22:54:39 -04:00
2026-11-20 07:33:23 -04:00
2026-11-13 16:30:10 -04:00
2026-11-29 13:48:47 -04:00
2026-06-25 19:16:51 -05:00
2026-11-23 20:07:23 -04:00
2026-11-02 14:50:12 -04:00
2026-11-29 15:12:09 -04:00
2026-11-23 21:16:50 -04:00
2026-11-22 05:02:40 -04:00
2026-11-29 14:52:45 -04:00
2026-11-27 18:55:01 -04:00
2026-11-29 09:59:39 -04:00
2026-11-03 13:49:06 -04:00
2026-11-17 20:20:48 -04:00
2026-10-25 13:38:39 -04:00
2026-11-26 08:20:16 -04:00
2026-10-19 16:45:15 -04:00
2026-11-29 13:12:46 -04:00
2026-11-24 11:58:15 -04:00
2026-11-29 14:34:14 -04:00
2026-11-01 12:22:49 -04:00
2026-11-21 15:45:32 -04:00
2026-11-15 00:38:16 -04:00
2026-11-25 06:40:37 -04:00
2026-11-22 20:28:46 -04:00
2026-11-15 01:08:54 -04:00
2026-11-19 18:32:56 -04:00
2026-11-26 09:02:33 -04:00
2026-11-29 14:34:14 -04:00
2026-07-10 20:43:42 -05:00
2026-11-09 11:37:23 -04:00
2026-10-26 06:45:35 -04:00
2026-10-03 22:04:03 -04:00
2026-11-24 10:56:22 -04:00
2026-11-14 23:04:43 -04:00
2026-11-25 17:23:27 -04:00
2026-11-26 10:08:52 -04:00
2026-08-27 09:23:52 -04:00
2026-09-12 08:59:21 -04:00
2026-11-25 10:05:46 -04:00
2026-11-24 06:46:07 -04:00
2026-11-20 14:07:01 -04:00
2026-11-19 13:33:35 -04:00
2026-11-22 09:21:18 -04:00
2026-05-13 01:34:19 -05:00
2026-11-06 09:11:30 -04:00
2026-10-30 14:44:18 -04:00
2026-10-15 16:49:23 -04:00
2026-11-27 22:48:48 -04:00
2026-11-14 01:06:59 -04:00
2026-11-15 19:54:04 -04:00
2026-11-29 07:46:02 -04:00
2026-11-11 22:19:38 -04:00
2026-11-05 04:57:31 -04:00
2026-11-05 04:57:31 -04:00
2026-10-24 18:45:19 -04:00
2026-11-26 16:27:39 -04:00
2026-11-24 12:36:27 -04:00
2026-08-01 15:28:54 -05:00
2026-11-29 09:00:07 -04:00
2026-11-29 10:23:51 -04:00
2026-11-19 22:14:23 -04:00
2026-11-24 16:16:17 -04:00
2026-11-18 21:25:47 -04:00
2026-11-29 13:12:46 -04:00
2026-11-09 11:37:23 -04:00
2026-11-17 09:15:05 -04:00
2026-11-04 13:52:00 -04:00
2026-11-29 07:51:06 -04:00
2026-11-26 18:45:59 -04:00
2026-11-20 15:00:04 -04:00
2026-11-29 11:48:06 -04:00
2026-11-26 00:04:57 -04:00
2026-11-15 08:13:41 -04:00
2026-09-10 16:34:41 -04:00
2026-11-14 10:30:14 -04:00
2026-11-29 13:59:18 -04:00
2026-11-29 02:21:16 -04:00
2026-10-16 14:01:24 -04:00
2026-09-21 14:11:16 -04:00
2026-10-20 07:27:05 -04:00
2026-11-28 22:37:05 -04:00
2026-11-25 07:24:59 -04:00
2026-09-01 14:47:33 -04:00
2026-11-25 13:51:52 -04:00
2026-10-07 23:47:52 -04:00
2026-11-11 08:50:26 -04:00