manual.txt 237 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610
  1. =======================================================================
  2. $Id: manual.txt 3335 2008-02-08 11:19:25Z munk $
  3. vim: set comments=fb\:o,fb\:#,fb\:-,fb\:*,fb\:A.,fb\:Q. et tw=72 sw=4:
  4. =======================================================================
  5. /**********************************************************************
  6. Torrentflux-b4rt Reference Manual
  7. **********************************************************************/
  8. Contents:
  9. =========
  10. Introduction
  11. User operations
  12. Working with metadata files (.torrent, .wget, .nzb files)
  13. Uploading metadata (.torrent, .wget, .nzb) files
  14. Uploading individual metadata files from your filesystem
  15. Uploading multiple torrent files from your filesystem
  16. Uploading metadata files from a URL
  17. Downloading metadata files
  18. Searching for torrent files
  19. Working in the search results page
  20. Performing a search
  21. RSS feed torrents
  22. Controlling transfers
  23. Controlling individual transfers
  24. Starting individual transfers in advanced mode
  25. Starting individual transfers in quick mode
  26. Stopping individual transfers
  27. Controlling multiple transfers using the multi-ops feature
  28. Overview
  29. Using multi-ops
  30. Available multi-op operations
  31. Controlling multiple transfers using the bulk-ops feature
  32. Overview
  33. Using bulk-ops
  34. Transfer settings window
  35. Overview
  36. Opening the transfer settings window
  37. Viewing general transfer statistics
  38. Viewing a transfer's hosts
  39. Viewing a transfer's scrape information
  40. Viewing 'at a glance' pie charts of a transfers statistics
  41. Viewing a transfer's log file
  42. Viewing a transfer's metadata details
  43. Viewing the files included in a transfer
  44. Changing settings for a transfer
  45. Starting, stopping and restarting a transfer
  46. Server statistics
  47. Transfer status lights
  48. General frontend 'Good looking' statistics
  49. Viewing detailed server statistics
  50. Drivespace and 'who' statistics
  51. Process statistics
  52. Network connection statistics
  53. Transfer statistics
  54. Opening the server monitor
  55. Viewing an RSS feed of the transfer list
  56. Viewing activity history
  57. Changing the frontend look and feel
  58. Reordering the transfer list
  59. Turning AJAX updates on and off
  60. Turning page refresh on and off
  61. Showing/hiding seeding torrents
  62. Profile management
  63. General
  64. Changing password/theme/language
  65. Changing what to display in the frontend
  66. Deleting torrentflux-b4rt auto login cookies
  67. Resetting user profile to default
  68. External cookie management
  69. Overview
  70. How to obtain cookie information
  71. Adding cookies
  72. Editing cookies
  73. Deleting cookies
  74. Transfer profile management
  75. Overview
  76. Adding transfer profiles
  77. Editing transfer profiles
  78. Deleting transfer profiles
  79. Directory / file manager
  80. Overview
  81. Opening the directory manager
  82. Deleting files and directories
  83. Renaming files and directories
  84. Moving files and directories out of the transfer directory
  85. Making torrents
  86. Downloading files and directories
  87. Streaming movie files using VLC
  88. Viewing NFO files
  89. Extracting archive files (zip/rar files)
  90. Checking the integrity of files using .sfv files
  91. Troubleshooting
  92. Flushing the template cache
  93. Running a maintenance operation
  94. Administration operations
  95. Superadmin
  96. Overview
  97. Controlling bulk transfer operations
  98. Working with processes
  99. Viewing detailed process listings
  100. Force stopping processes
  101. Performing maintenance tasks
  102. Basic transfer maintenance
  103. Killing processes
  104. Cleaning transfer file leftovers and client resources
  105. Repairing problematic installations
  106. Resetting transfer totals, transfer stats and personal
  107. settings
  108. Locking access to the frontend
  109. Backups
  110. Creating a backup
  111. Viewing a backup of transfer data
  112. Viewing log files
  113. Overview
  114. Miscellaneous actions
  115. Viewing a list of installed files and their checksums
  116. Checking software requirements
  117. Checking for updates, news and version info for your
  118. torrentflux-b4rt installation
  119. Checking your version against the latest version available
  120. Viewing news about releases
  121. Viewing the changelog for your release
  122. Listing and verifying checksums of installed files
  123. Configuration
  124. General statistics and information listed on the admin page
  125. Server options (server)
  126. Torrentflux-b4rt path configuration
  127. Binary path configuration
  128. Operating system specific configuration
  129. Transfer client options (transfer)
  130. Overview
  131. BitTorrent specific settings
  132. Fluazu specific settings and operation
  133. Overview
  134. Starting and stopping fluazu
  135. Configuring azureus settings via fluazu
  136. Viewing information about fluazu - logs, processes,
  137. version
  138. Configuring fluazu
  139. Wget specific settings
  140. Nzbperl specific settings
  141. Common settings
  142. Transfer control settings (control)
  143. Overview
  144. Configuration
  145. Web application frontend options (webapp)
  146. Overview
  147. Configuration
  148. Web application index page display options (index)
  149. Overview
  150. Configuration
  151. Directory / File Management options (dir)
  152. Overview
  153. Configuration
  154. Configuring stats.php output options (stats)
  155. Overview
  156. Configuration
  157. Fluxd control and configuration (fluxd)
  158. Controlling fluxd (start/stop/restart)
  159. Setting the database mode to use
  160. Setting the log level to use
  161. Transfer statistics configuration (xfer)
  162. Enabling the display of transfer stats
  163. Updating transfer stats in real time
  164. Allowing all users to view all other users stats
  165. (Re)setting the transfer stats
  166. Setting the first day of the week
  167. Setting the month day on which a month starts
  168. Search engine configuration (search)
  169. Checking for search engine updates
  170. Filtering out unwanted categories from search results
  171. Website link list management (links)
  172. Adding, editing, moving and deleting link items
  173. RSS Feed list configuration (RSS)
  174. Adding, editing and deleting RSS feeds
  175. Activity / Audit / Event viewer (activity)
  176. Filtering items listed in the activity panel
  177. Appendices
  178. Guide to automatically fetching and uploading RSS torrents to torrentflux-b4rt using fluxd
  179. Overview
  180. Configuring the Rssad fluxd module to download torrents
  181. Configuring the Watch fluxd module to inject torrents into torrentflux-b4rt
  182. Starting fluxd
  183. Example Rssad filter patterns
  184. Using fluxcli.php on the command-line
  185. Running fluxcli.php from a cron job to auto fetch RSS feed items
  186. Obtaining statistics using stats.php
  187. Overview
  188. Specifying the type of output to display
  189. Specifying the format of the stats.php output
  190. Configuring stats.php
  191. /**********************************************************************
  192. Introduction
  193. **********************************************************************/
  194. This is the manual for the transfer control client torrentflux-b4rt.
  195. The manual is split into the following sections:
  196. o User operations
  197. - covers day to day basic use of torrentflux-b4rt
  198. o Administration operations
  199. - covers configuration of torrentflux-b4rt and other
  200. operations that require administration rights in
  201. torrentflux-b4rt
  202. o Advanced operations
  203. - covers advanced concepts such as fluxd operation (fetching
  204. rss torrents automatically, watching folders and uploading
  205. new torrents automatically) and running the fluxcli.php
  206. script from the commandline or cron jobs.
  207. For an overview of the capabilities of torrentflux-b4rt and
  208. requirements, installation guide, features and author list, please
  209. see the README, INSTALL and FEATURES files located in the
  210. distribution root folder.
  211. User operations
  212. Working with metadata files (.torrent, .wget, .nzb files)
  213. This section uses the term 'metadata files' to refer
  214. collectively to .torrent, .wget and .nzb files.
  215. Uploading metadata (.torrent, .wget, .nzb) files
  216. Uploading individual metadata files from your filesystem
  217. To upload a metadata file from your filesystem:
  218. 1. Click on the 'Browse...' button next to the
  219. text field labelled 'Select a Metafile for
  220. upload (.torrent, .wget, .nzb):'.
  221. 2. Browse to the location containing the meta
  222. file you want to upload, select the file and
  223. click 'OK'.
  224. 3. Click the 'Go' button next to the 'upload
  225. metafile' text field.
  226. 4. (Optional) To upload and start the transfer
  227. at the same time, select 'Upload+Start' from
  228. the drop-down list next to the filename text
  229. field.
  230. Uploading multiple torrent files from your filesystem
  231. To upload more than one torrent file at a time,
  232. there are two options:
  233. Javascript multi upload method:
  234. 1. Enter the filename of the first torrent in the
  235. filename field.
  236. 2. Click the 'More...' link underneath the filename
  237. text field.
  238. A new filename text field will appear for you to
  239. enter a new file to upload. You can repeat the
  240. above until you have the filenames of all files
  241. you wish to upload. When you're done, click
  242. 'Go' to upload all the files at once.
  243. Multiple Upload page method:
  244. 1. Click on the 'Multiple Upload' link underneath
  245. the 'Select filename for upload' text field.
  246. You will be directed to a new page with a number
  247. of empty filename text fields where you can enter
  248. the names of the files you wish to upload. When
  249. all files are selected, click 'Go' to upload.
  250. In both methods above, you can have the files upload
  251. and start immediately by selecting the correct
  252. option from the drop down list - 'Upload+Start'.
  253. Uploading metadata files from a URL
  254. Metadata files (.torrent, .nzb and .wget files) can
  255. be uploaded directly from a remote URL (http/ftp) to
  256. torrentflux-b4rt. This saves having to download the
  257. file first and then upload it separately.
  258. To upload a metadata file from a remote URL (ie
  259. http://example.com/torrentfile.torrent):
  260. 1. Enter the URL in the text field labelled 'URL
  261. for the Torrent File:'.
  262. 2. Click the 'Go' button next to the text field.
  263. 3. (Optional) To upload and then start the
  264. transfer, select 'Get File+Start' from the
  265. dropdown list next to the URL field.
  266. The same operation can be completed for .wget files
  267. and .nzb files if enabled by the administrator.
  268. Downloading metadata files
  269. Metadata files that have already been uploaded to
  270. torrentflux-b4rt can be downloaded by clicking on the
  271. green down arrow to the left of the transfer list item.
  272. You will be prompted to save the metadata file to disk
  273. or open it with a suitable application if your browser
  274. is configured to handle the metadata file type.
  275. Example:
  276. --------
  277. This feature is useful for when you want to confirm the
  278. integrity of a torrent file that doesn't appear to be
  279. transferring correctly. Just download the file by
  280. clicking the download button and then open the torrent
  281. file in a standalone torrent client.
  282. This way you can see whether the torrent is working as
  283. it should in a different torrent client and verify
  284. whether there is a problem with the client you're using
  285. in torrentflux-b4rt.
  286. Searching for torrent files
  287. Performing a search
  288. To search for a torrent file:
  289. 1. Enter the keywords you wish to search for in the
  290. text field labelled 'Torrent Search:'.
  291. 2. Select the torrent search engine you wish to use
  292. from the dropdown list next to the text box.
  293. 3. Click the 'Search' button.
  294. A search will then be made for the keywords you
  295. entered on the search engine you specified and the
  296. results will be listed.
  297. Click on the name of the torrent in the results list
  298. to download the torrent file directly to
  299. torrentflux-b4rt.
  300. Working in the search results page
  301. The search results page lists all the torrents that
  302. matched the keywords you searched for, including the
  303. following information:
  304. o Torrent name
  305. - password protected downloads are marked
  306. with a bold 'P'
  307. - torrents which require you to register
  308. first before downloading them are marked
  309. with a bold 'R'
  310. o Category
  311. o Size
  312. o Seeds
  313. o Peers
  314. Clicking on the torrent name will download the
  315. torrent to torrentflux-b4rt.
  316. Clicking on a category name will fetch a list of all
  317. torrents in that category from where torrents can be
  318. downloaded by clicking on them.
  319. Seedless transfers can be hidden from the search
  320. result list by clicking on the 'Hide Seedless' link.
  321. RSS feed torrents
  322. The RSS torrents page can be browsed by clicking on the
  323. link 'RSS Torrents' in the middle of the window above
  324. the transfer list/drivespace bar.
  325. An RSS feed item can be downloaded by clicking on it's
  326. name in the RSS feed list page.
  327. If you don't see any feed items on the RSS torrents
  328. page, contact your administrator to get the RSS feeds
  329. added.
  330. Note, the RSS torrents page does not download torrents
  331. automatically using RSS! For this functionality you
  332. must use the Fluxd daemon's Rssad module. See
  333. TODO:rssad_link for information on configuring this.
  334. IMPORTANT:
  335. ----------
  336. If you are unable to download the RSS feed item when you
  337. click on it, make sure that the item you're trying to
  338. download is actually a torrent file and not just a link
  339. to the page that contains the file.
  340. The RSS feed your administrator adds MUST be a 'direct
  341. download' feed. This is a feed of torrent URLs which
  342. can be downloaded directly (instead of having to visit a
  343. 'details' page first and then download the torrent from
  344. that page).
  345. Controlling transfers
  346. Controlling individual transfers
  347. Starting individual transfers in advanced mode
  348. Click the icon with a single white arrow on a green
  349. background - located next to the transfer list item
  350. on the far left of the listing - to open the
  351. advanced start window.
  352. The transfer settings window will open on the
  353. 'Control' page. On this page you can modify a
  354. number of settings before starting the transfer.
  355. Once any modifications to the settings are made,
  356. click 'Run Transfer' to start the transfer running.
  357. To close the settings window after starting the
  358. torrent, check the checkbox named 'Close Window'.
  359. To NOT run a hash check before starting a torrent,
  360. check the checkbox named 'Don't check hashes'. This
  361. is useful for when you have a very large torrent
  362. that you know has been downloaded fully already and
  363. you don't want to spend a long time having the
  364. torrent client rechecking the integrity of the
  365. download before continuing on to seed the torrent.
  366. Note: Skip Hash Check is not supported for "fresh"
  367. transfers. (which have not written any data to the
  368. disk yet)
  369. For full information on changing a transfer's
  370. settings see the section on
  371. TODO_link:changing_transfer settings
  372. Note:
  373. -----
  374. The start advanced icon is only visible if the
  375. torrent has not already started or is not in the
  376. process of stopping. To verify this, look at the
  377. status column in the transfer listing which will
  378. tell you whether the transfer is starting, started,
  379. connecting, seeding, leeching, stopping, stopped or
  380. new.
  381. Starting individual transfers in quick mode
  382. Click the icon with a double white arrow on a green
  383. background - located next to the transfer list item
  384. on the far left of the listing - to start a transfer
  385. in 'quick' mode.
  386. Starting a transfer in quick mode allows you to skip
  387. the advanced settings window. When a Transfer is
  388. resumed, the last used client and settings of this
  389. transfer are used to start it and if it is new one
  390. the default client and settings configured by the
  391. administrator will be used to start the transfer.
  392. (unless the settings are changed on the settings-
  393. page of a transfer prior to starting it)
  394. See the section on TODO_link:transfer_client_options
  395. Stopping individual transfers
  396. Click the icon with a white square on a red
  397. background - located next to the transfer list item
  398. on the far left of the listing - to stop a running
  399. transfer.
  400. Controlling multiple transfers using the multi-ops feature
  401. Overview
  402. The multi-ops feature of torrentflux-b4rt allows you
  403. to perform the same operation on more than one
  404. transfer at a time.
  405. Using multi-ops
  406. 1. Select the transfers from the transfer list that
  407. you want to perform the multi-op on by checking
  408. their checkboxes to the far right of the
  409. transfer list.
  410. Note - to toggle the selection of ALL transfers,
  411. check the checkbox at the bottom of the transfer
  412. list to the far right next to the multi-ops
  413. dropdown list. Unchecking this checkbox will
  414. deselect all transfers.
  415. This can be useful if you have a large list of
  416. transfers and you want to perform a multi-op on
  417. only 90% of the transfers.
  418. 2. Select the type of multi-op you want to perform
  419. on the selected transfers from the drop down
  420. list located under the transfer list to the far
  421. right.
  422. 3. Click the 'Go' button to perform the chosen
  423. multi-op on the selected transfers.
  424. WARNING:
  425. --------
  426. You will NOT be prompted for confirmation to
  427. perform the multi-op so be sure that you really
  428. want to carry out the action before using the
  429. multi-op feature!
  430. Available multi-op operations
  431. The operations that can be performed using multi-ops
  432. are listed below:
  433. o starting and stopping more than one transfer
  434. o deleting transfer metafiles
  435. - ONLY the metafiles are deleted, any transfer
  436. data downloaded will NOT be deleted with this
  437. option.
  438. Choose this option if you have yet to move the
  439. transfer data out of the torrentflux-b4rt data
  440. directory.
  441. o deleting transfer metafiles and data
  442. - delete both the transfer metafile - ie
  443. .torrent file etc - AND the transfer data.
  444. Be careful when using this option, only use it
  445. when you have no more use for the data that
  446. has been downloaded.
  447. o resetting transfer totals
  448. - reset any information stored about how much
  449. data has been transferred for this transfer -
  450. cumulative upload/download totals.
  451. Only use this option if you don't need to know
  452. about how much data has been transferred in
  453. total for a transfer.
  454. o wiping transfers
  455. - deletes any transferred data and resets the
  456. totals for the transfer.
  457. Be careful when using this option, only use it
  458. when you want any transferred data removed.
  459. Controlling multiple transfers using the bulk-ops feature
  460. Overview
  461. A number of actions can be performed on all the
  462. transfer is the transfer list at the same time.
  463. This is quicker than performing the action on each
  464. transfer individually or even by using the multi-ops
  465. feature.
  466. The operations that can be performed in bulk are:
  467. o Start all transfers
  468. o Resume all transfers
  469. o Stop all transfers
  470. 'Start all transfers' will start every single
  471. transfer in the transfer list <b>regardless of
  472. whether they have previously been started or
  473. not</b>.
  474. 'Resume all transfers' will only start those
  475. transfers in the transfer list that have already
  476. previously been started and are currently in the
  477. 'stopped' state.
  478. 'Stop all transfers' stops all currently running
  479. transfers in the transfer list.
  480. The bulk-ops start/resume are safe to use on a
  481. transfer list where some transfers are already
  482. running - only those transfers that aren't currently
  483. running will be started or resumed. A transfer
  484. won't accidentally be started twice!
  485. See also:
  486. TODO_LINK:
  487. Controlling bulk transfer operations
  488. Using bulk-ops
  489. To use the bulk-ops feature, click on the
  490. 'Start/Stop/Resume All Transfers' icon at the bottom
  491. of the transfer list next to the multi-ops dropdown
  492. list. The icons are a white arrow on a green
  493. background, a double white arrow on a green
  494. background and a white square on a red background
  495. respectively for start, resume and stop.
  496. Transfer settings window
  497. Overview
  498. The transfer settings window allows fine grained
  499. control over your transfers and access to detailed
  500. statistics and logs.
  501. The options available in the settings window will
  502. differ according to the type of transfer and the
  503. status of the transfer - if the transfer is
  504. currently running or not.
  505. The transfer settings window is primarily used to
  506. modify the settings of a currently running transfer
  507. 'on the fly' and to view statistics and logging info
  508. for the transfer.
  509. The transfer settings window is also used to modify
  510. the settings of a client / transfer when starting a
  511. transfer in 'advanced mode'. See
  512. TODO_link:'Starting individual transfers in advanced
  513. mode'
  514. Opening the transfer settings window
  515. The transfer settings window can be opened by using
  516. any of the following methods:
  517. o Starting a torrent in 'advanced mode'
  518. TODO_link:'Starting individual transfers in
  519. advanced
  520. o Clicking on a transfer in the transfer list.
  521. The transfer can be in any status - started
  522. or stopped - to use this method.
  523. o Clicking on the 'Transfer Settings' icon to
  524. the far right of the transfer item in the
  525. transfer list.
  526. A number of different 'views' or pages are available
  527. in the transfer settings window, these are covered
  528. below.
  529. Viewing general transfer statistics
  530. The 'Stats' page of the transfer settings window
  531. allows you to view the following information about
  532. your transfer:
  533. o Estimated Time - time until transfer
  534. download is complete.
  535. o Percent Done - percentage of data already
  536. downloaded.
  537. o User - the torrentflux-b4rt owner of this
  538. transfer
  539. o Download Speed - current download speed,
  540. updates every 5 seconds by default.
  541. o Upload Speed - current upload speed,
  542. updates every 5 seconds by default.
  543. o Down - total downloaded during the current
  544. session.
  545. o Up - total uploaded during the current
  546. session.
  547. o Down-Total - total downloaded during all
  548. sessions for this transfer; the cumulative
  549. download total.
  550. o Up-Total - total uploaded during all
  551. sessions for this transfer; the cumulative
  552. upload total.
  553. o Seeds - current number of seeds available
  554. for this transfer, updates every 5 seconds
  555. by default.
  556. o Peers - current number of peers available
  557. for this transfer, updates every 5 seconds
  558. by default.
  559. o Port - current local port being used for this
  560. transfer
  561. o Connections - current number of active
  562. connections for this transfer.
  563. o Sharing - current share ratio for this
  564. transfer, 100% equals same amount uploaded
  565. as downloaded.
  566. o Seed Until - the share ratio at which
  567. seeding should stop. Otherwise known as
  568. 'sharekill' ratio - ie 'stop sharing when
  569. this ratio is reached'
  570. Viewing a transfer's hosts
  571. The 'Hosts' page of the transfer settings window
  572. allows you to view a list of the hosts currently
  573. connected with respect to this transfer.
  574. A host in this list may not necessarily be actively
  575. transferring data to/from us. A host can be
  576. connected and just in the process of negotiating the
  577. transfer of data.
  578. Viewing a transfer's scrape information
  579. The 'Scrape' page of the transfer settings window
  580. allows you to view the number of seeds vs leechers
  581. for the current transfer in the form of a pie chart.
  582. Viewing 'at a glance' pie charts of a transfers statistics
  583. The 'Images' page of the transfer settings window
  584. allows you to view at a glance the total uploaded vs
  585. downloaded and the number of peers vs seeders.
  586. Viewing a transfer's log file
  587. The 'Log' page of the transfer settings window
  588. allows you to view the detailed logging information
  589. for the current transfer.
  590. The transfer log is the first place to look when
  591. troubleshooting a problematic transfer. In it you
  592. will find all the information output from the
  593. transfer client and errors relating to a problem are
  594. often displayed there.
  595. Viewing a transfer's metadata details
  596. The 'Details' page of the transfer settings window
  597. allows you to view detailed meta information about
  598. the current transfer - the transfer filename,
  599. hashing info, details of what files/directories are
  600. included in the transfer, transfer size and the
  601. announce url for torrents.
  602. Viewing the files included in a transfer
  603. The 'Files' page of the transfer settings window
  604. allows you to see what files are included in a
  605. transfer once complete.
  606. Changing settings for a transfer
  607. The 'Settings' page of the transfer settings window
  608. allows you to modify the settings related to the
  609. current transfer.
  610. If a transfer has already started, any changes made
  611. to the settings can be sent to the transfer's
  612. client 'on the fly' by checking the checkbox
  613. labelled 'Send Changes to Client' (set by default if
  614. a transfer is already running). There is no need to
  615. stop the transfer before making changes to a
  616. transfer's settings.
  617. The settings available for a transfer will differ
  618. depending on the client chosen to perform the
  619. transfer. Not all settings are available for all
  620. choices of clients.
  621. Starting, stopping and restarting a transfer
  622. The 'Control' page of the transfer settings window
  623. allows you to start, stop or restart a transfer.
  624. The available options available will differ
  625. depending on the current status of the transfer.
  626. When the transfer is currently stopped, the control
  627. page resembles the 'Settings' page in that all the
  628. settings are available for modification prior to
  629. starting the transfer.
  630. When the transfer is currently running, the control
  631. page is limited to the stopping or restarting of a
  632. transfer.
  633. Server statistics
  634. Transfer status lights
  635. The transfer status light for a transfer is displayed to
  636. the far left of the transfer list. The colour of the
  637. transfer status light determines the current status of
  638. the transfer.
  639. The colours of the transfer status light are as follows:
  640. o Black
  641. - transfer is not running.
  642. o Red
  643. - transfer is running but no seeds are currently
  644. available for the transfer. If this status
  645. persists you should check:
  646. * the transfer log for any errors (see
  647. TODO_link:Viewing transfer log files)
  648. * the torrent's tracker is online
  649. * your firewall is configured to allow
  650. connections to/from the client
  651. * the torrent actually has any seeds available
  652. at all
  653. It is also worth testing that the torrent works
  654. correctly in another torrent client if the red
  655. light status continues, although be sure that the
  656. client you test in does not use Distributed Hash
  657. Tables (DHT or 'trackerless') because this maybe
  658. affect the results of the comparison test.
  659. o Yellow
  660. - transfer is running but there are less than two
  661. seeds available. This can indicate that a torrent
  662. is not well seeded and if this status continues
  663. you may need to find a better seeded torrent or
  664. use a DHT/trackerless enabled client.
  665. o Green
  666. - transfer is running with at least two seeds.
  667. General frontend 'Good looking' statistics
  668. The 'Good looking' statistics are displayed to the top
  669. right of the torrentflux-b4rt frontend and include the
  670. following statistics:
  671. o Download Speed- total download speed for all
  672. running transfers
  673. o Upload Speed - total upload speed for all running
  674. transfers
  675. o Total Speed - total upload + download speed for all
  676. running transfers
  677. o Connections - total network connections for all
  678. running transfers
  679. o Drive Space - total hard disk drive space currently
  680. in use for the filesystem where torrentflux-b4rt
  681. downloads transfers to
  682. o Server Load - current server load averages of the
  683. server. A sustained load average of over 2 in each
  684. of the three readings can be indicative of excessive
  685. server load depending on the server role.
  686. Clicking on any of the links in the 'Good looking'
  687. statistics section will open up the 'Server statistics'
  688. page.
  689. Viewing detailed server statistics
  690. Overview
  691. The server statistics page provides detailed
  692. information on server status, including drivespace,
  693. logged-in users, process, network and transfer usage.
  694. The server statistics page can be opened using the
  695. following methods:
  696. - Clicking on any of the links in the 'Good
  697. looking statistics' section of the frontend.
  698. - Clicking on the 'Server Stats' link above the
  699. drivespace bar towards the middle of the
  700. frontend.
  701. Drivespace and 'who' statistics
  702. This is the default view for the server statistics
  703. page labelled 'all' in the drop down list labelled
  704. 'Type' at the top of the server stats page.
  705. This view provides information about:
  706. o Current drivespace used on the filesystem where
  707. torrentflux-b4rt downloads transfers to. The
  708. output is taken from the Unix command 'df'.
  709. o Currently logged in users on the server - ie
  710. 'real' shell users on the server that
  711. torrentflux-b4rt is installed on. The output is
  712. taken from the Unix command 'w' or 'who'.
  713. Process statistics
  714. This view can be set by selecting 'ps' from the
  715. 'Type' dropdown list on the server stats page.
  716. The view displays information about any currently
  717. running processes for each of the transfer clients
  718. supported by torrentflux-b4rt.
  719. Network connection statistics
  720. This view can be set by selecting 'netstat' from the
  721. 'Type' dropdown list on the server stats page.
  722. The view displays information about any network
  723. connections currently connected for any of the
  724. supported torrentflux-b4rt transfer clients.
  725. Transfer statistics
  726. This view can be set by selecting 'xfer' from the
  727. 'Type' dropdown list on the server stats page.
  728. The view displays transfer statistics - ie amount of
  729. bandwidth used - in a table. Statistics are given
  730. for bandwidth used for each user in total, over the
  731. last month, over the last week and for the current
  732. day.
  733. A detailed breakdown of 'per user' or 'total'
  734. transfer statistics can be viewed by clicking on the
  735. links in the initial transfer stats page. On this
  736. detailed page you can view statistics for any single
  737. day within the last 30 days.
  738. Opening the server monitor
  739. The server monitor can be opened by clicking on the
  740. 'green light on a white background' image above the
  741. drivespace bar towards the middle of the frontend.
  742. The following information is displayed in the server
  743. monitor:
  744. o Download Speed
  745. o Upload Speed
  746. o Total Speed
  747. o Connections
  748. o Drive Space
  749. o Server Load
  750. o Transfers running
  751. o Transfers queued
  752. The server monitor is updated every 5 seconds by default
  753. - update interval can be changed in the (TODO_link:
  754. Setting the server monitor update interval) webapps
  755. admin section.
  756. Viewing an RSS feed of the transfer list
  757. An RSS feed of the transfer list can be displayed by
  758. clicking on the RSS icon (icon with orange background
  759. and white arcs).
  760. The RSS feed can be subscribed to in your feed reader,
  761. allowing another method for monitoring the status of
  762. your transfers.
  763. Viewing activity history
  764. The activity history can be viewed by regular users by
  765. clicking on the 'History' link in the top right
  766. navigation menu.
  767. The activity history page displays information about all
  768. activities performed by the user in the last 30 days.
  769. The history page is a good place to look when
  770. troubleshooting problematic transfers.
  771. Changing the frontend look and feel
  772. Reordering the transfer list
  773. The transfer items in the transfer list are reordered by
  774. clicking on the various transfer list column headers at
  775. the top of the transfer list.
  776. For example, to change the display of transfer list
  777. items so the oldest items are displayed towards the top
  778. of the list, click on the first transfer list column header
  779. (above the transfer status lights) marked with a '#'.
  780. The transfer list reordering options are as follows -
  781. clicking the mentioned column header will toggle the
  782. sorting:
  783. o Order by date transfer added to torrentflux-b4rt
  784. - click column header labelled '#'
  785. o Order by transfer file name alphabetically
  786. - click column header labelled 'Transfer File'
  787. o Order by transfer owner
  788. - click column header labelled 'User'
  789. o Order by transfer size
  790. - click column header labelled 'Size'
  791. o Order by total downloaded
  792. - click column header labelled 'T. Down'
  793. o Order by total uploaded
  794. - click column header labelled 'T. Up'
  795. o Order by transfer status
  796. - click column header labelled 'Status'
  797. o Order by percentage completed
  798. - click column header labelled 'Progress'
  799. o Order by download bandwidth
  800. - click column header labelled 'Down'
  801. o Order by upload bandwidth
  802. - click column header labelled 'Up'
  803. o Order by number of seeders
  804. - click column header labelled 'Seeders'
  805. o Order by number of peers
  806. - click column header labelled 'Peers'
  807. o Order by estimated time left til completion
  808. - click column header labelled 'Estimated Time'
  809. o Order by type of transfer client
  810. - click column header labelled 'C' - client types
  811. are denoted as follows:
  812. B: tornado
  813. T: transmission
  814. M: mainline
  815. A: azureus
  816. W: wget
  817. N: nzbperl
  818. Note:
  819. -----
  820. The 'Enable sortable' feature must be enabled in
  821. the 'index' settings page in the admin section to allow
  822. reordering of transfers.
  823. The columns available in your transfer list may differ
  824. depending on how the administrator has configured the
  825. display of transfer lists. See the section on TODO_LINK
  826. 'Setting the default transfer list columns to display'.
  827. The transfer list columns can also be configured on a
  828. per user basis by modifying the user profile settings if
  829. the administrator has allowed profile management.
  830. See the section on TODO_LINK 'Changing what to display
  831. in the frontend'.
  832. Also see the administration section on TODO_LINK
  833. 'Allowing users to use transfer profiles' for info on
  834. enabling or disabling individual user profile
  835. management.
  836. Turning AJAX updates on and off
  837. The transfer list can be updated automatically using
  838. AJAX (Asynchronous Javascript and XML). To turn on AJAX
  839. updates, click on the link 'Turn ON AJAX-Update' under
  840. the transfer list.
  841. The update text will change to:
  842. 'Next AJAX-Update in xx seconds'
  843. where xx is the countdown in seconds until the next
  844. AJAX update (default 5 seconds). The timer will count down
  845. until it reaches zero, at which point the transfer list
  846. will be refreshed.
  847. To turn off AJAX updates, click on the link 'Next
  848. AJAX-Update in xx seconds' again.
  849. The AJAX update interval can be configured either globally
  850. by the administrator ('index' section of the admin
  851. pages) or individually on a per-user basis in the user's
  852. profile.
  853. Turning page refresh on and off
  854. The main torrentflux-b4rt index page containing the
  855. transfer list can be updated automatically using the
  856. HTML meta refresh method. To turn on page refresh,
  857. click on the link 'Turn ON Page Refresh' under the
  858. transfer list.
  859. The refresh text will change to:
  860. 'Next Page Refresh in xx Seconds'
  861. where xx is the countdown in seconds until the next
  862. refresh (default 60 seconds). The timer will count down
  863. until it reaches zero, at which point the page will be
  864. refreshed.
  865. To turn off automatic page refreshes, click on the link
  866. 'Next Page Refresh in .. Seconds' again.
  867. The refresh interval can be configured either globally
  868. by the administrator ('index' section of the admin
  869. pages) or individually on a per-user basis in the user's
  870. profile.
  871. Note:
  872. -----
  873. Using the page refresh method, the whole page is
  874. reloaded - not just the transfer list. This option is
  875. now largely deprecated in favour of the AJAX update
  876. method, which only updates the transfer list instead of
  877. the whole page and so uses up less bandwidth.
  878. Showing/hiding seeding torrents
  879. Clicking on the 'Hide Seeding Torrents' link under the
  880. transfer list will hide all currently seeding torrents.
  881. This is useful when you have a lot of transfers in the
  882. transfer list that are in the 'Seeding' state that you
  883. don't want to keep an eye on continually.
  884. This feature can be configured either globally in the
  885. 'index' section of the admin pages or on a per user
  886. basis in the user's profile.
  887. Profile management
  888. Overview
  889. The user profile page is available by clicking on the
  890. 'Profile' link in the navigation menu at the top right
  891. of the frontend.
  892. A number of options and settings can be changed on a per
  893. user basis, including general user settings (password,
  894. default theme, language), what is displayed in the
  895. frontend, what cookies to use for cookie enabled sites
  896. and the option to create different transfer profiles for
  897. different transfer situations.
  898. General
  899. Changing password/theme/language
  900. The following items can be changed directly on the
  901. 'Profile' page:
  902. o User name
  903. o Password
  904. o Default Theme
  905. o Language
  906. o Whether to hide offline users on the frontend
  907. Changing what to display in the frontend
  908. A large number of frontend display settings can be
  909. changed on a per user basis. These options are
  910. available under the 'Personal Settings' heading on
  911. the 'Profile' page.
  912. The frontend display options which can be configured
  913. are as follows:
  914. TODO: put links to admin help for each of the
  915. following
  916. o Page Refresh
  917. - Enable/disable page refresh
  918. o Page Refresh Interval
  919. - Number of seconds between page refreshes
  920. o AJAX Update
  921. - Enable/disable AJAX updates
  922. o Page title AJAX Update
  923. - Enable/disable update of page title in AJAX
  924. updates
  925. o User list AJAX Update
  926. - Enable/disable update of the user list in
  927. AJAX Updates
  928. o Transfer List AJAX Update
  929. - Enable/disable update of the transfer list
  930. in AJAX updates
  931. o Silent AJAX Update
  932. - Do not display "Update in Progress..."
  933. during AJAX updates
  934. o AJAX Update Interval
  935. - Number of seconds between AJAX updates
  936. (default: 5)
  937. o Width
  938. - Width in pixels of the index page (default:
  939. 900)
  940. o Display Links
  941. - Display list of links on the index page
  942. o Display Users
  943. - Display users on the index page
  944. o Enable Good Looking Statistics
  945. - Enable/disable "Good looking statistics"
  946. o Good Looking Statistics Settings
  947. - Select Fields shown in "Good looking
  948. statistics"
  949. Available stats to display in good looking
  950. stats panel:
  951. * Download Speed
  952. * Upload Speed
  953. * Total Speed
  954. * Connections
  955. * Drive Space
  956. * Server Load
  957. o Display Bandwidth Bars
  958. - Display bandwidth usage bars
  959. o Bandwidth Bars Style
  960. - Select style of bandwidth bars
  961. o Big Bold Drivespace Warning
  962. - Enable/disable drivespace warning when disk
  963. space low
  964. o Show Seeding Torrents
  965. - Display seeding torrents on index page
  966. o Estimated Time To Seed
  967. - Display the estimated time until transfers
  968. reach seeding cutoff ratio
  969. o Transfer List Sorting
  970. - Enable/disable reordering of transfer list
  971. by clicking on column headings
  972. o Default Transfer List Sort Order
  973. - Select default sort order of transfers in
  974. transfer list
  975. o Transfer List Display
  976. - Select the information to display in the
  977. transfer list
  978. Information columns available for display in
  979. transfer list:
  980. * Owner
  981. * Size
  982. * Total Down
  983. * Total Up
  984. * Status
  985. * Progress
  986. * Down-Speed
  987. * Up-Speed
  988. * Seeds
  989. * Peers
  990. * Estimated Time
  991. * Client
  992. o Default Page In Transfer Settings Window
  993. - Select the default page to display in the
  994. transfer settings window
  995. o Server Stats
  996. - Enable/disable display of server stats on
  997. index page
  998. o Network Connections
  999. - Enable/disable display of total network
  1000. connections
  1001. o Show Server Load
  1002. - Enable/disable display of server load
  1003. averages (1/5/15 min averages)
  1004. o Drivespace Bar Style
  1005. - Select style of drivespace bar
  1006. o Transfer Stats Window Update Method
  1007. - Select method to use to update transfer
  1008. stats window
  1009. o Transfer Stats Window Update Interval
  1010. - Number of seconds between transfer stats
  1011. updates
  1012. o Transfer Hosts
  1013. - Enable/disable display of connected hosts in
  1014. transfer hosts window
  1015. o Server Monitor Update Interval
  1016. - Number of seconds between server monitor
  1017. updates for server monitor update
  1018. Deleting torrentflux-b4rt auto login cookies
  1019. To delete the auto-login cookie used to authenticate
  1020. the current user automatically, click on the link
  1021. 'Delete "Auto-Login" Cookie'.
  1022. When you restart the browser and browse to the
  1023. torrentflux-b4rt frontend, you will be prompted to
  1024. reenter your username and password to login.
  1025. To find out about admin options for configuring
  1026. authentication in torrentflux-b4rt see TODO_LINK:
  1027. 'Setting the authentication type to use'.
  1028. Resetting user profile to default
  1029. Clicking the link 'Reset Personal Settings' will
  1030. reset all customised personal settings to the
  1031. defaults.
  1032. External cookie management
  1033. Overview
  1034. Torrentflux-b4rt can be configured to use HTTP
  1035. cookies when performing any operation that involves
  1036. a HTTP request with a website that requires cookies.
  1037. This is mainly used for downloading torrent files
  1038. from a private tracker that requires you to use
  1039. cookies for authentication.
  1040. The following sections describe how to use external
  1041. cookies with torrentflux-b4rt.
  1042. How to obtain cookie information
  1043. FireFox
  1044. * Tools => Options
  1045. * Cookies => View Cookies
  1046. * Locate the site you want to get cookie
  1047. information from.
  1048. * Copy the cookie values for the variables
  1049. that the site uses.
  1050. Common cookie variables used in torrent sites
  1051. are UID and PASS, although these will differ
  1052. from site to site. See your torrent site FAQ
  1053. or Forum for more info.
  1054. Internet Explorer
  1055. * Tools => Internet Options
  1056. * General => Settings => View Files
  1057. * Locate cookie file for site (eg: Cookie:user@www.host.com/)
  1058. * Open the file in a text editor
  1059. * Grab the values below UID and PASS
  1060. The file will look something like this:
  1061. ------
  1062. userZone
  1063. -660
  1064. www.host.com/
  1065. 1600
  1066. 2148152320
  1067. 29840330
  1068. 125611120
  1069. 29766905
  1070. *
  1071. uid
  1072. 123456 <----------------------------
  1073. www.host.com/
  1074. 1536
  1075. 3567643008
  1076. 32111902
  1077. 4197448416
  1078. 29766904
  1079. *
  1080. pass
  1081. 0j9i8h7g6f5e4d3c2b1a <--------------
  1082. www.host.com/
  1083. 1536
  1084. 3567643008
  1085. 32111902
  1086. 4197448416
  1087. 29766904
  1088. *
  1089. --------
  1090. Adding cookies
  1091. Enter the domain of the website you want to use
  1092. cookies for in the text field labelled 'Host:'.
  1093. Enter the cookie string you want to use in the text
  1094. field labelled 'Data:'.
  1095. Example:
  1096. --------
  1097. If the cookie variables you want to send are:
  1098. o uid with a value set to '99'
  1099. o pass with a value set to 'foobar'
  1100. then the cookie string would look like:
  1101. o uid=99;pass=foobar;
  1102. Once the Host/Data fields are completed, click 'Add'
  1103. to add the cookie.
  1104. The cookie will now be used whenever you perform an
  1105. action that involves an HTTP request with the
  1106. domain.
  1107. Editing cookies
  1108. Click on the 'Edit' icon next to the cookie you want
  1109. to edit. On the resulting page, modify the cookie
  1110. as needed and click 'Update' when finished.
  1111. Deleting cookies
  1112. Click on the 'Delete <domain>' icon next to the
  1113. cookie you want to delete. This will remove the
  1114. cookie from the current user's profile.
  1115. Transfer profile management
  1116. Overview
  1117. The transfer profile management section is found on
  1118. the user's 'Profile' page. Click the link 'Transfer
  1119. Profiles Management' to open the transfer profiles
  1120. management window.
  1121. A transfer profile is a pre-defined set of transfer
  1122. options which are saved under a transfer profile
  1123. name. The transfer profile(s) can then be used at
  1124. a later date when you start a new transfer, saving
  1125. you the effort of having to manually go through each
  1126. of the settings for that transfer tweaking them to
  1127. suit the type of transfer you're performing.
  1128. Example:
  1129. --------
  1130. You use a private torrent tracker that requires you
  1131. keep at least a ratio of 1.05. Rather than manually
  1132. go through the settings each time you start a
  1133. torrent for that private tracker, instead you can
  1134. create a transfer profile with the following
  1135. settings:
  1136. o 'Percentage When Seeding should Stop:' = '105'
  1137. o 'Max upload rate' = 0 - no restriction on upload
  1138. speed
  1139. Now each time you start a new transfer that uses the
  1140. private tracker, just select the profile from the
  1141. transfer settings window - the sharekill ratio
  1142. will automatically be set to 105 and there will be
  1143. no restriction on how fast you upload to leeching
  1144. peers meaning you should meet your ratio of 1.05
  1145. faster.
  1146. Adding transfer profiles
  1147. To add a transfer profile, complete the form on the
  1148. transfer profiles management page and click the
  1149. 'Add' button.
  1150. If you wish the profile to be available to all other
  1151. users, check the 'Public Profile' checkbox.
  1152. Editing transfer profiles
  1153. To edit a transfer profile, click the 'Edit
  1154. <profilename>' icon next to the profile. This will
  1155. load the profile's settings and allow you to modify
  1156. them.
  1157. When you are happy with the changes, click the
  1158. 'Update' button to save the profile.
  1159. Deleting transfer profiles
  1160. To delete a transfer profile, click on the red
  1161. button with a cross on it next to the profile.
  1162. Directory / file manager
  1163. Overview
  1164. The directory manager allows you to work with the files
  1165. and directories within the torrentflux-b4rt download
  1166. directory. Regular users are limited to working with
  1167. the files in their own download folder - administrators
  1168. can access any files in any directory within the master
  1169. download folder.
  1170. A number of different operations can be performed on
  1171. files within the directory manager, including:
  1172. o Deleting files and directories
  1173. o Renaming files and directories
  1174. o Moving files and directories out of the transfer
  1175. directory
  1176. o Making torrents
  1177. o Downloading files and directories
  1178. o Downloading files and directories as tar or
  1179. zip archives
  1180. o Streaming media files using VLC
  1181. o Viewing NFO files
  1182. o Extracting archive files (zip/rar files)
  1183. o Checking the integrity of files using .sfv files
  1184. Permission to perform these operations can be controlled
  1185. globally by the administrator in the administration
  1186. settings pages. TODO_LINK: Directory / File Management
  1187. options (dir)
  1188. Opening the directory manager
  1189. The directory manager can be opened with the following
  1190. actions from the torrentflux-b4rt frontend:
  1191. o Clicking the 'Directory' link in the navigation menu
  1192. at the top right of the screen
  1193. o Clicking the 'Directory List' link in the middle of
  1194. the screen
  1195. o Clicking on the folder icon to the left of a
  1196. transfer in the transfer list
  1197. Once the directory manager is opened, directories can be
  1198. browsed by clicking on folders. To go 'up' a directory,
  1199. click on the link '[Back Parent Directory]'.
  1200. The available actions that can be performed on a file
  1201. are listed to the right of the directory manager. These
  1202. actions will differ depending on the type of file.
  1203. All files within a directory can be selected at the same
  1204. time by checking the checkbox at the bottom right of
  1205. the directory manager. Checking the checkbox again will
  1206. deselect all files.
  1207. Deleting files and directories
  1208. Individual files can be deleted by clicking on the icon
  1209. with a white cross on a red background next to the file.
  1210. Multiple files can be deleted at the same time by first
  1211. selecting all the files you wish to delete and then
  1212. clicking on the cross icon at the bottom right of the
  1213. directory manager next to the 'select all' checkbox.
  1214. You will be prompted for confirmation to delete the
  1215. file(s) after clicking the cross icon.
  1216. Renaming files and directories
  1217. Files and directories can be renamed by clicking on the
  1218. 'Rename File/Folder' icon to the right of the file. A
  1219. window will open asking you to specify the name you wish
  1220. to rename the file/folder to. Complete this form and
  1221. click 'Ok' to rename the file/folder.
  1222. Note:
  1223. -----
  1224. Using this option, files and folder can only be renamed
  1225. within the bounds of the master download directory. To
  1226. move files and folders *out* of the download directory,
  1227. the 'Move File/Folder' action must be used. TODO_LINK:
  1228. Moving files and directories out of the transfer
  1229. directory
  1230. Moving files and directories out of the transfer directory
  1231. Files and directories can be moved out of the master
  1232. transfer directory by clicking on the 'Move File/Folder'
  1233. icon. A window will open asking you to specify the
  1234. destination directory in a drop down list or text box.
  1235. Note:
  1236. -----
  1237. The destination folders for move actions must be
  1238. configured by the administrator. Any destination folders
  1239. configured by the admin will be listed in the 'Move'
  1240. window dropdown box.
  1241. For more info on setting a list of directories to move
  1242. files/folders into, see: TODO_LINK: Setting a list of
  1243. allowed folders to move transferred files into
  1244. Making torrents
  1245. A torrent file can be created for a file or directory by
  1246. clicking on the 'Make Torrent' icon. A window will be
  1247. displayed prompting for the necessary details for the
  1248. torrent:
  1249. o Client - the client you want to use to create the
  1250. torrent file.
  1251. o Torrent name - the filename you wish to give the
  1252. torrent file
  1253. o Announcement URL - the URL of the tracker which will
  1254. be hosting the torrent file. Check your tracker's
  1255. website for info on what to use for this option.
  1256. o Announce List - a list of alternative trackers to
  1257. use for this torrent. This option allows you to
  1258. provide redundancy in the event that one tracker is
  1259. unavailable.
  1260. o Piece size - the size of chunks you wish your
  1261. torrent to be distributed in.
  1262. o Comments - any comments about the content of the
  1263. torrent.
  1264. o Private Torrent - whether or not this torrent is
  1265. private. If private, the DHT / trackerless option
  1266. will be disabled.
  1267. o DHT Support - whether to support Distributed Hash
  1268. Tables for so-called 'trackerless' support. Using
  1269. this option will allow clients with DHT support to
  1270. seek out peers using DHT instead of depending only
  1271. on static tracker servers.
  1272. Torrent file creation will commence when the 'Create'
  1273. button is clicked. If the 'Notify me of completion'
  1274. checkbox is checked, the create torrent window will
  1275. display details of the torrent created once complete.
  1276. When the torrent file is created, it will be displayed in
  1277. the torrentflux-b4rt frontend ready for starting as with
  1278. any other torrent.
  1279. Downloading files and directories
  1280. Files can be downloaded in a web browser by clicking on
  1281. the 'Download' icon to the right of the file in the
  1282. directory manager.
  1283. Complete directories can be downloaded as a tar archive
  1284. by clicking on the 'Download as tar' icon to the right
  1285. of the directory in the directory manager. This action
  1286. will first create a tar archive of the complete
  1287. directory listing and then send this to the web browser
  1288. for download.
  1289. Note:
  1290. -----
  1291. Downloading directories as tar archives can take a
  1292. considerable amount of time if the directory structure
  1293. is very large.
  1294. Streaming media files using VLC
  1295. Audio and Movie files can be streamed in real time from
  1296. the server by clicking on the 'Stream Multimedia (vlc)'
  1297. icon to the right of the file.
  1298. This action will open a window with a form for you to
  1299. specify the details for the streaming action.
  1300. TODO: description of streaming with vlc.
  1301. Viewing NFO files
  1302. NFO files refer to a standard information file that
  1303. contains pertinent information for a distribution or
  1304. download, so-called because the file ends in .nfo.
  1305. These nfo files can be viewed by clicking on the 'View
  1306. nfo file' icon to the right of the file listing in the
  1307. directory manager.
  1308. The following file extensions are considered to be 'nfo'
  1309. files by torrentflux-b4rt: .nfo, .txt, .log
  1310. Extracting archive files (zip/rar files)
  1311. Torrentflux-b4rt supports the extraction of zip and
  1312. rar archive files. To extract an archive file, click on
  1313. the 'Unzip/Unrar' icon to the right of the file listing.
  1314. A window will open prompting you for a password for the
  1315. archive - enter the password here if applicable. If
  1316. there is no password as far as you know, leave the
  1317. password field empty.
  1318. Click 'OK' to extract the archive.
  1319. Note:
  1320. -----
  1321. The extraction process may take a long time to complete
  1322. if the archive is very large. You may close the
  1323. 'Uncompress file' window once it has started, the
  1324. uncompression process should continue in the background
  1325. on the webserver.
  1326. Checking the integrity of files using .sfv files
  1327. SFV or 'simple file verification' files are often used
  1328. by file distributors to check on the integrity
  1329. of transferred files. The sfv signatures on a
  1330. transferred archive can be tested by clicking on the
  1331. 'Check sfv' icon to the left of the directory containing
  1332. the sfv file.
  1333. Troubleshooting
  1334. Flushing the template cache
  1335. Occasionally problems may occur with the templating
  1336. system which make pages display incorrectly. A first
  1337. attempt at fixing this kind of problem is to flush the
  1338. template cache.
  1339. If you are unable to click on the icon, try browsing to
  1340. the following URL:
  1341. http://example.com/superadmin.php?m=35
  1342. replacing 'example.com' with the URL of your
  1343. torrentflux-b4rt installation.
  1344. Alternatively delete the files direct which are located
  1345. inside your main-path-directory:
  1346. /path/to/maindir/.templateCache
  1347. Running a maintenance operation
  1348. Occasionally problems occur whereby the integrity of the
  1349. files that are used to keep track of transfers can
  1350. become corrupted. This problem can lead to a situation
  1351. where torrentflux-b4rt reports that a transfer is
  1352. running when it isn't - or similar problems to this.
  1353. A first attempt at solving this kind of problem is to
  1354. perform a maintenance run from the front end which will
  1355. check the status of the transfer's control files and fix
  1356. any problems if possible.
  1357. To make a maintenance run, click on the 'Maintenance'
  1358. icon located at the bottom of the transfer list near to
  1359. the bulk operations links. The icon is a red and white
  1360. life ring symbol.
  1361. For more thorough maintenance tasks see the section on
  1362. superadmin maintenance tasks
  1363. TODO_LINK: Performing maintenance tasks
  1364. Administration operations
  1365. Superadmin
  1366. Overview
  1367. The superadmin pages are accessible only by the
  1368. superadmin account holder - the administration account
  1369. that is created the first time that torrentflux-b4rt is
  1370. created.
  1371. The superadmin pages are accessed by clicking on the
  1372. 'Superadmin' link on the administration pages - a new
  1373. window will open with the superadmin pages in it.
  1374. The superadmin pages allow you detailed control over the
  1375. following tasks and areas:
  1376. o Transfers - bulk start/stop/resume transfers
  1377. o Processes - view detailed process info; force stop
  1378. transfer processes
  1379. o Maintenance - clean up and maintenance
  1380. o Backup - create backups; download saved backups
  1381. o Log - view logs
  1382. o Misc - test for PHP and Perl requirements; view list
  1383. of installed files
  1384. o About - version checking, updates, news,
  1385. changelog; check installed file integrity
  1386. Be careful when using the superadmin features as many of
  1387. them apply to all torrentflux-b4rt users and not just
  1388. individual users.
  1389. Controlling bulk transfer operations
  1390. The superadmin transfer bulk-ops page allows you to
  1391. operate on multiple transfers at one time. The actions
  1392. are identical to the bulk-ops feature available in the
  1393. frontend.
  1394. The transfer bulk-ops available in the superadmin pages
  1395. are:
  1396. o Stop All Transfers - this option will stop all
  1397. currently running transfers
  1398. o Start All Transfers - this option will start all
  1399. transfers that are currently not running
  1400. o Resume All Transfers - this option will start *only*
  1401. those transfers that have already been previously
  1402. started
  1403. See also:
  1404. TODO_LINK: User operations - Controlling multiple
  1405. transfers using the bulk-ops feature
  1406. Working with processes
  1407. Viewing detailed process listings
  1408. To view a detailed list of currently running
  1409. processes, click on the 'All' link on the
  1410. 'Processes' tab in the superadmin pages.
  1411. A detailed list of all currently running processes
  1412. associated with torrentflux-b4rt will be displayed.
  1413. The output is divided into sections, one for each
  1414. client associated with torrentflux-b4rt.
  1415. Force stopping processes
  1416. Problematic transfers can be forced to stop by using
  1417. the 'Transfers' link on the 'Processes' tab in the
  1418. superadmin pages.
  1419. The 'Transfers' page displays a list of all
  1420. currently running transfers, listing the user the
  1421. transfer belongs to and the transfer file name.
  1422. The transfers in this list can be force stopped by
  1423. clicking on the red icon in the right hand column next
  1424. to the transfer.
  1425. This force stop method sends a SIGKILL signal to the
  1426. process associated with the transfer if it is
  1427. refusing to shutdown graceful in time.
  1428. Performing maintenance tasks
  1429. Basic transfer maintenance
  1430. The 'Main' page of the 'Maintenance' tab in the
  1431. superadmin pages allows you to run maintenance tasks
  1432. on your torrentflux-b4rt installation.
  1433. The available options are:
  1434. o Standard Maintenance Run
  1435. This option is the same as available on the
  1436. index page of the frontend and is automatically
  1437. called on every login.
  1438. The standard maintenance run performs the
  1439. following actions:
  1440. - Checks for stale fluxd PID and socket files
  1441. and removes them if found.
  1442. - Check for any transfers that are marked as
  1443. running but actually aren't running and update
  1444. their status to show them as not running.
  1445. - Update the database so the information stored
  1446. there is in line with the transfer files in
  1447. the filesystem.
  1448. o Extended Maintenance Run
  1449. This option is exactly the same as the standard
  1450. maintenance run, except that any transfers that
  1451. are marked as running but aren't actually
  1452. running are restarted.
  1453. Killing processes
  1454. The 'Kill' link on the 'Maintenance' tab of the
  1455. superadmin pages allows you to kill all processes
  1456. for a given type - PHP, Python, Perl,
  1457. Transmission, Wget, VLC.
  1458. This option will send a KILL signal to all processes
  1459. matching the type you choose.
  1460. NOTE:
  1461. -----
  1462. Be VERY careful when using this option and only use
  1463. it as a last resort or if you really know what you
  1464. are doing.
  1465. The kill signal sent will kill ALL processes of the
  1466. type you specify - for example if you choose to kill
  1467. all PHP processes, every PHP process running on the
  1468. server as the webserver user will be killed, not
  1469. just those related to torrentflux-b4rt!
  1470. If you choose to use this option to kill processes,
  1471. it is advisable to check what processes are running
  1472. first by issuing the following command as root:
  1473. ps aux | grep php
  1474. for example in the case of 'php'. This will give
  1475. you an idea of what PHP processes are currently
  1476. running and you can be sure then that you are only
  1477. going to kill the processes you need to.
  1478. Cleaning transfer file leftovers and client resources
  1479. The 'Clean' linked page on the 'Maintenance' tab of
  1480. the superadmin pages allows you to clean leftover
  1481. transfer pid files, client cache files and
  1482. torrentflux-b4rt's template cache files.
  1483. The actions available are:
  1484. o PID File Clean
  1485. Deletes stale PID files from transfers.
  1486. Any transfers that are currently not running
  1487. should not have a PID file associated with it.
  1488. These stale PID files are deleted using this
  1489. option.
  1490. o BitTornado Clean
  1491. Deletes the BitTornado cache.
  1492. BitTornado uses a cache whilst transferring
  1493. data.
  1494. This option deletes the BitTornado cache.
  1495. o Transmission Clean
  1496. Deletes the Transmission cache.
  1497. Transmission uses a cache whilst transferring
  1498. data.
  1499. This option deletes the Transmission cache.
  1500. o BitTorrent Mainline Clean
  1501. Deletes the BitTorrent Mainline cache.
  1502. BitTorrent Mainline uses a cache whilst
  1503. transferring data. This option deletes the
  1504. BitTorrent Mainline cache.
  1505. o Template Cache Clean
  1506. Deletes the Torrentflux-b4rt template cache.
  1507. Torrentflux-b4rt can be configured to use a
  1508. template cache to speed up display of pages.
  1509. This option deletes the template cache.
  1510. See also:
  1511. TODO_LINK webapp admin config - Enabling
  1512. template caching
  1513. Repairing problematic installations
  1514. The 'Repair' linked page on the 'Maintenance' tab of
  1515. the superadmin pages allows you to perform a
  1516. thorough repair of the torrentflux-b4rt
  1517. installation.
  1518. This option is the same as the basic 'maintenance'
  1519. run - TODO_LINK: superadmin maint etc except that
  1520. this option resets the stat files of any transfers
  1521. and deletes all transfer pids as if they had just
  1522. been newly injected. No transfers are restarted
  1523. using this repair option.
  1524. Generally this option should only be taken as a last
  1525. resort if transfer's refuse to start at all.
  1526. Resetting transfer totals, transfer stats and personal
  1527. settings
  1528. The 'Reset' linked page on the 'Maintenance' tab of
  1529. the superadmin pages allows you to reset the
  1530. transfer totals, transfer statistics and personal
  1531. settings.
  1532. The options available are:
  1533. o Reset Transfer Totals
  1534. Resets the transfer totals - total
  1535. uploaded/downloaded - for each transfer in the
  1536. transfer list.
  1537. Do not use this option if you are trying to keep
  1538. track of your ratio on trackers using the
  1539. transfer totals in the frontend!
  1540. o Reset Xfer Stats
  1541. Resets the transfer statistics.
  1542. All transfer statistics on record are reset
  1543. using this option - how much has been downloaded
  1544. per user over the last day/month/year etc.
  1545. o Reset Personal Settings
  1546. Resets the personal settings of all users.
  1547. All user's personal settings are reset to the
  1548. default values. Be careful using this option as
  1549. all user's profiles are affected.
  1550. Locking access to the frontend
  1551. The 'Lock' linked page on the 'Maintenance' tab of
  1552. the superadmin pages allows you to lock all access
  1553. to the torrentflux-b4rt frontend for non-admin
  1554. users.
  1555. When attempting to browse the frontend, users will
  1556. only see a message informing them the frontend is
  1557. locked.
  1558. Backups
  1559. Creating a backup
  1560. The 'Create Backup' linked page on the 'Backup' tab
  1561. of the superadmin pages allows you to create a
  1562. backup of all files associated with
  1563. Torrentflux-b4rt.
  1564. There are two options for where to store the backed
  1565. up data - decide which is most appropriate for you:
  1566. o Backup on Server - this option will store the
  1567. backup archive on the server inside a folder
  1568. named '.backup' under the main path configured
  1569. in the 'server' tab on the admin pages.
  1570. Archives stored on the server can later be
  1571. viewed in torrentflux-b4rt using the 'Backups
  1572. currently on server' tab on the 'Backup' page of
  1573. the superadmin section.
  1574. o Backup on Client - this option will send the
  1575. backup archive to you in your web browser so you
  1576. can save the backup locally.
  1577. Once you have decided where to save the backup to,
  1578. you can then choose what kind of compression to use
  1579. with the archive.
  1580. There are three compression options to choose from:
  1581. o gzip - this is the default compression setting.
  1582. The archives will be compressed using gzip,
  1583. creating smaller archives. This option is
  1584. faster than bzip2 but slower than 'none'.
  1585. o bzip2 - the archives will be compressed using
  1586. bzip2, creating the smallest possible archives.
  1587. This option is the slowest compression option.
  1588. o none - uses no compression when archiving. The
  1589. archives will be archived using tar only, the
  1590. resulting archive size will be the same as the
  1591. space taken up by the files being archived.
  1592. This is the fastest compression option.
  1593. Select the compression option you want from the
  1594. dropdown list and finally click on the 'Backup'
  1595. button for the location you chose to save to.
  1596. The data that is backed up is as follows:
  1597. o Document root directory structure - all files
  1598. underneath the webserver document root folder
  1599. where you installed Torrentflux-b4rt.
  1600. These files consist of the torrentflux-b4rt web
  1601. application itself.
  1602. o The Transfers folder directory structure - all files
  1603. in the .transfers folder located in the path
  1604. configured in the admin pages 'server' tab.
  1605. The .transfer folder contains all control files
  1606. for the transfers in torrentflux-b4rt - pid,
  1607. stat and log files.
  1608. o The fluxd folder directory structure - all files
  1609. in the .fluxd folder located in the path
  1610. configured in the admin pages 'server' tab.
  1611. The .fluxd folder contains control files for the
  1612. fluxd daemon - pid, socket and log files.
  1613. o The MRTG folder directory structure - all files
  1614. in the .mrtg folder located in the path
  1615. configured in the admin pages 'server' tab.
  1616. The .mrtg folder contains control files for the
  1617. MRTG traffic graphing addon component.
  1618. o The Torrentflux-b4rt database - the database
  1619. used to store information used in the day to day
  1620. running of torrentflux-b4rt.
  1621. An archive is made for each of the options listed
  1622. above and the resulting archives are then archived
  1623. again into a single archive. In the case of the
  1624. filesystem backups, a backup is only made if the
  1625. relevant directory actually exists - so for example
  1626. if no '.mrtg' folder exists, no mrtg backup will be
  1627. made.
  1628. Viewing a backup of transfer data
  1629. Any backups that are created on the server can be
  1630. viewed by clicking on the 'Backups currently on
  1631. server' link on the 'Backup' tab of the superadmin
  1632. pages.
  1633. Any backups created by torrentflux-b4rt on the
  1634. server are listed on the page, including information
  1635. about what version the backup is from, the date the
  1636. backup was created, what compression was used and
  1637. the size of the archive.
  1638. An archive can be downloaded or deleted by clicking
  1639. on the respective icon to the right of the backup
  1640. item in the list.
  1641. Viewing log files
  1642. Overview
  1643. The 'Log' tab on the superadmin pages allows you to
  1644. view the log files for various components of
  1645. torrentflux-b4rt:
  1646. o fluxd - STDOUT logfiles for the torrentflux-b4rt
  1647. fluxd daemon.
  1648. The fluxd logfile contains day to day logging
  1649. information which should be the first place to
  1650. look when attempting to troubleshoot fluxd
  1651. problems, together with the fluxd error log.
  1652. o fluxd-error - STDERR logfiles for the
  1653. torrentflux-b4rt fluxd daemon.
  1654. The fluxd error logfile contains any errors
  1655. encountered in the day to day running of fluxd.
  1656. Essential viewing when troubleshooting fluxd.
  1657. o fluazu - logfiles for the fluazu interface to
  1658. Azureus.
  1659. o BitTorrent Mainline - centralised logfile for
  1660. the BitTorrent Mainline client.
  1661. o Transfers - logfiles for transfers in the
  1662. current transfer list.
  1663. Clicking the 'transfers' logfile link will take
  1664. you to a page containing a list of links to the
  1665. logfiles of all current transfers in the
  1666. transfer list.
  1667. Miscellaneous actions
  1668. Viewing a list of installed files and their checksums
  1669. The 'Lists' linked page on the 'Misc' tab of the
  1670. superadmin pages allows you to view a list of all
  1671. the torrentflux-b4rt files installed and their
  1672. checksums.
  1673. The file list feature displays a list of each file
  1674. under the current document root for the installation
  1675. and the version of each file if found.
  1676. The checksum feature displays a list of each file
  1677. under the current document root for the installation
  1678. and the checksum for each of those files. The
  1679. checksum for a file is unique and when the file
  1680. contents change in any way, the checksum will also
  1681. change. Checksums can therefore be used to
  1682. determine if the contents of a file have been
  1683. changed at some point by comparing the current
  1684. checksum to the checksum of the original file.
  1685. Listing and verifying checksums of installed files
  1686. The 'Checksum Validation' linked page on the 'Misc'
  1687. tab of the superadmin pages allows you to check the
  1688. integrity of the files installed in your
  1689. installation of torrentflux-b4rt against a list
  1690. stored on the torrentflux-b4rt website. This allows
  1691. you to verify whether any of your files have changed
  1692. since you installed them, alerting you to any
  1693. differences.
  1694. The script will analyse the files you have installed
  1695. and provide a detailed report about all
  1696. unchanged/changed/missing/new files.
  1697. Checking software requirements
  1698. The 'Check Requirements' linked page on the 'Misc'
  1699. tab of the superadmin pages allows you to run tests
  1700. to check if your server's software meets the
  1701. requirements for running Torrentflux-b4rt
  1702. successfully.
  1703. The tests are as follows:
  1704. o Check PHP Web Requirements
  1705. Check your PHP web installation meets the
  1706. requirements for web based activities in
  1707. torrentflux-b4rt.
  1708. This test will check that the currently
  1709. installed PHP web component has all the correct
  1710. extensions built in to run torrentflux-b4rt
  1711. correctly.
  1712. o Check PHP CLI Binary Requirements
  1713. Check your PHP commandline binary installation
  1714. meets the requirements for commandline based
  1715. activities in torrentflux-b4rt.
  1716. o Check Perl Requirements
  1717. Check your Perl installation meets the
  1718. requirements for perl based activities in
  1719. torrentflux-b4rt.
  1720. This option will check all perl modules required
  1721. for the correct operation of torrentflux-b4rt
  1722. are installed.
  1723. Checking for updates, news and version info for your
  1724. torrentflux-b4rt installation
  1725. Checking your version against the latest version available
  1726. The 'Version' linked page on the 'About' tab of
  1727. the superadmin pages will display the current
  1728. version of your torrentflux-b4rt installation along
  1729. with information about the current latest version
  1730. available from the torrentflux-b4rt downloads pages.
  1731. This option allows you to see easily whether a new
  1732. version of torrentflux-b4rt is available for
  1733. download.
  1734. Note:
  1735. -----
  1736. When using the SVN version of torrentflux-b4rt,
  1737. details of the latest version are not displayed
  1738. since it is presumed you are using the bleeding edge
  1739. version of the software.
  1740. Viewing news about releases
  1741. The 'News' linked page on the 'About' tab of the
  1742. superadmin pages displays a list of links to the
  1743. news page for each release of torrentflux-b4rt.
  1744. The list of news pages is obtained from the
  1745. torrentflux-b4rt website and so is always up to
  1746. date.
  1747. Viewing the changelog for your release
  1748. The 'Changelog' linked page on the 'About' tab of the
  1749. superadmin pages displays a list of links to the
  1750. changelogs for each release of torrentflux-b4rt.
  1751. This list of changelogs is obtained from the
  1752. torrentflux-b4rt website.
  1753. Configuration
  1754. General statistics and information listed on the admin page
  1755. The default admin page displays statistics about your
  1756. torrentflux-b4rt installation, information about your
  1757. database and other miscellaneous details about your OS
  1758. and PHP installation.
  1759. The information displayed is as follows:
  1760. o Torrentflux-b4rt Stats:
  1761. * Transfers - current number of transfers in the
  1762. transfer lists for all users
  1763. * Users - number of users registered to use
  1764. torrentflux-b4rt
  1765. * Hits - number of accesses of torrentflux-b4rt
  1766. pages
  1767. * Logs - number of log entries in the database
  1768. * Links - number of links in the link manager
  1769. database
  1770. * RSS - number of RSS torrent feeds available in
  1771. the frontend
  1772. * Messages - number of private messages stored in
  1773. the database
  1774. * Cookies - number of cookies stored in the
  1775. database for all users
  1776. * Transfer Profiles - number of transfer profiles
  1777. stored for all users
  1778. * Search-Engines - number of search engines
  1779. available for use
  1780. * Themes - number of frontend themes available for
  1781. use
  1782. * Languages - number of languages supported
  1783. * Docroot Disk Usage - current disk space usage
  1784. for the torrentflux-b4rt installation on the
  1785. webserver
  1786. * Version - current active version of this
  1787. torrentflux-b4rt installation
  1788. The following superadmin pages can also be opened from
  1789. the tf-b4rt stats column if logged in as a
  1790. superadmin:
  1791. * Transfer Bulk Ops
  1792. * Processes
  1793. * Maintenance
  1794. * Backup
  1795. * Log
  1796. * Misc
  1797. * About
  1798. See the manual section on TODO_LINK: Superadmin
  1799. Operations for more info on these items.
  1800. o Database Details
  1801. * Type - the type of database currently being used
  1802. * Host - the fully qualified domain name of the
  1803. database host
  1804. * Name - the name of the database being used with
  1805. this installation
  1806. * Username - the username used to access the database
  1807. * Persistent Connection - whether or not
  1808. persistent connections are used to connect to
  1809. the database
  1810. o Other Stats
  1811. * OS - the type of operating system this
  1812. installation is installed on
  1813. * PHP-Version - the version of PHP used by the web
  1814. component on this webserver
  1815. * sessions - whether or not session support is built
  1816. into PHP (required)
  1817. * pcre - whether or not Perl Compatible Regular
  1818. Expression support is built into PHP (required)
  1819. * sockets - whether or not socket support is built
  1820. into PHP (required for fluxd)
  1821. * safe_mode - whether PHP is running in safe mode
  1822. or not (must be off)
  1823. * allow_url_fopen - whether PHP allows the fopen
  1824. function to operate with remote URLs (must be
  1825. on)
  1826. * register_globals - whether variables are
  1827. registered globally in PHP (must be off)
  1828. * imagetypes - the image types supported by GD; GD
  1829. support must be built into PHP and at least one
  1830. of GIF, JPEG or PNG image types must be
  1831. supported for image-display (pies, captcha).
  1832. The following software requirement checks can also
  1833. be run from the 'Other Stats' column if logged in as
  1834. a superadmin:
  1835. * Check PHP-Web
  1836. * Check PHP-CLI
  1837. * Check Perl
  1838. See the manual section on TODO_LINK: 'Superadmin
  1839. Operations - Checking software requirements' for
  1840. more info on these items.
  1841. Server options (server)
  1842. Torrentflux-b4rt path configuration
  1843. The following paths must be configured for
  1844. torrentflux-b4rt to operate correctly:
  1845. o Transfer Parent Path
  1846. The main torrentflux-b4rt parent path (<path>).
  1847. This directory is used to store all files used
  1848. in the day to day operation of torrentflux-b4rt.
  1849. The folder must be writable by the webserver
  1850. user and ideally owned by the webserver user.
  1851. Files and folders stored/used by the parent path
  1852. include:
  1853. * Storage for downloaded transfers:
  1854. Content downloaded by torrentflux-b4rt will
  1855. be downloaded into <path>/<username> if the
  1856. use of home directories is enabled.
  1857. If home directories are not enabled,
  1858. downloaded content will be saved instead
  1859. into the path specified by the 'Incoming'
  1860. path instead. See TODO_LINK: Admin/Server
  1861. section on 'Home Directories'
  1862. * Transfer control files
  1863. Files used internally by torrentflux-b4rt to
  1864. control the download of individual transfers
  1865. are stored in the <path>/.transfers folder.
  1866. These files include:
  1867. o .stat files - a stat file is created
  1868. when a transfer is injected into
  1869. torrentflux-b4rt.
  1870. The stat file is updated when a transfer
  1871. is running with information such as how
  1872. much data has been transferred, what
  1873. percentage of the transfer has
  1874. completed, how many seeds/peers the
  1875. transfer has and other items of
  1876. information.
  1877. The stat file is then read by the
  1878. torrentflux-b4rt internals to display
  1879. the status of the transfer in the
  1880. frontend.
  1881. o .pid files - a pid file (process id
  1882. file) is created when a transfer is
  1883. started. The file contains the process
  1884. id number of the transfer's process.
  1885. The pid file is used as an indication of
  1886. whether or not a transfer is running and
  1887. to forcefully stop the transfer in the
  1888. event that it becomes uncontrollable for
  1889. some reason.
  1890. o .log files - a log file is created for
  1891. each transfer when the transfer is
  1892. started. The logfile contains
  1893. information specific to that transfer as
  1894. it runs over time.
  1895. o .cmd files - a cmd file is created when
  1896. torrentflux-b4rt has to send a command
  1897. to a running transfer. The transfer's
  1898. client polls the .transfer folder
  1899. regularly for new cmd files and if it
  1900. finds one, it will read the command from
  1901. the cmd file and act upon it.
  1902. The lifetime of a cmd file should be
  1903. very short since the file is deleted as
  1904. soon as the command is executed.
  1905. * Client cache files
  1906. Cache files used by BitTorrent Mainline,
  1907. Transmission and BitTornado are stored in
  1908. the .bittorrent, .BitTornado and
  1909. .transmission folders under <path>.
  1910. * Fluxd control files
  1911. Files used for the control of fluxd are
  1912. contained in the <path>/.fluxd directory.
  1913. Files include:
  1914. o fluxd-error.log - any error output from
  1915. fluxd
  1916. o fluxd.log - standard output from fluxd
  1917. o fluxd.pid - process id of currently
  1918. running fluxd service
  1919. o fluxd.sock - socket file used to
  1920. communicate with fluxd
  1921. Additional directories may be created under
  1922. the .fluxd directory for use by the fluxd
  1923. modules, particularly the Qmgr and Rssad
  1924. modules.
  1925. * Fluazu control files
  1926. Files used for the control of the fluazu
  1927. component of torrentflux-b4rt.
  1928. * Torrentflux-b4rt template cache files
  1929. If template caching is used to display the
  1930. frontend HTML, template cache files are
  1931. stored in the <path>/.templateCache folder.
  1932. * RSS cache files
  1933. If RSS feeds are added via the RSS admin
  1934. page, a cache of the feeds is stored in
  1935. <path>/.rsscache. This speeds up display of
  1936. RSS feed contents in the frontend and takes
  1937. the strain off the remote server where the
  1938. RSS feed is fetched from.
  1939. o Document Root Path
  1940. The Document Root path of the installation.
  1941. The folder must be readable by the webserver user.
  1942. This is the directory where you installed
  1943. torrentflux-b4rt on the webserver and it should
  1944. be detected/reported automatically by
  1945. torrentflux-b4rt.
  1946. Binary path configuration
  1947. Torrentflux-b4rt integrates with many third party
  1948. applications to make performing operations on
  1949. transferred files seamless from the frontend.
  1950. For this integration to work, the associated
  1951. applications must of course be installed correctly
  1952. first. For the best results you should use the
  1953. distribution management system for your particular
  1954. operating system to install the applications - apt,
  1955. rpm, etc on linux, the ports systems on BSD.
  1956. Once the applications required are installed, the
  1957. paths to the binaries must be set correctly on the
  1958. server admin page for the integration of that
  1959. application to work correctly.
  1960. There are various methods to find the location of
  1961. the binary on the server:
  1962. o Use 'which':
  1963. The 'which' command can be executed in a shell
  1964. to display the full path to an application if it
  1965. exists:
  1966. shell> which unrar
  1967. /usr/local/bin/unrar
  1968. o Using 'locate':
  1969. The 'locate' utility allows you to search
  1970. quickly for files on your server containing a
  1971. string you specify:
  1972. shell> locate unrar
  1973. /usr/local/bin/unrar
  1974. /usr/local/share/doc/unrar
  1975. /usr/local/share/doc/unrar/license.txt
  1976. -snip-
  1977. Note: you must have a locate database built to
  1978. be able to use the locate command. See the
  1979. manpage for locate on your system - 'man
  1980. locate'.
  1981. o Using your package management system:
  1982. Most package management systems include a
  1983. utility that can describe what files are
  1984. installed by a package.
  1985. For example on FreeBSD, the 'pkg_info' utility
  1986. can be used with the -L switch to describe what
  1987. files are installed by a package:
  1988. shell> pkg_info -L unrar-3.70.b7,4
  1989. Information for unrar-3.70.b7,4:
  1990. Files:
  1991. /usr/local/bin/unrar
  1992. /usr/local/share/doc/unrar/license.txt
  1993. /usr/local/share/doc/unrar/readme.txt
  1994. The following binary paths are configured on the
  1995. server admin page:
  1996. o transmissioncli
  1997. Transmission is a torrent client which can be
  1998. used as an alternative to bittorrent or
  1999. bittornado. Release-Tarballs include a cli-
  2000. version of transmissioncli written to be used
  2001. with torrentflux-b4rt. This version has only
  2002. some additions specific to tfb-operation and
  2003. is using an unmodified "libtransmission".
  2004. (exact version of libtransmission can be found
  2005. in the file transmission.revision or in help-
  2006. page of transmissioncli)
  2007. The modified transmission source can be
  2008. found in the 'clients/transmission' folder -
  2009. once extracted, build and install it to your
  2010. desired location.
  2011. It must be built and installed on
  2012. the system on which you are running it before it
  2013. can be used.
  2014. o wget
  2015. Wget transfers can be controlled using
  2016. torrentflux-b4rt.
  2017. o uudeview
  2018. uudeview is required for the operation of the
  2019. nzbperl component of torrentflux-b4rt.
  2020. o php
  2021. This is the commandline (cli) PHP binary, not to be
  2022. confused with the PHP web installation! You
  2023. must have a working cli php binary for many
  2024. features of torrentflux-b4rt to work correctly.
  2025. Note that the php cgi binary WILL NOT work as a
  2026. replacement to the php cli binary.
  2027. On most OS's, the package management system will
  2028. allow you to install a php cli binary as well as
  2029. a web based php component (mod_php/php cgi
  2030. binary). See your package management package
  2031. database for info.
  2032. o python
  2033. Python is used by the BitTorrent and BitTornado
  2034. torrent clients and is requisite for the most basic
  2035. operation of torrentflux-b4rt as a torrent
  2036. controller.
  2037. There are various additional python related
  2038. dependencies required for BitTorrent to work
  2039. fully, see the README file in the
  2040. torrentflux-b4rt distribution root directory for
  2041. more info.
  2042. o perl
  2043. Perl is used by various features in
  2044. torrentflux-b4rt. There are various perl
  2045. related dependencies required for these features
  2046. to work fully, see the README file in the
  2047. torrentflux-b4rt distribution root directory for
  2048. more info.
  2049. o grep
  2050. Basic userland binary that is included in most
  2051. modern Unix type OS's.
  2052. o awk
  2053. Basic userland binary that is included in most
  2054. modern Unix type OS's.
  2055. o du
  2056. Basic userland binary that is included in most
  2057. modern Unix type OS's.
  2058. o unzip
  2059. Unzip is used in the directory manager frontend
  2060. in torrentflux-b4rt for extracting zip archives
  2061. on the server. Unzip can be found in most
  2062. package management systems on Unix type systems.
  2063. o cksfv
  2064. cksfv is used in the directory manager frontend
  2065. in torrentflux-b4rt for checking the integrity
  2066. of transferred content against an included .sfv
  2067. file. Cksfv can be found in most package
  2068. management systems on Unix type systems.
  2069. o vlc
  2070. VLC can be used to stream avi content directly
  2071. from the torrentflux-b4rt server where the
  2072. content is located. VLC can be found in most
  2073. package management systems on Unix type systems.
  2074. o unrar
  2075. Unrar is used in the directory manager frontend
  2076. in torrentflux-b4rt for extracting zip archives
  2077. on the server. Unrar can be found in most
  2078. package management systems on Unix type systems.
  2079. Operating system specific configuration
  2080. There are a small number of applications that are
  2081. specific to different operating systems -
  2082. applications that only exist on one type of OS.
  2083. The OS specifics, by OS, are as follows:
  2084. o Linux:
  2085. * loadavg
  2086. Used to determine server load average for
  2087. display in torrentflux-b4rt frontend stats.
  2088. * netstat
  2089. Used to determine network connection stats for
  2090. display in torrentflux-b4rt frontend.
  2091. netstat is a native app on Linux and the
  2092. path should be detected automatically.
  2093. o BSD:
  2094. * sockstat
  2095. Used to determine network connection stats for
  2096. display in torrentflux-b4rt frontend.
  2097. sockstat is a native app on BSD and the path
  2098. should be detected automatically.
  2099. The reason for the requirement of sockstat
  2100. on BSD instead of netstat is that the
  2101. functionality of BSD's netstat does not work
  2102. identically to that of Linux's netstat.
  2103. Sockstat instead returns the information
  2104. required by torrentflux-b4rt correctly.
  2105. Transfer client options (transfer)
  2106. Overview
  2107. The transfer admin page allows you to configure
  2108. options for various transfer clients in
  2109. torrentflux-b4rt. Since there are various clients
  2110. supported in torrentflux-b4rt, the transfer admin
  2111. section is split into subsections for each 'type' of
  2112. client - bittorrent, azureus (a special case of
  2113. bittorrent in torrentflux-b4rt), wget, nzbperl and
  2114. other settings common to all transfers.
  2115. In the admin section, a legend or key is used to
  2116. refer to each type of client. The legend is as
  2117. follows:
  2118. B = BitTornado
  2119. T = Transmission
  2120. M = Bittorrent Mainline
  2121. A = Azureus
  2122. The client type that a setting applies to on the
  2123. transfer admin page is indicated in brackets, so for
  2124. example if a certain setting applies only to
  2125. BitTorrent Mainline and BitTornado, the setting will
  2126. have the following after it:
  2127. (B + M)
  2128. where B represents BitTornado and M represents
  2129. Mainline.
  2130. Keep this in mind when configuring settings on the
  2131. transfer admin page.
  2132. BitTorrent specific settings
  2133. The BitTorrent specific settings are as follows:
  2134. o Default BitTorrent Client
  2135. Set the client to use by default to start
  2136. torrent transfers.
  2137. This option determines which bittorrent client
  2138. should be used by default when torrents are
  2139. started.
  2140. o Torrent Metainfo Client
  2141. Set the client to use to decode torrent meta data.
  2142. This option determines which metainfo client is
  2143. used to display information encoded within a
  2144. .torrent file. This information is displayed
  2145. primarily in 'details' tab of the transfer
  2146. settings window for a torrent specific transfer.
  2147. o Extra Commandline Options (B+T+M)
  2148. This option allows you to specify any additional
  2149. commandline options for the BitTornado/Mainline
  2150. or Transmission clients that aren't covered
  2151. elsewhere in the torrentflux-b4rt transfer admin
  2152. settings page.
  2153. o Max Upload Rate (B+T+M+A)
  2154. Set the default value for the max upload rate
  2155. per transfer (0 for no limit).
  2156. This option allows you to set a global default
  2157. for the maximum upload rate in kB/sec.
  2158. Note:
  2159. -----
  2160. This limit applies only to individual transfers,
  2161. so if you set a maximum upload rate here of 10
  2162. and you have 5 torrents running in
  2163. torrentflux-b4rt, potentially your total maximum
  2164. upload rate will be 50 kB/sec.
  2165. o Max Download Rate (B+T+M+A)
  2166. Set the default value for the max download rate
  2167. per transfer (0 for no limit).
  2168. This option allows you to set a global default
  2169. for the maximum download rate in kB/sec.
  2170. Note:
  2171. -----
  2172. As with the upload rate - this limit applies
  2173. only to individual transfers, so if you set a
  2174. maximum download rate of 10 and you have 5
  2175. torrents running in torrentflux-b4rt,
  2176. potentially your total maximum download rate
  2177. will be 50 kB/sec.
  2178. o Max Upload Connections (B+M)
  2179. Set the default value for the max number of
  2180. upload connections per transfer (0 for no
  2181. limit).
  2182. This option determines how many concurrent
  2183. upload connections a single torrent process
  2184. will initiate.
  2185. This option can be useful if you have a large
  2186. number of torrents running and need to restrict
  2187. the number of open sockets you use.
  2188. o Max Connections (B+M)
  2189. Set the maximum number of concurrent connections
  2190. allowed.
  2191. This option determines the total concurrent
  2192. connections for both upload and download.
  2193. Again, this is useful if you need to restrict
  2194. the total number of network connections to/from
  2195. your machine due to resource limitations.
  2196. o Port Range (B+T+M)
  2197. Set the default values for the for port range
  2198. (min - max).
  2199. Note:
  2200. -----
  2201. One port is required per torrent; ensure
  2202. the port range is large enough for the maximum
  2203. number of torrents you will be running.
  2204. The port range you set here should be allowed
  2205. by any firewall you use, either on the server
  2206. itself or at the network perimeter (ie on your
  2207. modem router).
  2208. As mentioned, be sure to make the port range
  2209. large enough for your needs. One port is
  2210. required for each transfer that you run, so if
  2211. you run 10 torrents be sure to set the port
  2212. range minimum and maximum at least 10 ports
  2213. apart.
  2214. When choosing Azureus as transfer-client the
  2215. port-setting has no affect. Azureus uses a
  2216. single port set in the used Azureus-Server.
  2217. o Rerequest Interval (B+M)
  2218. Set the default value for the rerequest interval
  2219. to the tracker (default 1800 seconds).
  2220. This setting allows you to control how
  2221. frequently the torrent client will contact the
  2222. torrent tracker with updates about how much data
  2223. has been transferred and other information
  2224. related to the transfer.
  2225. Be careful when changing this value as it puts
  2226. extra load onto the remote server running the
  2227. tracker.
  2228. o Default Torrent Completion Activity (B+T+M+A)
  2229. Select whether or not a torrent should keep
  2230. seeding when download is complete (please seed
  2231. your torrents).
  2232. This setting allows you to control what happens
  2233. when a torrent has finished downloading all the
  2234. data you requested. Setting it to 'die when
  2235. done' will have the torrent stop after it's
  2236. completed; 'keep seeding' will carry on seeding
  2237. until you reach the percentage ratio you specify
  2238. for the torrent to stop (see below).
  2239. Please bear in mind it is generally considered
  2240. polite to continue seeding until you at least
  2241. meet a 100% / 1:1 ratio for a torrent - ie when
  2242. you have uploaded as much as you have
  2243. downloaded.
  2244. o Default Percentage When Seeding Should Stop
  2245. (B+T+M+A)
  2246. Set the default share percentage at which
  2247. torrents will die if 'Keep Seeding' is selected
  2248. as completion activity above ('0' will seed
  2249. forever).
  2250. This setting is only applicable when 'Keep
  2251. Seeding' is specified as the default action to
  2252. take when a torrent is completed.
  2253. The option determines at what percentage sharing
  2254. ratio a transfer should stop. For example if
  2255. you set this to 200 (percent), then the torrent
  2256. will continue seeding after it completes until
  2257. you have uploaded twice as much as you
  2258. downloaded.
  2259. This option is very useful for private trackers
  2260. who require that you maintain a certain minimum
  2261. sharing ratio. If for example the default
  2262. minimum share ratio to maintain 'power user' level
  2263. on a particular tracker is 1.05 you can ensure that
  2264. this ratio is kept up by using the 'default
  2265. percentage when seeding should stop' option and set
  2266. it to 105 (percent).
  2267. o Enable Cumulative Sharekill (B+T+M+A)
  2268. Recalculate the sharekill value passed to
  2269. clients on restart based on the total amount
  2270. uploaded - ie including previous sessions
  2271. transfer totals.
  2272. This option allows you to keep track of your
  2273. sharing ratio over a number of transfer sessions
  2274. for a given transfer.
  2275. For example, you start a torrent and it reaches
  2276. a 50% sharing ratio and then you stop it.
  2277. Without 'enable cumulative sharekill', if you
  2278. restart the torrent the ratio will drop back
  2279. down to 0% again and you will have lost track of
  2280. how much you have seeded the torrent over the
  2281. two sessions.
  2282. Instead, if cumulative sharekill is enabled,
  2283. when restarted the torrent will display 50% - ie
  2284. the amounts transferred in the last session are
  2285. remembered.
  2286. o Enable File Priority (B)
  2287. Allow users to select which files from a torrent
  2288. to download.
  2289. This option allows your users to be able to pick
  2290. out individual files from a torrent and have
  2291. only those files download.
  2292. This can be very useful for example when you
  2293. have a torrent for a complete season of a show
  2294. but you only want to grab the first 2 episodes.
  2295. By using file prioritization you can do just
  2296. that, grab only the individual files you want.
  2297. o Superseeder (B)
  2298. Set superseeder setting on torrent start by
  2299. default.
  2300. This option determines if the superseeder
  2301. setting is on by default for all torrents that
  2302. are started.
  2303. Superseeding is an optimisation concept that
  2304. allows pieces of a torrent to be uploaded
  2305. quickly and efficiently using as little
  2306. bandwidth as possible *when initially seeding a
  2307. torrent*.
  2308. For general seeding - ie when you are not the
  2309. initial seeder - superseeding definitely should
  2310. not be used.
  2311. See:
  2312. http://www.bittornado.com/docs/superseed.txt
  2313. for more info.
  2314. o Skip HashCheck (B+M)
  2315. Skip hash checking by default when starting
  2316. torrents.
  2317. This option allows you to skip hash checking
  2318. when torrents are started up.
  2319. Generally a client will run a hash check on
  2320. downloaded data to verify the integrity of
  2321. it whenever the torrent is restarted. However
  2322. by using this option you can disable this
  2323. checking.
  2324. This option can be useful when you are seeding
  2325. many large torrents whose content you are
  2326. certain has not changed and you need to restart
  2327. them all for some reason (after a server reboot
  2328. for example) but don't want to go through the
  2329. time consuming process of having hash checking
  2330. performed on each and every torrent. Disabling
  2331. hash checking will speed up the restart process
  2332. here and get the torrents all seeding quickly.
  2333. *However*, generally you should NOT disable hash
  2334. checking.
  2335. Fluazu specific settings and operation
  2336. Overview
  2337. The fluazu settings page is accessed by clicking
  2338. on the 'Edit Fluazu Settings' link on the
  2339. 'transfer' admin page. On the edit fluazu
  2340. settings page you can start and stop fluazu,
  2341. view log, process and version info and configure
  2342. fluazu settings. Settings can also be changed
  2343. for the fluazu daemon on the fly whilst it is
  2344. running.
  2345. Starting and stopping fluazu
  2346. To start the fluazu daemon, click the 'Start
  2347. Fluazu' button. The daemon will be started in
  2348. the background on the server and the status of
  2349. the 'Edit Fluazu Settings' page will change to
  2350. 'Fluazu Started'. A number of configuration
  2351. options for Azureus will also be displayed to
  2352. allow you to change these via fluazu.
  2353. To stop the fluazu daemon, click the 'Stop
  2354. Fluazu' button. The daemon will be stopped in
  2355. the background on the server and the status of
  2356. the page will change to 'Fluazu Off'.
  2357. Configuring azureus settings via fluazu
  2358. After fluazu has been started, a number of
  2359. azureus options can be changed dynamically from
  2360. the 'Edit Fluazu Settings' page. Making changes
  2361. to these options will send a command to the
  2362. backend azureus server to make the change.
  2363. The Azureus settings that can be changed via the
  2364. 'Edit Fluazu Setting' page are as follows:
  2365. o Max Active Torrents
  2366. Maximum torrents to run at the same time.
  2367. o Max Active Torrents When Only Seeding
  2368. Maximum torrents to run at the same time
  2369. when there are only seeding torrents running
  2370. - ie when not leeching anything.
  2371. o Max Connections Global
  2372. Maximum number of connections for all
  2373. torrents running.
  2374. o Max Connections Per Torrent
  2375. Maximum number of connections for each
  2376. individual torrent.
  2377. o Max Download Speed KBs
  2378. Maximum download speed for all torrents.
  2379. o Max Downloads
  2380. Maximum number of downloads to run
  2381. consecutively.
  2382. o Max Upload Speed KBs
  2383. Maximum upload speed for all torrents.
  2384. o Max Upload Speed When Only Seeding KBs
  2385. Maximum upload speed to allow when only
  2386. seeding - ie when not leeching
  2387. o Max Uploads
  2388. Maximum number of uploads to run
  2389. consecutively
  2390. o Max Uploads Seeding
  2391. Maximum number of uploads to allow when
  2392. seeding.
  2393. Viewing information about fluazu - logs, processes,
  2394. version
  2395. To view the fluazu log entries, click on the
  2396. 'logs' link. A new page will open with the
  2397. current fluazu logfile in it.
  2398. To view the process listing information for the
  2399. fluazu daemon, click on the 'ps' link. A new
  2400. page will open containing the process listing
  2401. info if available.
  2402. To view the version information for the
  2403. currently installed fluazu daemon, click the
  2404. 'version' link. A new page will open containing
  2405. the version details.
  2406. Configuring fluazu
  2407. The following options are configured on the
  2408. 'Edit Fluazu Settings' page:
  2409. o Host
  2410. Host of Azureus-server (currently only
  2411. localhost is supported).
  2412. o Port
  2413. Port of Azureus-server (XML/HTTP, default:
  2414. 6884).
  2415. o Secure
  2416. Use secure connection to azureus.
  2417. o Username
  2418. Username to use when connecting to
  2419. Azureus-server.
  2420. o Password
  2421. Password to use when connecting to
  2422. Azureus-server.
  2423. Wget specific settings
  2424. The wget specific settings are as follows:
  2425. o Enable Wget
  2426. Set who can use wget.
  2427. By default torrentflux-b4rt is set to allow all
  2428. users to use the wget functionality. If you
  2429. wish to restrict access to wget, you can do so
  2430. here.
  2431. o Limit Download Rate
  2432. Set the default value for the max download rate
  2433. per transfer (0 for no limit).
  2434. o Limit Number of Retries
  2435. Set the max number of retries to attempt (0 for
  2436. no limit).
  2437. When accessing a URL resource using wget and the
  2438. URL is unavailable for some reason, this option
  2439. specifies how many times wget should continue to
  2440. retry getting the resource.
  2441. o Enable Passive FTP
  2442. Enable/disable "passive" transfer mode for FTP.
  2443. In passive ftp transfer mode, the transfer
  2444. client determines the port it uses to
  2445. communicate with the remote server. In active
  2446. mode, the server determines the ports used to
  2447. communicate. Changing the transfer mode can
  2448. help with communication problems because of
  2449. restrictive firewalls - the subject is beyond
  2450. the scope of this document.
  2451. Nzbperl specific settings
  2452. The requirements for using nzbperl can be checked by
  2453. clicking on the 'nzbperl Requirements Check' link.
  2454. The requirements checker script for nzbperl will run
  2455. in a new window and list all the elements required
  2456. to run nzbperl and whether your current server
  2457. installation meets those requirements.
  2458. The nzbperl specific settings are as follows:
  2459. o Enable Nzbperl
  2460. Set who can use nzbperl.
  2461. By default access to the nzbperl functionality
  2462. is disabled. If you wish to change access rights
  2463. to nzbperl, you can do so here.
  2464. o Use Subdirectories
  2465. Download nzbperl content into separate
  2466. subdirectories.
  2467. By default nzbperl will download all content
  2468. into the master nzb directory. If you wish to
  2469. have content downloaded into individual
  2470. subdirectories for each transfer, you can do
  2471. that here.
  2472. o Bad File Action
  2473. Set the action to perform on finding a bad entry
  2474. in the nzb.
  2475. By default nzbperl will drop any bad files
  2476. downloaded and attempt to re-transfer them.
  2477. This option can be changed here.
  2478. o Download Rate
  2479. Set the default value for the max download rate
  2480. per transfer (0 for no limit).
  2481. o Server
  2482. Set the NNTP server nzbperl should connect to.
  2483. o Username
  2484. Set the username to use when connecting to your
  2485. NNTP server.
  2486. o Password
  2487. Set the password to use when connecting to your
  2488. NNTP server.
  2489. o Connections
  2490. The number of simultaneous connections to the
  2491. NNTP server nzbperl will create.
  2492. Note:
  2493. You can only run conn/server_max nzb downloads at once.
  2494. o Threads
  2495. Use threading.
  2496. Note:
  2497. Enable only if your Perl installation supports threads.
  2498. o Extra Commandline Options
  2499. Any extra commandline options you wish to pass
  2500. to the nzbperl process can be set here. Refer
  2501. to the nzbperl documentation for more
  2502. information on this TODO_LINK:nzbperl website
  2503. Common settings
  2504. The common settings available for configuration are:
  2505. o Enable 0000 Umask (B+T+M+W+N)
  2506. Enable/disable setting umask to 0000 when
  2507. starting a client.
  2508. Note:
  2509. Resulting permissions of created files will be
  2510. 777 - readable, writable and executable by
  2511. everyone.
  2512. Umasking refers to the default file permissions
  2513. that should be given to a newly created file.
  2514. This option will set the umask to 0000 which
  2515. will give all files created by all transfer
  2516. processes a default permission so the files are
  2517. readable/writable by everyone.
  2518. See the manpage for 'sh' for more info on umask.
  2519. o Use Nice (B+T+M+W+N)
  2520. Set the nice level to use for transfer
  2521. processes.
  2522. Note:
  2523. The highest nice level - 19 - gives processes
  2524. the lowest possible priority over other
  2525. processes on the server.
  2526. The nice utility is a feature of Unix type OSs
  2527. that allows you to adjust the priority of a
  2528. process. The higher a process's 'nice' value is
  2529. the less priority it has with respect to access
  2530. to OS system resources - memory paging, CPU
  2531. access, etc. By setting a high nice value you
  2532. are being 'nice' to the other processes on a
  2533. server.
  2534. This option is useful in the case you have a
  2535. multi-purpose server and you don't want
  2536. torrentflux-b4rt created processes to take all
  2537. the resources up - setting a high nice value
  2538. here will effectively give other processes on
  2539. the webserver higher priority.
  2540. Transfer control settings (control)
  2541. Overview
  2542. The 'control settings' tab ('control') on the admin
  2543. pages allows you to specify settings related to the
  2544. control of transfers in torrentflux-b4rt.
  2545. Configuration
  2546. The settings available on the 'control' tab are as
  2547. follows:
  2548. o Customize Transfer Settings
  2549. Define who can customize transfer settings.
  2550. This option allows you to determine who can
  2551. modify the transfer settings when starting a
  2552. transfer - ie max upload/download rate, max
  2553. connections, completion activity, port
  2554. configuration, etc.
  2555. Access to the transfer settings customization
  2556. functionality can be configured as follows:
  2557. * Only Admins - only admins can modify
  2558. transfer settings.
  2559. * All Users - all users can modify transfer
  2560. settings.
  2561. * Disabled - customization of transfer
  2562. settings is disabled.
  2563. o Transfer Profiles
  2564. Define who can use transfer profiles.
  2565. Transfer profiles allow users to configure
  2566. different profiles for different transfer
  2567. requirements. TODO_LINK: see user operation
  2568. section - Transfer profile management
  2569. Access to the transfer profile functionality can
  2570. be configured as follows:
  2571. * All Users - all users can create and use the
  2572. transfer profile functionality.
  2573. * Only Predefined - only predefined transfer
  2574. profiles can be used. Create transfer
  2575. profiles as admin first.
  2576. * Only Admins - only admins can create and use
  2577. transfer profiles.
  2578. * Disabled - transfer profile functionality is
  2579. disabled.
  2580. o Enable Client Chooser
  2581. When enabled, allow users to choose which
  2582. transfer client to use.
  2583. o Enable Save Path Chooser
  2584. When enabled, displays a directory tree to allow
  2585. users to downloaded transfers to any existing
  2586. folder under their home directory.
  2587. With this option enabled, each recursive
  2588. subdirectory within the user's configured home
  2589. directory will be displayed in a directory tree
  2590. list, up to 'max depth' levels deep.
  2591. The user can then choose one of those
  2592. directories as the location to save newly
  2593. transferred content to.
  2594. o Save Path Chooser Max Depth
  2595. Set the maximum depth of subfolders to display
  2596. in the save path chooser directory tree (set to
  2597. '0' to display all subfolders).
  2598. If 'enable save path chooser' is enabled, the
  2599. list of directories displayed in the save path
  2600. chooser will drill down by default as far as
  2601. necessary to display all recursive folders.
  2602. If you have a large number of complex folder
  2603. structures within the user's home directories,
  2604. you can change the depth to which the 'save path
  2605. chooser' drills down by changing this option.
  2606. Web application frontend options (webapp)
  2607. Overview
  2608. The 'WebApp Settings' (webapp) tab on the admin
  2609. pages allows you to configure settings related to
  2610. the torrentflux-b4rt frontend.
  2611. Configuration
  2612. The configuration options for the webapps tab are as
  2613. follows:
  2614. o Select Authentication Type
  2615. Select which authentication method
  2616. torrentflux-b4rt uses for user login.
  2617. This option allows you to decide how users will
  2618. authenticate to login to the torrentflux-b4rt
  2619. frontend. There are five different options to
  2620. choose from:
  2621. * Form Auth
  2622. Standard form based authentication.
  2623. This is the default authentication method.
  2624. Users will have to complete and submit a login
  2625. form with their username and password at the
  2626. start of each new browser session to be able
  2627. to login to the frontend.
  2628. * Form Auth + Cookie
  2629. Standard form based authentication using an
  2630. 'autologin' cookie (expires after 30 days).
  2631. This method is similar to the default 'Form
  2632. Auth', except that the user will have the
  2633. option to check a checkbox to allow them to
  2634. stay logged in across browser sessions -
  2635. 'Remember Me' functionality.
  2636. This method uses a client side cookie to store
  2637. the autologin information. Information is
  2638. stored using a hashing algorithm so that
  2639. details are not directly readable in plain
  2640. text.
  2641. * Form Auth + Image
  2642. Standard form based authentication using image
  2643. based captcha validation (user must enter the
  2644. characters displayed in a dynamically created
  2645. image to validate).
  2646. This option enables the use of Captchas as an
  2647. added form of protection against automated
  2648. brute force attacks. Using captchas, the user
  2649. is required to type in the characters
  2650. displayed in a dynamically generated image
  2651. before being allowed to login. This is
  2652. required the first time the user browses to
  2653. the torrentflux-b4rt frontend in any given
  2654. browser session.
  2655. * Basic Auth
  2656. Use HTTP Basic Authentication scheme
  2657. (browser will handle user/password input).
  2658. This option uses the standard HTTP basic
  2659. authentication method to log users in.
  2660. The torrentflux-b4rt login page sends a
  2661. 'HTTP/1.0 401 Unauthorized' HTTP header to
  2662. the browser/user agent which should prompt
  2663. the browser to display a username/password
  2664. dialogue box for the user to enter their
  2665. credentials in. When this dialogue box is
  2666. submitted, the credentials are then
  2667. compared to the credentials stored in the
  2668. torrentflux-b4rt database. If the
  2669. credentials match, the user is logged in.
  2670. * Basic Auth + Passthrough
  2671. Pass the credentials of a user authenticated
  2672. externally via basic auth to the webapp.
  2673. This method can be used when authentication
  2674. is to be performed against another user
  2675. database other than the default
  2676. torrentflux-b4rt db - for example using the
  2677. apache webserver's built in authentication
  2678. modules or some third party authentication
  2679. module.
  2680. Using this method, the webserver is
  2681. responsible for performing the
  2682. authentication initially. If the
  2683. credentials are accepted by the webserver,
  2684. they are then passed on to the
  2685. torrentflux-b4rt login mechanism where the
  2686. credentials are again checked, this time
  2687. against the torrentflux-b4rt database.
  2688. If this check is successful, the user is
  2689. logged in.
  2690. Note:
  2691. -----
  2692. To logout from torrentflux-b4rt whilst using
  2693. the 'Basic Auth + Passthrough' method, the
  2694. user must end the current browser session -
  2695. ie terminate all instances of the current
  2696. web browser session.
  2697. This has the effect of logging the user out
  2698. - when the user starts a new browser session
  2699. and browses to the torrentflux-b4rt
  2700. frontend, they will be required to login
  2701. again.
  2702. TODO_LINK: Link to some basic auth guide,
  2703. apache site or apache week?
  2704. o Basic Authentication Realm
  2705. Specify the realm name to use if Basic
  2706. Authentication method is used.
  2707. This option sets which realm to use when using
  2708. basic authentication methods. A realm defines a
  2709. particular area of a website that the basic
  2710. authentication scheme protects or applies to.
  2711. The realm name configured here will be displayed
  2712. in the basic auth dialogue box displayed when a
  2713. user logs in.
  2714. o Default Page Title
  2715. Specify the default page title.
  2716. This is the default page title displayed in the
  2717. HTML title tags for the torrentflux-b4rt index
  2718. page. Web browsers will typically display the
  2719. text contained in the HTML title tags for a web
  2720. page in the title bar of the browser window.
  2721. o Enable Personal Settings
  2722. Allow users to change their personal settings.
  2723. This option allows users to modify their
  2724. personal settings via the 'Profile' page.
  2725. TODO_LINK: user ops, Changing what to display in
  2726. the frontend
  2727. o Display Torrentflux-B4rt Site Link
  2728. When enabled, will display a small link to the
  2729. Torrentflux-b4rt website at the bottom of all
  2730. pages.
  2731. o Drivespace Bar Style
  2732. Select the styling of the drivespace bar in the
  2733. frontend.
  2734. There are two different styles of drivespace to
  2735. choose from - tf and xfer.
  2736. The 'tf' style bar displays a drivespace bar on
  2737. the index page where the length of the bar
  2738. indicates how much disk space has been used on
  2739. the hard disk mount point where the .transfers
  2740. folder is located. The amount of free space in
  2741. MB/Gb and as a percentage of the total is also
  2742. displayed in text next to the drivespace bar.
  2743. The 'xfer' style bar displays a drivespace bar
  2744. where the length of the bar indicates how much
  2745. disk space is left available (instead of how
  2746. much is actually used in the case of the 'tf'
  2747. style bar).
  2748. o Transfer Statistics Update Method
  2749. Choose the method used to update the transfer
  2750. statistics window.
  2751. The 'Stats' page for a transfer - displayed by
  2752. clicking on the transfer in the transfer list
  2753. and then clicking the 'Stats' tab - is
  2754. automatically updated to display stats in near
  2755. real time.
  2756. The method used to update the stats can be set
  2757. using this option. There are two options - AJAX
  2758. or HTML Meta Refresh.
  2759. AJAX is the default update method.
  2760. Tip:
  2761. ----
  2762. AJAX updates uses less bandwidth since only the
  2763. relevant data in the stats page is transferred.
  2764. Alternatively, the HTML Meta Refresh update
  2765. method will transfer the complete stats webpage
  2766. from the webserver using a little more bandwidth
  2767. than AJAX.
  2768. o Transfer Statistics Update Interval
  2769. Specify the interval in seconds between updates
  2770. in the transfer statistics window.
  2771. o Resolve Hostnames In Transfer Window Hosts Tab
  2772. Whether to resolve transfer peer hostnames to IP
  2773. addresses in the Hosts tab of the transfer
  2774. window - selecting Hostnames will add load to
  2775. the server.
  2776. By default, torrentflux-b4rt does not resolve IP
  2777. addresses (ie 1.2.3.4) into fully qualified
  2778. domain names (ie example.com). This option
  2779. enables the resolution of IP addresses to domain
  2780. names.
  2781. Note:
  2782. -----
  2783. This option increases the load on the server,
  2784. both in terms of CPU processing and network
  2785. resources and should be used with caution
  2786. especially on servers with a large number of
  2787. transfers running at the same time.
  2788. o Server Monitor Update Interval
  2789. Specify the interval in seconds between updates
  2790. in the Server Monitor window.
  2791. The server monitor displays statistics relating
  2792. to the webserver running torrentflux-b4rt. This
  2793. option defines how often the server monitor
  2794. window is updated.
  2795. For more information on the server monitor, see:
  2796. TODO_LINK: user ops, Opening the server monitor
  2797. o Hide Referer When Following Links
  2798. When enabled, referer information will not be
  2799. forwarded to websites visited by clicking on
  2800. links within torrentflux-b4rt.
  2801. This option is enabled by default and stops the
  2802. browser sending the URL of the page from which
  2803. the user came from - the 'referer' URL.
  2804. o Default Theme
  2805. Select the default theme.
  2806. Note: This theme will also be used for the login
  2807. screen when a form based authentication method
  2808. is used.
  2809. Note:
  2810. -----
  2811. This option will set the default theme for all
  2812. new users. Current user's theme settings will
  2813. not be modified.
  2814. o Default Language
  2815. Select the default language.
  2816. Note:
  2817. -----
  2818. This option will set the default language for
  2819. all new users. Current user's language settings
  2820. will not be modified.
  2821. o Days To Keep Logged Audit Actions
  2822. Number of days that audit actions will be held
  2823. in the database.
  2824. By default, audit actions are stored in the
  2825. database for 30 days. After this time the
  2826. entries are pruned from the database.
  2827. For more information on viewing Audit Actions,
  2828. see:
  2829. TODO_LINK: user ops, Viewing activity history
  2830. admin ops, Activity / Audit / Event viewer
  2831. (activity)
  2832. o Minutes To Keep User Online Status
  2833. Number of minutes after ending a browser session
  2834. that user status changes to offline.
  2835. Torrentflux-b4rt displays a list of all users
  2836. currently 'online' at any one time in the
  2837. 'users' panel in the frontend. This option sets
  2838. how long in minutes after a user ends a browser
  2839. session to mark the user as being 'offline'.
  2840. The default is 3 minutes.
  2841. o Minutes To Cache RSS Feeds
  2842. Number of minutes to cache RSS XML feeds on the
  2843. server.
  2844. Torrentflux-b4rt caches RSS feeds for users to
  2845. browse via the 'RSS Torrents' link on the index
  2846. page to save on network traffic and processing.
  2847. This option allows you to configure how long to
  2848. wait before requesting new copies of the RSS
  2849. feeds to 'refresh' the cache.
  2850. The default is to cache RSS feeds for 20
  2851. minutes.
  2852. Warning:
  2853. --------
  2854. Setting the cache to a very low value so the RSS
  2855. feeds are refreshed more often can lead to a ban
  2856. on your IP address if the server where the RSS
  2857. feed is requested from sees you as 'hammering'.
  2858. You should consult the tracker website's rules
  2859. before setting the cache timeout to a very low
  2860. value.
  2861. o Enable Template Cache
  2862. Enable caching of HTML template files.
  2863. Torrentflux-b4rt can cache the HTML template
  2864. files displayed for users by setting this
  2865. option. This can significantly improve the
  2866. speed at which pages are displayed in the
  2867. browser.
  2868. Template caching is disabled by default.
  2869. Note:
  2870. -----
  2871. This option should be used with caution - if
  2872. 'stale' pages or other glitches are observed
  2873. when using template caching, the cache can be
  2874. flushed:
  2875. TODO_LINK:user ops, Flushing the template cache
  2876. o Debug Level
  2877. Set the debug level - higher values increase the
  2878. debugging output in the logs.
  2879. The verbosity of logging messages emitted by
  2880. torrentflux-b4rt can be increased by setting
  2881. this value higher - 0 is lowest, 2 is highest.
  2882. This option is especially useful when
  2883. troubleshooting the operation of
  2884. torrentflux-b4rt and should be set to the
  2885. highest value before requesting support.
  2886. The default debugging level is '0'.
  2887. o Show SQL Debug Statements
  2888. SQL Errors will always be displayed but when
  2889. this feature is enabled the SQL Statement that
  2890. caused the error will be displayed as well.
  2891. Web application index page display options (index)
  2892. Overview
  2893. The 'Index Settings' (index) tab on the admin
  2894. pages allows you to configure settings related to
  2895. the display of the torrentflux-b4rt index page in
  2896. the frontend.
  2897. Configuration
  2898. The configuration options for the index tab are as
  2899. follows:
  2900. o Page Refresh
  2901. Enable/disable page updates using HTML meta
  2902. refresh.
  2903. The index page will be refreshed using an HTML
  2904. meta refresh tag when this option is enabled.
  2905. Tip:
  2906. ----
  2907. AJAX updates uses less bandwidth since only the
  2908. relevant data in the stats page is transferred.
  2909. Alternatively, the HTML Meta Refresh update
  2910. method will transfer the complete stats webpage
  2911. from the webserver using a little more bandwidth
  2912. than AJAX.
  2913. o Page Refresh Interval
  2914. Interval in seconds between page refreshes.
  2915. o AJAX Update
  2916. Enable/disable page updates using AJAX.
  2917. o Page Title AJAX Update
  2918. Enable/disable update of page titles using AJAX.
  2919. Tip:
  2920. ----
  2921. This option is useful because torrentflux-b4rt
  2922. displays various statistics in the page title,
  2923. which in turn are displayed in the task bar on
  2924. Windows. This makes it easy to see at a glance
  2925. how transfers and the server is performing.
  2926. o Users AJAX Update
  2927. Enable/disable update of user list using AJAX.
  2928. The user list displays which torrentflux-b4rt
  2929. users are currently online. This option updates
  2930. the user list dynamically using AJAX.
  2931. o Transfer List AJAX Update
  2932. Enable/disable update of transfer list using
  2933. AJAX.
  2934. The transfer list can be updated using AJAX
  2935. with this option.
  2936. o Silent AJAX Update
  2937. Do not display any processing request messages
  2938. when AJAX updates are in progress. Countdown to
  2939. update timer will also not be displayed.
  2940. Usually torrentflux-b4rt will display a
  2941. 'Processing...' messages when an update is in
  2942. effect to indicate to the user that they should
  2943. not click on anything since the system is busy.
  2944. This option will disable the processing
  2945. messages.
  2946. o AJAX Update Interval
  2947. Interval in seconds between AJAX updates.
  2948. o Width
  2949. Width of the index page in pixels.
  2950. Note:
  2951. -----
  2952. If a large number of transfer list columns are
  2953. selected for display, the width of the transfer
  2954. list may exceed the default page width selected
  2955. here. As a result, the index page width may be
  2956. larger than the width selected here if you have
  2957. a large number of transfer list columns on
  2958. display.
  2959. o Multi Uploads
  2960. Enable/disable display of links for uploading of
  2961. multiple files at once.
  2962. This option will display links underneath the
  2963. transfer file upload form to allow users to
  2964. upload multiple files at a time.
  2965. o Multi Upload Page Rows
  2966. Number of rows of file upload fields to display
  2967. on the multi uploads page.
  2968. o Torrent Search
  2969. Enable/disable torrent searches from the home
  2970. page via third party torrent sites.
  2971. o Default Torrent Search Engine
  2972. Default search engine to use for torrent
  2973. searches.
  2974. o Display Links List
  2975. Enable/disable display of admin configured list
  2976. of links on the index page.
  2977. The link list is configured on the 'links' admin
  2978. page - see here for more info:
  2979. TODO_LINK:
  2980. Admin ops, Website link list management (links)
  2981. o Display Users List
  2982. Enable/disable display of torrentflux-b4rt users
  2983. and their online status.
  2984. When enabled, a list of all torrentflux-b4rt
  2985. users is displayed showing their current online
  2986. status.
  2987. The period of time after which users are
  2988. considered 'offline' is configured on the
  2989. 'webapp' admin page, see here for more info:
  2990. TODO_LINK:
  2991. admin ops, webapp section, Minutes To Keep User
  2992. Online Status
  2993. o Good Looking Statistics
  2994. Enable/disable display of good looking
  2995. statistics - up/download speeds, connections,
  2996. drivespace and server load statistics.
  2997. This option enables the display of various
  2998. statistics on the index page.
  2999. o Good Looking Statistics Display Settings
  3000. Select the items to display in the "Good Looking
  3001. Statistics" panel.
  3002. * Download Speed - total download speed being
  3003. used by torrentflux-b4rt.
  3004. * Upload Speed - total upload speed being
  3005. used by torrentflux-b4rt.
  3006. * Total Speed - total speed (up and down)
  3007. being used by torrentflux-b4rt.
  3008. * Connections - total number of transfers
  3009. running.
  3010. * Drive Space - total drive space remaining on
  3011. the mount point where the transfers folder
  3012. is located.
  3013. * Server Load - the load averages for the
  3014. server. Uses results from 'loadavg' on
  3015. linux or 'uptime' on BSD.
  3016. o Bandwidth Bars
  3017. Enable/disable display of current bandwidth
  3018. usage bars.
  3019. When enabled, bars will be displayed to indicate
  3020. the current upload and download bandwidth being
  3021. utilised. The longer the bar, the more
  3022. bandwidth in use.
  3023. o Bandwidth Bars Style
  3024. Select the style of bandwidth bar to use.
  3025. There are two bar styles to choose from - tf and
  3026. xfer. The tf style has a constant color,
  3027. whereas the xfer style turns redder the higher
  3028. the bandwidth utilization is.
  3029. o Upstream Bandwidth
  3030. Maximum available upstream bandwidth in kilobits
  3031. per second (kbit/s) through your ISP - 1 Megabit
  3032. per second (1Mbit/s) is roughly equal to
  3033. 1000kbit/s.
  3034. This figure is used to determine the percentage
  3035. utilization of bandwidth in the bandwidth bars.
  3036. You should enter the maximum available upstream
  3037. bandwidth for the network connection of the
  3038. server - usually this will be the max bandwidth
  3039. you get from your ISP.
  3040. Tip:
  3041. ----
  3042. A rough guide to bandwidth figures:
  3043. 1000 = roughly 1Mbit/s
  3044. 512 = 512kbit/s
  3045. o Downstream Bandwidth
  3046. Maximum available downstream bandwidth in
  3047. kilobits per second (kbit/s) through your ISP -
  3048. 1 Megabit per second (1Mbit/s) is roughly equal
  3049. to 1000kbit/s.
  3050. This figure is used to determine the percentage
  3051. utilization of bandwidth in the bandwidth bars.
  3052. You should enter the maximum available downstream
  3053. bandwidth for the network connection of the
  3054. server - usually this will be the max bandwidth
  3055. you get from your ISP.
  3056. o Big Bold Drivespace Warning
  3057. Enable/disable display of "Big Bold Drivespace"
  3058. warning when disk space gets below 2% of total.
  3059. o Only Admin Can See Other User's Transfers
  3060. Enable/disable visibility of other user's
  3061. transfers in regular user's transfer lists -
  3062. when enabled, only admins will be able to see
  3063. other user's transfers in their transfer list.
  3064. o Transfer File Download
  3065. Enable/disable links in the transfer list to
  3066. allow users to download transfer files from the
  3067. server.
  3068. This option will add a link to the left of each
  3069. transfer in the transfer list so that the
  3070. transfer file (ie .torrent file) can be
  3071. downloaded. When the link is clicked, the
  3072. transfer file will be sent to the user as an
  3073. attachment - ie the browser will prompt the user
  3074. to save the file locally (or open it in an
  3075. associated application if MIME types are
  3076. configured correctly).
  3077. o Display Seeding Torrents
  3078. Enable/disable display of torrents in the
  3079. seeding state - if enabled, when a torrent has
  3080. finished leeching and moves on to seed, the
  3081. torrent will be hidden from the transfer list.
  3082. Hidden torrents can be viewed in the transfer
  3083. list by clicking the 'Show Seeding Torrents'
  3084. link under the transfer list.
  3085. o Display Estimated Time To Seed
  3086. Enable/disable display of estimated time until a
  3087. transfer is completed in the transfer list.
  3088. o Transfer List Can Be Sorted
  3089. Enable/disable sorting of the transfer list -
  3090. when enabled, users will be able to change the
  3091. order in which the transfer list is displayed
  3092. based on date added, file name, size, totals
  3093. up/down, transfer status, etc.
  3094. Tip:
  3095. ----
  3096. To change the sort order of the transfer list,
  3097. click on the column headers at the top of the
  3098. transfer list. Each click on the column header
  3099. will toggle sorting in ascending/descending
  3100. order for that column type.
  3101. For example, clicking on the 'Transfer File'
  3102. column header will sort the transfer list by
  3103. transfer file name alphabetically ascending
  3104. (A-Z); clicking again on the 'Transfer File'
  3105. column header will sort the transfer list by
  3106. transfer file name alphabetically descending
  3107. (Z-A).
  3108. o Default Sort Order
  3109. Select the default property by which the items
  3110. in the transfer list should be sorted by.
  3111. This is the column by which all transfers in the
  3112. transfer list will be sorted by - for example,
  3113. to have the transfer list automatically sorted
  3114. by transfer file name alphabetically, select
  3115. 'Name - Ascending'.
  3116. o Transfer List Display Settings
  3117. Select the types of columns to display for each
  3118. transfer in the transfer list.
  3119. * Owner
  3120. * Size
  3121. * Total Down
  3122. * Total Up
  3123. * Status
  3124. * Progress
  3125. * Down-Speed
  3126. * Up-Speed
  3127. * Seeds
  3128. * Peers
  3129. * Estimated Time
  3130. * Client
  3131. This option allows you to see a whole host of
  3132. information directly in the transfer list
  3133. without having to click on a transfer to pop up
  3134. the transfer window.
  3135. Note:
  3136. -----
  3137. The more transfer columns you display in the
  3138. transfer list, the wider the index page will
  3139. grow. Take this into account especially when
  3140. using a screen with lower resolutions.
  3141. o Default Transfer Window
  3142. Select the default page to display in the
  3143. transfer window - the window which is displayed
  3144. when a transfer in the transfer list is clicked
  3145. on.
  3146. This option allows you to choose which tab of
  3147. the popup transfer window will be displayed
  3148. when you click on a transfer in the transfer
  3149. list.
  3150. o Multi Operations
  3151. Enable/disable display of the dropdown list of
  3152. operations to perform on multiple transfer list
  3153. items - when enabled, a list of operations
  3154. (start/stop/delete/wipe/reset) will be available
  3155. in a drop down list for users to perform on more
  3156. than one transfer at a time.
  3157. This option allows you to specify whether you
  3158. want users to be able to use the multi ops
  3159. feature. Multi ops allow users to select a
  3160. number of transfers from the transfer list and
  3161. then apply an action to all of those selected
  3162. transfers only - start, stop, delete, etc.
  3163. o Bulk Operations
  3164. Enable/disable display of bulk operation links -
  3165. when enabled, links will be displayed on the
  3166. index page to allow users to control
  3167. (start/stop/resume) all transfer in the transfer
  3168. list at once.
  3169. This option allows you to specify whether the
  3170. bulk ops links will be displayed on the index
  3171. page.
  3172. Bulk ops allow users to perform an action on
  3173. every single transfer in the transfer list at
  3174. once - for example to restart all torrents in
  3175. one go.
  3176. o Display Server Statistics
  3177. Enable/disable display of various server
  3178. statistics (transfer/queue/server stats) at the
  3179. bottom of the index page.
  3180. o Display Network Connections
  3181. Enable/disable display of total network
  3182. connections on the index page.
  3183. o Display Server Load
  3184. Enable/disable display of 1/5/15 minute average
  3185. server load on the index page.
  3186. Directory / File Management options (dir)
  3187. Overview
  3188. The 'Dir Settings' (dir) tab on the admin pages
  3189. allows you to configure settings related to the
  3190. torrentflux-b4rt file and directory manager -
  3191. referred to as 'dir manager' from now on.
  3192. See also:
  3193. TODO_LINK: user ops, dir manager section
  3194. Configuration
  3195. The configuration options for the dir tab are as
  3196. follows:
  3197. o Public Read
  3198. Enable/disable public read permission for all
  3199. files/folders in torrentflux-b4rt - when
  3200. enabled, all files and folders within
  3201. torrentflux-b4rt will be readable by all
  3202. torrentflux-b4rt users.
  3203. This option makes all files transferred using
  3204. torrentflux-b4rt visible to all torrentflux-b4rt
  3205. users - admin and normal users alike.
  3206. Note:
  3207. -----
  3208. This does *not* make the files automatically
  3209. visible to all Unix users on the webserver where
  3210. torrentflux-b4rt is installed.
  3211. Tip:
  3212. ----
  3213. To make downloaded files accessible to Unix
  3214. users other than the webserver user - for
  3215. example so a 'regular' Unix user can download
  3216. the transferred files via FTP:
  3217. 1. When the transfer is complete, use the
  3218. 'chmod' torrentflux-b4rt functionality to
  3219. change the mode of the transferred files to
  3220. '777' - ie readable by everyone .
  3221. 2. In the LINK_TODO:[admin.dir.move dir tab of
  3222. the admin pages], add the target directory
  3223. owned by the Unix user who will be
  3224. downloading files via FTP as a valid move
  3225. path. This will allow files to be moved
  3226. from torrentflux-b4rt into the target
  3227. directory.
  3228. 3. Move the files out of the torrentflux-b4rt
  3229. transfer directory into the target directory
  3230. owned by the Unix user who will be
  3231. downloading the files via FTP. Ensure the
  3232. webserver user has permissions to write
  3233. files to the target directory.
  3234. The files should now be available for the
  3235. Unix user to download via FTP.
  3236. Note:
  3237. -----
  3238. Any problems encountered whilst using this
  3239. method will almost always come down to Unix
  3240. file permissions - make sure the webserver
  3241. can write to the Unix user's target
  3242. directory and in turn make sure the file
  3243. permissions of the moved files are
  3244. sufficient for the Unix user to access them
  3245. once they're moved.
  3246. o Public Write
  3247. Enable/disable public write permission for all
  3248. files/folders in torrentflux-b4rt - when
  3249. enabled, all files and folders within
  3250. torrentflux-b4rt will be writable by all
  3251. torrentflux-b4rt users.
  3252. By default, files and folders in
  3253. torrentflux-b4rt are only writable by the
  3254. torrentflux-b4rt user that created them. This
  3255. option overrides this so that any
  3256. torrentflux-b4rt user can write to any other
  3257. torrentflux-b4rt user's files/folders.
  3258. Note:
  3259. -----
  3260. This feature only applies to torrentflux-b4rt
  3261. users - Unix users on the system will not be
  3262. automatically given write permissions to
  3263. torrentflux-b4rt files by enabling the 'Public
  3264. Write' option in torrentflux-b4rt.
  3265. Warning:
  3266. --------
  3267. Enabling the 'Public Write' option is a security
  3268. risk to other torrentflux-b4rt users - only
  3269. enable it on a server where all torrentflux-b4rt
  3270. users are 'trusted'. Of course the definition of
  3271. 'trusted' will vary from one system to another.
  3272. o Chmod
  3273. Enable/disable the use of the chmod
  3274. functionality for regular torrentflux-b4rt users
  3275. - when enabled, users will be able to change the
  3276. permissions on files and folders in
  3277. torrentflux-b4rt to read/write/execute for
  3278. everyone (777).
  3279. This option will enable users to click a link in
  3280. the dir manager to set the file permissions on
  3281. the associated file to '777' -
  3282. read/write/executable for *all Unix users*.
  3283. Warning:
  3284. --------
  3285. Enabling the 'Chmod' option is a system wide
  3286. security risk - any Unix user on the server
  3287. hosting torrentflux-b4rt will have read, write
  3288. and execute permissions on files and directories
  3289. chmod'ed. Sensitive files should not be
  3290. chmod'ed 777 and if you do not trust your users
  3291. to use the chmod functionality correctly you
  3292. should not enable it.
  3293. o Full Directory Listings
  3294. Enable/disable complete directory listings -
  3295. when enabled, full directory listings will be
  3296. used including size and last modified time
  3297. similar to Unix 'ls -al' output.
  3298. o Make Torrent
  3299. Enable/disable make torrent functionality for
  3300. users - when enabled, users will be allowed to
  3301. create torrent files from the contents in the
  3302. directory manager.
  3303. When enabled, an 'make torrent' icon will be
  3304. available next to files in the dir manager so
  3305. users will be able to create torrents from files
  3306. and directories in the dir manager.
  3307. o Default Make Torrent Client
  3308. Choose the default client to use to create
  3309. torrent files with.
  3310. The options available are: BitTornado (tornado)
  3311. or BitTorrent Mainline (mainline).
  3312. o File Downloads
  3313. Enable/disable file downloading from the
  3314. directory manager - when enabled, users will be
  3315. able to download files directly from the
  3316. torrentflux-b4rt file manager.
  3317. When enabled, a download icon will be displayed
  3318. next to files and directories in the dir
  3319. manager to allow users to download the files as
  3320. a zip or tar archive - depending on the setting
  3321. for 'Download Archive Type'.
  3322. o Download Archive Type
  3323. Choose the type of archive to use when
  3324. performing file downloads - files downloaded
  3325. will be archived using this archive type prior
  3326. to sending.
  3327. The available archive types are: zip or tar
  3328. Note:
  3329. -----
  3330. Ensure your operating system supports the
  3331. archive type you select here.
  3332. Compression is *not* used on downloaded archives.
  3333. o Text/NFO Viewer
  3334. Enable/disable access to the built in NFO viewer
  3335. - when enabled, users will be able to view
  3336. nfo/txt/log file types directly within
  3337. torrentflux-b4rt.
  3338. When this option is enabled, files ending in
  3339. .nfo, .txt or .log will have a 'View NFO' icon
  3340. next to them in the dir manager to allow users
  3341. to view the (presumably text) contents directly
  3342. in torrentflux-b4rt.
  3343. o Unrar
  3344. Enable/disable access to unrar functionality -
  3345. when enabled, users will be able to use unrar to
  3346. unpack rar archives directly within
  3347. torrentflux-b4rt.
  3348. When enabled, an 'unrar' icon will be displayed
  3349. next to rar archives in the dir manager to allow
  3350. users to decompress the archives directly from
  3351. torrentflux-b4rt.
  3352. Warning:
  3353. --------
  3354. Using the unrar functionality can add excessive
  3355. load on the server hosting torrentflux-b4rt.
  3356. The feature should *not* be enabled on servers
  3357. where resource usage is a problem or can become
  3358. a problem quickly.
  3359. o SFV File Checking
  3360. Enable/disable access to sfv file checking
  3361. functionality - when enabled, if an sfv file is
  3362. present users will be able to verify the
  3363. integrity of the files covered by the sfv file
  3364. directly within torrentflux-b4rt.
  3365. When enabled, a 'Check SFV' icon will be
  3366. displayed next to any SFV files in the dir
  3367. manager. Users will be able to click the link
  3368. to verify the integrity of the files to which
  3369. the sfv file is associated with.
  3370. Info:
  3371. -----
  3372. Simple File Verification (sfv) is a system
  3373. whereby a cyclic redundancy check is performed
  3374. on each file within a set of files and/or
  3375. directories. The checksum for each file/dir is
  3376. then added to the 'sfv' file.
  3377. The sfv file is then transferred along with the
  3378. files it is associated with so that when
  3379. transfer is complete, the integrity of the files
  3380. can be verified by running an sfv checker
  3381. against them. In this way any corruption to
  3382. the files that have occurred during transfer can
  3383. be detected and any bad files retransmitted.
  3384. o VLC Streaming
  3385. Enable/disable access to VLC file streaming
  3386. functionality - when enabled, users will be able
  3387. to stream media directly from the webserver
  3388. using VLC.
  3389. o VLC Port
  3390. Specify the port to use for VLC streaming.
  3391. o File And Folder Renaming
  3392. Enable/disable access for users to rename files
  3393. and folders.
  3394. When enabled, an 'Rename' icon is displayed next
  3395. to all files and directories in the dir manager
  3396. to allow users to rename files.
  3397. Note:
  3398. -----
  3399. This option allows users to rename files *only
  3400. within the torrentflux-b4rt dir manager*. To
  3401. move files away from the torrentflux-b4rt dir
  3402. manager directory structure, enable the 'File And
  3403. Folder Moving' option below.
  3404. o File And Folder Moving
  3405. Enable/disable access for users to move files
  3406. and folders out of the torrentflux-b4rt
  3407. directory hierarchy - when enabled, users will
  3408. be allowed to move files and folders out of the
  3409. torrentflux-b4rt directory hierarchy into a
  3410. choice of folders elsewhere on the server.
  3411. When enabled, an 'Move' icon is displayed next
  3412. to all files and directories in the dir manager
  3413. to allow users to move files out of the
  3414. torrentflux-b4rt directory hierarchy elsewhere
  3415. on the host server.
  3416. This option is ideal for allowing access to
  3417. files and folders for normal Unix users on the
  3418. server hosting torrentflux-b4rt who don't have
  3419. permission to access the torrentflux-b4rt
  3420. directory hierarchy.
  3421. Once transfers are complete, files can be moved
  3422. away from the torrentflux-b4rt directory where
  3423. they can then be accessed via FTP, Samba or any
  3424. other suitable remote access protocol.
  3425. o Valid File And Folder Moving Paths
  3426. Specify the paths to which users are allowed to
  3427. move files and folders outside of the
  3428. torrentflux-b4rt directory hierarchy.
  3429. List all of the folders *outside of the
  3430. torrentflux-b4rt directory structure* that you
  3431. want torrentflux-b4rt users to be allowed to
  3432. move files and folders to.
  3433. This option is redundant without enabling the
  3434. 'File And Folder Moving' functionality above.
  3435. Note:
  3436. -----
  3437. Paths must be absolute - ie
  3438. '/path/to/somefolder' instead of just
  3439. 'somefolder'.
  3440. Any newly created directories will not be
  3441. deleted after removing a transfer from the
  3442. transfer list.
  3443. Ensure that the target directories have
  3444. sufficient permissions for the webserver user to
  3445. create files there.
  3446. o Restricted Files And Folders
  3447. Specify a list of patterns which, when found in
  3448. a file or folder name, will not be allowed
  3449. access to by users.
  3450. This option is useful if you have any files that
  3451. you don't want users to be able to see within
  3452. the dir manager.
  3453. Note:
  3454. -----
  3455. Access to dot files/folders - files/folders
  3456. starting with a dot - are always restricted.
  3457. Configuring stats.php output options (stats)
  3458. Overview
  3459. The stats.php script displays statistics for various
  3460. aspects of torrentflux-b4rt in a number of different
  3461. output formats. For more information on using
  3462. stats.php, see [TODO_LINK:'appendix, Obtaining
  3463. statistics using stats.php'].
  3464. The operation of the stats.php script can be
  3465. configured to your requirements - these
  3466. configuration options are detailed in this section.
  3467. Configuration
  3468. The configuration options for the 'stats' tab on the
  3469. admin pages - for configuration of the stats.php
  3470. script - are as follows:
  3471. o Publicly Visible Stats
  3472. Enable/disable publicly visible statistics - if
  3473. enabled, superadmin level stats (server load,
  3474. all transfer details, etc) are visible to the
  3475. public without needing to authenticate.
  3476. This option allows the stats.php script to be
  3477. requested in a web browser and the output sent
  3478. without requiring any user authentication -
  3479. username/password credentials are not required
  3480. to access stats output.
  3481. Warning:
  3482. --------
  3483. With this option enabled, full server statistics
  3484. will be displayed to anyone who requests them.
  3485. As a result this should be considered a security
  3486. risk - only enable this option if you understand
  3487. and accept that this will reveal server loads,
  3488. details of transfers, usernames and their online
  3489. status and so on. See the [TODO_LINK:'stats.php
  3490. usage'] for more info of all information
  3491. revealed.
  3492. o Show Usage When Called Without Arguments
  3493. Enable/disable the option to display usage/help
  3494. when the stats.php script is called without any
  3495. arguments in the URL.
  3496. This option displays the standard usage/help
  3497. output when called without any arguments.
  3498. When this option is disabled, the default action
  3499. to perform when stats.php is called without
  3500. arguments will be to display *all* statistics -
  3501. ie as if the stats.php script was called with
  3502. the argument 't=all'.
  3503. o Use Compression
  3504. Enable/disable the use of compression by default
  3505. when sending statistics - using compression uses
  3506. less bandwidth but takes up more CPU time on the
  3507. server
  3508. By default compression is not used to send stats
  3509. out from stats.php, although compression can be
  3510. used by manually specifying the argument 'c=1'
  3511. in the request URL to stats.php.
  3512. This option specifies that stats.php will use
  3513. compression by default - setting 'c=1' is not
  3514. required in this case.
  3515. Note:
  3516. -----
  3517. The compression level used is specified in the
  3518. 'Compression Level' option below.
  3519. Using compression will add some additional
  3520. load to the hosting server in terms of CPU
  3521. resource usage. In most cases this additional
  3522. load will be negligible - the benefits of
  3523. reducing bandwidth consumption by using
  3524. compression should be weighed up against the
  3525. cost of additional server load introduced.
  3526. o Compression Level
  3527. Specify the level of compression to use when
  3528. transferring data.
  3529. Level 0 = no compression (data is sent out 'as
  3530. is'), level 9 = maximum compression (data is
  3531. compressed as small as possible before sending
  3532. but takes up some minor extra CPU time to
  3533. compress).
  3534. This option determines the level of compression
  3535. to use *when the stats.php script is called with
  3536. the argument 'c=1' or compression is enabled on
  3537. the stats admin page*.
  3538. Compression levels run from 0 (lowest) to 9
  3539. (highest) - ie 0 will use no compression and 9
  3540. will use the maximum compression possible.
  3541. The compression is applied using PHP's inbuilt
  3542. '[TODO_LINK:@http://php.net/gzdeflate
  3543. gzdeflate]' function.
  3544. o Delimiting Character To Use In TXT Mode
  3545. Specify the character to use for
  3546. delimiting/separating fields when the format
  3547. type is 'txt' - this character will be used to
  3548. split one item in the output from the next.
  3549. By default the ';' character is used to separate
  3550. fields in the output, ie:
  3551. 0.00;0.00;0.00;1;12.37 GB; 1.25, 1.03, 0.56;1;0;0;0;87
  3552. where ';' marks the end of one field and the
  3553. start of another.
  3554. The field separator can be changed using this
  3555. option.
  3556. o Send Header Fields In TXT Mode
  3557. Enable/disable sending of header fields at the
  3558. top of text mode output - when enabled, each of
  3559. the statistics column headers will be sent out
  3560. at the top of the output.
  3561. By default when using txt output format mode
  3562. (f=txt), the output will be sent raw without any
  3563. column headers to indicate what each field of
  3564. output relates to, ie:
  3565. 0.00;0.00;0.00;1;12.37 GB; 1.25, 1.03, 0.56;1;0;0;0;87
  3566. With this option enabled, stats.php will also
  3567. send out column headers by default whenever txt
  3568. format is used, ie:
  3569. Speed Down;Speed Up;Speed Total;Connections;Free Space;Load;Running;Queued;Speed Down (Percent);Speed Up (Percent);Drive Space (Percent)
  3570. 0.00;0.00;0.00;1;12.37 GB; 1.25, 1.03, 0.56;1;0;0;0;87
  3571. This makes it easier to see what values
  3572. represent what type of statistical information.
  3573. Note:
  3574. -----
  3575. Only used in txt mode.
  3576. o Default Statistic Type To Send
  3577. Specify the default type of statistic to send
  3578. out.
  3579. The default statistic type sent out is 'all'.
  3580. This option allows you to change this to send
  3581. out a different type of statistic by default.
  3582. The options to choose from are: all, xfer,
  3583. users, transfers.
  3584. For more info on what is included in the output
  3585. for each type of statistic, see
  3586. [TODO_LINK:'the appendix section on using
  3587. stats.php].
  3588. o Default Output Format
  3589. Specify the default output format to use when
  3590. sending statistics - rss/txt/custom xml.
  3591. By default the format used when sending
  3592. stats.php info out is xml. This option allows
  3593. you to change the default format to use.
  3594. The option to choose from are: rss, txt, xml.
  3595. For more info on each type of output format, see
  3596. [TODO_LINK:'the appendix section on using
  3597. stats.php].
  3598. o Send As Attachment
  3599. Enable/disable sending of statistics as an HTTP
  3600. attachment - browser client will prompt to save
  3601. the attachment as a file.
  3602. By default, stats.php will display output
  3603. directly in the user agent as long as the agent
  3604. is configured to do so correctly. This option
  3605. allows you to specify that the stats.php output
  3606. will be sent to the user agent as an HTTP
  3607. attachment - in most cases the user agent will
  3608. then prompt the user to download the file and
  3609. save it locally before viewing it.
  3610. Fluxd control and configuration (fluxd)
  3611. Controlling fluxd (start/stop/restart)
  3612. Setting the database mode to use
  3613. Setting the log level to use
  3614. Transfer statistics configuration (xfer)
  3615. Enabling the display of transfer stats
  3616. Updating transfer stats in real time
  3617. Allowing all users to view all other users stats
  3618. (Re)setting the transfer stats
  3619. Setting the first day of the week
  3620. Setting the month day on which a month starts
  3621. Search engine configuration (search)
  3622. Checking for search engine updates
  3623. Filtering out unwanted categories from search results
  3624. Website link list management (links)
  3625. Adding, editing, moving and deleting link items
  3626. RSS Feed list configuration (RSS)
  3627. Adding, editing and deleting RSS feeds
  3628. Activity / Audit / Event viewer (activity)
  3629. Filtering items listed in the activity panel
  3630. Appendices
  3631. Guide to automatically fetching and uploading RSS torrents to torrentflux-b4rt using fluxd
  3632. Overview
  3633. This guide describes the steps required to configure
  3634. the fluxd daemon to automatically check RSS torrent
  3635. feeds for torrents matching one or more specified
  3636. patterns. When a matching torrent is found it is
  3637. automatically downloaded to a directory.
  3638. In turn, the fluxd daemon is configured to watch
  3639. this auto download directory for new torrents. When
  3640. a new torrent is found in the watch directory, the
  3641. torrent is automatically injected into
  3642. torrentflux-b4rt and optionally started
  3643. automatically.
  3644. The guide will describe the steps required to:
  3645. TODO_LINK: add links to each of the sections below:
  3646. * Configure the fluxd Rssad module to check RSS
  3647. feeds for new torrents matching a filter and
  3648. download them to a watch directory.
  3649. * Configure the fluxd Watch module to check the
  3650. watch directory for new torrents and
  3651. automatically inject them into torrentflux-b4rt.
  3652. * Configure the fluxd core and finally start
  3653. fluxd.
  3654. Important:
  3655. ----------
  3656. The RSS feeds *MUST* be 'direct download' feeds -
  3657. each item in the RSS feed must contain a direct link
  3658. to the torrent file itself and not just a link to a
  3659. description page for the torrent.
  3660. Error messages about 'URL does not appear to contain
  3661. a valid torrent file' or similar are often because
  3662. the RSS feed is not a direct download feed.
  3663. Configuring the Rssad fluxd module to download torrents
  3664. Rssad configuration is split into three parts -
  3665. filter creation, job creation and finally setting
  3666. up the Rssad module to load with fluxd. These steps
  3667. are covered below:
  3668. * Filter creation
  3669. A filter is a list of patterns that Rssad uses
  3670. in a job to find and download new torrents
  3671. within RSS feeds.
  3672. As an example, you may have a filter called 'OS'
  3673. which contains a number of patterns to match
  3674. your favourite operating systems within RSS
  3675. feed(s). When any of the patterns in the filter
  3676. are matched, Rssad will download the torrents
  3677. automatically.
  3678. One filter can be applied to any number of RSS
  3679. feeds, making it easy to search for the same
  3680. patterns on a number of different trackers.
  3681. Tip:
  3682. ----
  3683. Rssad filters are applied using the PHP function
  3684. preg_match() and are treated almost the same as
  3685. Perl Compatible Regular Expressions (PCRE), so
  3686. advanced regular expression metacharacter search
  3687. patterns can be used.
  3688. Note:
  3689. -----
  3690. Filter patterns are case insensitive, so the
  3691. pattern 'foobar' will match 'foobar', 'FOOBAR'
  3692. and 'FoOBaR'.
  3693. TODO_LINK:See the example filter section below
  3694. for practical examples.
  3695. To create a new filter:
  3696. * On the 'fluxd' tab of the admin pages, click
  3697. the link labelled 'Configure Rssad Filters
  3698. And Jobs' in the Rssad section.
  3699. * In the 'Name:' textbox on the 'Configure
  3700. Rssad Filters and Jobs' page, enter the
  3701. name you want to refer to the filter by.
  3702. The filter name is used to identify one type
  3703. of filter from another and should be
  3704. easily identifiable for you. For example,
  3705. you might have a filter called 'Films' which
  3706. contains all the patterns of upcoming films
  3707. you want to keep a watch out for.
  3708. * Click 'Add Filter' - you will be taken to
  3709. a page where you can add the patterns you
  3710. want to search for.
  3711. * On the 'Add Filter' screen, enter the first
  3712. pattern you want to search for in the 'Add
  3713. Filter-Entry' textbox and click 'add' to add
  3714. the pattern to the 'Filter-Entries' list.
  3715. Repeat this step for each pattern you want
  3716. this filter to search for.
  3717. * When all the patterns have been added to the
  3718. filter entries list, click the 'Add Filter'
  3719. button to save the filter.
  3720. The filter will now be added to the list of
  3721. filters available for use in Rssad jobs.
  3722. * Job creation
  3723. With the filter added, you can now move on to
  3724. use it in an Rssad job.
  3725. An Rssad job is composed of three components:
  3726. * A filter - comprising of one or more
  3727. patterns to search for (see above).
  3728. * An RSS feed URL to apply the filter to.
  3729. * A directory in which to download any torrent
  3730. files to if a match is made for the pattern
  3731. against the RSS feed.
  3732. To create a new Rssad job:
  3733. * On the 'fluxd' tab of the admin pages, click
  3734. the link labelled 'Configure Rssad Filters
  3735. And Jobs' in the Rssad section.
  3736. * Click on the 'Add Job' button on the
  3737. 'Configure Rssad Filters And Jobs' to open
  3738. up the Rssad job configuration page.
  3739. * On the 'Add Job' screen, enter or select the
  3740. following:
  3741. * In the 'Savedir' textbox, enter in the
  3742. directory you want any found torrents to
  3743. be saved to.
  3744. The directory path should be absolute -
  3745. ie '/path/to/savefolder' and not just
  3746. 'savefolder'.
  3747. * Check the 'Check/Create dir' checkbox if
  3748. you want the 'Savedir' directory to be
  3749. created automatically if it doesn't
  3750. already exist.
  3751. * In the 'URL' textbox, enter in the URL
  3752. of the direct download torrent RSS feed
  3753. you want to search in.
  3754. Important:
  3755. ----------
  3756. Remember, the RSS feed must be a direct
  3757. download feed - ie the links in the feed
  3758. are links to the torrent files
  3759. themselves and not just to a description
  3760. of the torrents.
  3761. Verify this is the case before
  3762. continuing to save headaches later!
  3763. * Finally, select the filter you want to
  3764. apply to the RSS feed from the 'Filter'
  3765. dropdown select field. This filter will
  3766. be used to search for the patterns you
  3767. defined in the feed URL.
  3768. * Finally, click the 'Add Job' button to add
  3769. the job to the list of jobs that Rssad will
  3770. run.
  3771. * Configuring the Rssad module to load up in Fluxd
  3772. Now the Rssad job has been added to Fluxd, all
  3773. that remains is to configure Fluxd to load the
  3774. Rssad module when it starts up and tell it how
  3775. often to run the job.
  3776. * On the 'fluxd' admin page in the Rssad
  3777. section, set 'Rssad Enabled:' to 'True'.
  3778. This will make Fluxd load up Rssad when it
  3779. starts.
  3780. * Change the 'Rssad Polling Interval:' to the
  3781. time in seconds you want to wait between
  3782. Rssad job runs.
  3783. Important:
  3784. ----------
  3785. Be careful when setting this value as some
  3786. trackers may ban you if you request their
  3787. RSS feeds too frequently. If in doubt, ask
  3788. the administrators of the tracker how often
  3789. you can check their feeds for new items.
  3790. Fluxd is now configured to run the Rssad job.
  3791. Note:
  3792. -----
  3793. If fluxd is already running, you may need to
  3794. stop and restart it for the changes to take
  3795. effect.
  3796. With the steps above, Fluxd is now ready to search
  3797. your feed URL for the filter patterns you specified.
  3798. If it finds any matching torrents in the feed, they
  3799. will be downloaded and saved to the directory you
  3800. set up in the job specification.
  3801. If you are happy to just manually check the save
  3802. directory for new torrents and inject them into
  3803. torrentflux-b4rt manually, you can skip the next
  3804. section on configuring the Watch module.
  3805. However, if you want to use the Watch module to keep
  3806. an eye on the save directory and automatically
  3807. inject any new torrents it finds there - carry on
  3808. reading!
  3809. Configuring the Watch fluxd module to inject torrents into torrentflux-b4rt
  3810. The Watch fluxd module can check a specified
  3811. directory at regular intervals and if any new
  3812. transfer files are found in that directory it will
  3813. automatically inject the transfer into
  3814. torrentflux-b4rt and optionally automatically start
  3815. it.
  3816. This is ideal when used in combination with the
  3817. Rssad module; Rssad can automatically download any
  3818. torrents found in an RSS feed into a directory that
  3819. is being watched by the Watch module and in turn the
  3820. Watch module can auto inject and optionally start
  3821. the torrent for you.
  3822. Watch configuration is split into two parts - watch
  3823. job creation and configuring the Watch module to
  3824. load up with fluxd:
  3825. * Configure Watch Jobs
  3826. To configure a watch job:
  3827. * On the 'fluxd' tab of the admin pages, click
  3828. the link labelled 'Configure Watch Jobs' in
  3829. the 'Watch' module section.
  3830. * On the 'Configure Watch Jobs' screen, click
  3831. the 'Add Job' button.
  3832. * On the 'Add Job' screen, enter or select the
  3833. following items:
  3834. * Watchdir - this is the directory that
  3835. you want the Watch module to keep an eye
  3836. on for new transfer files.
  3837. The directory path should be absolute -
  3838. ie '/path/to/savefolder' and not just
  3839. 'savefolder'.
  3840. * Check the 'Check/Create dir' checkbox if
  3841. you want the 'Watchdir' directory to be
  3842. created automatically if it doesn't
  3843. already exist.
  3844. * User - select the user you want to be
  3845. owner of any transfer files injected by
  3846. this job.
  3847. * Transfer Profile - select the transfer
  3848. profile that will apply to any transfers
  3849. injected by this job.
  3850. TODO_LINK: See the section on transfer
  3851. profiles in the user ops section for
  3852. more info.
  3853. * Finally, click on the 'Add Job' button to
  3854. save the job.
  3855. * Configuring the Watch module to load with Fluxd
  3856. Watch is now configured to watch the directory
  3857. you specified for new transfer files and
  3858. automatically inject them as the user you
  3859. specified and with the transfer profile you set.
  3860. All that remains is to have the Watch module
  3861. load up with fluxd below:
  3862. * On the 'fluxd' admin page under the 'Watch'
  3863. section, set 'Watch Enabled:' to 'True'.
  3864. This will make Fluxd load up Watch when it
  3865. starts.
  3866. * Change the 'Watch Polling Interval:' to the
  3867. time in seconds you want to wait between
  3868. Watch job runs - ie if you set this to '120'
  3869. then Fluxd/Watch will check every 2 minutes
  3870. for new transfer files and if it finds any,
  3871. auto inject them into torrentflux-b4rt.
  3872. Fluxd is now configured to run the Watch job.
  3873. Note:
  3874. -----
  3875. If fluxd is already running, you may need to
  3876. stop and restart it for the changes to take
  3877. effect.
  3878. With the steps above, Fluxd is now ready to watch
  3879. the directory you specified for new transfer files
  3880. and auto inject them.
  3881. Watch is ideally used in conjunction with Rssad to
  3882. search for torrents, download them and drop them
  3883. into a directory that the Watch module is watching -
  3884. from where Watch can then auto inject the torrent.
  3885. However Watch can be used on it's own to monitor
  3886. directories for new transfer files - for example you
  3887. might always download your torrent files into a
  3888. certain directory and then have Watch auto inject
  3889. them.
  3890. Starting fluxd
  3891. Finally after the Fluxd modules have been configured
  3892. and loaded above, you can now actually start up the
  3893. Fluxd daemon. The daemon will autoload all the
  3894. modules you configured and the jobs will run at
  3895. their scheduled intervals.
  3896. To start Fluxd:
  3897. * On the 'fluxd' admin page, modify any 'core'
  3898. options as required:
  3899. * Database Mode - by default this is set to
  3900. PHP + fluxcli.php but 'Perl + DBI/DBD' can
  3901. be used alternatively.
  3902. Note:
  3903. -----
  3904. Running in perl mode is MUCH faster than
  3905. PHP. However, you may need to install
  3906. additional perl modules to run in Perl mode
  3907. - check the 'check requirements' tab on the
  3908. superadmin pages to see if your installation
  3909. meets the requirements (TODO_LINK).
  3910. * Loglevel - this only needs changing if you
  3911. experience problems and need to debug or
  3912. troubleshoot fluxd operation. The default
  3913. loglevel is '0' (which doesn't mean 'no
  3914. output', just 'normal' level of output!).
  3915. Higher levels of loglevel increase the
  3916. verbosity of fluxd output.
  3917. * Finally, click on the 'Start fluxd' button to
  3918. start the daemon in the background.
  3919. The status light should change to green with the
  3920. message 'fluxd Running' along with the process id of
  3921. the fluxd process.
  3922. Example Rssad filter patterns
  3923. This section contains a few examples of Rssad
  3924. filters - regular expressions - and examples of what
  3925. each filter will match. Notes are provided for each
  3926. example.
  3927. * Pattern: ^foobar.*'
  3928. Matches: foobar foOBAr foobarblimp foobar...
  3929. * Pattern: foobar.*s07.*
  3930. Matches: foobarblimpS07E01 foobarblimpS07E99
  3931. foobarblimpS07Complete
  3932. Note:
  3933. Useful for matching anything from season
  3934. 07 of the 'foobar' show.
  3935. * Pattern: foobar.*s0[1-3].*
  3936. Matches: foobarS01E01 foobarS02E01 foobarS03E01
  3937. Note: Useful for matching anything from seasons
  3938. 01 through 03 of the 'foobar' show.
  3939. * Pattern: foobar.*s01e0[1-9].*
  3940. Matches: foobarS01E01 foobarS01E02 foobarS01E09
  3941. Note:
  3942. Useful for matching anything from season 01,
  3943. episodes 01 through 09.
  3944. * Pattern: (?!toast)foobar.*
  3945. Does *NOT* match: foobartoast toastfoobar
  3946. foobarblimptoast
  3947. Note:
  3948. Useful for matching something that does not
  3949. contain a certain string. The patterns above
  3950. will only match if the string does not contain
  3951. 'toast' in it.
  3952. Using fluxcli.php on the command-line
  3953. Running fluxcli.php from a cron job to auto fetch RSS feed items
  3954. Obtaining statistics using stats.php
  3955. Overview
  3956. Torrentflux-b4rt can output a variety of detailed
  3957. statistical information using TODO_LINK:[ link to
  3958. stats.php script, but only for the distribution html
  3959. manual NOT for the tfb main website version of
  3960. manual - is this possible with quickbook? 'the
  3961. stats.php script'].
  3962. The stats can be displayed in various formats
  3963. suitable for different usage purposes - plain text
  3964. for viewing/usage on the commandline or in a web
  3965. browser, RSS for reading in an RSS feed reader for
  3966. regular updates on the torrentflux-b4rt installation
  3967. or even customized XML formats for
  3968. specialised/custom use.
  3969. To view detailed usage instructions, call the
  3970. stats.php script with the single argument 'usage':
  3971. http://example.com/stats.php?usage
  3972. Specifying the type of output to display
  3973. The type of output displayed by the stats.php script
  3974. is determined by the 't' argument used in the query
  3975. string of the request URL.
  3976. For example, to display statistics relating to the
  3977. server you would browse to the following page:
  3978. http://example.com/torrentflux-b4rt/stats.php?t=server
  3979. The valid options for the 't' argument are:
  3980. o all
  3981. Displays all types of statistics listed below -
  3982. server, xfer, users, transfers.
  3983. http://example.com/stats.php?t=all
  3984. o server
  3985. Displays current statistics about the
  3986. torrentflux-b4rt server, including:
  3987. * speedDown
  3988. The total download bandwidth being utilised.
  3989. * speedUp
  3990. The total upload bandwidth being utilised.
  3991. * speedTotal
  3992. The total bandwidth being utilised
  3993. (upload and download combined).
  3994. * cons
  3995. The total number of network connections.
  3996. * freeSpace
  3997. The available disk space left in MB/Gb.
  3998. * loadavg
  3999. The server load average.
  4000. * running
  4001. The number of transfers current in the
  4002. 'running' state.
  4003. * queued
  4004. The number of transfers current in the
  4005. 'queued' state.
  4006. * speedDownPercent
  4007. Download speed as a percentage of maximum
  4008. available download bandwidth.
  4009. * speedUpPercent
  4010. Upload speed as a percentage of maximum
  4011. available upload bandwidth.
  4012. * driveSpacePercent
  4013. Available drive space remaining as a
  4014. percentage of total drive space.
  4015. http://example.com/stats.php?t=server
  4016. o xfer
  4017. Displays data transfer statistics, including:
  4018. * xferGlobalTotal
  4019. The global transfer total (all users).
  4020. * xferGlobalMonth
  4021. The current month's global transfer total.
  4022. * xferGlobalWeek
  4023. The current week's global transfer total.
  4024. * xferGlobalDay
  4025. The current day's global transfer total.
  4026. * xferUserTotal
  4027. The current user's transfer total.
  4028. * xferUserMonth
  4029. The current user's transfer total for the
  4030. current month.
  4031. * xferUserWeek
  4032. The current user's transfer total for the
  4033. current week.
  4034. * xferUserDay
  4035. The current user's transfer total for the
  4036. current day.
  4037. http://example.com/stats.php?t=xfer
  4038. o users
  4039. Displays the current online status for each
  4040. torrentflux-b4rt user.
  4041. http://example.com/stats.php?t=users
  4042. o transfers
  4043. Displays statistics for all transfers currently
  4044. being handled by torrentflux-b4rt.
  4045. The statistics displayed for each transfer include:
  4046. * running
  4047. Whether the transfer is running or not.
  4048. * speedDown
  4049. The current download speed of the transfer.
  4050. * speedUp
  4051. The current upload speed of the transfer.
  4052. * percentDone
  4053. The percentage of the transfer currently
  4054. completed.
  4055. * sharing
  4056. The share ratio for the current transfer as
  4057. a percentage.
  4058. * eta
  4059. The estimated time until the transfer is
  4060. complete.
  4061. * seeds
  4062. The number of seeds currently connected.
  4063. * peers
  4064. The number of peers currently connected.
  4065. * downCurrent
  4066. The current download bandwidth being
  4067. utilised for the transfer.
  4068. * upCurrent
  4069. The current upload bandwidth being utilised
  4070. for the transfer.
  4071. The following statistics are also displayed for
  4072. the 'transfers' argument:
  4073. * downTotal
  4074. The current total download bandwidth being
  4075. utilised.
  4076. * upTotal
  4077. The current total upload bandwidth being
  4078. utilised.
  4079. * cons
  4080. The current total number of network
  4081. connections.
  4082. http://example.com/stats.php?t=transfers
  4083. o transfer
  4084. Displays statistics for a single transfer
  4085. specified using the 'i' argument.
  4086. http://example.com/stats.php?t=transfer&i=foobar.torrent
  4087. Specifying the format of the stats.php output
  4088. The type of format to use when displaying output
  4089. from the stats.php script is determined by the 'f'
  4090. argument used in the query string of the request
  4091. URL.
  4092. For example, to display statistics relating to the
  4093. server in RSS format, you would browse to the
  4094. following page:
  4095. http://example.com/torrentflux-b4rt/stats.php?t=server&f=rss
  4096. The valid options for the 'f' argument are:
  4097. o xml
  4098. Displays output in XML format.
  4099. o rss
  4100. Displays output in RSS 0.91 format.
  4101. Suitable for receiving regular updates in an RSS
  4102. feed reader.
  4103. o txt
  4104. Displays output in plain text format.
  4105. Suitable for parsing with custom command line
  4106. scripts.
  4107. Sending column headers in text mode stats.php output
  4108. The 'h' argument to the stats.php specifies that
  4109. header columns should be sent out with the output
  4110. from the stats.php script (only in text format).
  4111. For example, the plain text output generated with
  4112. the request URL:
  4113. http://example.com/torrentflux-b4rt/stats.php?t=server&f=txt
  4114. might look like this:
  4115. 0.00;0.00;0.00;1;12.37 GB; 1.25, 1.03, 0.56;1;0;0;0;87
  4116. which is just the raw server statistics.
  4117. Instead if we add on the argument 'h=1' to indicate
  4118. we want column headers displayed as well - so the
  4119. request URL looks like this:
  4120. http://example.com/torrentflux-b4rt/stats.php?t=server&f=txt&h=1
  4121. then the output displayed will look like this:
  4122. Speed Down;Speed Up;Speed Total;Connections;Free Space;Load;Running;Queued;Speed Down (Percent);Speed Up (Percent);Drive Space (Percent)
  4123. 0.00;0.00;0.00;1;12.37 GB; 1.25, 1.03, 0.56;1;0;0;0;87
  4124. This makes it easier to tell what each field/value
  4125. of the output represents.
  4126. Tip:
  4127. ----
  4128. The field separator - ';' in the example above - can
  4129. be changed on [TODO_LINK:admin.stats 'the Admin Ops,
  4130. Configuring stats.php page'].
  4131. The stats.php script can also be configured to send
  4132. out header columns by default - again on
  4133. [TODO_LINK:admin.stats 'the Admin Ops, Configuring
  4134. stats.php page'].
  4135. Sending stats.php output as HTTP file attachments
  4136. The 'a' argument to the stats.php request URL allows
  4137. you to specify that you want the output to be sent
  4138. as an HTTP attachment. This has the effect in most
  4139. web browsers of prompting the user for a location to
  4140. download the file to or open the file up in an
  4141. associated application if MIME types are configured
  4142. correctly.
  4143. To have output sent as an attachment, use 'a=1' as
  4144. an argument to the stats.php request URL - for
  4145. example:
  4146. http://example.com/torrentflux-b4rt/stats.php?t=server&a=1
  4147. This request URL would send out the server
  4148. statistics as an HTTP attachment, prompting the user
  4149. to save the file to disk or open it in an external
  4150. application.
  4151. Sending compressed stats.php output
  4152. The 'c' argument to the stats.php request URL allows
  4153. you to specify that the output from stats.php should
  4154. be compressed when sending. Most modern web
  4155. browsers automatically 'deflate' the compressed
  4156. content on receipt so it's human readable.
  4157. Compression saves bandwidth at the cost of adding
  4158. some small additional CPU resource cost on the
  4159. server.
  4160. To have output compressed when sending, use 'c=1' as
  4161. an argument to the stats.php request URL - for
  4162. example:
  4163. http://example.com/torrentflux-b4rt/stats.php?t=server&c=1
  4164. This request URL would compress the server
  4165. statistics output before sending it out.
  4166. Tip:
  4167. ----
  4168. The level of compression to use can be configured on
  4169. the [TODO_LINK:admin.stats 'the Admin Ops,
  4170. Configuring stats.php page'].
  4171. Configuring stats.php
  4172. A number of options can be configured to control the
  4173. way the stats.php script operates. Refer to the
  4174. [TODO_LINK:admin.stats 'Admin Ops, configuring
  4175. stats.php section of the manual.]