⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bandwidth.ps

📁 socket4 socket5 client
💻 PS
📖 第 1 页 / 共 5 页
字号:
FCBA12F819E096CAFC18F05A6277E15F>66 D<92B97E1BF84A18FE757E91C701F8C700077F047F030013F07048ED3FF8047FEE0FFC757E4D6F7E8775138004FFEF7FC04D163F1DE01C1F4B19F04D160F1DF8A25D94CAEA07FCA35D5E1DFEA2150F5EA3151F5EA3153F5EA21C0F157F5E1DFCA215FF4C171FA34A1AF84C173FA34A1AF093CB127FA21DE04A19FF5D1DC063020F1A805D631D00141F4B4D5AA2515A143F4B4D5A641B3F027F614B4D5AA2515A02FF4D90C7FC4B5F1A03505A494E5A4B4C5A505A505A494E5A92C94890C8FC4F5AF10FFC49EF1FF04AEE7FE04F5A010F040790C9FC011FEE1FFC013F4BB45ABA12C096CAFC18F818805F6277E166>68 D<ED1FC0EDFFF0913A03F03C0780913A0FC01E1FC091381F800E91397E00073F02FE14BF49481303494814FF4948158049487FA2495A49481500137F91C7FC5B48485DA2120349140300075EA2485A16075F485AA2160F003F5E5BA2161F007F5E5BA2163F5F485AA2167FEF8007180F90C8FC04FF131FEF001EA36C4A143E4B143C5E15076C020F1478A26D011F14F8001FDA3CFC13F015786C6C01F0EB01E0913801E07E2707E003C0EB03C00003903A0F803E07803C00F83E001F0F00D97FF8EB07FED90FE0EB01F8384071BE45>97D<F001F8EF01FF177F19F0A3EF007FF03FE0A419C0A2187FA21980A218FFA21900A25FA260A21703A260A21707A260A2170FA260A292381FC01FEDFFF0912603F03C5B91380FC01E91391F800E3F91387E000702FEECBFC049481303494814FF495A49486D5BA2495A495A017F93C7FC91C7FC5B485A5F120349140312075F485A1607A248485DA2160F123F495DA2161F127F495DA2163FA248485DA2167F18074D5A90C8FC04FF5B181E1700A26C4A143E4B143C5E15076C020F5CA26D011F14F8001FDA3CFC5B15786C6C01F0495A913801E07E2707E003C0495A0003903A0F803E07802900F83E001F0FC7FCD97FF8EB07FED90FE0EB01F83D6571E345>100 D<ED0FF8ED7FFE913901F80F80913907E003C0DA1F8013E091397F0001F002FC1300494814F8EB07F0495A011F1578495A4A14F8137F49C8FC485A1601484815F000071503EE07E04848EC0FC0161F4848EC3F80EEFE00ED03FC003FEC1FF09039E003FF8090B500FCC7FC1580D87FE0C9FC5BA4485AA590CAFCA717306C1638177C17F8EE01F07E6DEC03E0EE07C0001FED1F80EE3F006C6C147C00074A5A6C6CEB03E06DEB0FC0C66C013FC7FC90387C03FC90381FFFE0D903FEC8FC2E4070BE3E>I<153FEC3FFF010FB5FC5DA3EB000F6E5AA45DA2140FA25DA2141FA25DA2143FA25DA2147FA25DA214FFA292CAFCA25BA25CA20103EC3FE0923801FFFC9139FC07E07E92391F003F800107013C6D7E4B130F4A4880ECF9E090260FFBC06D7EECFF8092C7FC5C131F5C5C170F495AA25CA24948141F605CA201FF153F6091C8FCA248167F605B17FF000394C7FCA2495C5F1207A24914035F000F15074D1338491778160F001F4C13F819F049141F5F003FEF01E0163F4915C0F003C0127F94388007805BF00F0012FF041F131E90C85C040F133818F048923807C1E0933801FF800078DB007EC7FC3D6576E345>104 D<151E157FEDFF805CA31600A25DEC007892C7FCB3A3EB03F0EB0FFEEB3C1F496C7E01F07FEA01E0EA03C081EA078013005A141F121EA248495AA3007C137F00785CA214FF00F891C7FCEA700100005BA213035CA213075CA2130F5CA2131F5C133F5CA2137F5C150701FF5B14005D48141E5BA200035C5BA25D5B5DA25DEBF0014A5A5D000149C7FC3800F80EEB783CEB3FF0EB0FC0215F75DD29>I<D90FC0ECFF80D93FF0010713F0D9F0F890381F81F82601E07C90387C00FE00036D01F0137F9027C03F01E07FD80780494880ED8780D80F00018FC76C7E159E4814BC001E14F8147F003E5C003C5C183F4A5A127C00785CA2D8F80190C8127F6100705B1200010316FF96C7FC5CA201075D605C1703010F5EA24A140760131FA24A140F60013F151F4E13E04A1601173F017FEEC0031AC04A147F188001FFEF078017FF91C81300F10F005A4D131E5B611203057E5B495F053E5BF003C0496F485ADD07FEC7FCD801E0ED01F8434075BE4C>110 D<EC01E0EC07F0A2140FA3141FA25DA2143FA25DA2147FA25DA214FFA292C7FCA25BA25CA21303B712F8A4260007FCC7FC5CA2130FA25CA2131FA25CA2133FA25CA2137FA25CA213FFA291C8FCA25AA25BA21203A25BA21207A25BA2120FED01C0491303A2001F1407168049130F16005D003F141E49133E153C157C15785D6C48485AA24A5A6C6C485A4AC7FC0007133C3803E0F83800FFE0EB3F80255A73D82D>116 D<D901F8180FD90FFE031EEC3F80D91E0F033FEC7FC001786D4A7E496C6C02FF15E0EA01E001C06D92C7FC12032607800F4A153F4E141FEA0F001B0F001E011F140360003E1A07123C023F020716C0007C5C0078017F5D5D170F00F801FF1980007091C75BC7FC49031F150F4A19006013034A023F5D1B1E01075E5C057F153E010F193C4A5DA205FF157C011F19784A92C8FCA263013F5C4A5C505AA3505AA24D14074A01035E6E170F040793C7FC715C011F020F151E62161E6D6C027F5C043C5D6D6C496C6C485A6D6CD9F81F495A6D6C48486C6C485A902A007F03C003F01FC8FC913B1FFF8000FFFCDA03FCC7EA1FE0534075BE5A>119D E%EndDVIPSBitmapFontend%%EndProlog%%BeginSetup%%Feature: *Resolution 600dpiTeXDict begin%%PaperSize: A4%%EndSetup%%Page: 1 11 0 bop 888 880 a Fh(Dante)p Fg(,)44 b(Mo)t(dule)h Fh(Bandwidth)12051121 y Ff(Inferno)33 b(Nettv)m(erk)i(A/S)1247 1237 y(Oslo)d(Researc)m(h)i(P)m(ark)1298 1353 y(Gaustadall\351en)d(21)1365 1469y(NO-0349)g(Oslo)1502 1586 y(Norw)m(a)m(y)1094 2110 y(Date:)44b(2001/12/12)30 b(13:17:27)p eop%%Page: 1 21 1 bop 232 531 a Fe(1)132 b(Description)232 727 y Fd(The)28b Fc(Bandwidth)36 b Fd(mo)r(dule)27 b(giv)n(es)f(y)n(ou)h(con)n(trol)f(o)n(v)n(er)f(ho)n(w)i(m)n(uc)n(h)g(bandwidth)h(the)fFc(Dante)232 826 y Fd(serv)n(er)f(uses)h(on)h(b)r(ehalf)g(of)f(the)h(clien)n(ts.)357 933 y(It)j(can)f(b)r(e)h(used)g(to)f(limit)h(bandwidth)g(to)g(non-w)n(ork)e(related)g(w)n(eb/ftp)i(sites,)g(or)f(to)232 1033 y(prev)n(en)n(t)36 b(ftp-related)h(tra\036c)f(from)h(impacting)g(to)r(o)f(m)n(uc)n(h)h(on)f(in)n(teractiv)n(e)g(telnet/ssh)232 1132 y(tra\036c.)357 1239 y(It)25 b(can)f(also)g(b)r(e)h(used)g(to)f(giv)n(e)g(more)g(bandwidth)h(to)f(certain)g(clien)n(ts)h(or)f(for)g(tra\036c)g(to)232 1339 y(certain)j(cites.)357 1446 y(In)f(addition,)g(when)g(using)g(the)g Fc(Dante)32 b(bind)d(extension)pFd(,)d(it)g(can)g(b)r(e)g(used)g(to)g(pro)n(vide)2321545 y(bandwidth)i(con)n(trol)d(to)i(net)n(w)n(orkserv)n(ers)c(\(lik)n(e)j(e.g.)36 b(w)n(ebserv)n(ers\))25 b(that)i(do)f(not)h(supp)r(ort)2321645 y(bandwidth)h(con)n(trol)f(in)n(ternally)-7 b(.)2321957 y Fe(2)132 b(Syn)l(tax)232 2153 y Fd(The)28 b(syn)n(tax)f(of)g(the)h Fb(bandwidth)c Fd(statemen)n(t)k(is)f(as)g(follo)n(ws:)3572259 y Fb(bandwidth:)39 b(<bytes>)357 2366 y(bytes)26b Fd(is)h(the)h(maxim)n(um)f(bandwidth,)h(measured)f(in)h(b)n(ytes,)f(to)g(use)h(p)r(er)f(second.)232 2679 y Fe(3)132 b(Seman)l(tics)2322874 y Fd(The)28 b Fb(bandwidth)c Fd(statemen)n(t)j(in)n(tegrates)g(as)f(a)i(part)f(of)g(so)r(c)n(ks-rules.)357 2981 y(The)e(maximal)fFb(bandwidth)d Fd(set)k(for)f(a)g(rule)h(will)g(b)r(e)g(shared)f(b)n(y)g(all)h(clien)n(ts)f(matc)n(hing)232 3081 y(that)40 b(rule.)71b(The)39 b Fc(Dante)45 b Fd(serv)n(er)38 b(will)h(distribute)h(the)f(bandwidth)h(to)f(the)g(matc)n(hing)232 3180 y(clien)n(ts)28b(in)g(a)f(least-recen)n(tly)f(used)h(fashion,)g(trying)g(to)h(let)g(all)f(clien)n(ts)g(get)h(a)f(fair)g(share.)232 3493y Fe(4)132 b(Sp)t(ecial)44 b(notes)232 3688 y Fd(Sending)33b(the)f Fc(Dante)39 b Fd(serv)n(er)30 b(a)i Fb(SIGHUP)eFd(signal)h(forces)h(a)g(reload)f(of)h(the)h(con\034guration)2323788 y(\034le.)k(It)28 b(should)g(b)r(e)g(noted)f(that)h(this)g(do)r(es)f(not)h(a\033ect)f(curren)n(t)g(sessions.)357 3895y(Changing)22 b(e.g.)35 b(a)22 b Fc(p)l(ass)31 b Fd(statemen)n(t)23b(to)g(a)f Fc(blo)l(ck)33 b Fd(statemen)n(t,)24 b(do)r(es)f(not)g(terminate)f(the)232 3994 y(session)32 b(of)g(an)n(y)f(existing)h(clien)n(t.)52 b(Lik)n(ewise,)32 b(a)g(reload)f(of)h(the)h(con\034guration)e(\034le)h(do)r(es)232 4094 y(not)24b(let)g(sessions)f(created)g(b)r(efore)g(the)h(reload)e(a\033ect)i(sessions)f(created)g(after)g(the)h(reload.)357 4201y(This)43 b(means)g(that)g(after)g(a)f(reload)g(of)h(the)g(con\034guration)f(\034le,)47 b(the)c(bandwidth)232 4300y(coun)n(ter)21 b(for)f(new)i(sessions)d(will)j(b)r(e)f(reset,)h(and)f(the)h(p)r(ossibly)e(confusing)h(situation)g(migh)n(t)2324400 y(arise)27 b(where)h(more)f(than)h(the)g(con\034gured)f(n)n(um)n(b)r(er)h(of)g(bandwidth)g(is)g(used,)h(as)e(old)h(ses-)2324499 y(sions)c(will)g(use)g(the)g(bandwidth)h(allo)r(cated)e(to)h(them)h(b)r(efore)e(the)i(reload,)e(indep)r(enden)n(tly)2324599 y(of)28 b(new)g(sessions.)357 4706 y(Ev)n(en)n(tually)f(the)i(old)e(sessions)g(will)h(\034nish)g(ho)n(w)n(ev)n(er,)e(and)i(the)g(maximal)f(n)n(um)n(b)r(er)h(of)232 4806 y(sessions)h(will)g(b)r(e)h(the)g(the)g(n)n(um)n(b)r(er)f(curren)n(tly)f(con\034gured,)h(un)n(til)h(a)f(new)h(reload)e(of)h(the)232 4905 y(con\034guration-\034le)d(o)r(ccurs.)2325218 y Fe(5)132 b(Examples)232 5413 y Fd(This)21 b(section)g(sho)n(ws)f(sev)n(eral)f(examples)h(of)h(ho)n(w)f(one)h(could)g(use)f(the)iFc(b)l(andwidth)29 b Fd(mo)r(dule.)1644 5662 y(1)p eop%%Page: 2 32 2 bop 656 531 a Fa(5.1)112 b(Limiting)34 b(w)m(eb/h)m(ttp)j(bandwidth)656 690 y Fd(The)24 b(b)r(elo)n(w)g(rule)f(sho)n(ws)g(ho)n(w)h(one)f(can)h(limit)h(the)f(bandwidth)h(used)f(for)f(w)n(ebtra\036c)h(from)656 790 y(the)k(clien)n(ts)f(on)g(the)h(10.0.0.0/24)c(net)k(to)g(a)f(total)g(of)h(10240)d(b)n(ytes,)i(or)g(100)f(KiloBytes.)656986 y Fb(pass)42 b({)787 1086 y(from:)f(10.0.0.0/24)e(to:)j(0.0.0.0/0)e(port)i(=)h(http)787 1186 y(command:)d(connect)787 1285y(bandwidth:)f(102400)656 1385 y(})656 1732 y Fa(5.2)112b(Increasing)37 b(w)m(eb/h)m(ttp)g(bandwidth)656 1891y Fd(The)21 b(next)h(rule,)g(if)g(placed)g(b)r(efore)f(other)g(bandwith-limiting)g(rules,)h(sho)n(ws)f(ho)n(w)g(one)g(can)6561990 y(increase)30 b(the)h(bandwidth)h(used)f(for)g(w)n(ebtra\036c)f(from)h(the)g(clien)n(ts)g(on)g(the)h(10.0.0.0/24)6562090 y(net)c(to)f(certain)g(sites.)780 2192 y(In)g(this)g(case,)e(the)i(clien)n(ts)f(will)h(b)r(e)f(able)g(to)h(use)f(1024000)d(b)n(ytes,)j(or)f(one)h(MegaByte,)656 2292 y(p)r(er)h(second)g(when)h(going)e(to)i(the)g(address)e(w)n(ork.example.com.)656 2489 y Fb(pass)42b({)787 2588 y(from:)f(10.0.0.0/24)e(to:)j(work.example.com)37b(port)42 b(=)h(http)787 2688 y(command:)d(connect)7872788 y(bandwidth:)f(1024000)656 2887 y(})656 3234 y Fa(5.3)112b(Limiting)34 b(ftp)k(bandwidth)656 3393 y Fd(The)27b(next)g(rule)f(sho)n(ws)g(ho)n(w)g(one)g(can)h(limit)g(the)h(bandwidth)f(used)g(for)f(ftp-data)h(for)f(the)656 3493y(clien)n(ts)h(on)h(the)f(10.0.0.0/24)d(net)k(to)g(a)f(total)g(of)h(10240)d(b)n(ytes,)i(or)g(10)f(kB/s)780 3595 y(This)40b(only)f(w)n(orks)f(for)h Fc(active)46 b Fd(ftp,)e(since)39b(for)g Fc(p)l(assive)47 b Fd(ftp)40 b(w)n(e)f(don't)h(ha)n(v)n(e)e(\034xed)656 3695 y(p)r(ortn)n(um)n(b)r(ers.)656 3892y Fb(pass)k({)787 3991 y(from:)f(0.0.0.0/0)f(port)i(=)h(ftp-data)d(to:)i(10.0.0.0/24)787 4091 y(command:)e(bindreply)787 4191y(bandwidth:)f(10240)656 4290 y(})656 4637 y Fa(5.4)112b(Limiting)49 b(bandwidth)j(pro)m(vided)f(b)m(y)h(in)m(ternal)f(serv)m(ers)h(to)911 4754 y(the)37 b(outside)656 4912 y Fd(The)26b(next)g(rule)g(sho)n(ws)e(ho)n(w)i(one)f(could)h(use)g(the)gFc(Dante)i(bind)h(extension)j Fd(together)25 b(with)6565012 y(the)c Fc(Bandwidth)30 b Fd(mo)r(dule)21 b(to)g(limit)g(the)h(amoun)n(t)e(of)h(data)g(pro)n(vided)e(b)n(y)i(a)g(in)n(ternal)f(serv)n(er,)656 5111 y(in)29 b(this)g(case,)f(a)h(w)n(ebserv)n(er)d(called)jFc(our-webserver.example.c)l(om)p Fd(,)i(to)e(a)f(total)h(of)g(10240)656 5211 y(b)n(ytes,)e(or)g(10)f(kB/s.)780 5313 y(This)35b(requires)f(the)h(w)n(ebserv)n(er)d(to)j(b)r(e)g(so)r(c)n(ksi\034ed)f(and)h(the)g Fc(bind)i(extension)k Fd(to)35 b(b)r(e)6565413 y(enabled)27 b(on)g(b)r(oth)h(the)g(so)r(c)n(ksi\034ed)f(clien)n(t)h(and)f(on)g(the)h Fc(Dante)34 b Fd(serv)n(er.)20675662 y(2)p eop%%Page: 3 43 3 bop 232 531 a Fb(pass)42 b({)363 631 y(from:)g(0.0.0.0/0)d(to:)k(our-webserver.e)o(xa)o(mpl)o(e.)o(com)37 b(port)42 b(=)h(http)363731 y(command:)d(bindreply)363 830 y(bandwidth:)g(10240)232930 y(})1644 5662 y Fd(3)p eop%%Trailerenduserdict /end-hook known{end-hook}if%%EOF

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -