pkgsrc/www/squid/patches/patch-cd
taca f6f2f0f2fe Update squid package to 2.5.6 (squid 2.5.STALBE6 + official patches).
Squid 2.5.STABLE5 to 2.5.STABLE6:

* Several "Assertion error" bugs fixed
* Several "Segmentation fault" bugs fixes
* Corrects a security issue in the old ntlm_auth NTLM helper used in transparent NTLM authentication to a NT domain without using samba.
* Processing of Vary: * and Vary on error messages corrected
* a large number of minor and cosmetic bugfixes. See the list of squid-2.5.STABLE5 patches and the ChangeLog file for details.


2.5.STABLE56 official patches:

* 2004-08-20 08:18 (Major) NTLM authentication denial of service
* 2004-08-14 21:07 (Minor) external_acl does not handle newlines
* 2004-08-09 14:03 (Minor) Supplementary group memberships not set
* 2004-08-05 20:33 (Medium) Segfaults and other strange crashes when using heap policies
* 2004-08-06 11:05 (Cosmetic) Unknown %X errorpage codes incorrectly quoted
* 2004-08-17 12:22 (Cosmetic) Grammatical corrections in squid.conf.default
* 2004-07-27 21:52 (Minor) NTLM authentication truncated
* 2004-07-17 22:43 (Minor) Memory leak in client_db
* 2004-07-17 20:11 (Cosmetic) Add delay pools information to active_requests
* 2004-07-17 19:57 (Minor) case insensitive authentication
* 2004-07-17 19:48 (Cosmetic) Warn if cache_dir ufs can not create files
* 2004-07-17 16:33 (Cosmetic) HEAD requests may return stale information
* 2004-07-17 16:33 (Minor) Partial hit results in TCP_HIT, not TCP_MISS
* 2004-07-17 16:33 (Cosmetic) request_header_max_size configuration option doesn't work correctly
* 2004-07-29 13:29 (Minor) A large number of queued DNS lookups for the same domain
* 2004-08-10 09:40 (Minor) LDAP helpers update
* 2004-07-14 16:29 (Medium) storeCreate: no valid swapdirs for this object
2004-08-22 15:11:07 +00:00

14 lines
457 B
Text

$NetBSD: patch-cd,v 1.4 2004/08/22 15:11:09 taca Exp $
--- src/client_side.c.orig 2004-08-20 18:35:25.000000000 +0900
+++ src/client_side.c
@@ -2752,6 +2752,9 @@ parseHttpRequest(ConnStateData * conn, m
natLookup.nl_inip = http->conn->me.sin_addr;
natLookup.nl_outip = http->conn->peer.sin_addr;
natLookup.nl_flags = IPN_TCP;
+#ifndef IPL_NAT
+#define IPL_NAT IPNAT_NAME
+#endif
if (natfd < 0) {
int save_errno;
enter_suid();