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

📄 junkbuster.1

📁 一个不错的服务代理器
💻 1
📖 第 1 页 / 共 2 页
字号:
allowing selection of the proxy (a.k.a. forwarding host) and gatewayaccording to the\s-2URL\s0.Here is a typical line..br.ft CW.S 8.nf.sp*         lpwa.com:8000      .      ..S.ft.fi.sp.PEach line contains four fields:\fB\&target\fP,\fB\&forward_to\fP,\fB\&via_gateway_type\fPand\fB\&gateway\fP.As usual, thelast\" ijbman.html#compare\fB\&target\fPdomain that matches the requested\s-2URL\s0wins,and the\fC\&*\fPcharacter alone matches any domain.The target domain need not be a fully qualifiedhostname; it can be a general domain such as\fC\&com\fPor\fC\&co.uk\fPor even just a port number..\" anchor: noseFor example, because<a href="http://lpwa.com">LPWA</a>does not handleSSL,\" ijbfaq.html#encryptthe line above will typically be followed by a line such as.br.ft CW.S 8.nf.sp:443	.      .      ..S.ft.fi.spto allow SSL transactions to proceed directly.The cautious would alsoadd an entry in their blockfile to stop transactionsto port 443 for all but specified trusted sites..PIf the winning\fB\&forward_to\fPfield is\fC\&.\fP(the dot character) the proxy connects directly to the server given in the\s-2URL\s0,otherwise it forwards to the host and port number specified.The default port is 8000.The\fC\&via_gateway_type\fPand\fC\&gateway\fPfields also use a dot to indicate no gateway protocol.The gateway protocols are explainedbelow.\" ijbman.html#o_g.PThe example line above in a forwardfile alonewould send everything through port 8000 at\fC\&lpwa.com\fPwith no gateway protocol,and is equivalent to the old\fC\&-f lpwa.com:8000\fPwith no\fC\&-g\fPoption.For more information see the example file provided with the distribution..PConfigure with care: no loop detection is performed.When setting up chains of proxies that might loop back, try addingSquid.\" ijbman.html#squid.TP.\" anchor: o_g \fI-g gw_protocol[:[gw_host][:gw_port]]\fP (Old) Use\fI\&gw_protocol\fPas the gateway protocol.This option was introduced in Version 1.4,but was folded into theforwardfile\" ijbman.html#forwardfileoption in Version 2.0.The default is to use no gateway protocol;this may be explicitly specified as\fB\&direct\fPon the command lineor the dot character in the forwardfile.The\fC\&SOCKS4\fPprotocol may be specified as\fB\&socks\fPor\fB\&socks4\fP.The\fC\&SOCKS4A\fPprotocol is specified as\fB\&socks4a\fP.The\fC\&SOCKS5\fPprotocol is not currently supported.The default\s-2SOCKS\s0\fI\&gw_port\fPis 1080..PThe user's browser should\fInot\fPbeconfigured\" ijbfaq.html#socksto use\fC\&SOCKS\fP;the proxy conducts the negotiations, not the browser..PThe user identification capabilities of\fC\&SOCKS4\fPare deliberately not used;the user is always identified to the\fC\&SOCKS\fPserver as\fC\&userid=anonymous\fP.If the server's policy is to reject requests from\fC\&anonymous\fP,the proxy will not work.Use adebug\" ijbman.html#o_dvalue of 3to see the status returned by the server..TP.\" anchor: o_d debug\fI-d N\fP (Old) debug \fIN\fP (New)Set debug mode.The most common value is 1,topinpoint\" ijbfaq.html#pinpointoffensive\s-2URL\s0s,so they can be added to the blockfile.The value of\fB\&N\fPis a bitwiselogical-\s-2OR\s0of the following values:.br.br\h'-\w"1 = "u'1 = URLs (show each URL requested by the browser);.br\h'-\w"2 = "u'2 = Connections (show each connection to or from the proxy);.br\h'-\w"4 = "u'4 = I/O (log I/O errors);.br\h'-\w"8 = "u'8 = Headers (as each header is scanned, show the header and what is done to it);.br\h'-\w"16 = "u'16 = Log everything (including debugging traces and the contents of the pages)..\" anchor: orMultiple\fB\&debug\fPlines are permitted; they are logical OR-ed together..PBecause most browsers send several requests in parallelthe debugging output may appear intermingled, so thesingle-threaded\" ijbman.html#single-threadedoption is recommended when usingdebug\" ijbman.html#debugwith\fB\&N\fPgreater than 1..TP.\" anchor: o_y add-forwarded-header\fI-y\fP (Old) add-forwarded-header \fI\fP (New)Add \fB\&X-Forwarded-For\fPheaders to the server-bound \s-2HTTP\s0streamindicating the client \s-2IP\s0addressto the server,\" ijbfaq.html#detectin the new style ofSquid 1.1.4.\" ijbman.html#squidIf you want the traditional\fC\&HTTP_FORWARDED\fPresponse header, add it manually with the-x\" ijbman.html#o_xoption..TP.\" anchor: o_x add-header\fI-x HeaderText\fP (Old) add-header \fIHeaderText\fP (New)Add the\fI\&HeaderText\fPverbatim to requests to the server.Typical uses includeadding old-style forwarding notices such as\fB\&Forwarded: by http://pro-privacy-isp.net\fPand reinstating the\fB\&Proxy-Connection: Keep-Alive\fPheader(which the\fBjunkbuster\fPdeletes so asnot\" ijbfaq.html#detectto reveal its existence).No checking is done for correctness or plausibility,so it can be used to throw any old trash into the server-bound \s-2HTTP\s0stream.Please don't litter..TP.\" anchor: o_s single-threaded\fI-s\fP (Old) single-threaded \fI\fP (New)Doesn't\fB\&fork()\fPa separate process(or create a separate thread)to handle each connection.Useful when debugging to keep the process single threaded..TP.\" anchor: o_l logfile\fI-l logfile\fP (Old) logfile \fIlogfile\fP (New)Write all debugging data into\fI\&logfile.\fPThe default\fI\&logfile\fPis the standard output..TP.\" anchor: o_acl aclfileaclfile \fIaclfile\fP (New)Unless this option is used, the proxy talks to anyone who can connect to it,and everyone who can has equal permissions on where they can go.An access file allows restrictions to be placed on these two policies,by distinguishing some\fIsource\fP\s-2IP\s0addresses and/orsome\fIdestination\fPaddresses.(If aforwarder or a gateway\" ijbman.html#forwardfileis being used, its address is considered the destination address,not the ultimate\s-2IP\s0address of the\s-2URL\s0requested.).PEach line of the access file begins witheither the word\fB\&permit\fPor\fB\&deny\fPfollowed by source and (optionally) destination addresses to be matched against those of the\s-2HTTP\s0request.The last matching line specifies the result: if it was a\fB\&deny\fPline or if no line matched,the request will be refused..PA source or destinationcan be specified as a single numeric\s-2IP\s0address,or with a hostname, provided that the host's namecan be resolved to a numeric address: this cannot be used to block all\fB\&.mil \fPdomains for example,because there is no single address associated with that domain name.Either form may be followed by a slash and an integer\fB\&N\fP,specifying a subnet mask of\fB\&N\fPbits.For example,\fB\&permit 207.153.200.72/24\fPmatches the entire Class-C subnet from207.153.200.0through 207.153.200.255.(A netmask of 255.255.255.0 corresponds to 24 bits ofones in the netmask, as with\fC\&*_MASKLEN=24\fP.)A value of 16 would be used for a Class-B subnet.A value of zero for\fB\&N\fPin the subnet mask length will cause any address to match;this can be used to express a default rule.For more information see the example file provided with the distribution..PIf you like these access controlsyou should probably havefirewall;\" ijbfaq.html#firewallthey are not intended to replace one..TP.\" anchor: o_tf trustfiletrustfile \fItrustfile\fP (New)This feature is experimental, has not been fully documented and isvery subject to change.The goal is for parents to be able to choose a page or site whoselinks they regard suitable for theiryoung children\" ijbfaq.html#childrenand for the proxy to allow access only to sites mentioned there.To do this the proxy examines thereferer\" ijbman.html#o_rvariable on each page request to check they resulted froma click on the ``trusted referer'' site: if so the referred siteis added to a list of trusted sites, so that the child canthen move around that site.There are several uncertainties in this scheme that experience may beable to iron out; check back in the months ahead..TP.\" anchor: o_ti trust_info_urltrust_info_url \fItrust_info_url\fP (New)When access is denied due to lack of a trusted referer, this\s-2URL\s0is displayed with a message pointing the user to it for further information..TP.\" anchor: o_hc hide-consolehide-console \fI\fP (New)In the Windows version only, instructs the programto disconnect from and hide the command console after starting..TP.\" anchor: o_a \fI-a\fP (Old) (Obsolete) Accept the server's\fB\&Set-cookie\fPheaders, passing them through to the browser..\" anchor: obsoleteThis option was removed in Version 1.2and replaced by an improvement to the-c\" ijbman.html#o_coption..LE.SH INSTALLATION AND USEBrowsers must be told where to find the\fBjunkbuster\fP(e.g.\fB\&localhost\fPport 8000).To set the \s-2HTTP\s0proxy in Netscape 3.0,go through:\fB\&Options\fP;\fB\&Network Preferences\fP;\fB\&Proxies\fP;\fB\&Manual Proxy Configuration\fP;\fB\&View\fP.See the\s-2FAQ\s0for other browsers.TheSecurity Proxy\" ijbfaq.html#securityshould also be set to the same values,otherwise\fB\&shttp:\fP\s-2URL\s0swon't work..PNote the limitationsexplained in the\s-2FAQ\s0..SH CHECKING OPTIONSTo allow users tocheck\" ijbfaq.html#showthat a\fBjunkbuster\fPis running and how it is configured,it intercepts requests for any\s-2URL\s0ending in\fB\&/show-proxy-args\fPand blocks it,returning instead returns information on itsversion number andcurrent configurationincluding the contents of its blockfile.To get an explicit warning that no\fBjunkbuster\fPintervened if the proxy was not configured,it's best to point it to a\s-2URL\s0that does this, such ashttp://internet.junkbuster.com/cgi-bin/show-proxy-argson Junkbusters's website..SH SEE ALSOhttp://www.junkbusters.com/ht/en/ijbfaq.html\" ijbfaq.html#.brhttp://www.junkbusters.com/ht/en/cookies.html\" cookies.html#.brhttp://internet.junkbuster.com/cgi-bin/show-proxy-args.brhttp://www.cis.ohio-state.edu/htbin/rfc/rfc2109.html.brhttp://squid.nlanr.net/Squid/.brhttp://www-math.uni-paderborn.de/~axel/.SH COPYRIGHT AND GPLWritten and copyright by the Anonymous Coders and Junkbusters Corporationand made available under theGNU General Public License (GPL).\" gpl.html#This software comes withNO WARRANTY.\" gpl.html#nowarrInternet JunkbusterProxyis atrademark\" legal.html#marksof Junkbusters Corporation.

⌨️ 快捷键说明

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