RE: [squid-users] Squid and trasparent auth with PDC

2005-11-16 Thread Administrateur
yes you can with this program :

 auth_param ntlm program /usr/local/bin/ntlm_auth 
--helper-protocol=squid-2.5-ntlmssp  
 auth_param ntlm children 30
 auth_param ntlm max_challenge_reuses 0
 auth_param ntlm max_challenge_lifetime 2 minutes

but your proxy must join your AD domain. See this excellent doc :
 http://web.irtnog.org/howtos-orig/freebsd-winbind

Regards,

-Message d'origine-
De : Spada Marco [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 16 novembre 2005 09:55
À : squid-users@squid-cache.org
Objet : [squid-users] Squid and trasparent auth with PDC


Hi everybody,
 
I use Squid, and my customer would he like authenticating the users,
that useas Squid, via Primary Domain Controler (Active Directory).
 
In this moment I use the supported Squid program msntauth: the user
contact Squid that open the pop-up, the user e password are verifyed by
the PDC (Squid knows the PDC ip address and send it the credential for
the authentication.
 
But my customer don't wont use everytime the pop-up (when I close the
I.E. and open, the pop-up... !!).
 
Answere: Can I authenticating my customer's users via PDC/Active
Directory in transparent mode, without the pop-up ?
 
Thank You.
 
Marco


RE: [squid-users] Log analyser

2005-11-14 Thread Administrateur
Try this one : sarg

-Message d'origine-
De : Gix, Lilian (CI/OSR) * [mailto:[EMAIL PROTECTED]
Envoyé : lundi 14 novembre 2005 14:43
À : squid-users@squid-cache.org
Objet : [squid-users] Log analyser


Hello,

I'm looking for a log analyzer witch give me the number of Mbytes a
client(s) (IP) took on last days (access.log.0,...)

I tried several from squid site, but it never gave this. And it takes
many time to test.

So if you can give me the name of one you know?

Thanks.

L.G.


RE: [squid-users] (13) Permission denied

2005-11-09 Thread Administrateur

hello,

you should add the following to your squid.conf :

acl Safe_ports port 8800

# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports

You could find example like this with other port (eg. 443) in your original 
squid.conf config.

-Message d'origine-
De : Joaquim Roca [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 9 novembre 2005 11:09
À : squid-users@squid-cache.org
Objet : [squid-users] (13) Permission denied


Dear squid users, I'm new in this list, I'm QRT.

I have this problem:

When I try to access  http://www.xtec.es:8800/usuaris/correuweb/  using 
squid 2.5 stable11 I receive this error page

ERROR
The requested URL could not be retrieved

-=
=3D
---

While trying to retrieve the URL: =
http://www.xtec.es:8800/usuaris/correuweb/=3D20

The following error was encountered
  a.. Connection Failed
The system returned:

(13) Permission denied

The remote host or network may be down. Please try the request again

Your cache administrator is root.



-=
---

Generated Wed, 09 Nov 2005 08:31:47 GMT by localhost.localdomain =
squid/2.5.STABLE11)

If I try to connect to other websites in port 80 it work fine, but the =
other ports have the same error i.e. webmin:1, etc..

What can I put in squid.conf file to solve this?

Thankyou QRT




RE: [squid-users] Squid unreachable every hour and 6 minutes.

2005-11-09 Thread Administrateur

did you check that nothing in cron start every hour ? 
try  : #crontab -l 

-Message d'origine-
De : Gix, Lilian (CI/OSR) * [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 9 novembre 2005 16:01
À : [EMAIL PROTECTED]
Cc : squid-users@squid-cache.org
Objet : RE: [squid-users] Squid unreachable every hour and 6 minutes.


It's nearly what I already tried.

(1) Ok
(2) I had : cache_dir ufs /cache 5000 16 256
(3) mke2fs -j -c /dev/cciss/c0d0p6  (/dev/cciss/c0d0p6 is my Cache 
partition)
(3) ok
(4) /etc/init.d squid start.


The effect was exactly the same : squid stop every hour.

So I tried :

(2) changed : cache_dir ufs /cache 100 16 256
(4) squid -k reconfigure

Same result.

Then a last sing I did :
(1) Stop Squid
(3) cd /cache
rm cache.swap
(4) Start Squid

And again ... Same result.


But as the server is in production, I wll try tonight to delete folder as you 
propose, 

Thanks.

L.G.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Mittwoch, 9. November 2005 15:46
To: Gix, Lilian (CI/OSR) *; [EMAIL PROTECTED]; squid-users@squid-cache.org
Subject: AW: [squid-users] Squid unreachable every hour and 6 minutes.

Please repeat that again.

(1) stop squid

(2) find out wht are the cache directories squid uses, for example

   # grep cache_dir squid.conf
   cache_dir ufs  /data1/squid_cache 6000 32 512
   cache_dir ufs  /data2/squid_cache 1 32 512
   #

 In this example /data1/squid_cache and /data2/squid_cache are the cache 
dirs.

(3) Clean all cache dirs - in this example:

   cd /data1/squid_cache
   rm -f *
   cd /data2/squid_cache
   rm -f *

(3) create the cache structures again:   squid -z

(4) Start squid.
What happens?
Is squid running? ps -ef | grep squid
What does cache.log say since starting of squid?
Is squid reachable?

(5) What happens after 1 hour an 6 minutes?

Werner Rost

-Ursprüngliche Nachricht-
Von: Gix, Lilian (CI/OSR) * [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 9. November 2005 15:10
An: Dave Raven; squid-users@squid-cache.org
Betreff: RE: [squid-users] Squid unreachable every hour and 6 minutes.


I already tried to :
- Stop Squid, delete swap.state, restart squid
- Stop Squid, format my cache parition, squid -z, start squid
- change cache_dir ufs /cache 5000 16 256 to cache_dir ufs /cache 100 
16 256, squid -k restart.
- reboot completely the server

But nothing worked.




-Original Message-
From: Dave Raven [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 9. November 2005 14:58
To: Gix, Lilian (CI/OSR) *; squid-users@squid-cache.org
Subject: RE: [squid-users] Squid unreachable every hour and 6 minutes.

Try use my method posted earlier to search for code files. 
The fact that your log suddenly shows squid restarting means it died 
unexpectedly. If there is a core file it'll be squids problem - if not 
its probably something else causing the problem.

Also, you should try clean out your cache_dir potentially... 
Remove everything and run squid -z to recreate it

-Original Message-
From: Gix, Lilian (CI/OSR) * [mailto:[EMAIL PROTECTED]
Sent: 09 November 2005 03:32 PM
To: Mike Cudmore
Cc: squid-users@squid-cache.org
Subject: RE: [squid-users] Squid unreachable every hour and 6 minutes.

Great, thanks for your answer and questions :
 
1- I have a message form my browser (IE, Firefox) witch says the proxy 
is unreachable. My MSN, yahoo messengers loose their access.
2- Ping like all other services still work perfectly. (SSH, Apache,
Ping,...)
3- Cache.log part is on the previous mail. You can see that there is 
nothing special between 09:44:45 and 10:07:05 (when squid come back)
 
Thanks for help.
 
L.G.



From: Mike Cudmore [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 9. November 2005 14:10
To: Gix, Lilian (CI/OSR) *
Subject: RE: [squid-users] Squid unreachable every hour and 6 minutes.


Lilian

I may have missed earlier entries in this thread so apologies if I ask 
you to repeat any info.
 
 
1) How do you know squid is unreachable at these times ?
 
2) try pinging the host squid is running on for a period that covers 
the time that the squid is unreachable. Does the host become 
unreachable as well?
 
3) What does cache.log say for these periods ?
 
I have more thoughts depending on the answers to these
 
Regards
 
Mike
 

 Gix, Lilian (CI/OSR) * [EMAIL PROTECTED] 09/11/05
12:44:30 

Hello,


Realy no body have an idea ?

:(

L.G. 

-Original Message-
From: Gix, Lilian (CI/OSR) *
Sent: Mittwoch, 2. November 2005 10:26
To: squid-users@squid-cache.org
Subject: [squid-users] Squid unreachable every hour and 6 minutes.

Hello,

I have a problem with my squid :
every hour and 6 minutes, it is unreachable for few second.

Here is a part of Cache.log :



2005/11/02 09:44:45| Detected REVIVED Parent: virus2.com/8080/0
2005/11/02 10:07:05| Starting Squid Cache version
2.5.STABLE6 for i386-debian-li
 

RE: [squid-users] FreeBSD GUI?

2005-11-09 Thread Administrateur
see 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html#DEFAULT-DESKTOP
especially section : 2.9.12 Configure X Server

-Message d'origine-
De : Kumara Jayaweera [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 9 novembre 2005 16:31
A : squid-users@squid-cache.org
Objet : [squid-users] FreeBSD GUI?


Dear List,
Is there any possibility to run FreeBSD (new,stable version) with GUI
support? if yes, what option should I choose during the installation? any
help much appreciated.
Thank you in advance
Kumara



[squid-users] characters in access.log

2005-11-07 Thread Administrateur
Hi,

I'm using ntlm authentication and some users (french) have characters like ë,é 
in their login. In access.log this gives something like %c3%a. Does squid 
support such characters ? 
I'm using FreeBSD and have correct characters under my shell.

thanks