<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: squid server configuration in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107019#M7561</link>
    <description>Hi&lt;BR /&gt; &lt;BR /&gt;drop your connections from your trusted network to the internet, and try the squid redirector module&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://squirm.foote.com.au/" target="_blank"&gt;http://squirm.foote.com.au/&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;Best Regards&lt;BR /&gt;Murat</description>
    <pubDate>Fri, 31 Oct 2003 08:20:51 GMT</pubDate>
    <dc:creator>Murat SULUHAN</dc:creator>
    <dc:date>2003-10-31T08:20:51Z</dc:date>
    <item>
      <title>squid server configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107015#M7557</link>
      <description>All,&lt;BR /&gt;I am running "squid-2.4.STABLE6-6.7.3" on redhat-7.3.  Let say I wan users to go to "proxy.com", which in turns query our internal web server (abc.com) for pages and caches the web pages if necessary. Part of this is done. But when I check the access log file, I see people using our "proxy.com" to get to other websites.  How do lock this down so that people can still point their url to proxy.com but not able to set their browser setting to use "proxy.com" as their proxy server?  Thanks.</description>
      <pubDate>Thu, 30 Oct 2003 17:35:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107015#M7557</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2003-10-30T17:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: squid server configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107016#M7558</link>
      <description>If you want them to force users to use a local proxy, then you'll need firewall rules.&lt;BR /&gt;&lt;BR /&gt;Basically, redirect anything for a remote port (3128, or 8080, whatever you use for your cache) to your local cache instead.&lt;BR /&gt;&lt;BR /&gt;You might also want to implement transparent proxying to make the whole suite complete.</description>
      <pubDate>Thu, 30 Oct 2003 17:54:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107016#M7558</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-10-30T17:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: squid server configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107017#M7559</link>
      <description>I personally stopped using proxy.&lt;BR /&gt;&lt;BR /&gt;iptables can provide a stateless firewall eliminating the need to have a proxy.  It has some logging features as well if thats why you use it.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 30 Oct 2003 17:58:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107017#M7559</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-10-30T17:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: squid server configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107018#M7560</link>
      <description>Ok, I think I got this figured out, I  used iptables on the squid server to  allow outgoing traffic only to the internal webserver. This seems to work, I will check the access log later to find out if there are any footprint besides our internal web server.&lt;BR /&gt;&lt;BR /&gt;FYI,  I need to use squid for it's caching capabilities and reverse proxy.  If any have any better suggestions or utils, please reference docs, I would like to learn more about it.&lt;BR /&gt;&lt;BR /&gt;Now I need squid to cache a url or  a domain, any idea?  Thanks.&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Oct 2003 20:06:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107018#M7560</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2003-10-30T20:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: squid server configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107019#M7561</link>
      <description>Hi&lt;BR /&gt; &lt;BR /&gt;drop your connections from your trusted network to the internet, and try the squid redirector module&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://squirm.foote.com.au/" target="_blank"&gt;http://squirm.foote.com.au/&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;Best Regards&lt;BR /&gt;Murat</description>
      <pubDate>Fri, 31 Oct 2003 08:20:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107019#M7561</guid>
      <dc:creator>Murat SULUHAN</dc:creator>
      <dc:date>2003-10-31T08:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: squid server configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107020#M7562</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you want to cache some domains outside your company :&lt;BR /&gt;&lt;A href="http://squid-docs.sourceforge.net/latest/book-full.html#AEN2075" target="_blank"&gt;http://squid-docs.sourceforge.net/latest/book-full.html#AEN2075&lt;/A&gt;&lt;BR /&gt;Read this, it's about caching concepts and hierarchy.&lt;BR /&gt;&lt;BR /&gt;If you want to cache your own server to sped the outside world browsing, then you need accelerator mode, which is also caching somehow :&lt;BR /&gt;&lt;A href="http://squid-docs.sourceforge.net/latest/book-full.html#AEN2416" target="_blank"&gt;http://squid-docs.sourceforge.net/latest/book-full.html#AEN2416&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Fri, 31 Oct 2003 10:07:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107020#M7562</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-10-31T10:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: squid server configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107021#M7563</link>
      <description>Yes, I want to cache my own server to speed up access from the outside world. I have two server, one is running squid and the other is serving up my web page. Both are NATED, but the squid server can be access from outside via port 80. The outside world can get at my web server via the squid server.  Besides using iptables to control traffic, how could I only allow access to my web site(e.g "abc.com) via squid?  Thanks.</description>
      <pubDate>Fri, 31 Oct 2003 11:44:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107021#M7563</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2003-10-31T11:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: squid server configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107022#M7564</link>
      <description>OK,&lt;BR /&gt;Say your we server is 10.0.0.1, your squid cache (accelerator) 10.0.0.2.&lt;BR /&gt;In squid.conf, you'll have :&lt;BR /&gt;httpd_accel_host 10.0.0.1&lt;BR /&gt;httpd_accel_port 80&lt;BR /&gt;If you use another port than port 80, replace 80 by the port used on your Web server.&lt;BR /&gt;Then, if you also want your proxy to act like a cache for the Internet content for the LAN, then add :&lt;BR /&gt;httpd_accel_with_proxy on&lt;BR /&gt;(if Squid just acts like an accelerator, forget about this line).&lt;BR /&gt;&lt;BR /&gt;It should work...&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Fri, 31 Oct 2003 12:17:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107022#M7564</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-10-31T12:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: squid server configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107023#M7565</link>
      <description>Jerome, that's what I have done, but with this value set as well, http_port=80.  All is working, but I noticed some scrupulous character is using the squid proxy to go to other website.  I had shut them down via iptables. But I want to know if squid can do this, maybe block all web traffic going to all websites accept our webserver. &lt;BR /&gt;&lt;BR /&gt;On another note, is there a way to check if it is caching properly and how do I make sure it is caching the right web pages? Is there a config parameter which I should be setting? Thanks.</description>
      <pubDate>Fri, 31 Oct 2003 13:28:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107023#M7565</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2003-10-31T13:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: squid server configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107024#M7566</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;As for your last questions :&lt;BR /&gt;&lt;BR /&gt;"maybe block all web traffic going to all websites accept our webserver" : yes, you can do that.&lt;BR /&gt;Define first an ACL, being kind of :&lt;BR /&gt;ACL all dst 0.0.0.0/0.0.0.0&lt;BR /&gt;ACL myserver dst 10.0.0.1/255.255.255.255&lt;BR /&gt;http_access allow myserver&lt;BR /&gt;http_access deny all&lt;BR /&gt;&lt;BR /&gt;Thus, you allow destination to your webserver, and deny to any other machine. Of course, this example has to be modified according to your network complete config.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"with this value set as well, http_port=80" : yes, you use this to set up Squid to work on that port... 100% correct.&lt;BR /&gt;&lt;BR /&gt;"is there a way to check if it is caching properly and how do I make sure it is caching the right web pages". Yes, there are many ways. One easy method is to look in your cache directory and check for the files (date, file list and so on).&lt;BR /&gt;You can also tail -f access.log in squid log directory, you'll have last connections, to which pages, and so on, it'll let you monitor it online. What I like to do is tail -f access.log &amp;gt; tty11, then Ctrl+Alt+F12 to switch at any time to the live log details...&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Oct 2003 14:39:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107024#M7566</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-10-31T14:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: squid server configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107025#M7567</link>
      <description>Jerome,&lt;BR /&gt;that ACL seems to help, I took iptables offline and so far the web traffic foot print looks great. I've checked the access.log file, I see some TCP_MISS and TCP_HIT, I take it the TCP_MISS are those pages that are not cache. How should I go about and make sure these get cache as well. What squid param should I be looking into?  Thanks.</description>
      <pubDate>Fri, 31 Oct 2003 22:14:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-server-configuration/m-p/3107025#M7567</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2003-10-31T22:14:15Z</dc:date>
    </item>
  </channel>
</rss>

