📄 ijbfaq.html
字号:
and click on<b><font face="arial, helvetica">No Proxy</font></b>to turn it off, and later click on<b><font face="arial, helvetica">Manual Proxy Configuration</font></b>if you want to start using it again.(No need to enter the again details under<b><font face="arial, helvetica">View</font></b>as you did the<a href="ijbfaq.html#netscape">first time;</a>they should remain there unchanged.)<p><a name="shut">This stops your browser talking to the proxy;</a><a href="ijbfaq.html#shutdown">shutting down the proxy</a>is a different matter.</p><h3><a name="dial" href="/cgi-bin/gp?pg=ijbfaq&pr=dial"><img border=0 width=14 height=14 src="/images/fb.gif" alt="<Feedback>"></a> Automatic dialing isn't working any more. How do I fix it?</h3><p>Some browsers (such as MSIE-4) can be configured to dial your<small>ISP</small>automatically when you click on a link,but this feature gets disabled if you specify a proxy running on yourown computer(with address<big><kbd>localhost</kbd></big>or<big><kbd>127.0.0.1</kbd></big>)because these addresses don't require dialing.TheInternet Junkbusterknows nothing about dialing, so it doesn't work.To make automatic dialing work,make up a name such as<big><kbd>junkbuster.ijb</kbd></big>and use that name in the proxy settingsinstead of<big><kbd>localhost</kbd></big>,and then add the line<big><kbd>127.0.0.1 junkbuster.ijb</kbd></big>to the file<big><kbd>c:\windows\hosts</kbd></big>(if there already is a line beginning with<big><kbd>127.0.0.1</kbd></big>just add<big><kbd>junkbuster.ijb</kbd></big>at the end of it.)<p><a name="also">This should also work Netscape Communicator 4 on</a>machines where IE-4 has been installed.</p><p align="center"><a href="#top_of_page"><img border=0 width=250 height=15 src="/images/top.gif" alt="--- Back to Top of Page ---"></a></p><br><center><h2><a name="local"><font face="arial, helvetica">Setting up the Internet Junkbuster on your local computer</font></a></h2></center><br>The next two sections assume you wish to compile the codewith your own C compiler.<a name="install">If you just want to use the</a><big><kbd>.exe</kbd></big>file provided for Windows,see the<a href="ijbwin.html">Windows Installation page.</a><h3><a name="u" href="/cgi-bin/gp?pg=ijbfaq&pr=u"><img border=0 width=14 height=14 src="/images/fb.gif" alt="<Feedback>"></a> How do I compile the code under Unix?</h3><p>If you are running Redhat<a href="aboutus.html#linux">Linux</a>you may prefer to use the<a href="ijbdist.html#red">rpm</a>instead of the following procedure.<br><ol type="1"><li><a name="download">First</a><a href="ijb20.tar.Z">download the tar file</a>(~286k)<a name="tar">and</a>uncompress and extract the files from it with this command<br>   <big><kbd>uncompress -c ijb20.tar.Z | tar xf -</kbd></big><p><li><a name="sun">If your operating system is from</a><a href="legal.html#not_our_trademark">Sun</a>or<a href="legal.html#not_our_trademark">HP</a>examine the<big><kbd>Makefile</kbd></big>and make any changes indicated inside.<li><a name="make">Run</a><br><br>   <big><kbd>make</kbd></big><p><li><a name="defaults">Copy the sample configuration file</a>(<big><kbd>junkbstr.ini</kbd></big>,previously called<big><kbd>sconfig.txt</kbd></big>and other names in earlier releases)to some convenient place such as<big><kbd>/usr/local/lib/junkbuster/configfile</kbd></big>or whatever you choose.The sample file has all the options commented out.You can remove the<big><kbd>#</kbd></big>character on any that you want, but it may be better toleave this until to later.Run it asynchronously:<br><br>   <big><kbd>junkbuster configfile &</kbd></big><p>If you are running a version earlier than 2.0 you can start it with<big><kbd>junkbuster &</kbd></big><p><li><a name="config">Configure your browser (described</a><a href="ijbfaq.html#browser">above).</a><li><a name="test">Verify that the</a>Internet Junkbusteris working (described<a href="ijbfaq.html#show">above).</a><li><a name="restart">Decide on the options you really want,</a><big><kbd>kill</kbd></big>the<a href="ijbfaq.html#pid">process</a>and start it again. The most popular option is<a href="ijbman.html#blockfile">blockfile</a>to block ads.<a name="comprehensive">A sample blockfile is provided as an illustration,</a>but it doesn't really stop many ads.More comprehensive ones are available<a href="ijbfaq.html#readymade">elsewhere</a>.<li><a name="rc">You'll probably want to add an entry to</a><big><kbd>/etc/rc.d/rc.local</kbd></big>or equivalent to start it at boot time.(Any output you specify should be redirected to a file.And don't forget the&at the end to run it asynchronously or your system will seizeup after the next reboot.)</ol></p><h3><a name="win" href="/cgi-bin/gp?pg=ijbfaq&pr=win"><img border=0 width=14 height=14 src="/images/fb.gif" alt="<Feedback>"></a> How do I compile the code under Windows?</h3><p>A binary is currently being supplied with the source code,but if you prefer to compile it yourself here is the likely procedure.Most of these steps are repeated in our checklist for<a href="ijbwin.html">installation under Windows.</a><br><ol type="1"><li><a name="zip">First</a><a href="ijb20.zip">click here to download the zip file</a>called<big><kbd>ijb20.zip</kbd></big>(~208k),then uncompress and unpack the zip archive using a tool like<a href="http://www.winzip.com/">WinZip</a>.<li><a name="change">Now the distribution (source and sample files)</a>will be in a foldercalled<big><kbd>ijb20</kbd></big>.Go into that folder and then edit the Makefile foryour system,removing the comment character(<big><kbd>#</kbd></big>)in the lines related to Win32.Then type:<br>   <big><kbd>nmake</kbd></big><br>This should create an executable called<big><kbd>junkbstr.exe</kbd></big>.<a name="compilers">For information on issues with various compilers, see the</a><a href="ijbdist.html#compilers">Distribution Information</a>page.<li><a name="attempt">Run the executable with the command:</a><br>   <big><kbd>junkbstr</kbd></big><br>The program will produce a messageindicating that it has started and is ready to serve.<p><a name="ini">(Version 2.0.1 and above uses</a>the file<big><kbd>junkbstr.ini</kbd></big>as the config fileif it exists and no argument was given. If you have an earlierversion or if you want it to use a different config file,simply specify that file as the argument.)<li><a name="configures">Configure your browser (described</a><a href="ijbfaq.html#browser">above).</a><li><a name="work">Check the proxy is working (described</a><a href="ijbfaq.html#check">below</a>).<li><a name="shortcut">To have the proxy start itself automatically</a>when you login to Win95,drop the ``shortcut'' to the<big><kbd>junkbstr</kbd></big>executable into the StartUp folder:<br>   <big><kbd>C:\Windows\Start Menu\Programs\StartUp</kbd></big><br>You might want to change the shortcut's<big><kbd>Properties->Shortcut</kbd></big>to<big><kbd>Run: Minimized</kbd></big>.If you specify the<a href="ijbman.html#hide-console">hide-console</a>option then the<small>DOS</small>window will vanish after it starts.<p><a name="NT">WinNT users can put it into their own</a>StartUp folders or the Administratorcan put it into the system's global StartUp folder.For details on how to make this a service under NTsee our<a href="ijbwin.html#service">Windows page</a>.</ol></p><h3><a name="check" href="/cgi-bin/gp?pg=ijbfaq&pr=check"><img border=0 width=14 height=14 src="/images/fb.gif" alt="<Feedback>"></a> How do I check that the proxy is working?</h3><p>Pick a page from somewhere (such as your bookmarks, or just onethat your browser was pointing to)and<b><font face="arial, helvetica">Reload</font></b>it.If you get a message along the lines of ``server not responding,using cached copy instead,'' see the advice<a href="ijbfaq.html#responding">above.</a>If the page reloads OK, check that your browser is actuallytalking to the proxy by going to<a href="http://internet.junkbuster.com/cgi-bin/show-proxy-args">http://internet.junkbuster.com/cgi-bin/show-proxy-args</a>or any<small>URL</small>ending in<big><kbd>show-proxy-args</kbd></big>(as described<a href="ijbfaq.html#show">below</a>,the proxy should intercept the request.)When you see ``Internet Junkbuster Proxy Status,''you'll know it's working.</p><h3><a name="chain" href="/cgi-bin/gp?pg=ijbfaq&pr=chain"><img border=0 width=14 height=14 src="/images/fb.gif" alt="<Feedback>"></a> How and why would I have this proxy chained with other proxies?</h3><p>You may need the <a href="ijbman.html#forwardfile">forwarding</a>feature to ``daisy chain'' theInternet Junkbusterto another proxy, perhaps an<a href="ijbfaq.html#anonymizing">anonymizing</a>proxy to<a href="ijbfaq.html#conceal">conceal</a>your<small>IP</small>address,or a<a href="ijbfaq.html#cache">caching proxy</a>from your<small>ISP</small>,or a<a href="ijbfaq.html#firewall">firewall</a>proxy between your company and the outside world.Version 2.0can be even configured to forward<a href="ijbman.html#forwardfile">selectively</a>according to the<small>URL</small>requested:for example, connecting directly to trusted hosts,but going through an anonymizing or firewall proxy for all other hosts.<p><a name="administrator">Network administrators might use it to provide</a>transparent access to multiple networks withoutmodifying browser configurations.<a name="direct">Most browsers also provide a way of</a>specifying hosts that the browserconnects to directly, bypassing the proxy. Some provide a method for<a href="ijbfaq.html#Automatic">Automatic Proxy Configuration.</a>A well writtenInternet Junkbusterconfiguration can be much more flexible and powerful.<p><a name="example">An</a><small>ISP</small>'scaching proxywould typically be called something like<big><kbd>cache.your-isp.net:8080</kbd></big>(as described on you<small>ISP</small>'sweb page);you would put this information in your<a href="ijbman.html#forwardfile">forwardfile</a>as described in our manual.Your browser would be configured totheInternet Junkbusterfor<small>HTTP</small>and Security Proxies as before,but you probably want to tell it to use the caching proxyfor<small>FTP</small>and other protocols.<a name="nonlocal">If your</a><small>ISP</small>is runningtheInternet Junkbusterfor you,they have probably already decided whether to chain with a caching proxy.</p><h3><a name="socks" href="/cgi-bin/gp?pg=ijbfaq&pr=socks"><img border=0 width=14 height=14 src="/images/fb.gif" alt="<Feedback>"></a> How does the Internet Junkbuster work with SOCKS gateways?</h3><p>There is support for some<a href="http://www.leverage.com/users/tlod/ssockd/ssockd.html">gateways</a>inVersion <a href="ijbdist.html#c4">1.4</a>and above.The gateway protocol used to be specified on the command line;it isnow specifiedin the same file as<a href="ijbman.html#forwardfile">forwarding.</a>Note that the browser's proxy configuration must<em>not</em>specify a<big><kbd>SOCKS</kbd></big>host;it should specify the proxy as described<a href="ijbfaq.html#set">above.</a></p><h3><a name="plain" href="/cgi-bin/gp?pg=ijbfaq&pr=plain"><img border=0 width=14 height=14 src="/images/fb.gif" alt="<Feedback>"></a> How do I configure it to be just a plain old proxy?</h3><p>To get the proxy to do as little as possible (which means not deleting anysensitive headers), place in yourconfiguration file the following three lines (each ending in a spacethen a period) to stop it changing sensitive headers:<br>   <big><kbd>referer .</kbd></big><br>   <big><kbd>from .</kbd></big><br>   <big><kbd>user-agent .</kbd></big><br>   <big><kbd>cookiefile mycookiefile</kbd></big><br>The fourth line is also needed to specify a<a href="ijbman.html#o_c">cookiefile</a>that might be called<big><kbd>mycookiefile</kbd></big>containing a single line with a<big><kbd>*</kbd></big>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -