]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
19 years agoSome changes and new features for MemBuf to make it more class-like
wessels [Thu, 1 Sep 2005 01:15:35 +0000 (01:15 +0000)] 
Some changes and new features for MemBuf to make it more class-like
- made sure that cleaning a buffer that has not been initialized yet does
  not lead to coredumps (this is similar to deleting a null pointer in C++).
- Added consume() and append*() methods to allow the buffer to be used in a
  consumer/producer pipe-like environment.
- Added content() and space() methods as the first step to hide buf and size
  members that require consume() method to always shift content to keep a
  copyf of buf member valid (in case somebody made a copy of it).
- Noted that spaceSize() logic assumes the buffer does not expand and is
  0-terminated. This means that the following does not hold:
                max_capacity == contentSize() + spaceSize()
  Fortunately, max_capacity is a private member that nobody should be using
  outside of MemBuf.cc
  0-termination of a MemBuf? Can we make it explicit like string::c_str()?
- added hasContent() method
- Added public terminate() method because some HTTP parsing routines need it,
  unfortunately.
- Added potentialSpaceSize() to report how much space can be available
  after the buffer is grown to the max. Useful for callers that decide
  whether they _will_ have the space to store new data that they can get
  from somewhere.
- Use private copy and operator= methods to prevent us from creating a
  copy of a MemBuf.  MemBuf copies are bad because then two ->buf pointers
  point to the same location and its not clear who should free the memory.
- Added a destructor that asserts if someone forgot to free ->buf.  Good
  for finding memory leaks.

Restriction on not copying MemBufs must be propogated to MemBuf users.
In many cases this means changing "static" MemBufs to pointers.

19 years agoMust call cbdataReferenceDone on the ident_lookup list
wessels [Wed, 31 Aug 2005 23:21:58 +0000 (23:21 +0000)] 
Must call cbdataReferenceDone on the ident_lookup list

19 years agoBug #1317: SNMP GETNEXT fails if the given OID is outside the Squid MIB
serassio [Wed, 31 Aug 2005 02:44:00 +0000 (02:44 +0000)] 
Bug #1317: SNMP GETNEXT fails if the given OID is outside the Squid MIB

This quick patch fixes the SNMP GETNEXT search when given an OID outside
the Squid MIB. This allows proper integration of Squid into proxy SNMP
agents.

Forward port of 2.5 patch.

19 years agoBootstrapped
hno [Mon, 29 Aug 2005 06:10:42 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoBug #1374: Solaris 10 SPARC transparent proxy build problem with ipfilter
serassio [Sun, 28 Aug 2005 16:45:32 +0000 (16:45 +0000)] 
Bug #1374: Solaris 10 SPARC transparent proxy build problem with ipfilter

Forgotten to change CXXFLAGS too ...

19 years agoAdded support for Windows code name "Longhorn".
serassio [Sun, 28 Aug 2005 14:55:21 +0000 (14:55 +0000)] 
Added support for Windows code name "Longhorn".

19 years agoRearranged code and added comments for better readability.
serassio [Sun, 28 Aug 2005 14:37:30 +0000 (14:37 +0000)] 
Rearranged code and added comments for better readability.

19 years agoMerge of latest Windows specific updates from nt-3_0 branch:
serassio [Sun, 28 Aug 2005 01:53:42 +0000 (01:53 +0000)] 
Merge of latest Windows specific updates from nt-3_0 branch:

- Added Winsocks initialization on native Windows

19 years agoMerge of latest Windows specific updates from nt-3_0 branch:
serassio [Sun, 28 Aug 2005 01:36:36 +0000 (01:36 +0000)] 
Merge of latest Windows specific updates from nt-3_0 branch:

- Added native Windows Exception handling with signal() emulation

19 years agoMerge of latest Windows specific updates from nt-3_0 branch:
serassio [Sun, 28 Aug 2005 00:40:20 +0000 (00:40 +0000)] 
Merge of latest Windows specific updates from nt-3_0 branch:

- Some Cygwin fixes
- Added Windows handle into fde Class

19 years agoChanged the default name of the Windows Service from "SquidNT" to "Squid"
serassio [Sun, 28 Aug 2005 00:34:31 +0000 (00:34 +0000)] 
Changed the default name of the Windows Service from "SquidNT" to "Squid"

19 years agoCalculate loop_delay immediately before it is used.
wessels [Fri, 26 Aug 2005 01:31:22 +0000 (01:31 +0000)] 
Calculate loop_delay immediately before it is used.

19 years agocosmetic: be consistent and use "FD %d" instead of "fd %d"
wessels [Fri, 26 Aug 2005 01:30:01 +0000 (01:30 +0000)] 
cosmetic: be consistent and use "FD %d" instead of "fd %d"
in debugging messages.

19 years agoBootstrapped
hno [Wed, 24 Aug 2005 06:10:54 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoForgotten to remove the reference to old src/squid_windows.h
serassio [Tue, 23 Aug 2005 16:52:05 +0000 (16:52 +0000)] 
Forgotten to remove the reference to old src/squid_windows.h

19 years agoBootstrapped
hno [Mon, 22 Aug 2005 06:10:51 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoRenamed src/squid_windows.h to include/squid_windows.h
serassio [Mon, 22 Aug 2005 00:54:23 +0000 (00:54 +0000)] 
Renamed src/squid_windows.h to include/squid_windows.h

19 years agoRemoved residual Samba file
serassio [Mon, 22 Aug 2005 00:50:35 +0000 (00:50 +0000)] 
Removed residual Samba file

19 years agoMS VisualStudio C++ needs explicit extern "C" declaration when accessing to
serassio [Mon, 22 Aug 2005 00:33:24 +0000 (00:33 +0000)] 
MS VisualStudio C++ needs explicit extern "C" declaration when accessing to
C external variables

19 years agoRemoved residual Samba file
serassio [Sun, 21 Aug 2005 23:42:29 +0000 (23:42 +0000)] 
Removed residual Samba file

19 years agoBootstrapped
hno [Sun, 21 Aug 2005 06:10:40 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoOn Windows, the latest MinGW doesn't like include paths terminated with / char
serassio [Sun, 21 Aug 2005 03:08:38 +0000 (03:08 +0000)] 
On Windows, the latest MinGW doesn't like include paths terminated with / char

19 years agoint HttpStateData.do_next_read is really boolean. It can become
wessels [Fri, 19 Aug 2005 23:03:28 +0000 (23:03 +0000)] 
int HttpStateData.do_next_read is really boolean.  It can become
http_state_flags.do_next_read.

19 years agoIt looks like int httpState->reply_hdr_state is always either 0 or 2.
wessels [Fri, 19 Aug 2005 22:49:26 +0000 (22:49 +0000)] 
It looks like int httpState->reply_hdr_state is always either 0 or 2.
I'm replacing it with the single-bit http_state_flags.headers_parsed.

19 years agochange 'sizeof sockaddr_in' to sizeof S' and make connect()
wessels [Fri, 19 Aug 2005 22:40:15 +0000 (22:40 +0000)] 
change 'sizeof sockaddr_in' to sizeof S' and make connect()
debugging a little more verbose.

19 years agocosmetic: clean up some comments
wessels [Wed, 17 Aug 2005 21:57:26 +0000 (21:57 +0000)] 
cosmetic: clean up some comments

19 years agoBootstrapped
hno [Tue, 16 Aug 2005 06:11:00 +0000 (06:11 +0000)] 
Bootstrapped

19 years agoUpdated Negotiate over HTTP draft
hno [Tue, 16 Aug 2005 01:50:59 +0000 (01:50 +0000)] 
Updated Negotiate over HTTP draft

19 years agoBootstrapped
hno [Mon, 15 Aug 2005 06:10:40 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoBug #1374: Solaris 10 SPARC transparent proxy build problem with ipfilter
serassio [Mon, 15 Aug 2005 02:44:28 +0000 (02:44 +0000)] 
Bug #1374: Solaris 10 SPARC transparent proxy build problem with ipfilter

On Solaris (and may be that on other platforms could be something similar to
this, we should verify), Ipfilter include files use a SOLARIS2 define defined
only in the ipfilter makefile at ipfilter build time.
This patch adds the SOLARIS2 definition into configure.

19 years agoBug #1376: Compile error with gcc4
serassio [Mon, 15 Aug 2005 02:34:54 +0000 (02:34 +0000)] 
Bug #1376: Compile error with gcc4

Another compile error related to gcc4 inline optimization.

19 years agoThis patch adds new 'mail_program' configuration option in squid.conf.
serassio [Mon, 15 Aug 2005 00:43:40 +0000 (00:43 +0000)] 
This patch adds new 'mail_program' configuration option in squid.conf.

This option allow to specify the mailer program name that squid will use to
send fatal reports by mail and related command line options.

Forward port of Squid 2.5 changes.

19 years agoBootstrapped
hno [Mon, 8 Aug 2005 06:10:50 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoAllow build on Solaris x86 with both fixed or not fixed includes.
serassio [Sun, 7 Aug 2005 18:16:50 +0000 (18:16 +0000)] 
Allow build on Solaris x86 with both fixed or not fixed includes.

For more details:
http://www.squid-cache.org/mail-archive/squid-dev/200507/0045.html
http://forum.sun.com/thread.jspa?threadID=20228&tstart=105

19 years agoFinish removal of Samba headers
hno [Fri, 5 Aug 2005 22:14:51 +0000 (22:14 +0000)] 
Finish removal of Samba headers

19 years agoBootstrapped
hno [Fri, 5 Aug 2005 22:12:35 +0000 (22:12 +0000)] 
Bootstrapped

19 years agoBootstrapped
hno [Fri, 5 Aug 2005 22:12:35 +0000 (22:12 +0000)] 
Bootstrapped

19 years agoDon't bootstrap subdirectories unless needed
hno [Thu, 4 Aug 2005 16:58:14 +0000 (16:58 +0000)] 
Don't bootstrap subdirectories unless needed

19 years agoRemoved obsolete Samba headers
hno [Wed, 3 Aug 2005 22:40:56 +0000 (22:40 +0000)] 
Removed obsolete Samba headers

19 years agoFix Array operator +=. Patch by Andrey Shorin
hno [Wed, 3 Aug 2005 21:38:23 +0000 (21:38 +0000)] 
Fix Array operator +=. Patch by Andrey Shorin

19 years agoAlso enable opt_debug_stderr for squid -z
wessels [Wed, 20 Jul 2005 23:07:25 +0000 (23:07 +0000)] 
Also enable opt_debug_stderr for squid -z

19 years agoBootstrapped
hno [Sat, 16 Jul 2005 06:10:39 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoWe can move the GCC version check much earlier in the script
wessels [Sat, 16 Jul 2005 02:12:56 +0000 (02:12 +0000)] 
We can move the GCC version check much earlier in the script

19 years agoExit configure if we detect GCC 2.9x on FreeBSD because it causes
wessels [Sat, 16 Jul 2005 02:07:52 +0000 (02:07 +0000)] 
Exit configure if we detect GCC 2.9x on FreeBSD because it causes
a coredump inside the debugs() macro, which uses the stringstream
class.
CVS ----------------------------------------------------------------------

19 years agofnmatch.h requires an extern "C" wrapper, at least on FreeBSD 4.x
wessels [Thu, 14 Jul 2005 05:15:46 +0000 (05:15 +0000)] 
fnmatch.h requires an extern "C" wrapper, at least on FreeBSD 4.x

20 years agoBug #1313: Core dump with STABLE10 and --ipf-transparent-proxy with
serassio [Mon, 11 Jul 2005 01:13:17 +0000 (01:13 +0000)] 
Bug #1313: Core dump with STABLE10 and --ipf-transparent-proxy with
FreeBSD 5.3 /5.4

Forward port of needed changes from 2.5 patch to Squid 3.0 and some debug
sections fixes.

20 years agotruncate() is not available on some platforms, so we must don't build any
serassio [Sun, 10 Jul 2005 21:43:30 +0000 (21:43 +0000)] 
truncate() is not available on some platforms, so we must don't build any
code section containing truncate() when USE_TRUNCATE is not defined

20 years agoBug #1307: squid -k fails in combination with chroot after patch for bug 1157
serassio [Sun, 10 Jul 2005 02:02:49 +0000 (02:02 +0000)] 
Bug #1307: squid -k fails in combination with chroot after patch for bug 1157

Forward port of 2.5 patch.

20 years agoI think dstdomain should lookup dst_addr, not src_addr
wessels [Fri, 8 Jul 2005 03:22:52 +0000 (03:22 +0000)] 
I think dstdomain should lookup dst_addr, not src_addr

20 years agoBootstrapped
hno [Tue, 5 Jul 2005 06:10:38 +0000 (06:10 +0000)] 
Bootstrapped

20 years agoOn some systems POSIX AIO functions are in libaio
serassio [Mon, 4 Jul 2005 21:28:09 +0000 (21:28 +0000)] 
On some systems POSIX AIO functions are in libaio

20 years agoBug #767: Problems making Squid 3.0 PRE3 64 bit
serassio [Mon, 4 Jul 2005 02:41:46 +0000 (02:41 +0000)] 
Bug #767: Problems making Squid 3.0 PRE3 64 bit

Another debug() ==> debugs() conversion.

20 years agoBug #767: Problems making Squid 3.0 PRE3 64 bit
serassio [Sun, 3 Jul 2005 21:25:03 +0000 (21:25 +0000)] 
Bug #767: Problems making Squid 3.0 PRE3 64 bit

Fixed the following on HP Tru64 and probably on some other 64 bit platforms:

- assert() must test logical expressions, not pointers
- STATUS define conflict in parse.c (snmplib)
- Warnings SMB, fakeauth and MSNT helpers
- Various debug() ==> debugs() changes
- Alpha asm access to CPU profiling info
- timezone should be long, not time_t
- Various clean of ESI code
- assert() definition problem in diskd.cc

20 years agoKill remaining .cvsignore files from the deleted winbind helpers
hno [Sun, 3 Jul 2005 04:41:49 +0000 (04:41 +0000)] 
Kill remaining .cvsignore files from the deleted winbind helpers

20 years agoFixed warning errors during build on FreeBSD and Solaris x86
serassio [Sun, 3 Jul 2005 01:08:32 +0000 (01:08 +0000)] 
Fixed warning errors during build on FreeBSD and Solaris x86

20 years agoFixed warning errors during build on FreeBSD and Solaris x86
serassio [Sun, 3 Jul 2005 00:51:01 +0000 (00:51 +0000)] 
Fixed warning errors during build on FreeBSD and Solaris x86

20 years agoFixed warning errors during build on FreeBSD and Solaris x86
serassio [Sun, 3 Jul 2005 00:34:03 +0000 (00:34 +0000)] 
Fixed warning errors during build on FreeBSD and Solaris x86

20 years agoBootstrapped
hno [Sat, 2 Jul 2005 06:10:52 +0000 (06:10 +0000)] 
Bootstrapped

20 years agoSamba-2.X is declared unsupported by the Samba team. Remove the old
hno [Sat, 2 Jul 2005 04:34:50 +0000 (04:34 +0000)] 
Samba-2.X is declared unsupported by the Samba team. Remove the old
winbind helpers to reduce confusion. People wanting winbind integration
really should use Samba-3.X these days.

20 years agoForward port from 2.5 of updated Spanish error messages
serassio [Sat, 2 Jul 2005 00:29:29 +0000 (00:29 +0000)] 
Forward port from 2.5 of updated Spanish error messages

- Translates errors/Spanish/ERR_INVALID_RESP to Spanish
- Replaces some ISO8859-1 characters by the preferred HTML code (i.e.
  "á" for "á").
- Minor typos or style fixes.
- Unifies the gender of "cache".
- Unifies the spelling of "cache" in spanish.

The last two changes deserve an explanation. The word "cache" in the
sense of a "web cache" or "cache memory" has not been formally (i.e. by
the "Real Academia de la Lengua Española" (Royal Academy of the Spanish
Language)) incorporated into spanish, therefore there isn't a sanctioned
spelling of the word. Nevertheless, the word is widely used in spanish,
but with inconsistencies: it is found both as a masculine and femenine
noun (spanish has only two genders, there is no neuter (it) pronoun) and
with at least two spellings. After a brief survey of the web, I set on a
single gender and spelling and fixed those error messages that were
using different ones (by virtue of being translated by different
people).

20 years agoBug #1333: binfo_group.pl only looks into the first group specified
hno [Thu, 30 Jun 2005 02:38:59 +0000 (02:38 +0000)] 
Bug #1333: binfo_group.pl only looks into the first group specified

20 years agoBug #1308: squid -k reconfigure internal corruption if the type of a
serassio [Mon, 27 Jun 2005 00:51:20 +0000 (00:51 +0000)] 
Bug #1308: squid -k reconfigure internal corruption if the type of a
cache_dir is changed

Failed to detect if the type of an existing cache_dir was changed,
calling the parser function of the new type with the internal data of
the existing one..

This patch detects this and logs to cache.log (and the console) that a
restart is required.

Forward port of 2.5 patch.

20 years agoBug #1220: Title in FTP listings somewhat messed up
serassio [Sun, 26 Jun 2005 23:12:47 +0000 (23:12 +0000)] 
Bug #1220: Title in FTP listings somewhat messed up

Show FTP URLs in decoded form to allow for national
characters etc to be displayed in a sane manner.

Forward port of 2.5 patch.

20 years agoFix snapshot procedure to be less sensitive on file dates when removing old
hno [Sat, 25 Jun 2005 03:11:08 +0000 (03:11 +0000)] 
Fix snapshot procedure to be less sensitive on file dates when removing old
copies, relying on the file names instead.

20 years agoBootstrapped
hno [Tue, 21 Jun 2005 06:10:55 +0000 (06:10 +0000)] 
Bootstrapped

20 years agoBug #1312: assertion failed: client_side.cc:2663: "request == conn->body.request"
serassio [Sun, 12 Jun 2005 20:30:50 +0000 (20:30 +0000)] 
Bug #1312: assertion failed: client_side.cc:2663: "request == conn->body.request"

The problem was originated during the forward port of patch for bug #890.
There is an obvious logical error, this patch should fix it.

20 years agoBug #1201: assertion failed: cbdata.cc:402: "c->locks > 0"
serassio [Thu, 9 Jun 2005 22:04:30 +0000 (22:04 +0000)] 
Bug #1201: assertion failed: cbdata.cc:402: "c->locks > 0"

This is a short term patch that should allow the usage of broken acls, waiting
for full refactoring.

20 years agoBug #1275: Squid internal icons served up with slightly incorrect HTTP
hno [Thu, 9 Jun 2005 13:07:30 +0000 (13:07 +0000)] 
Bug #1275: Squid internal icons served up with slightly incorrect HTTP
headers

dynamically reconstruct the Date header on each ENTRY_SPECIAL cache hit,
making it look more like a normal web server.

20 years agoBootstrapped
hno [Mon, 6 Jun 2005 06:39:46 +0000 (06:39 +0000)] 
Bootstrapped

20 years agoAdjust for newer autotools
hno [Mon, 6 Jun 2005 06:38:59 +0000 (06:38 +0000)] 
Adjust for newer autotools

20 years agoBootstrapped
hno [Mon, 6 Jun 2005 06:10:23 +0000 (06:10 +0000)] 
Bootstrapped

20 years agoRearrange the detection of internal URLs slightly to make it easier to
hno [Mon, 6 Jun 2005 05:29:02 +0000 (05:29 +0000)] 
Rearrange the detection of internal URLs slightly to make it easier to
fix the Date header on internal objects (Bug #1275).

20 years agoSupport current versions of IP-Filter where the device name has changed
hno [Mon, 6 Jun 2005 04:59:38 +0000 (04:59 +0000)] 
Support current versions of IP-Filter where the device name has changed

20 years agoBug #829: icp denied query causes squid to fail assert src/HttpHeader.cc:374
serassio [Sun, 5 Jun 2005 21:12:46 +0000 (21:12 +0000)] 
Bug #829: icp denied query causes squid to fail assert src/HttpHeader.cc:374
          because hdr->owner == 0

icp_request is already self-destroyed at the end of icpAccessAllowed(), so
we must call requestLink() before to preserve icp_request.

20 years agoAlso need to ignore SIGHUP on helpers in foreground mode
hno [Sun, 5 Jun 2005 05:57:05 +0000 (05:57 +0000)] 
Also need to ignore SIGHUP on helpers in foreground mode

20 years agoBootstrapped
hno [Sat, 4 Jun 2005 06:10:34 +0000 (06:10 +0000)] 
Bootstrapped

20 years agoBug #1244: Squid-3.0 compilation problems with gcc-4.0
serassio [Fri, 3 Jun 2005 21:24:14 +0000 (21:24 +0000)] 
Bug #1244: Squid-3.0 compilation problems with gcc-4.0

This patch fixes inlining optimization problems with gcc4.
For some functions (peerDigestSwapInHeaders(),
peerDigestSwapInCBlock() and peerDigestSwapInMask()) is not
possible any workaround without big changes, so the function
scope must be changed from static to global.

20 years agoUse PRIu64 ISO C99 Standard printf() macro for 64 bit unsigned int
serassio [Fri, 3 Jun 2005 21:00:55 +0000 (21:00 +0000)] 
Use PRIu64 ISO C99 Standard printf() macro for 64 bit unsigned int
instead of llu. This allow the correct formatting of 64 bit printf
on some systems like native Windows.

20 years agoFirst step of MinGw configure support.
serassio [Fri, 3 Jun 2005 18:59:06 +0000 (18:59 +0000)] 
First step of MinGw configure support.

Changes:

- MinGW environment identification
- Windows PSAPI.DLL support
- Support for Windows native port of OpenSSL
- Winsock support detection
- Identification of maximum FDs number
- Windows native resolver identification

20 years agoAllow the native Windows build of LDAP based Digest hash helper like
serassio [Fri, 3 Jun 2005 16:25:06 +0000 (16:25 +0000)] 
Allow the native Windows build of LDAP based Digest hash helper like
squid_ldap_auth and squid_ldap_group.

20 years agoWork around OpenSSL bug affecting the clientca= option
hno [Tue, 31 May 2005 22:19:56 +0000 (22:19 +0000)] 
Work around OpenSSL bug affecting the clientca= option

20 years agoBug #1305: Double content-length often harmless
serassio [Sun, 29 May 2005 02:01:06 +0000 (02:01 +0000)] 
Bug #1305: Double content-length often harmless

There is quite many web servers out there with broken banner engines
forgetting to delete the original content-length after adding the
banner. Currently these are (rightfully) rejected by Squid.

Instead of rejecting we could select the biggest content-length header
found and remove the other. This should fix up these replies while not
allowing for attacks.

Forward port of 2.5 patch.

20 years agoRun helpers in the same process group as the main process but instead
hno [Fri, 27 May 2005 13:18:08 +0000 (13:18 +0000)] 
Run helpers in the same process group as the main process but instead
disable SIGINT for the helpers when not running in daemon mode.

This accomplishes several things

  a) The helpers may access /dev/tty for screen output (debug purposes)

  b) A "kill -9" can be sent to the whole process group at once.

20 years agoAllow for large amounts of custom headers (cookies etc)
hno [Thu, 26 May 2005 15:44:30 +0000 (15:44 +0000)] 
Allow for large amounts of custom headers (cookies etc)

20 years agoBootstrapped
hno [Wed, 25 May 2005 06:10:39 +0000 (06:10 +0000)] 
Bootstrapped

20 years agoBootstrapped
hno [Thu, 19 May 2005 06:10:38 +0000 (06:10 +0000)] 
Bootstrapped

20 years agoImported LDAP based Digest hash helper
hno [Thu, 19 May 2005 03:34:56 +0000 (03:34 +0000)] 
Imported LDAP based Digest hash helper

20 years agoBug #802: squid should report username in stats when auth is enabled
serassio [Sun, 15 May 2005 16:33:49 +0000 (16:33 +0000)] 
Bug #802: squid should report username in stats when auth is enabled

This patch adds user info in cachemgr Client-side Active Requests page

20 years agoFix config dumps of port acls
hno [Sun, 15 May 2005 02:00:25 +0000 (02:00 +0000)] 
Fix config dumps of port acls

20 years agoImplement DNS Virtual Circuit lookups (TCP) as required when seeing a
hno [Sat, 14 May 2005 08:40:56 +0000 (08:40 +0000)] 
Implement DNS Virtual Circuit lookups (TCP) as required when seeing a
truncated response.

20 years agocommSetTimeout doesn't really require a handler to be set. Calls
hno [Sat, 14 May 2005 08:39:40 +0000 (08:39 +0000)] 
commSetTimeout doesn't really require a handler to be set. Calls
comm_close if there is none.

20 years agocomm_write is writing, not reading.. (comment)
hno [Sat, 14 May 2005 06:51:10 +0000 (06:51 +0000)] 
comm_write is writing, not reading.. (comment)

20 years agoidnsQueryID bugfix.. return the newly found non-clashing ID.
hno [Thu, 12 May 2005 01:22:20 +0000 (01:22 +0000)] 
idnsQueryID bugfix.. return the newly found non-clashing ID.

Thanks to Tony Finch for alerting us on this errro

20 years agobugfixes to the DNS security patch
hno [Wed, 11 May 2005 20:26:52 +0000 (20:26 +0000)] 
bugfixes to the DNS security patch

  - The query label should be compared case-insensitive in case the
    queried DNS server for some reason folds the case of the query.

  - Negative responses was not handled correctly, discarding the
    response.

  - Some name servers omit the root label in the query section in their
    responses.

20 years agoRemove redundant check for oversized DNS responses
hno [Tue, 10 May 2005 17:46:41 +0000 (17:46 +0000)] 
Remove redundant check for oversized DNS responses

20 years agoCosmeti cleanups, restore of error handling (currently unused)
hno [Tue, 10 May 2005 16:39:56 +0000 (16:39 +0000)] 
Cosmeti cleanups, restore of error handling (currently unused)

20 years agoCosmetic cleanups
hno [Tue, 10 May 2005 16:25:02 +0000 (16:25 +0000)] 
Cosmetic cleanups

20 years agoCompare the query sesion of DNS responses to the actual query to ensure
hno [Tue, 10 May 2005 16:09:31 +0000 (16:09 +0000)] 
Compare the query sesion of DNS responses to the actual query to ensure
there is no overlaps between queries using the same ID.

20 years agoPrepare for being able to verify the DNS query
hno [Tue, 10 May 2005 14:23:06 +0000 (14:23 +0000)] 
Prepare for being able to verify the DNS query

Instead of just returning the decoded resource records when decoding
a DNS response, return the whole decoded message (header + query +
response).

Next step is to actually verify the query, and then to allow for VC
operation on truncated messages.

20 years agoBootstrapped
hno [Tue, 10 May 2005 06:10:39 +0000 (06:10 +0000)] 
Bootstrapped