April 25, 2024, 12:48:05 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: squid + transparent proxy  (Read 6667 times)

Offline dev_rhce

  • New Member
  • Posts: 3
squid + transparent proxy
« on: October 07, 2004, 11:06:18 AM »
:oops:
i have configured my linux box for Squid + transparent proxy.n its working fine.
when i tried to look in access.log file for logging.
i came to kne tht its not logging anything.
it was working few time before.but suddenly got failed working.
can any one help me out in solving prb.
n i have another issue i have configured my squid for authentication n it was woking fine but when i made my linux box transparent to all user.it stops working.now it is not logging any thing n not asking for authentication.pls help me out in this prb.dev shah. :idea:

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
squid + transparent proxy
« Reply #1 on: October 09, 2004, 09:05:34 AM »
first of all look for the permission of the access.log and secondly .. can you give me more detail .. like wht type of authentication.. etc. you are using..

better if you can post your squid.conf over here.. but only yours not the default one..

Offline dev_rhce

  • New Member
  • Posts: 3
thnks
« Reply #2 on: October 09, 2004, 11:41:20 AM »
thnks a lot for reply.
but i got the solution for my prb.
but now i m facing another prb.
i have configured trans. proxy n it working fine.
but when i made configured my linux box as a trans. proxy after tht it wasnt asking for athentication.could u pls tell me tht is it possible transparent proxy + user athentication.coz i came to knw its not possible.
pls mail me back asap.i m in hurry.hoping favorable reply.
dev shah. :idea:

Offline dev_rhce

  • New Member
  • Posts: 3
squid.conf
« Reply #3 on: October 09, 2004, 11:46:25 AM »
here is my squid.conf file.
pls help me out.

#Global Setting

hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

maximum_object_size 8192 KB
cache_mem 16 MB

cache_dir ufs /var/spool/squid 100 16 256

#Logging
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log

#Authentication

auth_param basic children 5
auth_param basic realm Hi-Tech Export Authentication
auth_param basic credentialsttl 2 hour
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd

#refresh_pattern ^ftp:          1440    20%     10080
#refresh_pattern ^gopher:       1440    0%      1440
#refresh_pattern .              0       20%     4320

#ACL

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl our_networks src 192.168.100.0/24
acl SSL_ports port 443 563
acl Safe_ports port 80 20 21 443 563 70 210 1025-65535
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 489         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
acl CONNECT method CONNECT
acl ncsa_users proxy_auth REQUIRED

#http_access

http_access allow ncsa_users
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow our_networks
http_access deny all

http_reply_access allow all

icp_access allow all
miss_access allow all
cache_mgr root

#cache_effective_user squid
#cache_effective_group squid

#Hostname

visible_hostname technical
unique_hostname technical

#Transparent Proxy

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

#Proxy Port

http_port 3128
                                                                                                                                                                                                                       8)                            1,0-1         Top

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
squid + transparent proxy
« Reply #4 on: October 12, 2004, 08:21:36 AM »

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
squid + transparent proxy
« Reply #5 on: October 12, 2004, 08:22:09 AM »
follow that and then tell me.. hw is it working ..

Offline kartook

  • Linux Noob !
  • *
  • Posts: 4
Re: squid + transparent proxy
« Reply #6 on: August 03, 2009, 02:27:16 PM »
hey i am try to reach this link

http://www.linuxsolved.com/forums/ftopic657.html

but i am not able to ?

Mr.K~