Re: [squid-users] Re: Squid 2.5 STABLE7 failing under Cygwin Windows XP

2007-07-24 Thread Guido Serassio

Hi,

At 06.47 24/07/2007, Santosh Rani wrote:

 Why you are not using the native Windows binary kits ?
I have tried using binaries for SquidNT. But it gave me error in my cache.log;

2007/07/14 21:18:42| ipcCreate: CHILD: G:/Proxy1/libexec/unlinkd.exe:
(2) No such file or directory

I have seen that the directory as well as the file 'unlinkd.exe' exists there.

I would rather be happier to use the binaries since it is easier to
install it as a windows service and also that it would start
automatically upon bootup.
But because of above mentioned error I left it. It is my mistake
though that I did not report the problem (pardon me please).


Argh !!!, this is a very important detail  :-(


When I am already running Bofi's Squid 2.5 Stable3 on this machine,
can I runt another Squid instance under Windows with a different
service name?


Yes, you can, but with the correct config.
General guide lines for multiple instances:
http://wiki.squid-cache.org/MultipleInstances

On the Windows side, you must use two different 
Squid services with different service name and different command line.

See -O and -n options.

something like:

squid -i -n squid1 -O -f c:/squid1/etc/squid.conf
squid -i -n squid2 -O -f c:/squid2/etc/squid.conf

Regards

Guido





On 24/07/07, Santosh Rani [EMAIL PROTECTED] wrote:
 My try to build Squid with --enable-win32-service failed under Cygwin
 with the error; It does not recognise this directive.

 Regards

 On 23/07/07, Henrik Nordstrom [EMAIL PROTECTED] wrote:
  On mån, 2007-07-23 at 16:05 +0530, Santosh Rani wrote:
 
   Further, I wish I could automate this so that Squid under Cygwin
   starts on bootup.
 
  I think the following should work:
 
  Built Squid with --enable-win32-service
 
  Then install it as a service by using
 
 /path/to/sbin/squid -i
 
 
  Another option is to use the service wrapper from the Windows resource
  kit.. used that for various non-windows daemons many years ago (NT4
  era).
 
  Regards
  Henrik
 
 




-

Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1   10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/



[squid-users] squid ftp

2007-07-24 Thread Nadeem Semaan
While trying to open ftp sites with IE, i usally get an error, when opening the 
same site with firefox, i get prompted for credentials. Is there anything that 
has to be done on Squid to have IE promt for passwords as well (probably TAG: 
ftp_user), or is this browser specific. I mean is it the way that squid handels 
the requests?


   

Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.
http://farechase.yahoo.com/


[squid-users] Help needed for squid with LDAP

2007-07-24 Thread Jagdeep Shrivastav

Hi All,

I have configured Squid (squid-2.6.STABLE6-4.el5) on Centos5.0, now i
am trying to configure Squid to get the users authenticated with LDAP
(windows 2003) server
can any one please tell me how to configure and what is the start to
achive the same.



Regards,

Jagdeep


[squid-users] Detecting and blocking child proxy servers

2007-07-24 Thread Tek Bahadur Limbu

Hi all,

We have Squid-2.6 proxy servers running in transparent mode. I want to 
know if we can disable sibling/child proxy servers from using our proxy 
servers via the X-Forward-For headers.


For example, I only want to allow only my selected child/sibling proxy 
servers from being able to use our primary proxies based on IP 
addresses. I want to discard all other proxy servers used others.


Is this possible? In other words, I want my proxy servers to detect 
squid or other proxy severs which are being used or operated by others 
besides me.


Thanking you...



--

With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal

http://www.wlink.com.np


Re: [squid-users] Re: Squid 2.5 STABLE7 failing under Cygwin Windows XP

2007-07-24 Thread Santosh Rani

Fine.
I have installed SquidNT port of on my G: drive apart from the one
running already.
Both the Squids have different Service names under Services Applet of Windows.
I have already created swap directories. (squid -z).
Visible_hosname have been declared.
Both are running on same machine.
Both have been assigned different NIC.
Both have been assigned different ports.
Freshly installed Squid has been allowed access in the firewall rules.
Now when I do  G:/squid/sbin/squid -f g:/xy/etc/squid.conf

I am getting following error in my cache.log :

2007/07/24 16:16:26| Starting Squid Cache version 2.6.STABLE13 for
i686-pc-winnt...
2007/07/24 16:16:26| Running on Windows XP
2007/07/24 16:16:26| Process ID 2852
2007/07/24 16:16:26| With 2048 file descriptors available
2007/07/24 16:16:26| With 512 CRT stdio descriptors available
2007/07/24 16:16:26| Windows sockets initialized
2007/07/24 16:16:26| Using select for the IO loop
2007/07/24 16:16:26| Performing DNS Tests...
2007/07/24 16:16:26| Successful DNS name lookup tests...
2007/07/24 16:16:26| DNS Socket created at 0.0.0.0, port 4199, FD 4
2007/07/24 16:16:26| Adding nameserver xxx.xxx.xxx.xxx from Registry
2007/07/24 16:16:26| Adding nameserver xxx.xxx.xxx.xxx from Registry
2007/07/24 16:16:26| Adding nameserver 218.248.255.177 from Registry
2007/07/24 16:16:26| User-Agent logging is disabled.
2007/07/24 16:16:26| Referer logging is disabled.
2007/07/24 16:16:26| ipcCreate: CHILD: g:/squid/libexec/unlinkd.exe:
(2) No such file or directory
2007/07/24 16:16:26| ipcCreate: PARENT: OK read test failed
2007/07/24 16:16:26| -- read returned 4
2007/07/24 16:16:26| -- got 'ERR%0a'
FATAL: Failed to create unlinkd subprocess
Squid Cache (Version 2.6.STABLE13): Terminated abnormally.

My observation:
1. There is no squid.pid file present in G:/squid/var/logs
2. unlinkd.exe exists at  g:/squid/libexec/unlinkd.exe

Please help why I am getting this error.

Regards
On 24/07/07, Guido Serassio [EMAIL PROTECTED] wrote:

Hi,

At 06.47 24/07/2007, Santosh Rani wrote:
  Why you are not using the native Windows binary kits ?
I have tried using binaries for SquidNT. But it gave me error in my cache.log;

2007/07/14 21:18:42| ipcCreate: CHILD: G:/Proxy1/libexec/unlinkd.exe:
(2) No such file or directory

I have seen that the directory as well as the file 'unlinkd.exe' exists there.

I would rather be happier to use the binaries since it is easier to
install it as a windows service and also that it would start
automatically upon bootup.
But because of above mentioned error I left it. It is my mistake
though that I did not report the problem (pardon me please).

Argh !!!, this is a very important detail  :-(

When I am already running Bofi's Squid 2.5 Stable3 on this machine,
can I runt another Squid instance under Windows with a different
service name?

Yes, you can, but with the correct config.
General guide lines for multiple instances:
http://wiki.squid-cache.org/MultipleInstances

On the Windows side, you must use two different
Squid services with different service name and different command line.
See -O and -n options.

something like:

squid -i -n squid1 -O -f c:/squid1/etc/squid.conf
squid -i -n squid2 -O -f c:/squid2/etc/squid.conf

Regards

Guido




On 24/07/07, Santosh Rani [EMAIL PROTECTED] wrote:
  My try to build Squid with --enable-win32-service failed under Cygwin
  with the error; It does not recognise this directive.
 
  Regards
 
  On 23/07/07, Henrik Nordstrom [EMAIL PROTECTED] wrote:
   On mån, 2007-07-23 at 16:05 +0530, Santosh Rani wrote:
  
Further, I wish I could automate this so that Squid under Cygwin
starts on bootup.
  
   I think the following should work:
  
   Built Squid with --enable-win32-service
  
   Then install it as a service by using
  
  /path/to/sbin/squid -i
  
  
   Another option is to use the service wrapper from the Windows resource
   kit.. used that for various non-windows daemons many years ago (NT4
   era).
  
   Regards
   Henrik
  
  
 


-

Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1   10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/




[squid-users] -help

2007-07-24 Thread Podolski



Re: [squid-users] Service Lost issues using WCCP v2

2007-07-24 Thread Arnaud Loonstra
On Thu, 2007-07-19 at 16:15 +0200, Arnaud Loonstra wrote:
 On Thu, 2007-07-19 at 09:51 -0400, Juan C. Crespo R. wrote:
  Arnaud
  
  Please fix me if I'm wrong but you  location and conection of box
  should be this
  
  SquidServer Eth---Eth( + )
  10.1.250.1010.1.250.9
  
  This is Ok? because checking your router config, I can't see that ip
  on any Ethernet config. 
  
 
 No the router and squid box are on different subnets. A layer 3 switch
 routes between them. Check this diagram for topology:
 
 http://mufasa.sphaero.org/~arnaud/WCCP-proxy.png
 
 Arnaud.
 
 Amarantis Onderwijsgroep is de concernorganisatie van ISA-scholen en ROC ASA

Just to let everyone know. The problem was caused by Cisco. It's fixed
in a later release of IOS. I'm know running 12.4(13r)T5

Arnaud.

Amarantis Onderwijsgroep is de concernorganisatie van ISA-scholen en ROC ASA


Re: [squid-users] How can I become a

2007-07-24 Thread fulan Peng
You can start and stop Squid as user squid on port 8080 or 8443, then
use a firewall to forward all request from 80 or 443 to 8080 or 8443.
This way, you are safe because you do not have to run Squid as root.

You can run Squid as root but how about some hackers get into your system?
If you run Squid as squid and you are root, do not forget to switch to
squid to run Squid.

su squid
/usr/local/squid/sbin/squid

On 7/24/07, Mohan Jayaweera [EMAIL PROTECTED] wrote:
 Hi all,
 Still newbie questions,
 How can I become a privileged user to start/stop squid?
 some more details and links to read also needed.
 Thank you
 Mohan



Re: [squid-users] Help needed for squid with LDAP

2007-07-24 Thread Angela Williams
On Tuesday 24 July 2007 12:31, Jagdeep Shrivastav wrote:
 Hi All,

 I have configured Squid (squid-2.6.STABLE6-4.el5) on Centos5.0, now i
 am trying to configure Squid to get the users authenticated with LDAP
 (windows 2003) server
 can any one please tell me how to configure and what is the start to
 achive the same.

There is a great howto in the wiki!
Also try
http://www.papercut.biz/kb/Main/ConfiguringSquidProxyToAuthenticateWithActiveDirectory

Cheers
Ang

-- 
Angela Williams Enterprise Outsourcing
Unix/Linux  Cisco spoken here! Bedfordview
[EMAIL PROTECTED]   Gauteng South Africa

Smile!! Jesus Loves You!!


Re: [squid-users] squid ftp

2007-07-24 Thread Angela Williams
Hi!
On Tuesday 24 July 2007 11:58, Nadeem Semaan wrote:
 While trying to open ftp sites with IE, i usally get an error, when opening
 the same site with firefox, i get prompted for credentials. Is there
 anything that has to be done on Squid to have IE promt for passwords as
 well (probably TAG: ftp_user), or is this browser specific. I mean is it
 the way that squid handels the requests?

Good reason to trash Internot Exploder!
In the Internet Options window choose the Advanced tab and make certain Use 
Passive FTP is checked!

But Firefox with FireFTP is best!

Cheers
Ang

-- 
Angela Williams Enterprise Outsourcing
Unix/Linux  Cisco spoken here! Bedfordview
[EMAIL PROTECTED]   Gauteng South Africa

Smile!! Jesus Loves You!!


[squid-users] setting up WCCP with multiple routers

2007-07-24 Thread Arnaud Loonstra
Hi,

I can't seem to find any documentation about setting up squid with
WCCPv2 and multiple cisco routers. So this might be good for the
archives if someone helps me out here.

I've got WCCP running between 1 router and a Cisco router. Now I want to
add routers.

I've tried the following

Add another router entry in squid.conf

wccp2_router 192.168.0.6
wccp2_router 192.168.48.48

Create another GRE tunnel

ip tunnel add wccp0 mode gre remote 172.31.255.48 local 10.1.250.10 dev
eth0
ip addr add 10.1.250.10/32 dev wccp0
ip tunnel add wccp1 mode gre remote 172.31.255.6 local 10.1.250.10 dev
eth0
ip addr add 10.1.250.10/32 dev wccp1
ip link set wccp0 up
ip link set wccp1 up

I've configure the two routers similar
global config:
ip wccp web-cache

and one inside interface:
 ip wccp web-cache redirect in

This is not doing what I needed
The cisco is seeing WCCP packets but they are not correct:

Jul 24 14:53:32.388: WCCP-PKT:S00: Sending I_See_You packet to
10.1.250.10 w/ rcv_id 0003
Jul 24 14:53:42.393: WCCP-PKT:S00: Ignored duplicate Here_I_Am packet
received from 10.1.250.10
Jul 24 14:53:52.393: WCCP-PKT:S00: Ignored duplicate Here_I_Am packet
received from 10.1.250.10
Jul 24 14:53:57.389: WCCP-PKT:S00: Sending Removal_Query packet to
10.1.250.10w/ rcv_id 0004
Jul 24 14:54:02.389: %WCCP-1-SERVICELOST: Service web-cache lost on WCCP
client 10.1.250.10
Jul 24 14:54:02.393: WCCP-PKT:S00: Sending I_See_You packet to
10.1.250.10 w/ rcv_id 0005
Jul 24 14:54:12.393: WCCP-PKT:S00: Ignored duplicate Here_I_Am packet
received from 10.1.250.10
Jul 24 14:54:22.394: WCCP-PKT:S00: Ignored duplicate Here_I_Am packet
received from 10.1.250.10
Jul 24 14:54:27.394: WCCP-PKT:S00: Sending Removal_Query packet to
10.1.250.10w/ rcv_id 0006
Jul 24 14:54:32.394: %WCCP-1-SERVICELOST: Service web-cache lost on WCCP
client 10.1.250.10
Jul 24 14:54:32.398: WCCP-PKT:S00: Sending I_See_You packet to
10.1.250.10 w/ rcv_id 0007
Jul 24 14:54:42.398: WCCP-PKT:S00: Ignored duplicate Here_I_Am packet
received from 10.1.250.10

sh ip wccp web-cache detail:

WCCP Client information:
WCCP Client ID:  10.1.250.10
Protocol Version:2.0
State:   NOT Usable
Initial Hash Info:   
 
Assigned Hash Info:  
 
Hash Allotment:  0 (0.00%)
Packets s/w Redirected:  0
Connect Time:00:00:29
Bypassed Packets
  Process:   0
  Fast:  0
  CEF:   0


A tcpdump reveals the squid proxy is sending out UDP:2048 packets to
both routers which seems right?

14:53:02.414230 IP 10.1.250.10.2048  192.168.0.6.2048: UDP, length 152
14:53:02.414281 IP 10.1.250.10.2048  192.168.48.48.2048: UDP, length
152
14:53:02.415322 IP 192.168.0.6.2048  10.1.250.10.2048: UDP, length 92
14:53:07.406771 IP 192.168.48.48.2048  10.1.250.10.2048: UDP, length 64
14:53:12.414837 IP 10.1.250.10.2048  192.168.0.6.2048: UDP, length 152
14:53:12.414866 IP 10.1.250.10.2048  192.168.48.48.2048: UDP, length
152
14:53:12.415705 IP 192.168.48.48.2048  10.1.250.10.2048: UDP, length 92
14:53:17.415196 IP 10.1.250.10.2048  192.168.0.6.2048: UDP, length 348
14:53:17.415248 IP 10.1.250.10.2048  192.168.48.48.2048: UDP, length
348
14:53:22.415505 IP 10.1.250.10.2048  192.168.0.6.2048: UDP, length 152
14:53:22.415536 IP 10.1.250.10.2048  192.168.48.48.2048: UDP, length
152
14:53:27.413021 IP 192.168.0.6.2048  10.1.250.10.2048: UDP, length 64
14:53:32.416171 IP 10.1.250.10.2048  192.168.0.6.2048: UDP, length 152
14:53:32.416209 IP 10.1.250.10.2048  192.168.48.48.2048: UDP, length
152
14:53:32.417105 IP 192.168.0.6.2048  10.1.250.10.2048: UDP, length 92
14:53:37.415066 IP 192.168.48.48.2048  10.1.250.10.2048: UDP, length 64
14:53:42.416840 IP 10.1.250.10.2048  192.168.0.6.2048: UDP, length 152
14:53:42.416870 IP 10.1.250.10.2048  192.168.48.48.2048: UDP, length
152
14:53:42.417544 IP 192.168.48.48.2048  10.1.250.10.2048: UDP, length 92
14:53:52.417504 IP 10.1.250.10.2048  192.168.0.6.2048: UDP, length 152
14:53:52.417540 IP 10.1.250.10.2048  192.168.48.48.2048: UDP, length
152
14:53:57.413797 IP 192.168.0.6.2048  10.1.250.10.2048: UDP, length 64

Any suggestions on how the configuration should be done?

Arnaud.

Amarantis Onderwijsgroep is de concernorganisatie van ISA-scholen en ROC ASA


Re: [squid-users] setting up WCCP with multiple routers

2007-07-24 Thread Dalibor Dukic
On Tue, 2007-07-24 at 15:27 +0200, Arnaud Loonstra wrote:
 Hi,
 
 I can't seem to find any documentation about setting up squid with
 WCCPv2 and multiple cisco routers. So this might be good for the
 archives if someone helps me out here.

What is the version of squid? 
-- 
Dalibor Dukic [EMAIL PROTECTED]



Re: [squid-users] NTLM_Auth LDAP_Group help needed.

2007-07-24 Thread nick w

thanks for the reply Angel. I have read on the forums that these two
helpers can be used together!?

On 7/24/07, Angel Mieres [EMAIL PROTECTED] wrote:

Hi nick,

I don't have much experience on squid + Windows plataform but i
recommend you to take the following way, you must try to separate
authenticators and group clasificators by topic, i think you must use
ntlm_auth with wbinfo_group or squid_ldap_auth with squid_ldap_group
trying not mixing both. I hope this help you.


nick w escribió:
 Hi,

 I have had a look through the threads and see that there are a few
 threads on this particular issue but dealing with Unix based squid
 servers and not Windows platforms. I am having a little trouble
 getting the squid_ldap_group helper working with NTLM_Auth and running
 on a W2K3 server. With the config below when you try to browse the net
 the browser just hangs trying to contact the website, no access denied
 message appears and I am assuming that the browser has not had a
 response back from squid. I have checked the cache.log file and I see
 entries in there saying that the request matched a denied acl rule and
 access is denied. If you are not in the AD group for denying inet
 access you get the same browser hang. Not sure what to do from here.

 auth_param ntlm program c:/proxy/libexec/win32_ntlm_auth.exe
 auth_param ntlm children 40
 auth_param ntlm max_challenge_reuses 0
 auth_param ntlm max_challenge_lifetime 2 minutes
 auth_param ntlm use_ntlm_negotiate on

 auth_param basic children 5
 auth_param basic realm Squid proxy-caching web server
 auth_param basic credentialsttl 2 hours
 auth_param basic casesensitive off

 external_acl_type ldap_group %LOGIN
 C:\Proxy\libexec\squid_ldap_group.exe -b OU=xxx,DC=xxx,DC=xxx -f
 OU=xxx,DC=xxx,DC=xxx -F OU=xxx,DC=xxx,DC=xxx -h LDAP_server_name -p
 389 -S



 acl inet_deny external ldap_group
 CN=No-Internet-Access,OU=xxx,DC=xxx,DC=xxx



 http_access deny inet_deny



 Any help would be greatly appreciated.

 __ Informaci�n de NOD32, revisi�n 2413 (20070723) __

 Este mensaje ha sido analizado con NOD32 antivirus system
 http://www.nod32.com







Re: [squid-users] How to get the exact URL for the video page accessed at youtube

2007-07-24 Thread Chris Robertson

[EMAIL PROTECTED] wrote:

Hi,

How to get the exact URL for the video page accessed at youtube?

The logs i get at /var/log/squid/access.log are somethig like:

1184909884.595 731343 IP_address TCP_MISS/200 11193996 GET
http://sjl-v138.sjl.youtube.com/get_video? - DIRECT/64.15.120.41 video/flv
1184910364.897 267150 IP_address TCP_MISS/200 5105232 GET
http://lax-v148.lax.youtube.com/get_video? - DIRECT/64.15.112.112 video/flv
1184911008.639 345580 IP_address TCP_MISS/200 7128791 GET
http://chi-v274.chi.youtube.com/get_video? - DIRECT/64.15.126.23 video/flv
1184912643.971 469498 IP_address TCP_MISS/200 6253234 GET
http://lax-v46.lax.youtube.com/get_video? - DIRECT/208.65.155.149 video/flv


But this does not show the actual video webpage accessed (something like
http://youtube.com/watch?v=HtVbAazUekM)


Regards,

SA


  

From squid.conf:

#  TAG: strip_query_terms
#   By default, Squid strips query terms from requested URLs before
#   logging.  This protects your user's privacy.
#
#Default:
# strip_query_terms on

As an aside, if you are starting a new thread, please don't respond to a 
message.


Chris


Re: [squid-users] My squid is slower than apache

2007-07-24 Thread Chris Robertson

cwx wrote:

My squid setting:
cache_mem 1536 MB
maximum_object_size_in_memory 1024 KB

Is this misconfigured?


No way to tell without more context.  See 
http://wiki.squid-cache.org/SquidFaq/SquidMemory for more details.


Chris


Re: [squid-users] setting up WCCP with multiple routers

2007-07-24 Thread Adrian Chadd
On Tue, Jul 24, 2007, Dalibor Dukic wrote:
 On Tue, 2007-07-24 at 15:27 +0200, Arnaud Loonstra wrote:
  Hi,
  
  I can't seem to find any documentation about setting up squid with
  WCCPv2 and multiple cisco routers. So this might be good for the
  archives if someone helps me out here.
 
 What is the version of squid? 

I had no specific issues:

* configure up multiple routers in Squid
* all routers must use the same assignment method, thats part of the spec
* all routers must use the same interception method, thats a Squid limitation 
atm
* for L2 redir, just configure interception via the IP filtering support on your
  platform
* for GRE redir, establish a GRE tunnel endpoint between your Squid and each
  routers' routerid.




Adrian



[squid-users] Re: squid ftp

2007-07-24 Thread RW
On Tue, 24 Jul 2007 15:22:22 +0200
Angela Williams [EMAIL PROTECTED] wrote:

 Hi!
 On Tuesday 24 July 2007 11:58, Nadeem Semaan wrote:
  While trying to open ftp sites with IE, i usally get an error, when
  opening the same site with firefox, i get prompted for credentials.
  Is there anything that has to be done on Squid to have IE promt for
  passwords as well (probably TAG: ftp_user), or is this browser
  specific. I mean is it the way that squid handels the requests?
 
 Good reason to trash Internot Exploder!
 In the Internet Options window choose the Advanced tab and make
 certain Use Passive FTP is checked!

Except that it's going through squid over an http connection so the
client need not make a distinction between passive and active ftp.



[squid-users] Route domain through different gateway

2007-07-24 Thread Danny Gluch
Hi,

I'm not sure if this is possible as my searches haven't turned up any
good results.

What I want to do is use squid to route any requests to a particular
domain through a different gateway to everything else.  If the domain
only had a single IP address I could easily do this by adding a static
route, but what about sites that have multiple subdomains running on
different IP ranges?

For example, here at the office we have a very expensive primary
internet link and a cheaper secondary DSL link.  I would like to route
sites like youtube out through the secondary link which has plenty of
spare (and cheaper) bandwidth to use.  The trouble with youtube is all
the videos seem to come from different subdomains with different IP
addresses, making it difficult to create static routes.  Can squid
recognise something like *.youtube.com and route it out through the
secondary connection?

Any ideas/suggestions on how to achieve this would be appreciated.

Cheers,

Danny Gluch


[squid-users] Squid Multiple instances ; Second one does not start; crashes

2007-07-24 Thread Santosh Rani

I have installed SquidNT port of on my G: drive apart from the one
running already.
Both the Squids have different Service names under Services Applet of Windows.
I have already created swap directories. (squid -z).
Visible_hosname have been declared.
Both are running on same machine.
Both have been assigned different NIC.
Both have been assigned different ports.
Freshly installed Squid has been allowed access in the firewall rules.
Now when I do  G:/squid/sbin/squid -f g:/xy/etc/squid.conf

I am getting following error in my cache.log :

2007/07/24 16:16:26| Starting Squid Cache version 2.6.STABLE13 for
i686-pc-winnt...
2007/07/24 16:16:26| Running on Windows XP
2007/07/24 16:16:26| Process ID 2852
2007/07/24 16:16:26| With 2048 file descriptors available
2007/07/24 16:16:26| With 512 CRT stdio descriptors available
2007/07/24 16:16:26| Windows sockets initialized
2007/07/24 16:16:26| Using select for the IO loop
2007/07/24 16:16:26| Performing DNS Tests...
2007/07/24 16:16:26| Successful DNS name lookup tests...
2007/07/24 16:16:26| DNS Socket created at 0.0.0.0, port 4199, FD 4
2007/07/24 16:16:26| Adding nameserver xxx.xxx.xxx.xxx from Registry
2007/07/24 16:16:26| Adding nameserver xxx.xxx.xxx.xxx from Registry
2007/07/24 16:16:26| Adding nameserver 218.248.255.177 from Registry
2007/07/24 16:16:26| User-Agent logging is disabled.
2007/07/24 16:16:26| Referer logging is disabled.
2007/07/24 16:16:26| ipcCreate: CHILD: g:/squid/libexec/unlinkd.exe:
(2) No such file or directory
2007/07/24 16:16:26| ipcCreate: PARENT: OK read test failed
2007/07/24 16:16:26| -- read returned 4
2007/07/24 16:16:26| -- got 'ERR%0a'
FATAL: Failed to create unlinkd subprocess
Squid Cache (Version 2.6.STABLE13): Terminated abnormally.

My observation:
1. There is no squid.pid file present in G:/squid/var/logs
2. unlinkd.exe exists at  g:/squid/libexec/unlinkd.exe
3. If I restart the system, Squid 2.6.STABLE13 starts successfully as
seen in the services applet. But if I restart it, it again terminates
with the error shown above.

Please help why I am getting this error.

Regards


Re: [squid-users] Help needed for squid with LDAP

2007-07-24 Thread Jagdeep Shrivastav

Hi,
Thanks for your prompt reply. I went through the url to completethe
configuration,

when i execute the command

/usr/lib/squid/squid_ldap_auth -b dc=my,dc=domain ldapserver
or
/usr/lib/squid/squid_ldap_auth -b dc=my,dc=domain -h IPofLDAPServer

and after providing the credentials i get the following error message

squid_ldap_auth: WARNING, LDAP search error 'Operations error'
ERR Success.

Can you please tell me where i am going wrong.
It will be of great help if you can tell me the checklist for
configuring the Squid with LDAP

Thanks- Jagdeep

On 7/24/07, Angela Williams [EMAIL PROTECTED] wrote:

On Tuesday 24 July 2007 12:31, Jagdeep Shrivastav wrote:
 Hi All,

 I have configured Squid (squid-2.6.STABLE6-4.el5) on Centos5.0, now i
 am trying to configure Squid to get the users authenticated with LDAP
 (windows 2003) server
 can any one please tell me how to configure and what is the start to
 achive the same.

There is a great howto in the wiki!
Also try
http://www.papercut.biz/kb/Main/ConfiguringSquidProxyToAuthenticateWithActiveDirectory

Cheers
Ang

--
Angela Williams Enterprise Outsourcing
Unix/Linux  Cisco spoken here! Bedfordview
[EMAIL PROTECTED] Gauteng South Africa

Smile!! Jesus Loves You!!



[squid-users] Limit single squid user with delay pools?

2007-07-24 Thread Reid

I have a squid server that requires login using digest_pw_auth. I am limiting 
bandwidth with delay
pools. My question: is there some way to place a more severe bandwidth 
restriction on one
particular username?

Or some other alternative?





  

Park yourself in front of a world of choices in alternative vehicles. Visit the 
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/