Server :: Squid3 Transparent Mode Not Speeding Up Internet?

Apr 3, 2010

I've setup Squid3 running on Ubuntu 9.04 64-bit server, and configured it to act as a transparent proxy and setup my router following these instructions: [URL]

Everything works great as far as browsing, but my main goal was to cache large downloads (usually executables) that I download frequently. So I set the minimum to 300KB and the max to 100MB. The problem, though, is the cache is not being used. I can download a file at regular speed on one computer, and then try and download it again and it downloads from the internet again, rather than the cache, so the speed is no faster.

Here's my config file:

Code:
#Recommended minimum configuration:
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8

[Code].....

View 1 Replies


ADVERTISEMENT

Server :: Set Up Squid3 Proxy As A Transparent Proxy & Iptables Config

Feb 23, 2011

I am trying to set up my squid3 proxy as a transparent proxy - right now, I have to manually configure browsers to access via proxy. I understand that I have to put some rules into Iptables and also some further directives in the squid.conf.

I have a couple of specific questions. The proxy server is running on a Ubuntu 10.04 workstation and this machine also acts as a dhcp server for the network. I have just one subnet , namely 192.168.0.1-254 There is only 1 network card. Is it much easier to put in a second network card or is it just as easy to configure the existing lan card as a dual IP?

Is it necessary to configure these 2 IP's ( whether they are via 2 lan cards or dual IP on single card ) to be on different subnets. i.e ETH0 192.168.0.1 and ETH1 192.168.1.1 or is ok to have something like ETH0 192.168.0.1 and ETH1 192.168.0.254 ( where ETH0 is the one facing the LAN and ETH1 points to the modem router / switch i.e The Internet ) Where specifically do I save the Iptables rule configuration file and what must I call it ?

View 4 Replies View Related

CentOS 5 Server :: Implementing Transparent Tproxy Cache In Bridge Mode

Jun 9, 2009

any one are implementing Transparent Cache in bridge mode. after googling i found article but its not working for me. any one have done this before ? [URL]

View 4 Replies View Related

Server :: How To Force Squid3 To Use SSL Connection Between Client And Server?

Sep 17, 2010

