Rework DDoS generation, mitigation accounting and NOC reporting

Scale normal attacks with network demand, level and gaming exposure, with
randomized sizes, durations, overlapping attacks and distributed ingress.
Set average sizes to three times the non-gaming baseline at one gaming
customer and eight times at fifty. Keep Flood Season escalating after its
challenge ends.

Add gaming-specific vectors, Memcached amplification and ACK floods.
Account for upstream scrubbing, Flowspec and shared scrubbing capacity in
sequence. Show precise mitigation totals and one destination-based
scrubbing detour in existing live attack cards.

Keep each source-to-scrubbing route distinct in link traffic breakdowns,
including the source label, Open button and map highlight.

Include deterministic tests, old-save migration and translations.
This commit is contained in:
Filip Hruska 2026-10-27 10:13:07 +00:00
parent a2e7e9dcc5
commit 744b769000
10 changed files with 823 additions and 132 deletions

View file

@ -923,10 +923,7 @@
"Live attack: {city}":"Attaque en cours : {city}",
"{size} · {vec}{entry} · {n}d left":"{size} · {vec}{entry} · {n} j restants",
"Blackholed: the junk is gone, and so is {city}. The attack got what it wanted.":"Blackholé : les déchets ont disparu, et {city} aussi. L’attaque a obtenu ce qu’elle voulait.",
"Reaching your network: {g}":"Ce qui atteint ton réseau : {g}",
"On-demand scrubbing diverting, live in {n}d":"Scrubbing à la demande en cours de redirection, actif dans {n} j",
"{tier} scrubbing in {city} is cleaning it":"Le scrubbing {tier} à {city} le nettoie",
"{net} is scrubbing it upstream (clean-pipe)":"{net} le nettoie en amont (clean-pipe)",
"Contained on your sacrificial {net} PNI":"Contenu sur ton PNI sacrificiel {net}",
"IX blackhole on ✓":"Blackhole IX actif ✓",
"IX blackhole <small>~half honour it</small>":"Blackhole IX <small>~la moitié le respecte</small>",
@ -935,10 +932,7 @@
"Sacrificial choke ✓":"Goulot sacrificiel ✓",
"Make sacrificial <small>contains floods · ½ capacity</small>":"Rendre sacrificiel <small>contient les floods · ½ capacité</small>",
"No scrubbing center":"Pas de centre de scrubbing",
"Flowspec on your {model} is dropping {vec} at the edge":"Flowspec sur ton {model} élimine le trafic {vec} en bordure",
"Flowspec on your {model} trims {vec}, but its TCAM is small":"Flowspec sur ton {model} rogne le trafic {vec}, mais sa TCAM est petite",
"Your {model} here has no Flowspec TCAM":"Ton {model} ici n’a pas de TCAM Flowspec",
"Flowspec cannot catch an {vec} (application layer)":"Flowspec ne peut pas arrêter un {vec} (couche applicative)",
"Flowspec cannot catch {vec}":"Flowspec ne peut pas arrêter {vec}",
"Stop blackholing":"Arrêter le blackholing",
"Blackhole the target (RTBH)":"Blackholer la cible (RTBH)",
"HackBack 3000™ <small>$20k</small>":"HackBack 3000™ <small>$20k</small>",
@ -2604,8 +2598,6 @@
"Attack hauled to scrubbing in {city}":"Attaque acheminée vers le scrubbing de {city}",
"Wants a scrubbing center on its own continent, so attacks are not hauled across an ocean":"Veut un centre de scrubbing sur son continent, pour que les attaques ne traversent pas un océan",
"Your backbone can only haul {g} of it to {city}: the rest is not scrubbed":"Ton backbone ne peut en acheminer que {g} jusqu’à {city} : le reste n’est pas nettoyé",
"{tier} scrubbing in {city} is cleaning it, hauled over your backbone (+{ms} ms)":"Le scrubbing {tier} à {city} le nettoie, acheminé par ton backbone (+{ms} ms)",
"Your scrubbing centers are full: {g} leaks past":"Tes centres de scrubbing sont pleins : {g} passent quand même",
"Attacks go to your nearest scrubbing center. From here that is {city}, {km} km away: the flood rides your backbone there and back, which adds latency, and whatever your links cannot carry is not scrubbed. A center here cleans attacks on the spot.":"Les attaques vont vers ton centre de scrubbing le plus proche. D’ici, c’est {city}, à {km} km : le flot traverse ton backbone aller et retour, ce qui ajoute de la latence, et ce que tes liens ne peuvent pas porter n’est pas nettoyé. Un centre ici nettoie les attaques sur place.",
"attacks on {city} are hauled to {to} for scrubbing: +{ms} ms":"les attaques sur {city} sont acheminées vers {to} pour le scrubbing : +{ms} ms",
"Scrubbing centers":"Centres de scrubbing",
@ -2941,4 +2933,23 @@
"<b>Raised {n} max-prefix limits.</b><br>{k} of them were route leaks. They are in the NOC now.":"<b>{n} limites max-prefix relevées.</b><br>{k} d’entre elles étaient des fuites de routes. Elles sont dans le NOC maintenant.",
"<b>Raised {n} max-prefix limits.</b><br>All growth, no leaks. Lucky.":"<b>{n} limites max-prefix relevées.</b><br>Que de la croissance, aucune fuite. Chanceux.",
"Off while your peering policy is {pol}":"Désactivé tant que votre politique de peering est {pol}",
"Memcached amplification":"Amplification Memcached",
"ACK flood":"Flood ACK",
"Edge filters dropping: {g}":"Filtres en bordure : {g} supprimés",
"{g} is leaking through":"{g} passent encore",
"Attack fully mitigated":"Attaque entièrement neutralisée",
"Scrubbing centers unavailable or at capacity":"Centres de scrubbing indisponibles ou saturés",
"Distributed ingress":"Arrivée distribuée",
", across {n} transit and peering ports":", via {n} ports de transit et de peering",
"No scrubbing needed after edge mitigation":"Aucun scrubbing nécessaire après la protection en bordure",
"RackNet":"RackNet",
"TeamSpooked":"TeamSpooked",
"Scrubbing in {city}: {used} / {capacity}":"Scrubbing à {city} : {used} / {capacity}",
"This attack: {g}":"Cette attaque : {g}",
"Scrubbing traffic hauled over your backbone: {city} → {to} (+{ms} ms)":"Trafic de scrubbing acheminé par ton backbone : {city} → {to} (+{ms} ms)",
"After upstream scrubbing: {g}":"Après le scrubbing en amont : {g}",
"No Flowspec filtering: ingress routers have no TCAM":"Aucun filtrage Flowspec : les routeurs d’entrée n’ont pas de TCAM",
"Flowspec dropping: {g}; some ingress routers have no TCAM":"Flowspec supprime {g} ; certains routeurs d’entrée n’ont pas de TCAM",
"Flowspec dropping: {g}":"Flowspec supprime {g}",
"Gaming attracts attacks":"Le gaming attire les attaques",
};

