|
Ricky
|
 |
« Reply #15 on: April 11, 2004, 01:42:14 AM » |
|
Well squid uses too much of RAM when it runs in caching mode i think same for simple proxy but not sure. Smoothwall is preconfigured.. give that a look.
|
|
|
|
|
Logged
|
|
|
|
kmashraf
Linux Noob !
Offline
Posts: 18
|
 |
« Reply #16 on: April 11, 2004, 02:02:09 AM » |
|
Will surely in future keep Smoothwall in mind. Am going to try my luck with a simple Squid setup, if that is possible. Thanks.
|
|
|
|
|
Logged
|
|
|
|
|
Ricky
|
 |
« Reply #17 on: April 11, 2004, 02:22:07 AM » |
|
Ya. simple proxy is possible , you can also make caching proxy. that will also enhance ur performance.. just keep cache_mem 4 MB and cache dir around 200 mb not more..
|
|
|
|
|
Logged
|
|
|
|
efren_rio
New Member
Offline
Posts: 1
|
 |
« Reply #18 on: April 25, 2004, 04:49:36 AM » |
|
How do I use Squid Proxy to point to an ISP's Proxy?
|
|
|
|
|
Logged
|
|
|
|
|
Ricky
|
 |
« Reply #19 on: April 25, 2004, 07:24:58 AM » |
|
Simply add following lines to ur squid.conf cache_peer <parent IP> parent 3128 3130 Change parent ip to the ip address of the main proxy server or u can used domain also instead of IP.
|
|
|
|
|
Logged
|
|
|
|
carrguerr
New Member
Offline
Posts: 2
|
 |
« Reply #20 on: May 14, 2004, 09:10:32 AM » |
|
I have squid running on RH9, as a server for windoze. The windoze pc's have dreamweaver installed but DW cant access remote files. I tried to use cuteFTP, wsFTP, etc and they cant connect to my ftp server. How do I set up squid so that DW and the rest of the FTP clients have access to an outside ftp server?
Thnx
|
|
|
|
|
Logged
|
|
|
|
|
Ricky
|
 |
« Reply #21 on: May 14, 2004, 09:26:39 AM » |
|
mostly ftp clients works. problem occur with only mail clients.. Try to use passive modes in ftp clients..
|
|
|
|
|
Logged
|
|
|
|
carrguerr
New Member
Offline
Posts: 2
|
 |
« Reply #22 on: May 15, 2004, 02:34:16 PM » |
|
OK ... the only ftp server I get to is the Linux box. I still cant get out to a remote server with any ftp client. I have some web sites that I want to work with thru ftp but squid wont let me thru. How does one log in to a ftp site? ftp.site.com/user/pass  dreamweaver still wont connect.
|
|
|
|
|
Logged
|
|
|
|
kmashraf
Linux Noob !
Offline
Posts: 18
|
 |
« Reply #23 on: May 23, 2004, 06:11:54 AM » |
|
I am having a problem. When I run the sample squid.conf given by Ricky as well as the default squid.conf. I run into a 'FATAL: Failed to make swap directory /usr/local/squid/var/cache/00: 13 permission denied' problem. My Linux is Vector Linux 4.0. I am also using the firewall script from http://projectfiles.com on this box. I have installed squid from the tar.gz available at the squid site. Is the problem related to ownership of the /usr/local/squid/var/cache directory ? By the way there is no default 'squid' user created in Vector Linux. I have to create one. What kind of permissions should this directory have for it to create the cache ? :?
|
|
|
|
|
Logged
|
|
|
|
|
Ricky
|
 |
« Reply #24 on: May 24, 2004, 02:11:46 AM » |
|
Ya this is the permission problem, You can have to make squid as the owner of the cache directory then have to give proper permission to them. It is like this. Say we have a user squid of group squid.. chown squid:squid <ur cache directory> then set permission to read, write execute to group and user.. chmod 770 <ur cache dir> Then initialize chaze using -z Also then you have to set same permission for log directory of squid ie.. /usr/local/squid/var/log
|
|
|
|
|
Logged
|
|
|
|
|
tomamodi
|
 |
« Reply #25 on: June 28, 2004, 02:15:33 AM » |
|
i try this squid step by step same failed need help [root@tomamodi squid-2.4.STABLE6]# /usr/local/squid/bin/squid -z 2004/06/28 09:12:54| Creating Swap Directories FATAL: Failed to make swap directory /usr/local/squid/cache/00: (13) Permission denied Squid Cache (Version 2.4.STABLE6): Terminated abnormally. CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 8
|
|
|
|
|
Logged
|
|
|
|
|
Ricky
|
 |
« Reply #26 on: June 28, 2004, 08:02:35 AM » |
|
hmm.. Did you saw my last post in this Thread ? Well that is the solution to your problem. Simply learn litlle more about chown and chmod and follow my last post.
|
|
|
|
|
Logged
|
|
|
|
lakshmi
Linux Noob !
Offline
Posts: 5
|
 |
« Reply #27 on: July 09, 2004, 10:37:49 AM » |
|
I have a problem in starting the squid service. Getting error message "starting squid...... FAILED".
I have configured squid.conf file as mentioned in the tutorial. I am successfull in creating the swap directories but unable to start the service. Can any one help me. I am new to linux.
Thanks
|
|
|
|
|
Logged
|
|
|
|
kmashraf
Linux Noob !
Offline
Posts: 18
|
 |
« Reply #28 on: July 14, 2004, 12:11:06 PM » |
|
Hi thanks for the info and I've got squid running now. I have a problem though I am unable to deny sites from a file. This is the relevant portion of my squid.conf
#Recommended minimum configuration: acl banned dstdomain "/usr/local/squid/etc/block" acl all src 0.0.0.0/0.0.0.0 acl localnet src 192.168.0.0/255.255.255.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst 127.0.0.0/8 acl SSL_ports port 443 563 acl Safe_ports port 80 acl Safe_ports port 21 acl Safe_ports port 443 563 acl Safe_ports port 70 acl Safe_ports port 210 acl Safe_ports port 1025-65535 acl Safe_ports port 280 acl Safe_ports port 488 acl Safe_ports port 591 acl Safe_ports port 777 acl CONNECT method CONNECT
http_access allow localnet http_access allow manager localhost http_access deny banned http_access deny all Can you tell me what I doing wrong !
Thanks for all your help without which I would not have got this far. Ashraf
|
|
|
|
|
Logged
|
|
|
|
|
Ricky
|
 |
« Reply #29 on: July 16, 2004, 01:40:54 PM » |
|
Hey.. !! Kmashraf.. SOrry for late reply.. Actually what i suggest to see few last post of mine about proxy .. If still it don't work then we will sort it out ! 
|
|
|
|
|
Logged
|
|
|
|
|