From 9bf5a970abda036d39d4b653e421140b1b3df4a8 Mon Sep 17 00:00:00 2001 From: fsSnowboard Date: Sat, 12 Jan 2013 22:42:26 -0500 Subject: [PATCH] more games for traffic shaper --- etc/inc/wizardapp.inc | 53 +++++++++++++++++-- .../www/wizards/traffic_shaper_wizard.xml | 46 +++++++++++++++- .../traffic_shaper_wizard_dedicated.xml | 46 +++++++++++++++- .../traffic_shaper_wizard_multi_all.xml | 46 +++++++++++++++- .../traffic_shaper_wizard_multi_lan.xml | 46 +++++++++++++++- 5 files changed, 226 insertions(+), 11 deletions(-) diff --git a/etc/inc/wizardapp.inc b/etc/inc/wizardapp.inc index e6fb1f766d..c15c162218 100644 --- a/etc/inc/wizardapp.inc +++ b/etc/inc/wizardapp.inc @@ -42,7 +42,6 @@ $gamesplist['battlenet'] = array(); $gamesplist['battlenet'][] = array('Battle.NET-diablo2', 'tcp', '4000', '4000', 'both'); //diablo2 $gamesplist['battlenet'][] = array('Battle.NET-game2', 'tcp', '1119', '1119', 'both'); //diablo3, starcraft 2 - $gamesplist['battlefield2'] = array(); /* Battlefield 2 */ $gamesplist['battlefield2'][] = array('BF2-1500-4999', 'udp', '1500', '4999', 'both'); @@ -54,6 +53,30 @@ $gamesplist['battlefield2'] = array(); $gamesplist['battlefield2'][] = array('BF2-29900-29901-TCP', 'tcp', '29900', '29901', 'both'); $gamesplist['battlefield2'][] = array('BF2-27900', 'udp', '27900', '27900', 'both'); $gamesplist['battlefield2'][] = array('BF2-55123-55125', 'udp', '55123', '55125', 'both'); + +$gamesplist['battlefield3'] = array(); + /* Battlefield 3 */ + $gamesplist['battlefield3'][] = array('BF3-1', 'tcp', '9988', '9988', 'both'); + $gamesplist['battlefield3'][] = array('BF3-2', 'tcp', '20000', '20100', 'both'); + $gamesplist['battlefield3'][] = array('BF3-3', 'tcp', '22990', '22990', 'both'); + $gamesplist['battlefield3'][] = array('BF3-4', 'tcp', '17502', '17502', 'both'); + $gamesplist['battlefield3'][] = array('BF3-5', 'tcp', '42127', '42127', 'both'); + $gamesplist['battlefield3'][] = array('BF3-6', 'udp', '3659', '3659', 'both'); + $gamesplist['battlefield3'][] = array('BF3-7', 'udp', '14000', '14016', 'both'); + $gamesplist['battlefield3'][] = array('BF3-8', 'udp', '22990', '23006', 'both'); + $gamesplist['battlefield3'][] = array('BF3-9', 'udp', '25200', '25300', 'both'); + +$gamesplist['battlefieldbc2'] = array(); + /* Battlefield Bad Company 2 */ + $gamesplist['battlefieldbc2'][] = array('BFBC2-1', 'tcp', '18390', '18390', 'both'); + $gamesplist['battlefieldbc2'][] = array('BFBC2-2', 'tcp', '18395', '18395', 'both'); + $gamesplist['battlefieldbc2'][] = array('BFBC2-3', 'udp', '18395', '18395', 'both'); + $gamesplist['battlefieldbc2'][] = array('BFBC2-4', 'tcp', '13505', '13505', 'both'); + +$gamesplist['borderlands'] = array(); + /* Borderlands */ + $gamesplist['borderlands'][] = array('Borderlands-udp', 'udp', '7777', '7777', 'both'); + $gamesplist['borderlands'][] = array('Borderlands-tcp', 'tcp', '7777', '7777', 'both'); $gamesplist['callofduty'] = array(); /* Call Of Duty */ @@ -129,6 +152,11 @@ $gamesplist['farcry2'] = array(); $gamesplist['farcry2'][] = array('FarCry2-tcp', 'tcp', '9000', '9004', 'both'); $gamesplist['farcry2'][] = array('FarCry2-udp', 'udp', '9000', '9004', 'both'); +$gamesplist['farcry3'] = array(); + /* FarCry 3*/ + $gamesplist['farcry3'][] = array('FarCry3-game', 'udp', '9000', '9000', 'both'); + $gamesplist['farcry3'][] = array('FarCry3-punkbuster', 'udp', '10009', '10009', 'both'); + $gamesplist['gunzonline'] = array(); /* GunZ Online */ $gamesplist['gunzonline'][] = array('GunZOnline', 'udp', '7700', '7700', 'both'); @@ -145,6 +173,12 @@ $gamesplist['halo2'] = array(); $gamesplist['halo2'][] = array('Halo2-2', 'udp', '3074', '3074', 'both'); $gamesplist['halo2'][] = array('Halo2-3', 'tcp', '3074', '3074', 'both'); +$gamesplist['leagueoflegends'] = array(); + /* League of Legends */ + $gamesplist['leagueoflegends'][] = array('LeagueofLegends-1', 'udp', '5000', '5500', 'both'); + $gamesplist['leagueoflegends'][] = array('LeagueofLegends-2', 'tcp', '2099', '2099', 'both'); + $gamesplist['leagueoflegends'][] = array('LeagueofLegends-3', 'tcp', '5222', '5223', 'both'); + $gamesplist['lineage2'] = array(); /* Lineage II */ $gamesplist['lineage2'][] = array('Lineage2-2009', 'tcp', '2009', '2009', 'both'); @@ -193,11 +227,24 @@ $gamesplist['playstation3'] = array(); $gamesplist['quakeiii'] = array(); /* quake3 */ $gamesplist['quakeiii'][] = array('quakeiii', 'udp', '27910', '27919', 'both'); + +$gamesplist['quakeiv'] = array(); + /* quake4 */ + $gamesplist['quakeiv'][] = array('quakeiv-server-udp', 'udp', '27650', '27650', 'both'); + $gamesplist['quakeiv'][] = array('quakeiv-server-tcp', 'tcp', '27650', '27650', 'both'); + $gamesplist['quakeiv'][] = array('quakeiv-client-udp', 'udp', '28004', '28004', 'both'); + $gamesplist['quakeiv'][] = array('quakeiv-client-tcp', 'tcp', '28004', '28004', 'both'); + +$gamesplist['starwarstor'] = array(); + /* quake3 */ + $gamesplist['starwarstor'][] = array('StarWarsTOR-1', 'tcp', '8995', '8995', 'both'); + $gamesplist['starwarstor'][] = array('StarWarsTOR-2', 'tcp', '12000', '12999', 'both'); + $gamesplist['starwarstor'][] = array('StarWarsTOR-2', 'tcp', '20000', '30000', 'both'); $gamesplist['steam'] = array(); /* Steam Games */ - $gamesplist['steam'][] = array('steam-game-udp', 'udp', '27000', '27015', 'both'); //america's army 3, cs:s, cs:go, HL2 - $gamesplist['steam'][] = array('steam-game-tcp', 'tcp', '27000', '27015', 'both'); //america's army 3, cs:s, cs:go, HL2 + $gamesplist['steam'][] = array('steam-game-udp', 'udp', '27000', '27030', 'both'); //america's army 3, cs:s, cs:go, HL2, COD: Black Ops, COD: Black Ops 2, Natural Selection 2 + $gamesplist['steam'][] = array('steam-game-tcp', 'tcp', '27000', '27030', 'both'); //america's army 3, cs:s, cs:go, HL2, COD: Black Ops, COD: Black Ops 2, Natural Selection 2 $gamesplist['steam'][] = array('steam-hltv', 'udp', '27015', '27030', 'both'); $gamesplist['steam'][] = array('steam-1', 'udp', '4380', '4380', 'both'); $gamesplist['steam'][] = array('steam-2', 'udp', '1200', '1200', 'both'); diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml index 64b274c6ff..d50926aac3 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard.xml @@ -433,7 +433,7 @@ checkbox Prioritize network gaming traffic This will raise the priority of gaming traffic to higher than most traffic. - ARMA2,BattleNET,Battlefield2,CallOfDuty,Counterstrike,Crysis2,DeltaForce,Dirt3,DOOM3,EmpireEarth,EveOnline,Everquest,Everquest2,FarCry,FarCry2,GunZOnline,HalfLife,Halo2,Lineage2,MechwarriorOnline,Minecraft,OperationFlashpointDR,PlanetSide,PlanetSide2,PlayStation3,QuakeIII,Steam,TigerWoods2004PS2,TribesAscend,UnrealTournament,WolfensteinEnemyTerritory,WorldOfWarcraft,XBox360 + ARMA2,BattleNET,Battlefield2,Battlefield3,BattlefieldBC2,Borderlands,CallOfDuty,Counterstrike,Crysis2,DeltaForce,Dirt3,DOOM3,EmpireEarth,EveOnline,Everquest,Everquest2,FarCry,FarCry2,FarCry3,GunZOnline,HalfLife,Halo2,LeagueofLegends,Lineage2,MechwarriorOnline,Minecraft,OperationFlashpointDR,PlanetSide,PlanetSide2,PlayStation3,QuakeIII,QuakeIV,Steam,StarWarsTOR,TigerWoods2004PS2,TribesAscend,UnrealTournament,WolfensteinEnemyTerritory,WorldOfWarcraft,XBox360 true ezshaper->step6->enable @@ -463,6 +463,24 @@ Battlefield 2 - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. ezshaper->step6->battlefield2 + + Battlefield3 + checkbox + Battlefield 3 - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. + ezshaper->step6->battlefield3 + + + BattlefieldBC2 + checkbox + Battlefield: Bad Company 2 + ezshaper->step6->battlefieldbc2 + + + Borderlands + checkbox + Borderlands + ezshaper->step6->borderlands + CallOfDuty checkbox @@ -535,6 +553,12 @@ Far Cry 2 ezshaper->step6->farcry2 + + FarCry3 + checkbox + Far Cry 3 + ezshaper->step6->farcry3 + GunZOnline checkbox @@ -553,6 +577,12 @@ Halo2 via Xbox live ezshaper->step6->halo2xbox + + LeagueofLegends + checkbox + League of Legends - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. + ezshaper->step6->leagueoflegends + Lineage2 checkbox @@ -601,10 +631,22 @@ Quake III ezshaper->step6->quakeiii + + QuakeIV + checkbox + Quake IV + ezshaper->step6->quakeiv + + + StarWarsTOR + checkbox + StarWars: The Old Republic - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. + ezshaper->step6->starwarstor + Steam checkbox - Steam (Includes: America's Army 3, Counter-Strike: Source, Counter-Strike: Global Offensive, Halflife 2) + Steam (Includes: America's Army 3, Counter-Strike: Source, Counter-Strike: Global Offensive, Halflife 2, COD: Black Ops Series, Borderlands 2, Natural Selection 2, Left 4 Dead Series, Portal 2) ezshaper->step6->steam diff --git a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.xml b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.xml index 7a3d7cacce..b3da36ff93 100755 --- a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.xml @@ -438,7 +438,7 @@ checkbox Prioritize network gaming traffic This will raise the priority of gaming traffic to higher than most traffic. - ARMA2,BattleNET,Battlefield2,CallOfDuty,Counterstrike,Crysis2,DeltaForce,Dirt3,DOOM3,EmpireEarth,EveOnline,Everquest,Everquest2,FarCry,FarCry2,GunZOnline,HalfLife,Halo2,Lineage2,MechwarriorOnline,Minecraft,OperationFlashpointDR,PlanetSide,PlanetSide2,PlayStation3,QuakeIII,Steam,TigerWoods2004PS2,TribesAscend,UnrealTournament,WolfensteinEnemyTerritory,WorldOfWarcraft,XBox360 + ARMA2,BattleNET,Battlefield2,Battlefield3,BattlefieldBC2,Borderlands,CallOfDuty,Counterstrike,Crysis2,DeltaForce,Dirt3,DOOM3,EmpireEarth,EveOnline,Everquest,Everquest2,FarCry,FarCry2,FarCry3,GunZOnline,HalfLife,Halo2,LeagueofLegends,Lineage2,MechwarriorOnline,Minecraft,OperationFlashpointDR,PlanetSide,PlanetSide2,PlayStation3,QuakeIII,QuakeIV,Steam,StarWarsTOR,TigerWoods2004PS2,TribesAscend,UnrealTournament,WolfensteinEnemyTerritory,WorldOfWarcraft,XBox360 true ezshaper->step6->enable @@ -468,6 +468,24 @@ Battlefield 2 - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. ezshaper->step6->battlefield2 + + Battlefield3 + checkbox + Battlefield 3 - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. + ezshaper->step6->battlefield3 + + + BattlefieldBC2 + checkbox + Battlefield: Bad Company 2 + ezshaper->step6->battlefieldbc2 + + + Borderlands + checkbox + Borderlands + ezshaper->step6->borderlands + CallOfDuty checkbox @@ -540,6 +558,12 @@ Far Cry 2 ezshaper->step6->farcry2 + + FarCry3 + checkbox + Far Cry 3 + ezshaper->step6->farcry3 + GunZOnline checkbox @@ -558,6 +582,12 @@ Halo2 via Xbox live ezshaper->step6->halo2xbox + + LeagueofLegends + checkbox + League of Legends - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. + ezshaper->step6->leagueoflegends + Lineage2 checkbox @@ -606,10 +636,22 @@ Quake III ezshaper->step6->quakeiii + + QuakeIV + checkbox + Quake IV + ezshaper->step6->quakeiv + + + StarWarsTOR + checkbox + StarWars: The Old Republic - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. + ezshaper->step6->starwarstor + Steam checkbox - Steam (Includes: America's Army 3, Counter-Strike: Source, Counter-Strike: Global Offensive, Halflife 2) + Steam (Includes: America's Army 3, Counter-Strike: Source, Counter-Strike: Global Offensive, Halflife 2, COD: Black Ops Series, Borderlands 2, Natural Selection 2, Left 4 Dead Series, Portal 2) ezshaper->step6->steam diff --git a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.xml b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.xml index a1a224c142..520e232a45 100755 --- a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.xml @@ -446,7 +446,7 @@ checkbox Prioritize network gaming traffic This will raise the priority of gaming traffic to higher than most traffic. - ARMA2,BattleNET,Battlefield2,CallOfDuty,Counterstrike,Crysis2,DeltaForce,Dirt3,DOOM3,EmpireEarth,EveOnline,Everquest,Everquest2,FarCry,FarCry2,GunZOnline,HalfLife,Halo2,Lineage2,MechwarriorOnline,Minecraft,OperationFlashpointDR,PlanetSide,PlanetSide2,PlayStation3,QuakeIII,Steam,TigerWoods2004PS2,TribesAscend,UnrealTournament,WolfensteinEnemyTerritory,WorldOfWarcraft,XBox360 + ARMA2,BattleNET,Battlefield2,Battlefield3,BattlefieldBC2,Borderlands,CallOfDuty,Counterstrike,Crysis2,DeltaForce,Dirt3,DOOM3,EmpireEarth,EveOnline,Everquest,Everquest2,FarCry,FarCry2,FarCry3,GunZOnline,HalfLife,Halo2,LeagueofLegends,Lineage2,MechwarriorOnline,Minecraft,OperationFlashpointDR,PlanetSide,PlanetSide2,PlayStation3,QuakeIII,QuakeIV,Steam,StarWarsTOR,TigerWoods2004PS2,TribesAscend,UnrealTournament,WolfensteinEnemyTerritory,WorldOfWarcraft,XBox360 true ezshaper->step6->enable @@ -476,6 +476,24 @@ Battlefield 2 - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. ezshaper->step6->battlefield2 + + Battlefield3 + checkbox + Battlefield 3 - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. + ezshaper->step6->battlefield3 + + + BattlefieldBC2 + checkbox + Battlefield: Bad Company 2 + ezshaper->step6->battlefieldbc2 + + + Borderlands + checkbox + Borderlands + ezshaper->step6->borderlands + CallOfDuty checkbox @@ -548,6 +566,12 @@ Far Cry 2 ezshaper->step6->farcry2 + + FarCry3 + checkbox + Far Cry 3 + ezshaper->step6->farcry3 + GunZOnline checkbox @@ -566,6 +590,12 @@ Halo2 via Xbox live ezshaper->step6->halo2xbox + + LeagueofLegends + checkbox + League of Legends - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. + ezshaper->step6->leagueoflegends + Lineage2 checkbox @@ -614,10 +644,22 @@ Quake III ezshaper->step6->quakeiii + + QuakeIV + checkbox + Quake IV + ezshaper->step6->quakeiv + + + StarWarsTOR + checkbox + StarWars: The Old Republic - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. + ezshaper->step6->starwarstor + Steam checkbox - Steam (Includes: America's Army 3, Counter-Strike: Source, Counter-Strike: Global Offensive, Halflife 2) + Steam (Includes: America's Army 3, Counter-Strike: Source, Counter-Strike: Global Offensive, Halflife 2, COD: Black Ops Series, Borderlands 2, Natural Selection 2, Left 4 Dead Series, Portal 2) ezshaper->step6->steam diff --git a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.xml b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.xml index e0afdf8afc..2cf155fb5c 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.xml @@ -497,7 +497,7 @@ checkbox Prioritize network gaming traffic This will raise the priority of gaming traffic to higher than most traffic. - ARMA2,BattleNET,Battlefield2,CallOfDuty,Counterstrike,Crysis2,DeltaForce,Dirt3,DOOM3,EmpireEarth,EveOnline,Everquest,Everquest2,FarCry,FarCry2,GunZOnline,HalfLife,Halo2,Lineage2,MechwarriorOnline,Minecraft,OperationFlashpointDR,PlanetSide,PlanetSide2,PlayStation3,QuakeIII,Steam,TigerWoods2004PS2,TribesAscend,UnrealTournament,WolfensteinEnemyTerritory,WorldOfWarcraft,XBox360 + ARMA2,BattleNET,Battlefield2,Battlefield3,BattlefieldBC2,Borderlands,CallOfDuty,Counterstrike,Crysis2,DeltaForce,Dirt3,DOOM3,EmpireEarth,EveOnline,Everquest,Everquest2,FarCry,FarCry2,FarCry3,GunZOnline,HalfLife,Halo2,LeagueofLegends,Lineage2,MechwarriorOnline,Minecraft,OperationFlashpointDR,PlanetSide,PlanetSide2,PlayStation3,QuakeIII,QuakeIV,Steam,StarWarsTOR,TigerWoods2004PS2,TribesAscend,UnrealTournament,WolfensteinEnemyTerritory,WorldOfWarcraft,XBox360 true ezshaper->step6->enable @@ -527,6 +527,24 @@ Battlefield 2 - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. ezshaper->step6->battlefield2 + + Battlefield3 + checkbox + Battlefield 3 - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. + ezshaper->step6->battlefield3 + + + BattlefieldBC2 + checkbox + Battlefield: Bad Company 2 + ezshaper->step6->battlefieldbc2 + + + Borderlands + checkbox + Borderlands + ezshaper->step6->borderlands + CallOfDuty checkbox @@ -599,6 +617,12 @@ Far Cry 2 ezshaper->step6->farcry2 + + FarCry3 + checkbox + Far Cry 3 + ezshaper->step6->farcry3 + GunZOnline checkbox @@ -617,6 +641,12 @@ Halo2 via Xbox live ezshaper->step6->halo2xbox + + LeagueofLegends + checkbox + League of Legends - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. + ezshaper->step6->leagueoflegends + Lineage2 checkbox @@ -665,10 +695,22 @@ Quake III ezshaper->step6->quakeiii + + QuakeIV + checkbox + Quake IV + ezshaper->step6->quakeiv + + + StarWarsTOR + checkbox + StarWars: The Old Republic - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. + ezshaper->step6->starwarstor + Steam checkbox - Steam (Includes: America's Army 3, Counter-Strike: Source, Counter-Strike: Global Offensive, Halflife 2) + Steam (Includes: America's Army 3, Counter-Strike: Source, Counter-Strike: Global Offensive, Halflife 2, COD: Black Ops Series, Borderlands 2, Natural Selection 2, Left 4 Dead Series, Portal 2) ezshaper->step6->steam