Re: [squid-users] squid 3.4 r13095 wccp error

2014-03-01 Thread Eliezer Croitoru

On 01/03/2014 18:42, k simon wrote:

'--disable-wccp'
'--enable-wccpv2'
'--disable-linux-netfilter'
'--disable-linux-tproxy'
I would say that first enable wccp and not disable it any more explictly 
then what you are doing right now..
If and only if there is a bug it's in the logic that states that a 
wccpv2 enabled squid can operate without knowing about wccpv1.
From my prespective it's wrong but doesn't state that the situation you 
are is is not weird to understand.


Eliezer


Re: [squid-users] squid 3.4 r13095 wccp error

2014-03-01 Thread k simon
I have two copy on the box, one is 3.3, the other is 3.4. The same 
configuration. 3.3 worked, 3.4 can not.
 I tcpdump and find the diff in the 3.4-r13095 can only see the packet 
to router port 2048, but no response.





'--disable-wccp'
'--enable-wccpv2'
'--disable-linux-netfilter'
'--disable-linux-tproxy'


Yet you are using WCCP. What operating system and firewall configuration
are you using to get the WCCP packets into Squid?







Re: [squid-users] squid 3.4 r13095 wccp error

2014-02-27 Thread Amos Jeffries
On 28/02/2014 4:46 p.m., k simon wrote:
> Hi,Eliezer,
> 

Re-arranging these options a little to clarify some details ...

> # /usr/local/squid34/sbin/squid -vv
> Squid Cache: Version 3.4.3-BZR
> configure options:

> '--disable-translation'
> '--disable-auto-locale'
> '--enable-err-languages=English'
> '--enable-default-err-language=English'

You can drop the English stuff. --disable-auto-locale makes Squid use
the base "templates/" files instead of the user-specific language templates.


> '--disable-wccp'
> '--enable-wccpv2'
> '--disable-linux-netfilter'
> '--disable-linux-tproxy'

Yet you are using WCCP. What operating system and firewall configuration
are you using to get the WCCP packets into Squid?


> '--enable-build-info'

build-info is supposed to take a string parameter indicating any notes
you have about this build of Squid. ie when you built it, patches added,
(company name if you are a vendor).


Amos



Re: [squid-users] squid 3.4 r13095 wccp error

2014-02-27 Thread k simon
Hi,Eliezer,

# /usr/local/squid34/sbin/squid -vv
Squid Cache: Version 3.4.3-BZR
configure options:  '--prefix=/usr/local/squid34' '--disable-auth'
'--disable-ipv6' '--disable-translation' '--disable-wccp'
'--disable-ident-lookups' '--disable-epoll' '--disable-linux-netfilter'
'--disable-linux-tproxy' '--disable-htcp' '--disable-forw-via-db'
'--disable-cache-digests' '--disable-icap-client' '--disable-esi'
'--disable-eui' '--disable-auto-locale' '--disable-icmp'
'--disable-delay-pool' '--with-filedescriptors=6'
'--with-aufs-threads=64' '--with-large-files'
'--with-pidfile=/var/run/squid/squid34.pid'
'--enable-removal-policies=lru,heap' '--enable-storeio=aufs,diskd,rock'
'--enable-follow-x-forwarded-for' '--enable-wccpv2'
'--enable-http-violations' '--enable-build-info'
'--enable-loadable-modules' '--enable-kqueue'
'--enable-err-languages=English' '--enable-default-err-language=English'
'--enable-log-daemon-helpers=DB,file' --enable-ltdl-convenience

 Simon


于 14-2-28 4:40, Eliezer Croitoru 写道:
> Hey there,
> 
> Wondering what "squid -v" output is?
> 
> Eliezer
> 
> On 27/02/2014 05:40, k simon wrote:
>> Hi,List,
>>
>> The wccp configration works fine with squid3.3.11, when upgraded to
>> squid 3.4 r13095, it's report:
>>
>> # /usr/local/squid34/sbin/squid -f /squid/wccp-instance.conf -N -d1
>> FATAL: Bungled /squid/wccp-instance.conf line 24: wccp2_service_info 80
>> protocol=tcp flags=src_ip_hash priority=240 ports=80,8000,8080
>> Squid Cache (Version 3.4.3-BZR): Terminated abnormally.
>> CPU Usage: 0.010 seconds = 0.010 user + 0.000 sys
>> Maximum Resident Size: 37440 KB
>> Page faults with physical i/o: 0
>>
>> Then I delete "8000,8080" port ,it's no error messages, but the wccp2
>> router does not responsed it.
>>
>>
>> Regards
>> Simon
> 


Re: [squid-users] squid 3.4 r13095 wccp error

2014-02-27 Thread Eliezer Croitoru
Hey there,

Wondering what "squid -v" output is?

Eliezer

On 27/02/2014 05:40, k simon wrote:
> Hi,List,
> 
>The wccp configration works fine with squid3.3.11, when upgraded to
> squid 3.4 r13095, it's report:
> 
> # /usr/local/squid34/sbin/squid -f /squid/wccp-instance.conf -N -d1
> FATAL: Bungled /squid/wccp-instance.conf line 24: wccp2_service_info 80
> protocol=tcp flags=src_ip_hash priority=240 ports=80,8000,8080
> Squid Cache (Version 3.4.3-BZR): Terminated abnormally.
> CPU Usage: 0.010 seconds = 0.010 user + 0.000 sys
> Maximum Resident Size: 37440 KB
> Page faults with physical i/o: 0
> 
>Then I delete "8000,8080" port ,it's no error messages, but the wccp2
> router does not responsed it.
> 
> 
> Regards
> Simon