Skip to content

Commit 11d403f

Browse files
authored
flashbox-l1: drop BuilderNet endpoints in maintenance mode (#165)
BuilderNet IPs are allowlisted in PRODUCTION_OUT and torn down on toggle via toggle-config PRODUCTION_ENDPOINTS, but were missing the MAINTENANCE_OUT drop that the Flashbots tx-stream endpoints already have. Because MAINTENANCE_OUT accepts HTTPS to any IP (catch-all), the BuilderNet endpoints -- which carry the tx-stream side channel on 443 -- were reachable in maintenance mode, contradicting their production-only intent. Add the drop before the accept-all rules, mirroring the Flashbots Protect tx-stream treatment. flashbox-l2 reviewed: it has no BuilderNet endpoints (production-only egress is the simulator, already dropped in maintenance), so no change needed there.
1 parent d006fa2 commit 11d403f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

modules/flashbox/flashbox-l1/mkosi.extra/etc/bob/firewall-config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ accept_dst_port $CHAIN_MAINTENANCE_IN udp $EL_P2P_PORT "EL P2P (UDP)"
116116
# Block Flashbots protect tx endpoints during maintenance
117117
drop_dst_ip $CHAIN_MAINTENANCE_OUT $FLASHBOTS_TX_STREAM_1,$FLASHBOTS_TX_STREAM_2 "Flashbots Protect (DROP before accept-all rules)"
118118

119+
# Block BuilderNet endpoints during maintenance.
120+
drop_dst_ip $CHAIN_MAINTENANCE_OUT $BUILDERNET_FB_USE4,$BUILDERNET_FB_USE1,$BUILDERNET_NM_USE,$BUILDERNET_FB_EUW4,$BUILDERNET_NM_EUW,$BUILDERNET_FB_ANE1 "BuilderNet (DROP before accept-all rules)"
121+
119122
accept_dst_port $CHAIN_MAINTENANCE_OUT udp $DNS_PORT "DNS (UDP)"
120123
accept_dst_port $CHAIN_MAINTENANCE_OUT tcp $DNS_PORT "DNS (TCP)"
121124
accept_dst_port $CHAIN_MAINTENANCE_OUT tcp $DNS_OVER_TLS_PORT "DNS-over-TLS"

0 commit comments

Comments
 (0)