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":"Domanda",
"common.deploy":"Deploy",
"common.deployed":"in produzione",
"common.distributed_ingress":"Ingresso distribuito",
"common.diverse":"diversificato",
"common.diverse_route":"percorso diverso",
"common.dns_reflection":"riflessione DNS",
@ -1633,7 +1632,6 @@
"failures.a_trawler_off_ostend_dragged_its":"Un peschereccio al largo di Ostenda ha trascinato le reti dritte sul tuo cavo {a}–{b}. Il Mare del Nord è profondo una trentina di metri e pieno di barche.",
"failures.a_visiting_engineer_from_london":"Un ingegnere in visita da Londra ha portato la Marmite nel NOC di {city}. Le relazioni diplomatiche sono saltate, e mentre tutti litigavano è saltato anche il tuo router.",
"failures.a_wind_farm_service_vessel_dropped":"Una nave di servizio di un parco eolico ha gettato l'ancora sul tuo cavo {a}–{b}. Era lì per riparare una turbina.",
"failures.across_n_transit_and_peering_ports":", su {n} porte di transit e peering",
"failures.all_n_links_in_that_trench":"Tutti i {n} link in quello scavo sono caduti insieme.",
"failures.an_automation_script_in_city_ran":"Uno script di automazione a {city} ha lanciato “sed” su tutta la config invece che su una riga. Ora ogni interfaccia si chiama “TODO”.",
"failures.an_earthquake_shook_your_a_b":"Un terremoto ha scollegato la tua fibra {a}–{b} da qualche parte sopra i 4.000 metri.",
@ -2007,7 +2005,6 @@
"incidents_and_ddos.edge_filters_dropping_g":"Filtri al bordo: {g} scartati",
"incidents_and_ddos.flowspec_cannot_catch_vec":"Flowspec non può fermare {vec}",
"incidents_and_ddos.flowspec_dropping_g":"Flowspec scarta {g}",
"incidents_and_ddos.flowspec_dropping_g_some_ingress":"Flowspec scarta {g}; alcuni router di ingresso non hanno TCAM",
"incidents_and_ddos.g_is_leaking_through":"{g} superano le difese",
"incidents_and_ddos.hackback_3000tm_20k":"HackBack 3000™ <small>$20k</small>",
"incidents_and_ddos.it_was_dns":"Era il DNS",