------------------------------------------------------------ revno: 13685 revision-id: squid3@treenet.co.nz-20141209140706-jxs819t9pghzj0zz parent: squid3@treenet.co.nz-20141209101836-srle29ru3nnf5yvu committer: Amos Jeffries branch nick: 3.5 timestamp: Tue 2014-12-09 06:07:06 -0800 message: Prep for 3.5.0.3 and 3.4.10 ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20141209140706-jxs819t9pghzj0zz # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # testament_sha1: 2c8c53c4f0d6df8ac83516ac03eaf117f744901d # timestamp: 2014-12-09 14:51:01 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # base_revision_id: squid3@treenet.co.nz-20141209101836-\ # srle29ru3nnf5yvu # # Begin patch === modified file 'ChangeLog' --- ChangeLog 2014-10-31 09:15:45 +0000 +++ ChangeLog 2014-12-09 14:07:06 +0000 @@ -1,3 +1,13 @@ +Changes to squid-3.5.0.3 (09 Dec 2014): + + - Bug 4146: workaround SSL Bump crash on Linux + - Bug 4135: Support \-escaped characters in regex patterns + - Bug 4131: SIGSEGV at store.cc:962 content_length > store_maxobjsize + - Fix delay_parameters parsing + - HTTP/2: handle 'PRI' method found in HTTP/1.x traffic + - ... and all changes from squid 3.4.10 + - ... and a lot of documentation updates + Changes to squid-3.5.0.2 (31 Oct 2014): - Fix FTP socket opening during reconfigure @@ -71,6 +81,17 @@ - ... and many error page translation updates - ... and much code cleanup and polishing +Changes to squid-3.4.10 (09 Dec 2014): + + - Bug 4148: external_acl_type header format does not accept the new libformat syntax + - Bug 4145: squid_endian.h compile errors with OpenBSD 5.6 + - Bug 4033: Rebuild corrupted ssl_db/size file + - Bug 3902: Docs: external_acl_type cache hash key + - Fix segmentation fault in ACL urlpath_regex + - Fix bootstrap.sh dependency on SPONSORS.list + - Alternate-Protocol is a hop-by-hop header + - HTTP/2: Support 421 (Misdirected Request) status code + Changes to squid-3.4.9 (31 Oct 2014): - Regression fix: ext_kerberos_ldap_group_acl typo in 3.4.7 update === removed file 'doc/README.wccpv2' --- doc/README.wccpv2 2008-03-22 00:58:20 +0000 +++ doc/README.wccpv2 1970-01-01 00:00:00 +0000 @@ -1,62 +0,0 @@ -This version of squid has been patched with the wccpv2 support patch. To -enable this option, use the --enable-wccpv2 option on the configure script. - -Wccpv2 allows a single cache to associate itself with multiple routers, and -also allows multiple wccp services to be defined. The other advantage of -wccpv2 is that the cisco IOS uses CEF to switch the packets. - -Example simple web cache ------------------------- - -Internet <-> fa0/0 2621 fa0/1 <-> cache, internal network - -squid.conf: - -wccp2_router 192.168.2.1:2048 -wccp2_version 4 -wccp2_forwarding_method 1 -wccp2_return_method 1 -wccp2_service standard 0 - -Router config: - -ip wccp web-cache -! -interface FastEthernet0/0 - description uplink - ip address 192.168.1.200 255.255.255.0 - ip wccp web-cache redirect out - duplex auto - speed auto -! -interface FastEthernet0/1 - description local network - ip address 192.168.2.1 255.255.255.0 - duplex auto - speed auto -! - -Note the cache is on the internal network (Fa0/1), the interception occurs -on the uplink interface(0/0). - -Linux (Kernel 2.6.10, i386) side of things: - -#!/bin/sh -echo "1" > /proc/sys/net/ipv4/ip_forward -echo "0" > /proc/sys/net/ipv4/conf/all/rp_filter -iptunnel add gre1 mode gre remote 192.168.2.1 local 192.168.2.2 dev eth0 -ifconfig gre1 up 127.0.0.2 -iptables -t nat -F -# iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128 -iptables -t nat -A PREROUTING -i gre1 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.2.2:3128 - - -TODO ----- - -* The wccp2 router configuration need to have a better configuration interface - (it currently uses ip:port when only the ip address is needed). -* A shutting-down cache should generate a removal query, informing the router - (and therefore the caches in the group) that this cache is going - away and no new traffic should be forwarded to it. -* Some more documentation, examples, etc. === modified file 'doc/release-notes/release-3.4.sgml' --- doc/release-notes/release-3.4.sgml 2014-10-31 09:15:45 +0000 +++ doc/release-notes/release-3.4.sgml 2014-12-09 14:07:06 +0000 @@ -1,6 +1,6 @@
-Squid 3.4.9 release notes +Squid 3.4.10 release notes Squid Developers @@ -13,7 +13,7 @@ Notice

-The Squid Team are pleased to announce the release of Squid-3.4.9 for testing. +The Squid Team are pleased to announce the release of Squid-3.4.10 for testing. This new release is available for download from or the . === modified file 'doc/release-notes/release-3.5.sgml' --- doc/release-notes/release-3.5.sgml 2014-12-08 08:11:25 +0000 +++ doc/release-notes/release-3.5.sgml 2014-12-09 14:07:06 +0000 @@ -1,6 +1,6 @@

-Squid 3.5.0.2 release notes +Squid 3.5.0.3 release notes Squid Developers @@ -13,12 +13,13 @@ Notice

-The Squid Team are pleased to announce the release of Squid-3.5.0.2 for testing. +The Squid Team are pleased to announce the release of Squid-3.5.0.3 for testing. This new release is available for download from or the . -

While this release is not deemed ready for production use, we believe it is ready for wider testing by the community. +

Some interesting new features adding system flexibility have been added along with general improvements all around. + While this release is not fully bug-free we believe it is ready for use in production on many systems.

We welcome feedback and bug reports. If you find a bug, please see for how to submit a report with a stack trace. @@ -69,7 +70,7 @@ Support libecap v1.0 -

Details at . +

Details at .

The new libecap version allows Squid to better check the version of the eCAP adapter being loaded as well as the version of the eCAP library @@ -117,6 +118,8 @@ Upgraded squidclient tool +

Details at . +

The squidclient has begun the process of upgrading to support protocols other than HTTP. === modified file 'src/wccp2.cc' --- src/wccp2.cc 2014-09-13 13:59:43 +0000 +++ src/wccp2.cc 2014-12-09 14:07:06 +0000 @@ -1050,13 +1050,18 @@ return; } + /* TODO A shutting-down cache should generate a removal query, informing the router + * (and therefore the caches in the group) that this cache is going + * away and no new traffic should be forwarded to it. + */ + if (theWccp2Connection > -1) { debugs(80, DBG_IMPORTANT, "FD " << theWccp2Connection << " Closing WCCPv2 socket"); comm_close(theWccp2Connection); theWccp2Connection = -1; } - /* for each router on each service send a packet */ + /* free all stored router state */ service_list_ptr = wccp2_service_list_head; while (service_list_ptr != NULL) {