View file

@ -924,10 +924,7 @@
"Live attack: {city}":"Attacco in corso: {city}",
"{size} · {vec}{entry} · {n}d left":"{size} · {vec}{entry} · {n}g rimasti",
"Blackholed: the junk is gone, and so is {city}. The attack got what it wanted.":"In buco nero: la spazzatura è sparita, e anche {city}. L’attacco ha ottenuto ciò che voleva.",
"Reaching your network: {g}":"Arriva alla tua rete: {g}",
"On-demand scrubbing diverting, live in {n}d":"Scrubbing on-demand in deviazione, attivo tra {n}g",
"{tier} scrubbing in {city} is cleaning it":"Lo scrubbing {tier} a {city} lo sta pulendo",
"{net} is scrubbing it upstream (clean-pipe)":"{net} lo sta ripulendo a monte (clean-pipe)",
"Contained on your sacrificial {net} PNI":"Contenuto sulla tua PNI sacrificale {net}",
"IX blackhole on ✓":"Blackhole IX attivo ✓",
"IX blackhole <small>~half honour it</small>":"Blackhole IX <small>~metà lo rispetta</small>",
@ -936,10 +933,7 @@
"Sacrificial choke ✓":"Strozzatura sacrificale ✓",
"Make sacrificial <small>contains floods · ½ capacity</small>":"Rendi sacrificale <small>contiene i flood · ½ capacità</small>",
"No scrubbing center":"Nessun centro di scrubbing",
"Flowspec on your {model} is dropping {vec} at the edge":"Il Flowspec sul tuo {model} sta scartando {vec} all’edge",
"Flowspec on your {model} trims {vec}, but its TCAM is small":"Il Flowspec sul tuo {model} lima {vec}, ma la sua TCAM è piccola",
"Your {model} here has no Flowspec TCAM":"Il tuo {model} qui non ha TCAM per il Flowspec",
"Flowspec cannot catch an {vec} (application layer)":"Flowspec non può fermare un {vec} (livello applicativo)",
"Flowspec cannot catch {vec}":"Flowspec non può fermare {vec}",
"Stop blackholing":"Togli il buco nero",
"Blackhole the target (RTBH)":"Metti il bersaglio in buco nero (RTBH)",
"HackBack 3000™ <small>$20k</small>":"HackBack 3000™ <small>$20k</small>",
@ -2607,8 +2601,6 @@
"Attack hauled to scrubbing in {city}":"Attacco portato allo scrubbing di {city}",
"Wants a scrubbing center on its own continent, so attacks are not hauled across an ocean":"Vuole un centro di scrubbing nel suo continente, così gli attacchi non attraversano un oceano",
"Your backbone can only haul {g} of it to {city}: the rest is not scrubbed":"Il tuo backbone riesce a portarne solo {g} a {city}: il resto non viene pulito",
"{tier} scrubbing in {city} is cleaning it, hauled over your backbone (+{ms} ms)":"Lo scrubbing {tier} a {city} lo sta pulendo, portato lì sul tuo backbone (+{ms} ms)",
"Your scrubbing centers are full: {g} leaks past":"I tuoi centri di scrubbing sono pieni: {g} passano lo stesso",
"Attacks go to your nearest scrubbing center. From here that is {city}, {km} km away: the flood rides your backbone there and back, which adds latency, and whatever your links cannot carry is not scrubbed. A center here cleans attacks on the spot.":"Gli attacchi vanno al tuo centro di scrubbing più vicino. Da qui è {city}, a {km} km: il flusso viaggia sul tuo backbone fin lì e ritorno, il che aggiunge latenza, e quello che i tuoi link non riescono a portare non viene pulito. Un centro qui pulisce gli attacchi sul posto.",
"attacks on {city} are hauled to {to} for scrubbing: +{ms} ms":"gli attacchi su {city} vengono portati a {to} per lo scrubbing: +{ms} ms",
"Scrubbing centers":"Centri di scrubbing",
@ -2941,4 +2933,23 @@
"<b>Raised {n} max-prefix limits.</b><br>{k} of them were route leaks. They are in the NOC now.":"<b>Alzati {n} limiti max-prefix.</b><br>{k} erano route leak. Ora sono nel NOC.",
"<b>Raised {n} max-prefix limits.</b><br>All growth, no leaks. Lucky.":"<b>Alzati {n} limiti max-prefix.</b><br>Tutta crescita, nessun leak. Fortuna.",
"Off while your peering policy is {pol}":"Spento finché la tua politica di peering è {pol}",
"Memcached amplification":"Amplificazione Memcached",
"ACK flood":"Flood ACK",
"Edge filters dropping: {g}":"Filtri al bordo: {g} scartati",
"{g} is leaking through":"{g} superano le difese",
"Attack fully mitigated":"Attacco completamente mitigato",
"Scrubbing centers unavailable or at capacity":"Centri di scrubbing non disponibili o al completo",
"Distributed ingress":"Ingresso distribuito",
", across {n} transit and peering ports":", su {n} porte di transit e peering",
"No scrubbing needed after edge mitigation":"Nessuno scrubbing necessario dopo la mitigazione al bordo",
"RackNet":"RackNet",
"TeamSpooked":"TeamSpooked",
"Scrubbing in {city}: {used} / {capacity}":"Scrubbing a {city}: {used} / {capacity}",
"This attack: {g}":"Questo attacco: {g}",
"Scrubbing traffic hauled over your backbone: {city} → {to} (+{ms} ms)":"Traffico di scrubbing trasportato sul tuo backbone: {city} → {to} (+{ms} ms)",
"After upstream scrubbing: {g}":"Dopo lo scrubbing a monte: {g}",
"No Flowspec filtering: ingress routers have no TCAM":"Nessun filtraggio Flowspec: i router di ingresso non hanno TCAM",
"Flowspec dropping: {g}; some ingress routers have no TCAM":"Flowspec scarta {g}; alcuni router di ingresso non hanno TCAM",
"Flowspec dropping: {g}":"Flowspec scarta {g}",
"Gaming attracts attacks":"Il gaming attira attacchi",
};

