<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Squid и wccp v2]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=20437</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=20437&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Squid и wccp v2».]]></description>
		<lastBuildDate>Wed, 22 Feb 2012 09:01:44 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Squid и wccp v2]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=252989#p252989</link>
			<description><![CDATA[<p>подскажите пожалуйста как настроит сквид чтоб трафик шел по wccp2.<br />тестовом режиме настраивал только порт 80 и все сработало, но мне нужен 80 и 443<br />вот такими настройками работает но только 80 порт<br />wccp2_forwarding_method gre<br />wccp2_return_method gre<br />wccp2_assignment_method mask<br />щccp2_service standard 0</p><p>для мултипорта нужен другой сервис<br />wccp2_service dynamic 90<br />wccp2_service_info 90 protocol=tcp priority=240 ports=80,443<br />но при таком настройке надо менять и wccp2_assignment_method mask на<br />wccp2_assignment_method hash<br />а вот ту появляется головная боль, ошибка:<br />wccp2HandleUdp: fatal error - A WCCP router has specified a different assignment method 2, expected 1<br />ну это ошибка и говорит о том что wccp2_assignment_method hash неправильны <br />если не поменяем то другая ошибка FATAL: Unknown service hash method<br />но не знаю больше как поступить</p><p>CentOS release 6.2 (Final)<br />2.6.32-220.4.2.el6.x86_64 #1 SMP</p><p>Squid Cache: Version 3.1.10<br />configure options:&nbsp; &#039;--build=x86_64-redhat-linux-gnu&#039; &#039;--host=x86_64-redhat-linux-gnu&#039; &#039;--target=x86_64-redhat-linux-gnu&#039; &#039;--program-prefix=&#039; &#039;--prefix=/usr&#039; &#039;--exec-prefix=/usr&#039; &#039;--bindir=/usr/bin&#039; &#039;--sbindir=/usr/sbin&#039; &#039;--sysconfdir=/etc&#039; &#039;--datadir=/usr/share&#039; &#039;--includedir=/usr/include&#039; &#039;--libdir=/usr/lib64&#039; &#039;--libexecdir=/usr/libexec&#039; &#039;--sharedstatedir=/var/lib&#039; &#039;--mandir=/usr/share/man&#039; &#039;--infodir=/usr/share/info&#039; &#039;--exec_prefix=/usr&#039; &#039;--libexecdir=/usr/lib64/squid&#039; &#039;--localstatedir=/var&#039; &#039;--datadir=/usr/share/squid&#039; &#039;--sysconfdir=/etc/squid&#039; &#039;--with-logdir=$(localstatedir)/log/squid&#039; &#039;--with-pidfile=$(localstatedir)/run/squid.pid&#039; &#039;--disable-dependency-tracking&#039; &#039;--enable-arp-acl&#039; &#039;--enable-follow-x-forwarded-for&#039; &#039;--enable-auth=basic,digest,ntlm,negotiate&#039; &#039;--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SMB,YP,getpwnam,multi-domain-NTLM,SASL,DB,POP3,squid_radius_auth&#039; &#039;--enable-ntlm-auth-helpers=smb_lm,no_check,fakeauth&#039; &#039;--enable-digest-auth-helpers=password,ldap,eDirectory&#039; &#039;--enable-negotiate-auth-helpers=squid_kerb_auth&#039; &#039;--enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbinfo_group&#039; &#039;--enable-cache-digests&#039; &#039;--enable-cachemgr-hostname=localhost&#039; &#039;--enable-delay-pools&#039; &#039;--enable-epoll&#039; &#039;--enable-icap-client&#039; &#039;--enable-ident-lookups&#039; &#039;--enable-linux-netfilter&#039; &#039;--enable-referer-log&#039; &#039;--enable-removal-policies=heap,lru&#039; &#039;--enable-snmp&#039; &#039;--enable-ssl&#039; &#039;--enable-storeio=aufs,diskd,ufs&#039; &#039;--enable-useragent-log&#039; &#039;--enable-wccpv2&#039; &#039;--enable-esi&#039; &#039;--with-aio&#039; &#039;--with-default-user=squid&#039; &#039;--with-filedescriptors=16384&#039; &#039;--with-dl&#039; &#039;--with-openssl&#039; &#039;--with-pthreads&#039; &#039;build_alias=x86_64-redhat-linux-gnu&#039; &#039;host_alias=x86_64-redhat-linux-gnu&#039; &#039;target_alias=x86_64-redhat-linux-gnu&#039; &#039;CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fpie&#039; &#039;LDFLAGS=-pie&#039; &#039;CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fpie&#039; --with-squid=/builddir/build/BUILD/squid-3.1.10</p>]]></description>
			<author><![CDATA[null@example.com (Randall)]]></author>
			<pubDate>Wed, 22 Feb 2012 09:01:44 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=252989#p252989</guid>
		</item>
	</channel>
</rss>