I actually have a server and a client.The client must connect to the server (via internet) to access to external websites. (You can see the attachment, maybe it's more clear )My actual problem is, I have configure Squid on my server, but I want to force SSL for the connection between the client and the server.I didn't really find nice tutorials about on that, maybe someone have an idea ? Or maybe some indications ?

View 1 Replies View Related

Server :: Squid3 Deny All Traffic (Ignoring ACL)

Feb 18, 2010

I have a squid3 on a debian lenny box but cannot get access to any site.

If i remove the http_access deny all works, but i just want those ip to get access to squid

My squid.conf

Code:
intranet:/etc/squid3# cat squid.conf
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
#acl all src 0.0.0.0/0

[Code].....

View 3 Replies View Related

UUbuntu Networking :: Configure Squid3 Et SquidGard On Server 10.04 For A School?

Sep 29, 2010

i'am trying to configure Squid3 et SquidGuard on ubuntu Server 10.04 for a school. I'm new in linux, before i post this thread, I searched in the french forum and www. I found nothing to help me to resolve this issue. You can see below to configuration file from Squid3. which is stored in /etc/squid3/

[Code]...

View 1 Replies View Related

Server :: Make Squid 2.6 Stable As Transparent Proxy Server?

Dec 22, 2010

I want to make a transparent squid proxy server in centos. The squid proxy version is 2.6 stable. I made a normal squid server but want to make it transparent so that users do not need to enter the proxy settings in web browser. Even i searched about this on google but not getting it properly.I have two lan cards on centos system. ETH1 used for LAN and ETH2 used for WAN. And in this squid.conf i written "http_port 172.16.31.1:3128 transparent" and i also added a rule in iptables which is "iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128" but still i have to enter proxy settings at client's web browser to use internet

View 4 Replies View Related

Server :: Installing And Configuring Transparent Squid Server On Centos5.4?

Sep 17, 2010

I would like to install and configure Transparent squid proxy on a gateway server ,but i dont have a local OR intranet DNS server.I am facing issues do that ,regard .My IP series is 192.168.1.1/24

View 5 Replies View Related

Server :: Change From Graphic Mode To Text Mode In CentOS 5.3?

Sep 14, 2009

The system always boot up in Graphic Mode. After installation of Web Server, I want to disable Graphic Mode and change it to boot to Text Mode to save memory. Is there a way to disable graphic mode?

View 1 Replies View Related

Server :: Setup Squid As Non-transparent?

May 1, 2009

to configure squid as a non-transparent proxy? I understand https cannot be filtered using squid as a transparent proxy. So i need to find out how to configure squid for https filtering.

View 1 Replies View Related

OpenSUSE :: Speeding Up Printing ?

May 20, 2010

opensuse v11.2 linux 2.6.31.12-0.2-desktop x86_64

We have a networked Kyocera cs-3050 printer. When I print something to it, the Print window hangs for about a minute while the printer process queries the printer. This would be acceptable if it did happen EVERY TIME I printed a document.

Is there some way to have the printer driver cache the information instead of asking for it every time?

View 9 Replies View Related

General :: Squid As Transparent Proxy Server?

Jun 30, 2010

I am trying to install Squid 2.6 as Transparent proxy server.Can anyone provide the step by step configuration details

View 8 Replies View Related

Server :: Enabling Transparent Spam Filtering?

Jun 2, 2010

I need to implement a form of filtering. Current topology is like so:

Internet -> Smoothwall -> MS Exchange server (w/ OWA) -> Clients

So I need to enable transparent spam filtering on the smoothwall system, which is a full fledged Linux system. There are no 'free' modules available for smoothwall that enable spam filtering. And due to the monetary constraints of the project I'm working on, something free is required.

I don't have any experience with this - I've done a couple of searches and came up with "SpamAssasin", but I can't find any relevant guides that allow transparent scanning - they all assume the mail is stored on THAT server.

So I'm here to ask the more experienced people what sort of packages will enable this functionality? Would like something that has a WebUI, but that's not absolutely necessary.

View 4 Replies View Related

Server :: SQUID 2.7.x And 3.1.x Won't Work As Transparent Proxy ?

Oct 16, 2010

I have installed and tried both squid version as transparent proxy but they just don't work.

I have eth0 which is where my internet comes in and eth1 which is my local network 192.168.1.0/255.255.255.0.

My default firewall policy is to drop input output and forward, i have already set my firewall to accept and workout the squid and it is working.

Here is the relevant rules i have on my firewall:

Code:

Here is the sample conf i am using for squid:

Code:

Always_direct allow all When using version 2.7.x i was able to make it transparent when i used the below rules:

Code:

I readed the Docs on the squid page but the above rules can't be reproduced to 3.1 and i don't wish to use such rules to make it transparent or hidden so i want some help to figure out why it inst transparent.

View 2 Replies View Related

Server :: Squid With Transparent OR Authentication Options?

Mar 3, 2010

I have a squid server set up with two ports:

http_port 3128 transparent
http_port 3129

Port 3128 is set up for transparent proxying (ie, if you send a request to the internet, iptables forwards it to 3128) Port 3129 is just a regular port. If you connect to 3129 directly, you get prompted for a password:

Code:

auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid/squid.passwd
auth_param basic children 2
auth_param basic realm Squid proxy-caching server
acl password proxy_auth admin
http_access allow password

And this is actually working also. If someone signs then they are able to access unrestricted browsing (with squidguard). However, if they don't, they are transparent-proxied and have restricted browsing. The problem is I keep getting /var/squid/cache.log hits:

Code:

2010/03/03 17:11:04| ACHChecklist::authenticated: authentication not applicable on transparently intercepted requests. Basically evertime there's a transparent request, it throws a warning.

View 2 Replies View Related

Server :: Transparent Proxy In Squid Not Functional

Jun 3, 2009

I am using Fedora 9, I have compile the squid with source code, i also deleted the old RPM of squid. i then edited the squid.conf in /usr/local/squid/etc and set http_port 3128 transparent and allowed in my acl to my local network but the transparent proxy is not working. if i remove transparent proxy then squid works fine. when i try to make it transparent the squid access.log file does not show any request coming to it (no activity). i have also forwarded all the incoming traffic to squid port 3128. Can anybody tell me why my transparent proxy is not functional.

View 3 Replies View Related

Server :: Transparent Proxy On Non-gateway System

Sep 16, 2010

I can very well configure squid transparent proxy on gateway server.But i want the squid transparent proxy on non-gateway system as i already have hardware firewall installed.i.e i want to redirect all the traffic coming through my gateway (hardware firewall) 192.168.200.1 to my squid server 192.168.200.3 on port 3128.How it is possible? Without transparent proxy by directly giving proxy ip in browser i can access internet but how to do it in transparent mode?

View 8 Replies View Related

Ubuntu :: Speeding Up Firefox With A Slow SSD?

May 26, 2010

I have an Acer Aspire One A110 netbook. Presently, it runs Ubuntu Netbook Remix 9.10 and Firefox 3.5.8. The A110 is an early model with a slow SSD (solid state drive). Firefox was slow and often paused (froze for a moment). I tried several hacks in the Ubuntu forums and elsewhere to speed up Firefox. Some were not effective at all, some were very technical and at least one produced instability. I tried Google Chrome, which started out fast but turned slow. Emptying browser caches did not fix my problems.

I thought the slow disk must be the problem and moved the browser cache to a dedicated SDHC card. I've since been running with a dedicated cache for a month or two now, have never emptied the cache and Firefox still runs fast. I mean fast enough that it doesn't slow down my browsing (I'm not trying to set world speed records).

The A110 has two SD slots. I have a 16 GB SDHC card in the 'Storage Expansion', which is my data disk. The second is a card reader slot. I didn't want to mess with my data disk. I bought a fast (Transcend, Class 6)

4 GB SDHC, put that in the card reader slot and set up my Firefox cache there:

1. Type about:config in the Firefox address bar.

2. Tell Firefox where your new cache is. For me:browser.cache.disk.enable true.

browser.cache.disk.parent_directory /media/BD2C-8BD5/firefox (I created a directory /firefox on the card)

3. Tell Firefox to increase the size of the cache: browser.cache.disk.capacity 512000 (formerly 51200)

4. Check the cache is enabled, type about:cache in the Firefox address bar. For me it returns: /media/BD2C-8BD5/firefox/Cache

To get the name of the cache directory easily and accurately, open this directory with the File Browser, toggle to a text-based location bar and there it is. Cheap SD cards can be purchased on feebay. Select carefully, they're not all fakes. SDHC Class 6 is fine for a browser cache, handling small blocks of data. Cards only slow down when you do a massive file transfer. 2GB or 1GB should be adequate but fast and small cards are rare. Other memory cards can be used of course, but speeds vary between different technologies.

View 2 Replies View Related

Ubuntu :: 10.10 ... Speeding Up Boot Time

Dec 18, 2010

I'm using Maverick, and I'd like to know some ways that I can make my laptop boot faster. I put the image for the bootchart on my website, just click on the picture and then zoom into it. [URL]

View 3 Replies View Related

Ubuntu :: Speeding Up Flash In Firefox (11.04)?

Jul 13, 2011

Does anyone know any way to speed up flash in firefox on 11.04.I get a lot of lag trying to play games.

View 6 Replies View Related

Programming :: Bash: Speeding Up A Script?

Jan 17, 2011

the bash script we're using to index the music takes FOREVER. A copy of the script is below. We need it to update the database daily, but using find even with the new files added takes over 6 hours.

Code:

#!/bin/bash
mv /var/www/music/index.hold /var/www/music/index.html
before=$(date +%s)
tdy=$(date +%u)

[code]....

View 14 Replies View Related

Slackware :: 13.1 Speeding Up Boot Time?

Jul 19, 2010

Just some things I changed to speed up the boot time.

In '/etc/rc.d/'

rc.acpid
Code:
echo "Starting ACPI daemon: /usr/sbin/acpid &"
/usr/sbin/acpid &
rc.hald

[Code]....

View 14 Replies View Related

Server :: How To Configure Transparent Proxy In Squid-3.0 Staple 16

Jul 3, 2009

how to configure transparent proxy in squid-3.0-staple16? I install it with source code

View 1 Replies View Related

Server :: How To Configure Dansguardian On Squid Transparent Proxy?

Jun 11, 2009

can anyone give me the solution how to configure dansguardian on squid transparent proxy.i m using
linux - slackware
squid - squid-2.6-stable18
dansguardian - 2.10.1.1

squid transparent proxy is working properly.

View 2 Replies View Related

CentOS 5 Server :: DNS Cache ONLY + Squid Transparent Caching

Oct 23, 2009

what i need, I got two servers for about 4000 users and 300 servers and well the guy never setup dns caching right, so im redoing it. Now my goals

1) DNS cache
2) Transparent Squid Cache only
3) Load Balance - at switchlevel

