[squid-users] squid on solaris 10 x86 (Intel)
Hello, I am trying to install squid (squid-2.5.STABLE12) on a Solaris 10x86 = computer. I can do ./configure But When I try make, I have the following error: # make Making all in lib make[1]: Entering directory `/export/home/root/squid-2.5.STABLE12/lib' rm -f libdlmalloc.a /usr/bin/false cru libdlmalloc.a dlmalloc.o make[1]: *** [libdlmalloc.a] Error 255 make[1]: Leaving directory `/export/home/root/squid-2.5.STABLE12/lib' make: *** [all-recursive] Error 1 My path is: # echo $PATH /usr/sbin:/usr/bin:/usr/local/bin:/usr/local/php/bin I have gcc in /usr/local/bin Thank you to tell me what should I do ? Dominique Bagnato. -- Dominique Bagnato - Head of the Technology Department. French International School - Bethesda, MD. USA Tel:301 530 8260 Ext:279 - http://www.rochambeau.org
[squid-users] Compile squid on solaris 10 x86
Does anybody has a success installing squid on Solaris 10 x86 ? Thank you. -- Dominique Bagnato - Head of the Technology Department. French International School - Bethesda, MD. USA Tel:301 530 8260 Ext:279 - http://www.rochambeau.org
[squid-users] Compiling squid in Solaris x86
Henrik, I finaly got It compiled The problem was that I needed to use gcc in /usr/fsw/bin and not the one that I have installed in /usr/local/bin. So with my path: $PATH=/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin I could compiled. Yahoo!! Henrik, Could you tell me how could I setup squid.conf to use the proxy with cache. My clients have in there browsers as a proxy: www.rochambeau.org port 80 I have a disk space for the proxy cache. /proxy Thank you for your support and help. Henrik Nordstrom wrote: no idea. any special configure options used? sön 2006-03-05 klockan 13:52 -0500 skrev Dominique Bagnato: Henrik Nordstrom wrote: sön 2006-03-05 klockan 08:15 -0500 skrev Dominique Bagnato: Does anybody has a success installing squid on Solaris 10 x86 ? Thank you. Seems to build fine on the Solaris 9 x86 I have access to. Regards Henrik Do you know why do I have this errors at the end of make ? Thank you. /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t" /usr/include/sys/siginfo.h:292: error: parse error before '}' token /usr/include/sys/siginfo.h:294: error: parse error before '}' token /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t" /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc' /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc' /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault' /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault' /usr/include/sys/siginfo.h:404: error: conflicting types for `__file' /usr/include/sys/siginfo.h:273: error: previous declaration of `__file' /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof' /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof' /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl' /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl' /usr/include/sys/siginfo.h:426: error: parse error before '}' token /usr/include/sys/siginfo.h:428: error: parse error before '}' token /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t" /usr/include/sys/siginfo.h:437: error: parse error before '}' token In file included from /usr/include/sys/procset.h:24, from /usr/include/signal.h:73, from ../../src/squid.h:155, from ufs/store_dir_ufs.c:36: /usr/include/sys/signal.h:85: error: parse error before "siginfo_t" In file included from ../../src/squid.h:155, from ufs/store_dir_ufs.c:36: /usr/include/signal.h:111: error: parse error before "siginfo_t" /usr/include/signal.h:113: error: parse error before "siginfo_t" In file included from ../../src/squid.h:185, from ufs/store_dir_ufs.c:36: /usr/include/sys/wait.h:86: error: parse error before "siginfo_t" make[4]: *** [ufs/store_dir_ufs.o] Error 1 make[4]: Leaving directory `/export/home/root/squid-2.5.STABLE12/src/fs' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/export/home/root/squid-2.5.STABLE12/src/fs' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export/home/root/squid-2.5.STABLE12/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/export/home/root/squid-2.5.STABLE12/src' make: *** [all-recursive] Error 1 -- Dominique Bagnato - Head of the Technology Department. French International School - Bethesda, MD. USA Tel:301 530 8260 Ext:279 - http://www.rochambeau.org
[squid-users] apache and squid on the same box
Could I use Apache listenning on Port 80 and Squid "proxying" on also Port 80 on the same computer ? Thank you. -- Dominique Bagnato - Head of the Technology Department. French International School - Bethesda, MD. USA Tel:301 530 8260 Ext:279 - http://www.rochambeau.org
[squid-users] squid and Windows update
Any problems downloading windows update througth squid ? Thank you. -- Dominique Bagnato - Head of the Technology Department. French International School - Bethesda, MD. USA Tel:301 530 8260 Ext:279 - http://www.rochambeau.org
[squid-users] squid -z
I set the squid.conf this way: Are the warning errors normal when I do a squid -z ? Thank you all. visible_hostname mew-web-server.rochambeau.org http_port 8080 cache_dir ufs /backup/proxy 1 16 256 acl forest src 172.16.3.0/24 acl rwd src 172.16.5.0/24 acl all src 0.0.0.0/0.0.0.0 http_access allow forest http_access allow rwd http_access deny all "../etc/squid.conf" 3541 lines, 121535 characters # ./squid -z 2006/03/08 13:32:11| WARNING: '0.0.0.0/0.0.0.0' is a subnetwork of '0.0.0.0/0.0.0.0' 2006/03/08 13:32:11| WARNING: because of this '0.0.0.0/0.0.0.0' is ignored to keep splay tree searching predictable 2006/03/08 13:32:11| WARNING: You should probably remove '0.0.0.0/0.0.0.0' fromthe ACL named 'all' 2006/03/08 13:32:11| Creating Swap Directories -- Dominique Bagnato - Head of the Technology Department. French International School - Bethesda, MD. USA Tel:301 530 8260 Ext:279 - http://www.rochambeau.org
[squid-users] Forbiden
Hi squid users, I have squid running on Solaris 10 with apache2. It's working perfectly but Is it possible for the Not Allowed Proxy User to have a message saying :Forbiden to use this proxy. Right now they don't have access at all but they don't have any messages. They just see "This page cannot be display. I guess is just cosmetic but If it's easy to do thank you. -- Dominique Bagnato - Head of the Technology Department. French International School - Bethesda, MD. USA Tel:301 530 8260 Ext:279 - http://www.rochambeau.org
Re: [squid-users] Forbiden
Merci Bill, But How to trigger Squid to answers to those forbiden requests ? How Squid will make the differnce between a legal request or a forbiden ? In the exemple: acl porn url_regex "/usr/local/squid/etc/porno.txt" What should I put in the file abcd in /usr/local/squid/etc/abcd.txt ? Thank you. Bill Jacqmein wrote: Dominique, http://www.squid-cache.org/Doc/FAQ/FAQ-10.html#ss10.24, is a FAQ section for customizing squid error messages. Good Luck, Bill On 5/26/06, Dominique Bagnato <[EMAIL PROTECTED]> wrote: Hi squid users, I have squid running on Solaris 10 with apache2. It's working perfectly but Is it possible for the Not Allowed Proxy User to have a message saying :Forbiden to use this proxy. Right now they don't have access at all but they don't have any messages. They just see "This page cannot be display. I guess is just cosmetic but If it's easy to do thank you. -- Dominique Bagnato - Head of the Technology Department. French International School - Bethesda, MD. USA Tel:301 530 8260 Ext:279 - http://www.rochambeau.org -- Dominique Bagnato - Head of the Technology Department. French International School - Bethesda, MD. USA Tel:301 530 8260 Ext:279 - http://www.rochambeau.org
Re: [squid-users] Forbiden
Thank you, But the forbiden users are from outside my network. They could come from what ever domain and try to use the proxy from outside. Bill Jacqmein wrote: Salute Dominique, abcd.txt will be drive by url_regex given the definition provided lines like .gator.com should work http://www.squid-cache.org/Doc/FAQ/FAQ.html#toc10.4 give the basic overview /usr/local/squid/etc/errors (or where the errors directory under squid/etc) ERR_NO_abcd <- File name should contain html. A simple as the example in the faq has. squid.conf additions acl porn url_regex "/usr/local/squid/etc/abcd.txt" deny info ERR_NO_abcd Bill On 5/26/06, Dominique Bagnato <[EMAIL PROTECTED]> wrote: Merci Bill, But How to trigger Squid to answers to those forbiden requests ? How Squid will make the differnce between a legal request or a forbiden ? In the exemple: acl porn url_regex "/usr/local/squid/etc/porno.txt" What should I put in the file abcd in /usr/local/squid/etc/abcd.txt ? Thank you. Bill Jacqmein wrote: > Dominique, > > http://www.squid-cache.org/Doc/FAQ/FAQ-10.html#ss10.24, is a > FAQ section for customizing squid error messages. > > Good Luck, > > Bill > > On 5/26/06, Dominique Bagnato <[EMAIL PROTECTED]> wrote: > >> Hi squid users, >> I have squid running on Solaris 10 with apache2. >> It's working perfectly but Is it possible for the Not Allowed Proxy User >> to have a message saying :Forbiden to use this proxy. >> Right now they don't have access at all but they don't have any >> messages. They just see "This page cannot be display. >> >> I guess is just cosmetic but If it's easy to do thank you. >> >> -- >> Dominique Bagnato - Head of the Technology Department. >> French International School - Bethesda, MD. USA >> Tel:301 530 8260 Ext:279 - http://www.rochambeau.org >> >> >> >> > > > > > -- Dominique Bagnato - Head of the Technology Department. French International School - Bethesda, MD. USA Tel:301 530 8260 Ext:279 - http://www.rochambeau.org -- Dominique Bagnato - Head of the Technology Department. French International School - Bethesda, MD. USA Tel:301 530 8260 Ext:279 - http://www.rochambeau.org
Re: [squid-users] Forbiden
Thank you for your patience, Yes is the Internet. I want when somebody on the Internet try to use our proxy he sees a customize message seing that is doing something wrong instead of having a "cannot display page" message. Merci. Bill Jacqmein wrote: Dominique, The outside is the Internet? Bill On 5/26/06, Dominique Bagnato <[EMAIL PROTECTED]> wrote: Thank you, But the forbiden users are from outside my network. They could come from what ever domain and try to use the proxy from outside. Bill Jacqmein wrote: > Salute Dominique, > > abcd.txt will be drive by url_regex given the definition > provided > lines like .gator.com should work > http://www.squid-cache.org/Doc/FAQ/FAQ.html#toc10.4 give > the basic overview > > /usr/local/squid/etc/errors (or where the errors directory under > squid/etc) > ERR_NO_abcd <- File name should contain html. A simple > as the example in the faq has. > > squid.conf additions > acl porn url_regex "/usr/local/squid/etc/abcd.txt" > deny info ERR_NO_abcd > > Bill > > On 5/26/06, Dominique Bagnato <[EMAIL PROTECTED]> wrote: > >> Merci Bill, >> But How to trigger Squid to answers to those forbiden requests ? >> How Squid will make the differnce between a legal request or a >> forbiden ? >> >> In the exemple: >> >> acl porn url_regex "/usr/local/squid/etc/porno.txt" >> >> >> What should I put in the file abcd in /usr/local/squid/etc/abcd.txt ? >> >> Thank you. >> >> >> Bill Jacqmein wrote: >> >> > Dominique, >> > >> > http://www.squid-cache.org/Doc/FAQ/FAQ-10.html#ss10.24, is a >> > FAQ section for customizing squid error messages. >> > >> > Good Luck, >> > >> > Bill >> > >> > On 5/26/06, Dominique Bagnato <[EMAIL PROTECTED]> wrote: >> > >> >> Hi squid users, >> >> I have squid running on Solaris 10 with apache2. >> >> It's working perfectly but Is it possible for the Not Allowed >> Proxy User >> >> to have a message saying :Forbiden to use this proxy. >> >> Right now they don't have access at all but they don't have any >> >> messages. They just see "This page cannot be display. >> >> >> >> I guess is just cosmetic but If it's easy to do thank you. >> >> >> >> -- >> >> Dominique Bagnato - Head of the Technology Department. >> >> French International School - Bethesda, MD. USA >> >> Tel:301 530 8260 Ext:279 - http://www.rochambeau.org >> >> >> >> >> >> >> >> >> > >> > >> > >> > >> > >> >> >> -- >> Dominique Bagnato - Head of the Technology Department. >> French International School - Bethesda, MD. USA >> Tel:301 530 8260 Ext:279 - http://www.rochambeau.org >> >> >> >> > > > > > -- Dominique Bagnato - Head of the Technology Department. French International School - Bethesda, MD. USA Tel:301 530 8260 Ext:279 - http://www.rochambeau.org -- Dominique Bagnato - Head of the Technology Department. French International School - Bethesda, MD. USA Tel:301 530 8260 Ext:279 - http://www.rochambeau.org