[squid-users] ERROR templates

2012-03-21 Thread cc
Hi, I'm using Squid 3.1.9 and recently have been wanting to modify the templates to display some other image. For the 2.5 version, the ERROR templates were properly formatted html templates. However, in 3.1.9, when I use vi, the template is a non-formatted mess. Take for example,

[squid-users] ./configure with TProxy

2012-02-28 Thread cc
Hi, I'm getting: configure:26480: WARNING: Missing needed capabilities (libcap or libcap2) for TPROXY configure:26482: WARNING: Linux Transparent Proxy support WILL NOT be enabled configure:26484: WARNING: Reduced support to Interception Proxy when I ./configure --prefix=/usr/squid

Re: [squid-users] ./configure with TProxy

2012-02-28 Thread cc
Amos Jeffries wrote: Two things: 1) libpcap is not libcap or libcap2. libcap2 is a linux security library to enable low-privileged users capabilities (get it cap...) for safe access to high security actions (specifically IP spoofing). [I can't say where to find it sorry, maybe somone

[squid-users] File too large

2011-04-21 Thread cc
Hi, I managed to get Squid 2.7 running ok for the past day; but have come across a puzzling error. No matter what url I type in, I get an error message: The requested URL could not be retrieved While trying to retrieve the URL: url The following error was encountered: Connection to Failed

Re: [squid-users] File too large

2011-04-21 Thread cc
cc wrote: Hi, I managed to get Squid 2.7 running ok for the past day; but have come across a puzzling error. No matter what url I type in, I get an error message: The requested URL could not be retrieved While trying to retrieve the URL: url The following error was encountered

Re: [squid-users] transparent proxy debugging

2011-04-20 Thread cc
Hi Amos, Amos Jeffries wrote: LO_REDIRECT=3129 $IPTB -t nat -A PREROUTING -i $INET_IF -s $INET_IP -p tcp \ --dport $HTTP -j ACCEPT $IPTB -t nat -A PREROUTING -i $DMZ_IF -p tcp -s $LAN_NET --dport $HTTP \ -j REDIRECT --to-ports $LO_REDIRECT $IPTB -t

Re: [squid-users] transparent proxy debugging

2011-04-20 Thread cc
Amos Jeffries wrote: Only if the first of those rules is broken. ... -i $INET_IF -s $INET_IP matches traffic from another machine called $INET_IP outside the current box. Hi Amos, I don't seem to be getting anywhere. Given that I redirect all outgoing port 80 traffic to the localhost:3190

[squid-users] squid 3.1.12 and transparent and IPFilter 5.1.0

2011-04-19 Thread cc
Hi, I've been using squid 3.0 stable and figured it was time to upgrade to 3.1 series. Since 3.1 series requires IPFIlter (amongst others) I downloaded 5.1.0 from http://coombs.anu.edu.au/~avalon/. (Is this the right one?) I couldn't get the IPFIlter to build due to some errors:

[squid-users] ACL::~ACL:

2011-04-19 Thread cc
Hi, I'm using Squid v3.0.Stable24. Whenever I do a squid -k reconfigure, I get the following lines appearing: 2011/04/19 17:08:57.266| ACL::~ACL: ' 2011/04/19 17:08:57.266| ACL::~ACL: ' 2011/04/19 17:08:57.266| ACL::~ACL: ' 2011/04/19 17:08:57.266| ACL::~ACL: ' 2011/04/19 17:08:57.266|

[squid-users] building 3.1.12

2011-04-19 Thread cc
../../src -I../../include -I../../libltdl -I/usr/local/ssl/include -I../ipfilter -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT Icmp4.o -MD -MP -MF .deps/Icmp4.Tpo -c -o Icmp4.o Icmp4.cc Icmp4.cc: In member function `virtual

Re: [squid-users] building 3.1.12

2011-04-19 Thread cc
Amos Jeffries wrote: On 19/04/11 21:19, cc wrote: Hi, I tried building 3.1.12 today and came across the following errors: make[3]: Leaving directory `/st/always/squid-3.1.12/src/ip' Making all in icmp make[3]: Entering directory `/st/always/squid-3.1.12/src/icmp' g++ -DHAVE_CONFIG_H

Re: [squid-users] building 3.1.12

2011-04-19 Thread cc
Amos Jeffries wrote: I mean some file which needs to be found and used. But we the dev (and thus ./configure which we write) do not know about. Can you please supply the output of: grep -R struct icmphdr /usr/include/ (/usr/include/ being the usual location for system header files. If

Re: [squid-users] building 3.1.12

2011-04-19 Thread cc
Amos Jeffries wrote: On Wed, 20 Apr 2011 09:33:50 +0800, cc wrote: Amos Jeffries wrote: I mean some file which needs to be found and used. But we the dev (and thus ./configure which we write) do not know about. Can you please supply the output of: grep -R struct icmphdr /usr/include

Re: [squid-users] building 3.1.12

2011-04-19 Thread cc
Amos Jeffries wrote: On Wed, 20 Apr 2011 10:45:00 +0800, cc wrote: Amos Jeffries wrote: struct icmphdr { u_int8_t type;/* message type */ u_int8_t code;/* type sub-code */ u_int16_t checksum; union { struct { u_int16_t id

[squid-users] transparent proxy debugging

2011-04-19 Thread cc
Hi, I have a firewall which also serves as a transparent proxy system. So all forward 80 ports are sent to the localhost(I think)'s 3129 port. I've read http://wiki.squid-cache.org/ConfigExamples/Intercept/LinuxRedirect, and my netfilter rules are: LO_REDIRECT=3129 $IPTB -t nat -A PREROUTING

Re: [squid-users] cache manager access

2008-05-29 Thread cc
Chris Robertson wrote: cc wrote: Hi, I have Squid: The Definitive guide and have installed v2.6STABLE 16 installed. I'm *quite* confused as to how to access the cache-manager. The book has the following: Cache Host: localhost Cache Port: 3128 Manager Name: Password: continue

[squid-users] cache manager access

2008-05-27 Thread cc
Hi, I have Squid: The Definitive guide and have installed v2.6STABLE 16 installed. I'm *quite* confused as to how to access the cache-manager. The book has the following: Cache Host: localhost Cache Port: 3128 Manager Name: Password: continue Whereas the new version has: Cache

Re: [squid-users] No userid in access.log

2008-04-09 Thread CC Ng
Thanks for your hints, I wrote a simple shell script for that purpose successfully. How to determine the value of children option in external_acl_type directive? What is the effect of that? Henrik Nordstrom wrote: tis 2008-04-08 klockan 00:46 +0800 skrev CC Ng: I have no idea about how

Re: [squid-users] No userid in access.log

2008-04-07 Thread CC Ng
Hi Henrik, I have no idea about how to write the custom helper, is there any hint for that? Thanks! Best regards, CC Ng Henrik Nordstrom wrote: fre 2008-04-04 klockan 10:56 +0800 skrev CC Ngu: When I use Login=PASS in cache_peer option (i.e. pass the authentication to the parent

[squid-users] No userid in access.log

2008-04-03 Thread CC Ng
When I use Login=PASS in cache_peer option (i.e. pass the authentication to the parent), there is no userid information in the access.log, is it possible to show the userid in the local squid's access.log?

[squid-users] redirector question (squirm)

2004-12-28 Thread cc
Hi, I'm using Squid 2.5-stable7 with Squirm 1.0.0beta. For testing's sake, I'm trying to redirect all traffic that goes to http://www.microsoft.com to http://www.mozilla.org. Perhaps I'm misunderstanding the use for redirection; but given the following squid.patterns: # patterns regexi

Re: [squid-users] transparent proxy problem again[Scanned]

2003-09-15 Thread cc
Payal Rathod wrote: [...] Don't you think we are little late for the reply :) Anyway, I think you had replied that time only. And I am receving strange bounce s saying that squid list has rejected my mail because of html in them. I diddn't send a mail for few weeks and the mail appears to

[squid-users] transparent proxy routing

2003-09-01 Thread cc
Hi, I have transparent proxy running pretty well and caching ok. I'm not sure where to post, but since it is also a squid configuration issue, I'd try here. Currently, all outgoing port 80 calls are being routed (via iptables) to the squid box and then routed back through to the routing machine

Re: [squid-users] transparent proxy routing

2003-09-01 Thread cc
Henrik Nordstrom wrote: Don't NAT, just route the packets via a different route (policy routing). What do you mean? If there is other routers inbetween the interception point and the Squid box then use a GRE tunnel, if not direct routing. For reliable session routing in iptables you

[squid-users] acl question

2003-08-19 Thread cc
. Is there something wrong with deny_info ERR_NOIE noie that I'm not aware of? Any help appreciated CC -- email: [EMAIL PROTECTED] | A man who knows not where he goes, | knows not when he arrives. |- Anon ** All information contained

Re: [squid-users] acl question

2003-08-19 Thread cc
Henrik Nordstrom wrote: On Tuesday 19 August 2003 12.30, cc wrote: acl noie browser -i MSIE deny_info ERR_NOIE noie http_access deny noie The above, when uncommented makes squid throw a segmentation fault. When I recomment the three lines, Squid works fine. Probably this: http