[squid-users] Bad TCP Checksums/Slow HTTPS connections

From: Sketch <[email protected]>
Date: Mon, 1 May 2006 15:00:48 -0400

Hey Folks,

I'm currently encountering issues with tcp checksums on squid requests
and responses.

14:50:38.954588 IP (tos 0x0, ttl 64, id 25989, offset 0, flags [DF],
length: 652) 123.123.123.123.www > squidhost.57141: P [bad tcp cksum
f7df (->4747)!] 2897:3497(600) ack 443 win 1984 <nop,nop,timestamp
885589498 1978734>

Has anyone encountered this before?

Also...

I'm having extremely slow https connections, to the point where they
time out. Sometimes they work, sometimes they fail. I've upgraded to
Squid 2.5-13 with the same results. Squid is configured as a reverse
proxy. Any ideas?

On another note, Henrik, the rproxy patch on the development site does
not work with Squid 2.5-13. Patching works fine, however compilation
aborts with:

gcc -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -g -o unlinkd unlinkd-daemon.o
gcc -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -g -o cachemgr.cgi
cachemgr__CGIEXT_-cachemgr.o -L../lib -lmiscutil -lm -lresolv -lnsl
gcc -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -g -o squid access_log.o
acl.o asn.o authenticate.o cache_cf.o CacheDigest.o cache_manager.o
carp.o cbdata.o client_db.o client_side.o comm.o comm_select.o debug.o
 disk.o dns_internal.o errorpage.o ETag.o event.o external_acl.o fd.o
filemap.o forward.o fqdncache.o ftp.o gopher.o helper.o http.o
HttpStatusLine.o HttpHdrCc.o HttpHdrRange.o HttpHdrContRange.o
HttpHeader.o HttpHeaderTools.o HttpBody.o HttpMsg.o HttpReply.o
HttpRequest.o icmp.o icp_v2.o icp_v3.o ident.o internal.o ipc.o
ipcache.o logfile.o main.o mem.o MemPool.o MemBuf.o mime.o
multicast.o neighbors.o net_db.o Packer.o pconn.o peer_digest.o
peer_select.o redirect.o referer.o refresh.o send-announce.o ssl.o
ssl_support.o stat.o StatHist.o String.o stmem.o store.o store_io.o
store_client.o store_digest.o store_dir.o store_key_md5.o store_log.o
store_rebuild.o store_swapin.o store_swapmeta.o store_swapout.o
tools.o unlinkd.o url.o urn.o useragent.o wais.o wccp.o whois.o
repl_modules.o auth_modules.o store_modules.o globals.o
string_arrays.o -L../lib repl/liblru.a fs/libufs.a auth/libbasic.a
-lcrypt -lssl -lcrypto -lmiscutil -lm -lresolv -lnsl
client_side.o(.text+0x4f78): In function `clientHttpLocationRewrite':
/usr/local/src/squid-2.5.STABLE13/src/client_side.c:2223: undefined
reference to `locationRewriteStart'
client_side.o(.text+0x5418): In function `clientCheckErrorMap':
/usr/local/src/squid-2.5.STABLE13/src/client_side.c:2368: undefined
reference to `errorMapStart'
main.o(.text+0x47f): In function `serverConnectionsOpen':
/usr/local/src/squid-2.5.STABLE13/src/main.c:317: undefined reference
to `peerSourceHashInit'
main.o(.text+0x484):/usr/local/src/squid-2.5.STABLE13/src/main.c:318:
undefined reference to `peerUserHashInit'
main.o(.text+0x544): In function `mainReconfigure':
/usr/local/src/squid-2.5.STABLE13/src/main.c:364: undefined reference
to `locationRewriteShutdown'
main.o(.text+0x5d5):/usr/local/src/squid-2.5.STABLE13/src/main.c:392:
undefined reference to `locationRewriteInit'
main.o(.text+0x661): In function `mainRotate':
/usr/local/src/squid-2.5.STABLE13/src/main.c:417: undefined reference
to `locationRewriteShutdown'
main.o(.text+0x69f):/usr/local/src/squid-2.5.STABLE13/src/main.c:434:
undefined reference to `locationRewriteInit'
main.o(.text+0x9f5): In function `mainInitialize':
/usr/local/src/squid-2.5.STABLE13/src/main.c:520: undefined reference
to `locationRewriteInit'
main.o(.text+0x9fa):/usr/local/src/squid-2.5.STABLE13/src/main.c:521:
undefined reference to `errorMapInit'
main.o(.text+0x1828): In function `SquidShutdown':
/usr/local/src/squid-2.5.STABLE13/src/main.c:975: undefined reference
to `locationRewriteShutdown'
main.o(.text+0x48c): In function `serverConnectionsOpen':
/usr/local/src/squid-2.5.STABLE13/src/main.c:319: undefined reference
to `peerMonitorInit'
main.o(.text+0x63d): In function `mainReconfigure':
/usr/local/src/squid-2.5.STABLE13/src/main.c:406: undefined reference
to `peerMonitorInit'
neighbors.o(.text+0x212a): In function `peerConnectSucceded':
/usr/local/src/squid-2.5.STABLE13/src/neighbors.c:1080: undefined
reference to `peerMonitorNow'
peer_select.o(.text+0xdc9): In function `peerGetSomeParent':
/usr/local/src/squid-2.5.STABLE13/src/peer_select.c:447: undefined
reference to `peerUserHashSelectParent'
peer_select.o(.text+0xddc):/usr/local/src/squid-2.5.STABLE13/src/peer_select.c:449:
undefined reference to `peerSourceHashSelectParent'
collect2: ld returned 1 exit status
make[3]: *** [squid] Error 1
make[3]: Leaving directory `/usr/local/src/squid-2.5.STABLE13/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/squid-2.5.STABLE13/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/squid-2.5.STABLE13/src'
make: *** [all-recursive] Error 1
Received on Mon May 01 2006 - 13:00:50 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:01 MDT