Upgraded Hardrives to SSD 2x32gb each server 4gb of ram 2x Dell poweredge 850's - p4 2.8 (single cores) So any advise , pointers , expeirnces and best ways to do this being both server will do both dns caching and squid! Also is bind9 the best for this?? i seen stuff about DNSmasq what performs better( i dont need DHCP)

View 1 Replies View Related

Ubuntu :: Fan Keeps Speeding On Dell Studio 1747 10.04?

Sep 5, 2010

I recently bought Dell Studio 1747 with i7 processor. My fan keeps running fast and does not slow even when the load on processor is low or idle. In pre-installed Windows 7, fan works perfectly increasing and decreasing speed based on work load. The noise made by the fan is irritating.

View 1 Replies View Related

Ubuntu :: Slow To Load In Nautilus - Speeding Up?

Mar 7, 2011

Folders with large collections of photos are incredibly slow to load in Nautilus. Sometimes Nautilus goes grey and never recovers. I've tried increasing the size of the thumbs cache but that doesn't seem to make a difference. Ubuntu's Nautilus is also several times slower than Fedora on the same computer and same folders (Multiple OS). I've gotten so that I mainly use Thunar, which loads the same folders in a fraction of a second, though Thunar comes with its own limitations. Is there a way, yet, to make Nautilus behave like Thunar.

