LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-17-2009, 03:55 AM   #1
gulnawaz
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Rep: Reputation: 0
Squid source code installed but not working


SQUID 3.0.STABLE20
===============================================================
./configure --enable-storeio=”disk,aufs,ufs” --enable-ipf-transparent –enable-pf-transparent --enable-linux-netfilter --enable-removal-policies=”lru,heap” --enable-snmp --enable-delay-pools --enable-arp-acl --enable-cache-digests --enable-linux-netfilter --disable-ident-lookups --enable-underscores --enable-auth=”basic” --enable-basic-auth-helpers=NCSA --with-maxfd=8192 --enable-default-err-language=English --enable-err-languages=English --prefix=/usr/local/squid && echo “configuration Successful”


/usr/local/squid/etc/squid.conf

acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access deny all
icp_access allow localnet
icp_access deny all
htcp_access deny all
http_port 3128 transparent
hierarchy_stoplist cgi-bin ?
cache_mem 1024 MB
cache_dir ufs /usr/local/squid/var/cache 1024 16 256
access_log /usr/local/squid/var/logs/access.log squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern (cgi-bin|\?) 0 0% 0
refresh_pattern . 0 20% 4320
cache_effective_user squid
cache_effective_group squid
icp_port 3130
coredump_dir /usr/local/squid/var/cache




/usr/local/squid/sbin/squid -k parse


2009/12/15 19:10:50| Processing Configuration File: /usr/local/squid/etc/squid.conf (depth 0)
2009/12/15 19:10:50| Starting Authentication on port 0.0.0.0:14348
2009/12/15 19:10:50| Disabling Authentication on port 0.0.0.0:14348 (interception enabled)
========================================


[root@localhost ~]# ps aux | grep squid

root 3425 0.0 0.0 86480 1176 ? S 16:39 0:00 /bin/sh /usr/lib64/openoffice.org/program/soffice -writer /root/Desktop/Gul/squid installation with source code.doc
root 3436 0.1 3.6 721732 73880 ? Sl 16:39 0:02 /usr/lib64/openoffice.org/program/swriter.bin -writer /root/Desktop/Gul/squid installation with source code.doc
root 4362 0.0 0.0 23480 1416 ? Ss 17:06 0:00 /usr/local/squid/sbin/squid -D
squid 4364 0.1 0.3 27272 7136 ? S 17:06 0:00 (squid) -D
squid 4366 0.0 0.0 15876 984 ? S 17:06 0:00 (unlinkd)
root 4374 0.0 0.0 83716 780 pts/2 S+ 17:06 0:00 grep squid

==========================================================
 
Old 12-17-2009, 08:27 AM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
Quote:
root 4362 0.0 0.0 23480 1416 ? Ss 17:06 0:00 /usr/local/squid/sbin/squid -D
squid 4364 0.1 0.3 27272 7136 ? S 17:06 0:00 (squid) -D
It seems squid is running


Quote:
http_port 3128 transparent
why do you run squid as a transparent proxy, do you have any special purpose?
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
source code for application installed thru apt-get sg08 Linux - Software 11 05-06-2010 02:21 PM
Squid source code installation problem gulnawaz Linux - Server 3 12-03-2009 10:30 AM
Have installed PHP for Apache2 but source code showing Tomo3000 SUSE / openSUSE 4 08-04-2005 07:14 PM
Working with NAT, need help with source code and technical specs Sparticus Linux - Networking 1 07-10-2004 01:55 AM
Remove program which installed by source code cccc Linux - Software 3 09-09-2003 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration