Commit d8458c1
authored
flashbox-l1: allowlist BuilderNet bottom-of-block endpoints (#163)
* flashbox-l1: allowlist BuilderNet bottom-of-block endpoints (production only)
Add a temporary egress allowlist for the new BuilderNet bottom-of-block
endpoints so a searcher can connect to a specific pre-configured builder
instance for testing.
These 6 IPs serve both the tx stream (persistent wss, path /bob) and bundle
submission (bare path) over the same HTTPS endpoint, so they cannot be split
into an always-on bundle rule + production-only tx stream rule the way the
Flashbots/Titan endpoints are. Since tx stream is an observable side channel,
the whole set is gated to production mode.
- firewall-config: add 6 BuilderNet IPs to PRODUCTION_OUT (HTTPS/443)
- toggle-config: add the same IPs to PRODUCTION_ENDPOINTS so tx-stream flows
are torn down via conntrack when leaving production mode
- searcher-container-after-init: add static /etc/hosts entries (US nodes first)
so the searcher connects by hostname and TLS validates without DNS
Tradeoff: BuilderNet bundle submission only works in production mode, unlike
the Flashbots/Titan bundle endpoints which are always on.
* flashbox-l1: reword BuilderNet endpoint comments to be purely descriptive
Drop the "temporary test allowlist" framing and other non-descriptive notes
from the BuilderNet egress comments across firewall-config, toggle-config, and
searcher-container-after-init. The comments now describe only what the config is
and why it is shaped this way.1 parent 7e4eeeb commit d8458c1
3 files changed
Lines changed: 42 additions & 0 deletions
File tree
- modules/flashbox/flashbox-l1/mkosi.extra/etc/bob
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
35 | 54 | | |
36 | 55 | | |
37 | 56 | | |
| |||
119 | 138 | | |
120 | 139 | | |
121 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
12 | 23 | | |
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
13 | 22 | | |
14 | 23 | | |
15 | 24 | | |
| |||
0 commit comments