Attacks arrive as on 1.36 again: drop the distributed multi-ingress flood model

Frederic's call for 2.0: keep #153's fixes, NOC breakdown, new vectors, gaming risk
and overlapping attacks, but not the per-port model. It split every flood over each
ingress port with traffic (over a thousand on a big network), stored them all in the
save, routed one pinned flow per port, and with it came the build-order and
victim-scoring bugs found in review.

Each attack is again one entry port at the victim (a.entry): upstream clean-pipe,
Flowspec on the victim's router, IX blackholing, a sacrificial PNI and RouteScript
filter it in that order (ddosMitigation), then scrubbing; what leaks is junk at the
victim spread like its traffic, exactly as on main. Saves from 2.0 builds with
a.entries load: sanitize drops the shares and a 'distributed' entry becomes 'edge'.
Removed: R.ingressPorts, ddosEntries/ddosFold/ddosSlices/ddosCities/ddosHasIx, pinned
flows (and the pinned-rank handling in routing and its reference), the mixed-TCAM
line and the 'across N ports' message, and their tests; the scrubbing source-city
test now uses two victims sharing one center. CHANGELOG #153 bullets describe what
ships and credit #153.
This commit is contained in:
Frederic Jung 2026-10-28 20:53:58 +01:00
parent b5cba3e591
commit d56039695c
No known key found for this signature in database
16 changed files with 112 additions and 238 deletions

View file

@ -908,7 +908,6 @@
"common.demand":"Demanda",
"common.deploy":"Deploy",
"common.deployed":"em produção",
"common.distributed_ingress":"Entrada distribuída",
"common.diverse":"diverso",
"common.diverse_route":"rota diversa",
"common.dns_reflection":"reflexão DNS",
@ -1633,7 +1632,6 @@
"failures.a_trawler_off_ostend_dragged_its":"Um barco de arrasto ao largo de Ostende arrastou as redes bem em cima do seu cabo {a}–{b}. O Mar do Norte tem uns trinta metros de profundidade e é cheio de barcos.",
"failures.a_visiting_engineer_from_london":"Um engenheiro de Londres em visita levou Marmite para o NOC de {city}. As relações diplomáticas caíram, e seu roteador também, enquanto todo mundo discutia.",
"failures.a_wind_farm_service_vessel_dropped":"Um navio de serviço de um parque eólico jogou âncora no seu cabo {a}–{b}. Ele estava lá para consertar uma turbina.",
"failures.across_n_transit_and_peering_ports":", por {n} portas de transit e peering",
"failures.all_n_links_in_that_trench":"Todos os {n} links daquela vala caíram junto.",
"failures.an_automation_script_in_city_ran":"Um script de automação em {city} rodou “sed” na config inteira em vez de uma linha. Toda interface agora se chama “TODO”.",
"failures.an_earthquake_shook_your_a_b":"Um terremoto soltou sua fibra {a}–{b} em algum ponto acima de 4.000 metros.",
@ -2007,7 +2005,6 @@
"incidents_and_ddos.edge_filters_dropping_g":"Filtros de borda descartando: {g}",
"incidents_and_ddos.flowspec_cannot_catch_vec":"Flowspec não consegue filtrar {vec}",
"incidents_and_ddos.flowspec_dropping_g":"Flowspec descarta {g}",
"incidents_and_ddos.flowspec_dropping_g_some_ingress":"Flowspec descarta {g}; alguns roteadores de entrada não têm TCAM",
"incidents_and_ddos.g_is_leaking_through":"{g} estão passando",
"incidents_and_ddos.hackback_3000tm_20k":"HackBack 3000™ <small>$20k</small>",
"incidents_and_ddos.it_was_dns":"Foi o DNS",