View file

@ -924,10 +924,7 @@
"Live attack: {city}":"Ataque ao vivo: {city}",
"{size} · {vec}{entry} · {n}d left":"{size} · {vec}{entry} · faltam {n}d",
"Blackholed: the junk is gone, and so is {city}. The attack got what it wanted.":"Em blackhole: o lixo sumiu, e {city} também. O ataque conseguiu o que queria.",
"Reaching your network: {g}":"Chegando na sua rede: {g}",
"On-demand scrubbing diverting, live in {n}d":"Scrubbing on-demand desviando, ativo em {n}d",
"{tier} scrubbing in {city} is cleaning it":"O scrubbing {tier} em {city} está limpando",
"{net} is scrubbing it upstream (clean-pipe)":"{net} está limpando upstream (clean-pipe)",
"Contained on your sacrificial {net} PNI":"Contido no seu PNI sacrificial com {net}",
"IX blackhole on ✓":"Blackhole IX ativo ✓",
"IX blackhole <small>~half honour it</small>":"Blackhole IX <small>~metade respeita</small>",
@ -936,10 +933,7 @@
"Sacrificial choke ✓":"Gargalo sacrificial ✓",
"Make sacrificial <small>contains floods · ½ capacity</small>":"Tornar sacrificial <small>contém floods · ½ capacidade</small>",
"No scrubbing center":"Sem centro de scrubbing",
"Flowspec on your {model} is dropping {vec} at the edge":"O Flowspec no seu {model} está descartando {vec} na borda",
"Flowspec on your {model} trims {vec}, but its TCAM is small":"O Flowspec no seu {model} reduz {vec}, mas a TCAM é pequena",
"Your {model} here has no Flowspec TCAM":"Seu {model} aqui não tem TCAM para Flowspec",
"Flowspec cannot catch an {vec} (application layer)":"Flowspec não pega um {vec} (camada de aplicação)",
"Flowspec cannot catch {vec}":"Flowspec não consegue filtrar {vec}",
"Stop blackholing":"Parar blackhole",
"Blackhole the target (RTBH)":"Blackhole no alvo (RTBH)",
"HackBack 3000™ <small>$20k</small>":"HackBack 3000™ <small>$20k</small>",
@ -2607,8 +2601,6 @@
"Attack hauled to scrubbing in {city}":"Ataque levado ao scrubbing em {city}",
"Wants a scrubbing center on its own continent, so attacks are not hauled across an ocean":"Quer um centro de scrubbing no próprio continente, para que os ataques não atravessem um oceano",
"Your backbone can only haul {g} of it to {city}: the rest is not scrubbed":"Seu backbone só consegue levar {g} até {city}: o resto não é limpo",
"{tier} scrubbing in {city} is cleaning it, hauled over your backbone (+{ms} ms)":"O scrubbing {tier} em {city} está limpando, levado pelo seu backbone (+{ms} ms)",
"Your scrubbing centers are full: {g} leaks past":"Seus centros de scrubbing estão cheios: {g} passam direto",
"Attacks go to your nearest scrubbing center. From here that is {city}, {km} km away: the flood rides your backbone there and back, which adds latency, and whatever your links cannot carry is not scrubbed. A center here cleans attacks on the spot.":"Os ataques vão para o seu centro de scrubbing mais próximo. Daqui é {city}, a {km} km: a enxurrada viaja pelo seu backbone até lá e volta, o que aumenta a latência, e o que seus links não conseguem levar não é limpo. Um centro aqui limpa os ataques na hora.",
"attacks on {city} are hauled to {to} for scrubbing: +{ms} ms":"os ataques em {city} são levados a {to} para scrubbing: +{ms} ms",
"Scrubbing centers":"Centros de scrubbing",
@ -2941,4 +2933,23 @@
"<b>Raised {n} max-prefix limits.</b><br>{k} of them were route leaks. They are in the NOC now.":"<b>{n} limites de max-prefix aumentados.</b><br>{k} deles eram vazamentos de rotas. Estão no NOC agora.",
"<b>Raised {n} max-prefix limits.</b><br>All growth, no leaks. Lucky.":"<b>{n} limites de max-prefix aumentados.</b><br>Tudo crescimento, nenhum vazamento. Sorte.",
"Off while your peering policy is {pol}":"Desligado enquanto sua política de peering for {pol}",
"Memcached amplification":"Amplificação Memcached",
"ACK flood":"Flood ACK",
"Edge filters dropping: {g}":"Filtros de borda descartando: {g}",
"{g} is leaking through":"{g} estão passando",
"Attack fully mitigated":"Ataque totalmente mitigado",
"Scrubbing centers unavailable or at capacity":"Centros de scrubbing indisponíveis ou lotados",
"Distributed ingress":"Entrada distribuída",
", across {n} transit and peering ports":", por {n} portas de transit e peering",
"No scrubbing needed after edge mitigation":"Scrubbing desnecessário após a mitigação na borda",
"RackNet":"RackNet",
"TeamSpooked":"TeamSpooked",
"Scrubbing in {city}: {used} / {capacity}":"Scrubbing em {city}: {used} / {capacity}",
"This attack: {g}":"Este ataque: {g}",
"Scrubbing traffic hauled over your backbone: {city} → {to} (+{ms} ms)":"Tráfego de scrubbing levado pelo seu backbone: {city} → {to} (+{ms} ms)",
"After upstream scrubbing: {g}":"Após o scrubbing upstream: {g}",
"No Flowspec filtering: ingress routers have no TCAM":"Sem filtragem Flowspec: os roteadores de entrada não têm TCAM",
"Flowspec dropping: {g}; some ingress routers have no TCAM":"Flowspec descarta {g}; alguns roteadores de entrada não têm TCAM",
"Flowspec dropping: {g}":"Flowspec descarta {g}",
"Gaming attracts attacks":"Gaming atrai ataques",
};