Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/nix/host-modules/hive-egress.nix
Author SHA1 Message Date
atlas
dad15ca855 egress: forward = reject for intercepted agents, direct_mac exempt in log mode too 2026-11-13 13:00:13 +01:00
atlas
dff662c6b3 refuse tls hellos that carry encrypted client hello before squid sees them 2026-11-13 12:56:58 +01:00
atlas
712dcf2b25 squid intercepts restricted and log agents' web traffic, named from the bound source address 2026-11-13 09:47:09 +01:00
atlas
70179b6c1f egress anti-spoofing: keep established bindings, load tables with bindings and leases in one transaction 2026-11-13 08:53:23 +01:00
atlas
c4ac01ef88 agent bridge: drop frames whose source MAC or address isn't the container's own (egress.antiSpoof) 2026-11-13 08:53:23 +01:00
atlas
bd79b58e78 log the agent bridge's forwarded flows in the hive_egress table
A forward chain in the hive-owned nft table logs each new flow from the agent bridge to the uplink (v4 and v6) and counts every packet. It never blocks. The mesh interface is skipped. Logging is rate limited per source address; a flow that limit cannot log gets one line from a shared limit with its own prefix. services.hyperhive.network.egress.forward selects accept, log (default) or drop; drop is refused at evaluation until the interception it needs exists.
2026-11-12 09:20:51 +01:00
atlas
eb39a90057 load the agent-bridge to loopback drop in its own nft table 2026-11-11 16:54:07 +01:00