Commit Graph
5 Commits
Author SHA1 Message Date
Miguel Ángel 04ee926d97 fix(engine): render refusals name the address an IPv6-mapped or NAT64 host carries (#7802)
* fix(engine): render refusals name the address an IPv6-mapped or NAT64 host carries

* chore(engine): raise the engine size budget for bounded downloads and refusal classes
2026-11-14 23:02:07 -05:00
Miguel Ángel 54e4a2be3e fix(engine): judge mapped and NAT64 addresses by the IPv4 they carry; producer exports the rule (#7789)
* fix(engine): NAT64 addresses count as non-public; producer exports the address rule

* chore(producer): drop the new section comment

* fix(engine): judge mapped and NAT64 addresses by the IPv4 address they carry

* test(engine): operator ranges hold through mapped and NAT64 addresses
2026-11-14 20:59:29 -05:00
Miguel Ángel b54f2079ed feat(engine): operators can add networks the render must treat as non-public (#7790)
* feat(engine): operators can add networks the render must treat as non-public

* style(engine): format the non-public ranges change
2026-11-14 20:33:26 -05:00
Miguel Ángel 89bca002ef feat(engine): renders log the class of every address the proxy refuses (#7762) 2026-11-14 17:30:51 -05:00
Jerrai 1116077dab fix(cli): capture treats only 192.0.0.0/24 and 192.0.2.0/24 as reserved, via one shared list (#6853)
* fix(cli): capture's public-address check uses the engine's list; 192.0/16 is not all reserved

Only 192.0.0.0/24 and 192.0.2.0/24 are special-use. The capture proxy blocked all of
192.0.0.0/16, so sites on WordPress VIP (192.0.64.0/18, e.g. nasa.gov at 192.0.66.108)
failed every capture with net::ERR_TUNNEL_CONNECTION_FAILED. isPublicIPv4 now reads the
engine's isBlockedNetworkHost, so capture and asset downloads share one list.

— Jerrai (cutroom-debug)

* refactor(engine): one special-use network list, in a light subpath capture imports

Importing all of @hyperframes/engine into capture's publicNetwork slowed the lookup child's
start-up past publicNetwork.process.test's 6 s mid-lookup exit. The list and
isBlockedNetworkHost move to engine/src/utils/networkPolicy.ts, exported as
@hyperframes/engine/network-policy; urlDownloader and the engine index read it there.

— Jerrai (cutroom-debug)

* test(engine): pin 192.0.0.0/24 and 192.0.2.0/24 blocked, the rest of 192.0/16 public

— Jerrai (cutroom-debug)

* fix(cli): alias the engine's network-policy subpath in the CLI bundle

esbuild's root alias rewrote @hyperframes/engine/network-policy to src/index.ts/network-policy;
the exact-subpath list now carries it. The publicNetwork docstring is cut to keep the file's
comment share under its base.

— Jerrai (cutroom-debug)
2026-10-30 16:21:34 +00:00