diff --git a/CHANGELOG.md b/CHANGELOG.md
index d85566c..01ead4f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,15 @@ All notable changes to this project are documented here. The project follows
## [Unreleased]
+## [1.17.1] — 2026-10-25
+
+- Flowspec is now a property of your router, not a licence you buy once. The
+ drop rules live in hardware (TCAM), and the budget differs by model: the
+ used Rusty Router can't do it at all, merchant-silicon and whitebox models
+ filter a known flood part-way, and the big chassis knock it right down. The
+ NOC shows how many of your POPs are Flowspec-capable, and the live attack
+ panel names the router doing (or not doing) the filtering.
+
## [1.17.0] — 2026-10-25
- DDoS attacks now have a shape: a vector (DNS reflection, NTP or CLDAP
diff --git a/package-lock.json b/package-lock.json
index 408a2a4..ced765d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "seriesoftubes",
- "version": "1.17.0",
+ "version": "1.17.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "seriesoftubes",
- "version": "1.17.0",
+ "version": "1.17.1",
"devDependencies": {
"jsdom": "24.1.3"
},
diff --git a/package.json b/package.json
index 10da1a9..534804b 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "seriesoftubes",
- "version": "1.17.0",
+ "version": "1.17.1",
"description": "A cartoon browser game about building the internet.",
"private": true,
"license": "MIT",
diff --git a/site/i18n/it.js b/site/i18n/it.js
index 86e134b..a1dc100 100644
--- a/site/i18n/it.js
+++ b/site/i18n/it.js
@@ -930,20 +930,16 @@
"Reaching your network: {g}":"Arriva alla tua rete: {g}",
"Scrubbing in {city} is cleaning it":"Lo scrubbing a {city} lo sta pulendo",
"No scrubbing center":"Nessun centro di scrubbing",
-"Flowspec is dropping {vec} at your edge":"Flowspec sta scartando {vec} al tuo edge",
+"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)",
-"No Flowspec licence":"Nessuna licenza Flowspec",
"Stop blackholing":"Togli il buco nero",
"Blackhole the target (RTBH)":"Metti il bersaglio in buco nero (RTBH)",
"HackBack 3000™ $20k":"HackBack 3000™ $20k",
-"Buy Flowspec {cost}":"Compra Flowspec {cost}",
"RTBH is free and instant, but it drops everything to the victim, attack and customer alike. HackBack 3000™ by Skynot AI sometimes ends it, and sometimes flattens an innocent and earns you a fine.":"L’RTBH è gratis e immediato, ma scarta tutto ciò che va alla vittima: attacco e cliente insieme. HackBack 3000™ di Skynot AI a volte lo ferma, e a volte travolge un innocente e ti becca una multa.",
-"Flowspec filtering":"Filtro Flowspec",
-"Licensed":"Con licenza",
-"Not licensed":"Senza licenza",
-"Push drop rules to your edge to stop known UDP floods (DNS, NTP, CLDAP, SYN). Precise, but it cannot touch an HTTP flood and the junk still fills the port it enters.":"Spingi regole di scarto al tuo edge per fermare i flood UDP noti (DNS, NTP, CLDAP, SYN). Preciso, ma non tocca un flood HTTP e la spazzatura riempie comunque la porta da cui entra.",
-"Buy Flowspec licence {cost}":"Compra la licenza Flowspec {cost}",
-"Flowspec licensed.
Your edge now drops DNS, NTP, CLDAP and SYN floods automatically. HTTP floods still need scrubbing.":"Flowspec attivo.
Il tuo edge ora scarta da solo i flood DNS, NTP, CLDAP e SYN. I flood HTTP servono ancora lo scrubbing.",
+"Flowspec-capable POPs":"POP con Flowspec",
+"Flowspec drop rules live in router TCAM, so only capable routers filter known UDP floods (DNS, NTP, CLDAP, SYN) at the edge. The used Rusty has none, merchant-silicon and whitebox models do a little, the big chassis do it in full. Upgrade a POP’s router from its Infra tab.":"Le regole di scarto Flowspec vivono nella TCAM del router, quindi solo i router capaci filtrano i flood UDP noti (DNS, NTP, CLDAP, SYN) all’edge. La Rusty usata non ne ha, i modelli merchant-silicon e whitebox un po’, i grandi chassis in pieno. Aggiorna il router di un POP dalla sua scheda Infra.",
"No attack to blackhole right now.":"Nessun attacco da mettere in buco nero adesso.",
"RTBH announced.
You blackholed the target in {city}. The flood stops, and so does everyone there.":"RTBH annunciato.
Hai messo il bersaglio a {city} in buco nero. Il flood si ferma, e con lui tutti quelli lì.",
"Blackhole withdrawn.
{city} is reachable again. Brace for the junk.":"Buco nero ritirato.
{city} è di nuovo raggiungibile. Preparati alla spazzatura.",
diff --git a/site/index.html b/site/index.html
index 2eb6488..6afa3ca 100644
--- a/site/index.html
+++ b/site/index.html
@@ -582,9 +582,12 @@ const SITE2_N=[tr('The Other Building'),tr('Campus B (the one with parking)'),tr
const siteName=(c,s)=>s==='b'?SITE2_N[hstr(c)%SITE2_N.length]:CITY[c].dc;
const popCost=c=>POP_COST+(c&&CITY[c]&&CITY[c].ru?RU_BOX:0)+(c&&CITY[c]&&CITY[c].uae?UAE_LIC:0)+(c&&CITY[c]&&CITY[c].saudi?KSA_LIC:0);
const CN_LIC=150000, CN_JV_MO=6000, SCRUB_COST=60000, SCRUB_MO=5000;
-// DDoS has a shape now: a vector, a size and an entry point. `fs` is whether Flowspec can drop it at the
-// edge — it catches the known volumetric UDP floods, but an application-layer HTTP flood sails right through.
-const FLOWSPEC_LIC=40000;
+// DDoS has a shape now: a vector, a size and an entry point. A vector's `fs` is whether Flowspec can drop
+// it at the edge — it catches the known volumetric UDP floods, but an application-layer HTTP flood sails
+// through. Whether a POP can run Flowspec at all is a router-model property (`fs` on RG): the rules live in
+// hardware TCAM, and the budget differs by platform. FS_RES is the junk left after filtering, by capability
+// (0 none → no help · 1 basic merchant/whitebox → 40% leaks · 2 full big iron → 15% leaks).
+const FS_RES=[1,0.4,0.15];
const DDOS_VEC={
dns:{n:tr('DNS reflection'),fs:true},
ntp:{n:tr('NTP amplification'),fs:true},
@@ -599,16 +602,16 @@ const myFab=c=>MYIX_FAB[Math.min(MYIX_FAB.length-1,Math.max(0,(S.myIx[c]&&S.myIx
const LT=[{n:'10G',g:10,m:1},{n:'100G',g:100,m:2.8},{n:'400G',g:400,m:6},{n:'800G',g:800,m:9},{n:'1.6T',g:1600,m:13},{n:'6.4T',g:6400,m:28,note:tr('handed off as 4×1.6T')}];
const PORT=[{n:'10G',g:10,setup:500,tmo:150,ix:400,pni:200},{n:'100G',g:100,setup:1500,tmo:400,ix:1500,pni:350},{n:'400G',g:400,setup:4000,tmo:900,ix:4000,pni:600},{n:'800G',g:800,setup:8000,tmo:1600,ix:7000,pni:1000},{n:'1.6T',g:1600,setup:16000,tmo:2800,ix:12000,pni:1600}];
const RG=[
- {n:'Rusty Router 9000',pn:'100G',cap:400,cost:0,mo:0,maxLT:1,maxP:1,ports:8,cls:0,lvl:1,boot:6,slowP:10,chip:tr('a mystery ASIC'),blurb:tr('Bought used on eBuy. The fans sound like a jet engine.')},
- {n:'Edge Lord 400',pn:'400G',cap:3200,cost:30000,mo:1000,maxLT:2,maxP:2,ports:24,cls:1,lvl:2,boot:11,slowP:20,chip:tr('merchant silicon'),blurb:tr('Sharp, edgy, and finally speaks 400G and 400ZR+.')},
- {n:'Chonk 800',pn:'800G',cap:12800,cost:90000,mo:3000,maxLT:3,maxP:3,ports:36,cls:2,lvl:3,boot:25,slowP:45,chip:'Junipurr PacketOinker™',blurb:tr('An absolute unit with 800G ports, built around the Junipurr PacketOinker™ forwarding chip. Oinks at line rate. Takes 800ZR+ optics.')},
- {n:'Absolute Unit 1.6T',pn:'1.6T',cap:51200,cost:250000,mo:8000,maxLT:5,maxP:4,ports:40,cls:3,lvl:4,boot:40,slowP:60,chip:tr('PacketOinker² (two pigs, one chassis)'),blurb:tr('1.6T ports, its own weather system and two PacketOinker² chips per line card. Takes 6.4T waves as 4×1.6T. Needs a forklift.')},
- {n:'Mikrowtik CCR',pn:'100G',cap:300,cost:4000,mo:150,maxLT:1,maxP:1,ports:16,cls:0,lvl:1,boot:2,slowP:5,badge:'M',chip:tr('a few dozen ARM cores'),blurb:tr('Costs less than lunch and has twice the ports of the Rusty. Configuring it takes longer than the lunch.')},
- {n:'Sonic the Whitebox 32',pn:'400G',cap:3200,cost:14000,mo:400,maxLT:2,maxP:2,ports:32,cls:1,lvl:2,boot:9,slowP:25,flaky:true,badge:'W',chip:tr('Tomahack merchant silicon'),blurb:tr('A bare-metal switch running open-source SONiC. Saves a fortune, until it crashes and there is nobody to call.')},
- {n:'Arrrhipster 7280R',pn:'400G',cap:4800,cost:42000,mo:1300,maxLT:2,maxP:2,ports:48,cls:1,lvl:2,boot:3,slowP:2,badge:'A',chip:tr('Jerry-cho deep-buffer silicon'),blurb:tr('Fixed config, deep buffers, a well-groomed beard and an eyepatch. Runs EOS, the Extensible Operating Ship. Boots before your oat-milk flat white is ready, and ships a Python shell nobody asked for.')},
- {n:'Arrrhipster 7800R',pn:'800G',cap:16000,cost:130000,mo:4200,maxLT:3,maxP:3,ports:96,cls:2,lvl:3,boot:7,slowP:4,badge:'A',chip:tr('Jerry-cho³ deep-buffer silicon'),blurb:tr('The modular one. Ninety-six 800G ports, buffers deep enough to lose a ship in, and a vinyl-only release notes policy. Arrr.')},
- {n:'Disco 8K',pn:'800G',cap:12800,cost:80000,mo:4800,maxLT:3,maxP:3,ports:64,cls:2,lvl:3,boot:20,slowP:35,badge:'D',chip:'Silly-con One',blurb:tr('Cheap to buy, expensive to own: licence keys for every port, every feature and, rumour has it, the fans. Smart Licensing phones home every week.')},
- {n:'Knockia 7750',pn:'1.6T',cap:40000,cost:200000,mo:7000,maxLT:5,maxP:4,ports:56,cls:3,lvl:4,boot:30,slowP:15,badge:'K',chip:tr('Fin-P network processor'),blurb:tr('Finnish engineering: indestructible, extremely thorough, and the CLI only speaks hierarchical config. Boots like a Nordic sunrise.')}
+ {n:'Rusty Router 9000',pn:'100G',cap:400,cost:0,mo:0,maxLT:1,maxP:1,ports:8,cls:0,lvl:1,boot:6,slowP:10,fs:0,chip:tr('a mystery ASIC'),blurb:tr('Bought used on eBuy. The fans sound like a jet engine.')},
+ {n:'Edge Lord 400',pn:'400G',cap:3200,cost:30000,mo:1000,maxLT:2,maxP:2,ports:24,cls:1,lvl:2,boot:11,slowP:20,fs:1,chip:tr('merchant silicon'),blurb:tr('Sharp, edgy, and finally speaks 400G and 400ZR+.')},
+ {n:'Chonk 800',pn:'800G',cap:12800,cost:90000,mo:3000,maxLT:3,maxP:3,ports:36,cls:2,lvl:3,boot:25,slowP:45,fs:2,chip:'Junipurr PacketOinker™',blurb:tr('An absolute unit with 800G ports, built around the Junipurr PacketOinker™ forwarding chip. Oinks at line rate. Takes 800ZR+ optics.')},
+ {n:'Absolute Unit 1.6T',pn:'1.6T',cap:51200,cost:250000,mo:8000,maxLT:5,maxP:4,ports:40,cls:3,lvl:4,boot:40,slowP:60,fs:2,chip:tr('PacketOinker² (two pigs, one chassis)'),blurb:tr('1.6T ports, its own weather system and two PacketOinker² chips per line card. Takes 6.4T waves as 4×1.6T. Needs a forklift.')},
+ {n:'Mikrowtik CCR',pn:'100G',cap:300,cost:4000,mo:150,maxLT:1,maxP:1,ports:16,cls:0,lvl:1,boot:2,slowP:5,badge:'M',fs:1,chip:tr('a few dozen ARM cores'),blurb:tr('Costs less than lunch and has twice the ports of the Rusty. Configuring it takes longer than the lunch.')},
+ {n:'Sonic the Whitebox 32',pn:'400G',cap:3200,cost:14000,mo:400,maxLT:2,maxP:2,ports:32,cls:1,lvl:2,boot:9,slowP:25,flaky:true,badge:'W',fs:1,chip:tr('Tomahack merchant silicon'),blurb:tr('A bare-metal switch running open-source SONiC. Saves a fortune, until it crashes and there is nobody to call.')},
+ {n:'Arrrhipster 7280R',pn:'400G',cap:4800,cost:42000,mo:1300,maxLT:2,maxP:2,ports:48,cls:1,lvl:2,boot:3,slowP:2,badge:'A',fs:2,chip:tr('Jerry-cho deep-buffer silicon'),blurb:tr('Fixed config, deep buffers, a well-groomed beard and an eyepatch. Runs EOS, the Extensible Operating Ship. Boots before your oat-milk flat white is ready, and ships a Python shell nobody asked for.')},
+ {n:'Arrrhipster 7800R',pn:'800G',cap:16000,cost:130000,mo:4200,maxLT:3,maxP:3,ports:96,cls:2,lvl:3,boot:7,slowP:4,badge:'A',fs:2,chip:tr('Jerry-cho³ deep-buffer silicon'),blurb:tr('The modular one. Ninety-six 800G ports, buffers deep enough to lose a ship in, and a vinyl-only release notes policy. Arrr.')},
+ {n:'Disco 8K',pn:'800G',cap:12800,cost:80000,mo:4800,maxLT:3,maxP:3,ports:64,cls:2,lvl:3,boot:20,slowP:35,badge:'D',fs:2,chip:'Silly-con One',blurb:tr('Cheap to buy, expensive to own: licence keys for every port, every feature and, rumour has it, the fans. Smart Licensing phones home every week.')},
+ {n:'Knockia 7750',pn:'1.6T',cap:40000,cost:200000,mo:7000,maxLT:5,maxP:4,ports:56,cls:3,lvl:4,boot:30,slowP:15,badge:'K',fs:2,chip:tr('Fin-P network processor'),blurb:tr('Finnish engineering: indestructible, extremely thorough, and the CLI only speaks hierarchical config. Boots like a Nordic sunrise.')}
];
/* Some routers take forever to boot. Each POP's chassis has a personality per model: most come
back in minutes, a few sit through every line card self-test known to the vendor. */
@@ -1380,7 +1383,7 @@ function scenarioModal(){const wk=weekly(),h=scnHof();let best=null;try{best=JSO
function newGame(name,home){
S={v:1,name,asn:200000+Math.floor(_rand()*15000),home,day:0,cash:START_CASH,
ltv:2,t1v:2,pops:{[home]:{day:0,bb:null,boost:0,down:0,routers:1,gen:false}},links:[],nni:[],transit:[],ixp:{},rs:{},peers:{},pni:[],caches:[],biz:[],offers:[],myIx:{},
- done:{},inc:[],ev:{},priceMul:1,nextFail:45,nextEvent:40,usedNames:[],stats:{survived:0,incidents:0,peak:0},cnLic:{state:'none'},scrubAt:null,ddosFs:false,won:false,lost:false,neg:0,loans:[],loanOffers:[],loanStrikes:0};
+ done:{},inc:[],ev:{},priceMul:1,nextFail:45,nextEvent:40,usedNames:[],stats:{survived:0,incidents:0,peak:0},cnLic:{state:'none'},scrubAt:null,won:false,lost:false,neg:0,loans:[],loanOffers:[],loanStrikes:0};
}
/* ================= HELPERS ================= */
@@ -1601,7 +1604,7 @@ function compute(){
const atk=ev.ddos&&ev.ddos.city===c&&ev.ddos.until>day?ev.ddos:null;
const rtbh=!!(atk&&atk.bh), edge=!!(atk&&TRX&&TRX.blackhole&&!rtbh);
let dd=0;
- if(atk&&!rtbh){let mult=1;if(DDOS_VEC[atk.vec]&&DDOS_VEC[atk.vec].fs&&S.ddosFs)mult=Math.min(mult,0.25);if(S.scrubAt)mult=Math.min(mult,0.15);if(edge)mult=0;dd=atk.gbps*mult;}
+ if(atk&&!rtbh){let mult=1;if(DDOS_VEC[atk.vec]&&DDOS_VEC[atk.vec].fs){const cap=fsAt(atk.city);if(cap)mult=Math.min(mult,FS_RES[cap]);}if(S.scrubAt)mult=Math.min(mult,0.15);if(edge)mult=0;dd=atk.gbps*mult;}
const bh=rtbh||edge;
if(dd>0)for(const n of NETS)flows.push({c,n:n.id,rem:dd*NSH[n.id],junk:true});
if(edge)R2.teBlack+=atk.gbps*0.15+d*0.1;if(rtbh)R2.teBlack+=atk.gbps+d;
@@ -1755,7 +1758,6 @@ function sanitize(s){
s.loans=s.loans.filter(l=>l&&own(BANKS,l.bank));s.loanOffers=s.loanOffers.filter(l=>l&&own(BANKS,l.bank));
s.usedNames=s.usedNames.filter(x=>typeof x==='string');s.log=s.log.filter(e=>e&&typeof e.t==='string').slice(0,30);
if(s.scrubAt&&!isCity(s.scrubAt))s.scrubAt=null;
- s.ddosFs=!!s.ddosFs;
if(s.ev&&s.ev.ddos){const a=s.ev.ddos;
if(!a||typeof a!=='object'||!isCity(a.city)||!own(DDOS_VEC,a.vec))delete s.ev.ddos;
else{a.gbps=num(a.gbps,2);a.until=num(a.until,s.day);a.bh=!!a.bh;a.start=num(a.start,s.day);
@@ -1924,19 +1926,27 @@ function ddosEntry(c){const o=[];
for(const x of ixIdsIn(c))if(S.ixp[x]!==undefined)o.push({k:'ix',lab:tr('{ix} peering',{ix:ixName(x)})});
for(const p of S.pni)if(p.city===c)o.push({k:'p',lab:tr('PNI with {net}',{net:NET[p.net].name})});
return o.length?pick(o):{k:'edge',lab:''};}
+// Flowspec capability of the router in a city: 0 none, 1 basic, 2 full. The flood is filtered where the
+// victim POP's own router has the TCAM for it.
+const fsAt=c=>{const p=S.pops[c];return p?(RG[p.rgen||0].fs||0):0;};
// The NOC's live attack view: what is hitting you, what each tool would do about it right now, and the buttons.
function ddosPanel(){
const a=S&&S.ev&&S.ev.ddos;if(!a||a.until<=S.day||!S.pops[a.city])return '';
- const V=DDOS_VEC[a.vec]||{n:'?',fs:false},fsOn=V.fs&&S.ddosFs,scrOn=!!S.scrubAt;
- let mult=1;if(fsOn)mult=Math.min(mult,0.25);if(scrOn)mult=Math.min(mult,0.15);
- const land=a.bh?0:Math.round(a.gbps*mult);
+ const V=DDOS_VEC[a.vec]||{n:'?',fs:false},cap=fsAt(a.city),scrOn=!!S.scrubAt;
+ const fsRes=V.fs&&cap?FS_RES[cap]:1;
+ let mult=1;if(fsRes<1)mult=Math.min(mult,fsRes);if(scrOn)mult=Math.min(mult,0.15);
+ const land=a.bh?0:Math.round(a.gbps*mult),model=RG[(S.pops[a.city].rgen||0)].n;
+ const fsLine=!V.fs?'— '+tr('Flowspec cannot catch an {vec} (application layer)',{vec:esc(V.n)})
+ :cap>=2?'✓ '+tr('Flowspec on your {model} is dropping {vec} at the edge',{model:esc(model),vec:esc(V.n)})
+ :cap===1?'~ '+tr('Flowspec on your {model} trims {vec}, but its TCAM is small',{model:esc(model),vec:esc(V.n)})
+ :'— '+tr('Your {model} here has no Flowspec TCAM',{model:esc(model)});
let h=`
${tr('Your Network Operations Center. Every notification also lands here. Things fail all the time on the internet. Redundant links and multiple upstreams let traffic reroute by itself.')}
`; h+=`