View 3 Replies View Related

General :: Making Server Completely Transparent To Speed Up Network

Apr 8, 2010

I am just checking in I know a lil about linux looking to learn more I know forums are the best way to go. I recently installed centos 5.3 on a machine we are going to be using as a squid server. Just a couple quick ?s and just wanted to pick your alls brains. What I am trying to do with the server is use it for caching to speed up our network t but I don't want to go around to all the our customers to setup their browser for proxy. What all is involved with making this server completely transparent. So the end user will does not need to enter in proxy information.

View 3 Replies View Related

Hardware :: New Server Hard Drive Make It Seem Transparent To User?

Dec 3, 2010

We have a server at a friends house with a hard disk that's filling up so he picked up another hard drive.

My question is.. can I install it and then configure it so to the user it seems transparent and they just see the extra space all on one drive/directory? (From Windows)

It's running centos 5 with samba ... with EXT3.. and I don't believe it's using LVM.

View 4 Replies View Related

General :: Speeding Up Script By Opening And Closing DB Connection Just Once?

Jan 21, 2011

I have a script which takes a file as input and reads it in while loop cuts the name of table and stores in a variable opens DB connection and queries for rowcount in that table closes the connection reads another file and then follows step 1 through 4 till EOF is reached. Now this script is taking longer to execute maybe because the DB connection is opened and closed each time.

My scripts is:

Code:

#!/bin/ksh
cat logcountOP | while read LINE
TBLName=`echo $LINE|cut -d "-" -f1`

[code].....

I was thinking of changing this.I want to open the DB connection just once and then query it for all tables and then exit.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved