]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
28 years agoACL ARP support
wessels [Sat, 6 Dec 1997 02:30:03 +0000 (02:30 +0000)] 
ACL ARP support
From:    dale@server.ctam.bitmcnit.bryansk.su (Dale)
   Working on setting up a proper firewall for a network containing some
Win'95 computers at our Univ, I've discovered that some smart students
avoid the restrictions easily just changing their IP addresses in Win'95
Contol Panel... It has been getting boring, so I took Squid-1.1.18
sources and added a new acl type for hard-wired access control:

28 years agosupport for typecode ala RFC 1738
wessels [Fri, 5 Dec 1997 14:42:57 +0000 (14:42 +0000)] 
support for typecode ala RFC 1738

28 years agoFix handling of certain non-200 HTTP replies (Henrik)
wessels [Fri, 5 Dec 1997 06:07:51 +0000 (06:07 +0000)] 
Fix handling of certain non-200 HTTP replies (Henrik)

28 years agoonly generate an error page if inmem_hi == 0
wessels [Fri, 5 Dec 1997 06:06:45 +0000 (06:06 +0000)] 
only generate an error page if inmem_hi == 0

28 years agoInitial URN support
kostas [Fri, 5 Dec 1997 05:50:04 +0000 (05:50 +0000)] 
Initial URN support

28 years agoDont reset the FD timeout value in clientReadRequest. It breaks the
wessels [Thu, 4 Dec 1997 07:07:33 +0000 (07:07 +0000)] 
Dont reset the FD timeout value in clientReadRequest.  It breaks the
half-close detection.

28 years agoupdate
wessels [Thu, 4 Dec 1997 06:56:56 +0000 (06:56 +0000)] 
update

28 years agonote half-closed client sockets
wessels [Thu, 4 Dec 1997 06:12:11 +0000 (06:12 +0000)] 
note half-closed client sockets

28 years agoargh, more changes to deal with sending errors back in StoreEntry's.
wessels [Thu, 4 Dec 1997 02:45:24 +0000 (02:45 +0000)] 
argh, more changes to deal with sending errors back in StoreEntry's.
Now, for failed requests, we will generate a clientHttpRequest struct
so we can use clientSendMoreData() etc..

28 years agoTypo corrected (s/celan/clean)
kostas [Thu, 4 Dec 1997 02:42:54 +0000 (02:42 +0000)] 
Typo corrected (s/celan/clean)

28 years agorequest_size needs to be stored as BYTES, not KBYTES
wessels [Thu, 4 Dec 1997 00:55:23 +0000 (00:55 +0000)] 
request_size needs to be stored as BYTES, not KBYTES

28 years agomaxfd bugs when we run out of files?
wessels [Wed, 3 Dec 1997 16:05:00 +0000 (16:05 +0000)] 
maxfd bugs when we run out of files?

28 years agoremove storeAbort() calls after storeAppendEntry() because now
wessels [Wed, 3 Dec 1997 16:00:16 +0000 (16:00 +0000)] 
remove storeAbort() calls after storeAppendEntry() because now
storeAppendEntry() calls storeComplete() which sets store_status
to STORE_COMPLETE.

28 years agoforgot to pass flags to storeCreateEntry()!
wessels [Wed, 3 Dec 1997 15:57:19 +0000 (15:57 +0000)] 
forgot to pass flags to storeCreateEntry()!

28 years agohave errorAppendEntry() call storeComplete()
wessels [Wed, 3 Dec 1997 15:26:34 +0000 (15:26 +0000)] 
have errorAppendEntry() call storeComplete()

28 years agoFor erroneous requests, we might not have a http->request structure,
wessels [Wed, 3 Dec 1997 15:24:07 +0000 (15:24 +0000)] 
For erroneous requests, we might not have a http->request structure,
so generate a fake on in clientCreateStoreEntry().

28 years agochange clientCreateStoreEntry() to take method_t arg because
wessels [Wed, 3 Dec 1997 14:30:29 +0000 (14:30 +0000)] 
change clientCreateStoreEntry() to take method_t arg because
http->request might be NULL.

28 years agomake EALREADY a hard error for HP-UX
wessels [Wed, 3 Dec 1997 11:39:07 +0000 (11:39 +0000)] 
make EALREADY a hard error for HP-UX

28 years agoupdate
wessels [Wed, 3 Dec 1997 08:33:34 +0000 (08:33 +0000)] 
update

28 years agoformatting
wessels [Wed, 3 Dec 1997 08:33:15 +0000 (08:33 +0000)] 
formatting

28 years agomove "struct tree *Mib" to globals.h
wessels [Wed, 3 Dec 1997 08:32:20 +0000 (08:32 +0000)] 
move "struct tree *Mib" to globals.h

28 years agoremove short function fqdncache_add_to_hash()
wessels [Wed, 3 Dec 1997 08:31:59 +0000 (08:31 +0000)] 
remove short function fqdncache_add_to_hash()

28 years agorename memoryAccounted() to statMemoryAccounted() and make it global
wessels [Wed, 3 Dec 1997 08:31:40 +0000 (08:31 +0000)] 
rename memoryAccounted() to statMemoryAccounted() and make it global

28 years agoremove old snmp_config.h
wessels [Wed, 3 Dec 1997 08:30:39 +0000 (08:30 +0000)] 
remove old snmp_config.h

28 years agoremove commented-out prototypes
wessels [Wed, 3 Dec 1997 08:29:56 +0000 (08:29 +0000)] 
remove commented-out prototypes

28 years agoremove include/snmp_config.h because its specific to the src directory. its contents...
wessels [Wed, 3 Dec 1997 08:29:35 +0000 (08:29 +0000)] 
remove include/snmp_config.h because its specific to the src directory.  its contents have been relocated to src/structs.h and src/defines.h

28 years agoremove sneaky LOG_METER_EXPIRES
wessels [Wed, 3 Dec 1997 08:28:17 +0000 (08:28 +0000)] 
remove sneaky LOG_METER_EXPIRES

28 years agodont make SNMP in by default
wessels [Wed, 3 Dec 1997 08:27:55 +0000 (08:27 +0000)] 
dont make SNMP in by default

28 years agoupdate
wessels [Wed, 3 Dec 1997 08:27:40 +0000 (08:27 +0000)] 
update

28 years agoignore SIGPIPE
wessels [Wed, 3 Dec 1997 07:29:47 +0000 (07:29 +0000)] 
ignore SIGPIPE

28 years ago1.2.beta8
wessels [Wed, 3 Dec 1997 07:29:01 +0000 (07:29 +0000)] 
1.2.beta8

28 years agoupdate
wessels [Wed, 3 Dec 1997 07:28:57 +0000 (07:28 +0000)] 
update

28 years agoAvoid errorSend() in client_side.c. We must use errorAppendEntry()
wessels [Wed, 3 Dec 1997 06:55:05 +0000 (06:55 +0000)] 
Avoid errorSend() in client_side.c.  We must use errorAppendEntry()
instead because of persistent/pipeline requests.

28 years ago- Make HTTP PUT's work again in clientProcessRequest().
wessels [Wed, 3 Dec 1997 05:12:56 +0000 (05:12 +0000)] 
- Make HTTP PUT's work again in clientProcessRequest().
- Eliminate 'fd' arg for clientProcess* functions.

28 years agocorrected several snmp problems, including net_db support, spreading snmp code
kostas [Wed, 3 Dec 1997 00:59:32 +0000 (00:59 +0000)] 
corrected several snmp problems, including net_db support, spreading snmp code
to the appropriate files so that we don't make some structures global. minor
mib corrections.

28 years agovariable structures and magic numbers moved here to spread agent called functions
kostas [Wed, 3 Dec 1997 00:56:03 +0000 (00:56 +0000)] 
variable structures and magic numbers moved here to spread agent called functions
over several files.

28 years agoMakefiles
wessels [Tue, 2 Dec 1997 12:28:00 +0000 (12:28 +0000)] 
Makefiles

28 years agoMD5 support for Squid's cache keys!
wessels [Tue, 2 Dec 1997 12:06:36 +0000 (12:06 +0000)] 
MD5 support for Squid's cache keys!
- moved md5.c from snmplib to lib
- changed md5.c's wierd typedefs (UINT4, POINTER)
- moved u_num32 typedefs to config.h, deleted from squid.h and
  asn1.h.
- more I'm sure

28 years agoformatting
wessels [Tue, 2 Dec 1997 10:33:08 +0000 (10:33 +0000)] 
formatting

28 years agofix u_num32 typedefs
wessels [Tue, 2 Dec 1997 10:32:50 +0000 (10:32 +0000)] 
fix u_num32 typedefs

28 years agoremove OLD_CODE
wessels [Tue, 2 Dec 1997 10:32:22 +0000 (10:32 +0000)] 
remove OLD_CODE

28 years agomake SNMP code #ifdef-able, including config parsing
wessels [Tue, 2 Dec 1997 10:30:21 +0000 (10:30 +0000)] 
make SNMP code #ifdef-able, including config parsing

28 years agoswitch fqdncache_purgelru() from using qsort() to a double-linked list.
wessels [Tue, 2 Dec 1997 10:19:28 +0000 (10:19 +0000)] 
switch fqdncache_purgelru() from using qsort() to a double-linked list.

28 years agopreprocessor
wessels [Tue, 2 Dec 1997 07:45:22 +0000 (07:45 +0000)] 
preprocessor

28 years agogindent
wessels [Tue, 2 Dec 1997 07:17:21 +0000 (07:17 +0000)] 
gindent

28 years agoupdate
wessels [Tue, 2 Dec 1997 07:17:04 +0000 (07:17 +0000)] 
update

28 years agocomm_poll/comm_select could 'spin' a little bit on HTTP and ICP sockets
wessels [Tue, 2 Dec 1997 07:15:50 +0000 (07:15 +0000)] 
comm_poll/comm_select could 'spin' a little bit on HTTP and ICP sockets
because it would only check them every 7th FD.  If select returns
less than 7, however, we should make sure they get done.

28 years agogindent
wessels [Tue, 2 Dec 1997 07:13:56 +0000 (07:13 +0000)] 
gindent

28 years agoinitialize statLen to 0
wessels [Tue, 2 Dec 1997 07:13:40 +0000 (07:13 +0000)] 
initialize statLen to 0

28 years agoSNMP changes to get snmpwalk working
wessels [Tue, 2 Dec 1997 05:45:44 +0000 (05:45 +0000)] 
SNMP changes to get snmpwalk working

28 years agofix keep alive connection request header for non-proxy connections
wessels [Mon, 1 Dec 1997 12:34:55 +0000 (12:34 +0000)] 
fix keep alive connection request header for non-proxy connections

28 years agodont need to check xmalloc() return value
wessels [Mon, 1 Dec 1997 12:33:53 +0000 (12:33 +0000)] 
dont need to check xmalloc() return value

28 years agoupdate
wessels [Mon, 1 Dec 1997 12:33:27 +0000 (12:33 +0000)] 
update

28 years agoremove unused prototypes
wessels [Mon, 1 Dec 1997 12:06:44 +0000 (12:06 +0000)] 
remove unused prototypes

28 years agoOof, icpCheckTransferDone() fix. We were ending the transfer after
wessels [Mon, 1 Dec 1997 11:46:50 +0000 (11:46 +0000)] 
Oof, icpCheckTransferDone() fix.  We were ending the transfer after
the reply headers for ALL replies, not just non-200 replies.

28 years agopersistent connection / content-length fix. We may not get a
wessels [Mon, 1 Dec 1997 09:19:19 +0000 (09:19 +0000)] 
persistent connection / content-length fix.  We may not get a
content-length on non-200 replies.  In this case, we are DONE writing
to the client when we have seen the end of the reply headers.

28 years agopersistent connection / content-length fix. For non-200 replies, we
wessels [Mon, 1 Dec 1997 09:17:29 +0000 (09:17 +0000)] 
persistent connection / content-length fix.  For non-200 replies, we
may or may not get a content-length.  If there is no content-length, AND
we've reached the end-of-headers, then we can still try being persistent.
This was previously #ifdef'd out as 'NOT_SURE_THIS_MATTERS'

28 years agoassert that mem->clients == NULL in destroy_MemObject()
wessels [Mon, 1 Dec 1997 09:15:25 +0000 (09:15 +0000)] 
assert that mem->clients == NULL in destroy_MemObject()

28 years agoNeed to 'cbdataUnlock()' the ConnectStateData->data in commConnectFree()
wessels [Sun, 30 Nov 1997 11:59:05 +0000 (11:59 +0000)] 
Need to 'cbdataUnlock()' the ConnectStateData->data in commConnectFree()
if we DIDN'T ever call commConnectCallback().

28 years agodebug changes
wessels [Sun, 30 Nov 1997 11:00:53 +0000 (11:00 +0000)] 
debug changes

28 years agoUse the errorpage codes to generate a special URL with the %2f hack
wessels [Sun, 30 Nov 1997 10:08:37 +0000 (10:08 +0000)] 
Use the errorpage codes to generate a special URL with the %2f hack
for failed request (Henrik Nordstrom)

28 years agomove POLLRDNORM hack from config.h to squid.h
wessels [Sun, 30 Nov 1997 09:52:09 +0000 (09:52 +0000)] 
move POLLRDNORM hack from config.h to squid.h

28 years agocompiler
wessels [Sun, 30 Nov 1997 09:40:07 +0000 (09:40 +0000)] 
compiler

28 years agoFrom: BoB Miorelli <miorelli@pweh.com>
wessels [Sun, 30 Nov 1997 09:26:41 +0000 (09:26 +0000)] 
From:    BoB Miorelli <miorelli@pweh.com>
I recently sent patches to fix the proxy_auth code in
Squid 1.2.beta6.   This context diff fixes the log file
so that the authorized user name is logged if there
is no ident header present.  Also fixes the Common Log
Format to properly log client IP address.

28 years agofix some int/long problems for 64bit systems
wessels [Sun, 30 Nov 1997 09:10:30 +0000 (09:10 +0000)] 
fix some int/long problems for 64bit systems

28 years agoadd cbdata __FILE__,__LINE__ debugging
wessels [Sun, 30 Nov 1997 00:00:43 +0000 (00:00 +0000)] 
add cbdata __FILE__,__LINE__ debugging

28 years agoremove bogus (?) assertion
wessels [Sat, 29 Nov 1997 15:07:35 +0000 (15:07 +0000)] 
remove bogus (?) assertion

28 years ago"content-length: 0" is a valid reply header, so we must use -1 to indicate
wessels [Sat, 29 Nov 1997 15:03:17 +0000 (15:03 +0000)] 
"content-length: 0" is a valid reply header, so we must use -1 to indicate
a LACK of a content-length.

28 years agoabort request after 20 timeouts
wessels [Sat, 29 Nov 1997 06:49:26 +0000 (06:49 +0000)] 
abort request after 20 timeouts

28 years agocall getCurrentTime() while writing clean logs
wessels [Sat, 29 Nov 1997 06:48:26 +0000 (06:48 +0000)] 
call getCurrentTime() while writing clean logs

28 years agocode reuse; commCallCloseHandlers()
wessels [Sat, 29 Nov 1997 06:48:07 +0000 (06:48 +0000)] 
code reuse; commCallCloseHandlers()

28 years agocompiler warning
wessels [Sat, 29 Nov 1997 06:34:04 +0000 (06:34 +0000)] 
compiler warning

28 years ago- clean up snmplib #includes to eliminate compiler warnings
wessels [Sat, 29 Nov 1997 06:25:25 +0000 (06:25 +0000)] 
- clean up snmplib #includes to eliminate compiler warnings
- also use xcalloc() instead of calloc(), etc.

28 years agocbdata leak, mostly from comm_remove_close_handler failing to
wessels [Sat, 29 Nov 1997 02:47:22 +0000 (02:47 +0000)] 
cbdata leak, mostly from comm_remove_close_handler failing to
call cbdataUnlock().

28 years agocomment out old code
wessels [Fri, 28 Nov 1997 15:20:29 +0000 (15:20 +0000)] 
comment out old code

28 years agohash_join() is now void
wessels [Fri, 28 Nov 1997 15:19:56 +0000 (15:19 +0000)] 
hash_join() is now void

28 years agohash_join() and hash_insert() now are void
wessels [Fri, 28 Nov 1997 15:15:07 +0000 (15:15 +0000)] 
hash_join() and hash_insert() now are void

28 years agoexpand the combination of protcols and methods squid will accept
wessels [Fri, 28 Nov 1997 15:14:09 +0000 (15:14 +0000)] 
expand the combination of protcols and methods squid will accept

28 years agomodified ipcache.c to use double-linked list for LRU instead of qsort().
wessels [Fri, 28 Nov 1997 15:13:45 +0000 (15:13 +0000)] 
modified ipcache.c to use double-linked list for LRU instead of qsort().

28 years ago- StoreEntry didn't need to have the method_t member, so its been
wessels [Fri, 28 Nov 1997 15:11:58 +0000 (15:11 +0000)] 
- StoreEntry didn't need to have the method_t member, so its been
  moved to MemObject->method.
- storeEntryListAdd and storeEntryListDelete are quite general.  They
  have been moved to tools.c and named dlinkAdd() and dlinkDelete().
- we want to be able to cache ALL methods, so store_key_url.c now
  always puts the request method into the cache key.
- made StoreEntry->refcount and StoreEntry->flag 16-bit shorts.

28 years agoremoved UNUSED StoreEntry->flag enums so we can make it a 16-bit short
wessels [Fri, 28 Nov 1997 15:05:13 +0000 (15:05 +0000)] 
removed UNUSED StoreEntry->flag enums so we can make it a 16-bit short

28 years ago- Rename 'icp' functions to 'client' functions
wessels [Fri, 28 Nov 1997 15:04:39 +0000 (15:04 +0000)] 
- Rename 'icp' functions to 'client' functions
- break clientProcessRequest() into smaller chunks.
- moved setting some request->flags bits into icpParseRequestHeaders()
  with the rest of them.

28 years agoAdd 'mgr:foo' hack
wessels [Fri, 28 Nov 1997 15:02:31 +0000 (15:02 +0000)] 
Add 'mgr:foo' hack

28 years agoAdd counter for cachemgr output
wessels [Fri, 28 Nov 1997 15:01:03 +0000 (15:01 +0000)] 
Add counter for cachemgr output

28 years agoprotect with SQUID_SNMP defines
wessels [Fri, 28 Nov 1997 15:00:29 +0000 (15:00 +0000)] 
protect with SQUID_SNMP defines

28 years agocant have SNMP #ifdefs in Config
wessels [Tue, 25 Nov 1997 06:18:48 +0000 (06:18 +0000)] 
cant have SNMP #ifdefs in Config

28 years agoadding
wessels [Tue, 25 Nov 1997 06:05:16 +0000 (06:05 +0000)] 
adding

28 years agoupdate
wessels [Tue, 25 Nov 1997 06:03:38 +0000 (06:03 +0000)] 
update

28 years agoupdate
wessels [Tue, 25 Nov 1997 06:03:37 +0000 (06:03 +0000)] 
update

28 years agooops, undo debug change
wessels [Tue, 25 Nov 1997 05:36:24 +0000 (05:36 +0000)] 
oops, undo debug change

28 years agoFixes to get pipelined client requests working better. Need a function
wessels [Tue, 25 Nov 1997 05:32:36 +0000 (05:32 +0000)] 
Fixes to get pipelined client requests working better.  Need a function
called storeClientPending() whose purpose is to tell the client side
if there is already a callback registered for the entry and the client.
If not, then we'll register one via storeClientCopy().  This is due to
a race condition; when we have pipelined requests, we can not guarantee
that we'll get Deferred in clientSendMoreData() before its time to
send the object off to the client, so the original handler may still
be in place.

28 years agoHenrik's massive FTP fixes and other minor changes
wessels [Tue, 25 Nov 1997 01:27:15 +0000 (01:27 +0000)] 
Henrik's massive FTP fixes and other minor changes

28 years agoMaking it so reconfigure doesn't require waiting for all current
wessels [Sun, 23 Nov 1997 13:52:36 +0000 (13:52 +0000)] 
Making it so reconfigure doesn't require waiting for all current
connections to finish

28 years agomisc new functions
wessels [Sun, 23 Nov 1997 13:51:45 +0000 (13:51 +0000)] 
misc new functions

28 years agoAdd 'R' tag for full HTTP request
wessels [Sun, 23 Nov 1997 13:51:19 +0000 (13:51 +0000)] 
Add 'R' tag for full HTTP request

28 years agoMove *ConnectionOpen() functionality to client_side.c and icp_v2.c.
wessels [Sun, 23 Nov 1997 13:50:26 +0000 (13:50 +0000)] 
Move *ConnectionOpen() functionality to client_side.c and icp_v2.c.
trying to make it so HUP doesn't require closing all the connections

28 years agoWhen reconfiguring, don't free the cacheSwap data structs, we can only
wessels [Sun, 23 Nov 1997 13:48:39 +0000 (13:48 +0000)] 
When reconfiguring, don't free the cacheSwap data structs, we can only
change the size and the read/write flag.

28 years agoMake SNMP optional
wessels [Sun, 23 Nov 1997 13:47:18 +0000 (13:47 +0000)] 
Make SNMP optional

28 years agoFor ERR_INVALID_REQ print the full request instead of the URL which
wessels [Sun, 23 Nov 1997 13:46:04 +0000 (13:46 +0000)] 
For ERR_INVALID_REQ print the full request instead of the URL which
probably isnt' even set

28 years agoadd request headers to errorpage types
wessels [Sat, 22 Nov 1997 00:51:46 +0000 (00:51 +0000)] 
add request headers to errorpage types