Tinderbox User
b5808abc69
update copyright notice / whitespace
2017-01-24 23:45:30 +00:00
Mark Andrews
3e9f874e1f
win32: add consts
2017-01-24 22:44:25 +11:00
Mark Andrews
a611e44f9a
4519. [port] win32: handle ERROR_MORE_DATA. [RT #43534 ]
2016-11-29 11:28:26 +11:00
Mark Andrews
358c6ecd26
4516. [bug] isc_socketmgr_renderjson was missing from the
...
windows build. [RT #43602 ]
2016-11-22 12:07:42 +11:00
Mark Andrews
02c341f282
fix ISC_FORMAT_PRINTF paramaters for socket_log
2016-11-12 02:54:51 +11:00
Witold Krecicki
358dfaee18
4487. [test] Make system tests work on Windows. [RT #42931 ]
2016-10-19 17:18:42 +02:00
Mark Andrews
8eceb0bffe
4461. [bug] win32: not all external data was properly marked
...
as external data for windows dll. [RT #43161 ]
2016-09-07 14:12:11 +10:00
Evan Hunt
3390d74e33
[master] fix dyndb issues; isc_errno_toresult()
...
4445. [cleanup] isc_errno_toresult() can now be used to call the
formerly private function isc__errno2result().
[RT #43050 ]
4444. [bug] Fixed some issues related to dyndb: A bug caused
braces to be omitted when passing configuration text
from named.conf to a dyndb driver, and there was a
use-after-free in the sample dyndb driver. [RT #43050 ]
Patch for dyndb driver submitted by Petr Spacek at Red Hat.
2016-08-17 11:37:57 -07:00
Mark Andrews
a977bc4c8e
4440. [func] Enable TCP fast open support when available on the
...
server side. [RT #42866 ]
2016-08-12 15:31:33 +10:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Francis Dupont
dd784c18ef
Merged VS 2015 64 bit warnings ( #40373 )
2015-11-16 17:47:10 +01:00
Francis Dupont
1d96b1a5ad
Removed unused addrbuf
2015-09-28 17:32:40 +02:00
Evan Hunt
d37f4738f4
[master] clean up dead code
2015-09-09 08:38:23 -07:00
Francis Dupont
bcb68be0a8
misc fixes for VS 2015 CTP #39267
2015-04-17 02:57:02 +02:00
Mark Andrews
6a837e5121
address race condition with multiple isc_socket_connect calls in change 4041
2015-02-18 23:32:31 +11:00
Tinderbox User
39f68d7b64
update copyright notice / whitespace
2015-01-21 23:45:24 +00:00
Evan Hunt
ff62d4458a
[master] allow shared TCP sockets when connecting
...
4041. [func] TCP sockets can now be shared while connecting.
(This will be used to enable client-side support
of pipelined queries.) [RT #38231 ]
2015-01-20 17:22:31 -08:00
Evan Hunt
b77ae24e3e
[master] more windows VS14 compatibility work
...
(completes change #3987 )
2015-01-20 15:45:38 -08:00
Tinderbox User
055f6517b4
update copyright notice / whitespace
2014-12-19 23:45:22 +00:00
Mark Andrews
1e0ed0c6f5
4024. [bug] dns_rdata_opt_first, dns_rdata_opt_next,
...
dns_rdata_opt_current, dns_rdata_txt_first,
dns_rdata_txt_next and dns_rdata_txt_current were
documented but not implemented. These have now been
implemented.
dns_rdata_spf_first, dns_rdata_spf_next and
dns_rdata_spf_current were document but not
implemented. The prototypes for these
functions have been removed. [RT #38068 ]
4023. [bug] win32: socket handling with explict ports and
invoking named with -4 was broken for some
configurations. [RT #38068 ]
2014-12-19 11:35:07 +11:00
Evan Hunt
91e7faa874
[master] win32 sockets don't support dscp
2014-08-06 21:35:49 -07:00
Mark Andrews
89cf81b462
3896. [bug] Address performance issues with DSCP code on some
...
platforms. [RT #36534 ]
2014-07-18 11:40:44 +10:00
Mark Andrews
44c6deacdd
additional changes for:
...
3818. [bug] Stop lying to the optimizer that 'void *arg' is a
constant in isc_event_allocate.
2014-04-24 18:59:01 +10:00
Evan Hunt
b454c03196
[master] use ANSI prototypes, clean up some casts
2014-03-04 10:42:25 -08:00
Evan Hunt
98922b2b2b
[master] merge several interdependent fixes
...
3760. [bug] Improve SIT with native PKCS#11 and on Windows.
[RT #35433 ]
3759. [port] Enable delve on Windows. [RT #35441 ]
3758. [port] Enable export library APIs on windows. [RT #35382 ]
2014-02-26 19:00:05 -08:00
Mark Andrews
afdcff15c0
#ifdef PF_ROUTE use
2014-02-13 01:13:05 +11:00
Mark Andrews
62ec9fd168
3733. [func] Improve interface scanning support. Interface
...
information will be automatically updated if the
OS supports routing sockets. Use
"automatic-interface-scan no;" to disable.
Add "rndc scan" to trigger a scan. [RT #23027 ]
2014-02-07 17:16:37 +11:00
Evan Hunt
a8cdf2a2e7
[master] fixed win32 dig problem
...
3724. [bug] win32: Fixed a bug that prevented dig and
host from exiting properly after completing
a UDP query. [RT #35288 ]
2014-02-04 12:01:20 -08:00
Tinderbox User
431a83fb29
update copyright notice
2014-01-09 23:46:35 +00:00
Evan Hunt
e851ea8260
[master] replace memcpy() with memmove().
...
3698. [cleanup] Replaced all uses of memcpy() with memmove().
[RT #35120 ]
2014-01-08 16:39:05 -08:00
Mark Andrews
c3c8823fed
3681. [port] Update the Windows build system to support feature
...
selection and WIN64 builds. This is a work in
progress. [RT #34160 ]
2013-12-04 12:47:23 +11:00
Evan Hunt
43bbab6d0b
[master] typo
2013-11-18 15:26:50 -08:00
Mark Andrews
6100b17699
3662. [bug] 'host' could die if a UPD query timed out. [RT #34870 ]
2013-10-25 10:09:33 +11:00
Evan Hunt
b99bfa184b
[master] unify internal and export libraries
...
3550. [func] Unified the internal and export versions of the
BIND libraries, allowing external clients to use
the same libraries as BIND. [RT #33131 ]
2013-04-10 13:49:57 -07:00
Evan Hunt
96139421d6
[master] win32 portability fixes
2013-03-26 23:01:13 -07:00
Tinderbox User
1e9f7a42bc
update copyright notice
2013-03-22 23:46:17 +00:00
Evan Hunt
67adc03ef8
[master] add DSCP support
...
3535. [func] Add support for setting Differentiated Services Code
Point (DSCP) values in named. Most configuration
options which take a "port" option (e.g.,
listen-on, forwarders, also-notify, masters,
notify-source, etc) can now also take a "dscp"
option specifying a code point for use with
outgoing traffic, if supported by the underlying
OS. [RT #27596 ]
2013-03-22 14:05:33 -07:00
Mark Andrews
bbb3705e4c
3535. [bug] Minor win32 cleanups. [RT #32962 ]
2013-03-22 22:23:48 +11:00
Mark Andrews
80f1365a59
sock could be used uninitalized in isc_socketmgr_renderxml on error
2013-03-22 15:30:20 +11:00
Tinderbox User
ad67363430
update copyright notice
2013-03-21 23:46:12 +00:00
Mark Andrews
c82da2167d
3531. [bug] win32: A uninitialized value could be returned on out
...
of memory. [RT #32960 ]
2013-03-22 09:21:30 +11:00
Mark Andrews
18a148d998
sock is potentially unused in use_min_mtu
2012-11-01 15:28:36 +11:00
Tinderbox User
fcd7c22fdf
update copyright notice
2012-10-31 23:45:49 +00:00
Mark Andrews
bbf31e6b62
More coverity fixes:
...
3410. [bug] Addressed Coverity warnings. [RT #31626 ]
Squashed commit of the following:
commit 6fec07bbb69ead784063052f2099674f8b52c6b3
Author: Mark Andrews <marka@isc.org>
Date: Tue Oct 30 18:14:35 2012 +1100
use strl{cat,cpy}
commit 19a5d3766f3dbc8a2944b21640a8226a89aae7ba
Author: Mark Andrews <marka@isc.org>
Date: Tue Oct 30 14:38:55 2012 +1100
address unchecked xmlTextWriter* calls
2012-11-01 10:22:11 +11:00
Mark Andrews
c2e80cf47e
3411. [tuning] Use IPV6_USE_MIN_MTU or equivalent with TCP in addition to UDP. [RT #31690 ]
...
Squashed commit of the following:
commit bcbe9ae7a99e1f7f4236a22739a793b51ace8684
Author: Mark Andrews <marka@isc.org>
Date: Wed Oct 31 15:10:53 2012 +1100
Use IPV6_USE_MIN_MTU for TCP as well as UDP
2012-11-01 08:42:56 +11:00
Mark Andrews
28a8f5b0de
set $Id$
2012-03-08 00:21:15 +11:00
Automatic Updater
2f4561bc9c
update copyright notice
2012-02-06 23:46:49 +00:00
Mark Andrews
77cb7130e7
3276. [bug] win32: isc_socket_dup is not implemented. [RT #27696 ]
...
3276. [bug] win32: ns_os_openfile failed to return NULL on
safe_open failure. [RT #27696 ]
2012-02-06 04:19:33 +00:00
Mark Andrews
23daf8948b
3225. [bug] Silence spurious "setsockopt(517, IPV6_V6ONLY) failed"
...
messages. [RT #26507 ]
2011-11-29 01:03:47 +00:00
Evan Hunt
6c18c134c8
add isc_socket_getfd() on win32 side
2011-08-23 18:24:33 +00:00
Evan Hunt
6986290f4e
address win32 compile/link problems
2011-08-23 17:02:53 +00:00
Automatic Updater
2f17ad4545
update copyright notice
2011-07-28 23:47:59 +00:00
Mark Andrews
31f46f1869
3138. [bug] Address memory leaks and out-of-order operations when
...
shutting named down. [RT #25210 ]
2011-07-28 04:27:27 +00:00
Evan Hunt
f07b2fccaf
3137. [func] Improve hardware scalability by allowing multiple
...
worker threads to process incoming UDP packets.
This can significantly increase query throughput
on some systems. [RT #22992 ]
2011-07-28 04:04:37 +00:00
Mark Andrews
187d99dc53
s/dev/sdev/
2010-12-09 06:08:05 +00:00
Evan Hunt
e78c2b856b
2979. [bug] named could deadlock during shutdown if two
...
"rndc stop" commands were issued at the same
time. [RT #22108 ]
2010-12-03 22:05:19 +00:00
Automatic Updater
bc7051ee3f
update copyright notice
2010-11-18 00:59:43 +00:00
Mark Andrews
5a636f9951
2972. [bug] win32: address windows socket errors. [RT #21906 ]
2010-11-18 00:24:00 +00:00
Automatic Updater
2b43d1d8c5
update copyright notice
2010-08-13 23:47:04 +00:00
Francis Dupont
bcb444aed0
remove connection aborted error message
2010-08-13 10:45:32 +00:00
Evan Hunt
5857247dbb
2758. [bug] win32: Added a workaround for a windows 2008 bug
...
that could cause the UDP client handler to shut
down. [RT #19176 ]
2009-11-10 18:31:47 +00:00
Automatic Updater
627f3e0805
update copyright notice
2009-09-25 23:48:13 +00:00
Mark Andrews
ef830a7750
use (char *) for {get,set}sockopt argument
2009-09-25 02:44:06 +00:00
Evan Hunt
f0eecd4d62
changes needed for win32 build
2009-09-02 18:32:25 +00:00
Tatuya JINMEI 神明達哉
307d208450
2660. [func] Add a new set of DNS libraries for non-BIND9
...
applications. See README.libdns. [RT #19369 ]
2009-09-01 00:22:28 +00:00
Evan Hunt
aeff7de836
2634. [port] win32: Add support for libxml2, enable
...
statschannel. [RT #19773 ]
2009-07-17 06:25:45 +00:00
Mark Andrews
f605647060
Undocumented firewall test hook. [RT #19398 ]
2009-03-05 03:13:55 +00:00
Tatuya JINMEI 神明達哉
d9059b0c38
2537. [func] Added more statistics counters including those on socket
...
I/O events and query RTT histograms. [RT #18802 ]
2009-01-27 22:30:00 +00:00
Francis Dupont
1016f2638f
spelling
2009-01-18 00:34:19 +00:00
Automatic Updater
5569e7de51
update copyright notice
2009-01-05 23:47:54 +00:00
Tatuya JINMEI 神明達哉
3fb1637c92
trivial comment cleanups (RT#19118)
2009-01-05 23:20:22 +00:00
Michael Graff
467e6fd167
make the same change to win32/socket.c here as was made on v9_5 to fix connected UDP sockets
2008-09-16 17:19:01 +00:00
Mark Andrews
691f1f7731
2438. [bug] Timeouts could be logged incorrectly under win32.
...
2436. [security] win32: UDP client handler can be shutdown. [RT #18576 ]
2434. [bug] Fixed a minor error-reporting bug in
lib/isc/win32/socket.c.
2432. [bug] More Windows socket handling improvements. Stop
using I/O events and use IO Completion Ports
throughout. Rewrite the receive path logic to make
it easier to support multiple simultaneous
requestrs in the future. Add stricter consistency
checking as a compile-time option (define
ISC_SOCKET_CONSISTENCY_CHECKS; defaults to off).
2420. [bug] Windows socket handling cleanup. Let the io
completion event send out cancelled read/write
done events, which keeps us from writing to memeory
we no longer have ownership of. Add debugging
socket_log() function. Rework TCP socket handling
to not leak sockets.
2008-09-12 04:46:25 +00:00
Mark Andrews
1d77be00c4
default maxsockets to 0
2008-09-08 05:30:35 +00:00
Mark Andrews
0eeaaaf0ae
2398. [bug] Improve file descriptor management. New,
...
temporary, named.conf option reserved-sockets,
default 512. [RT #18344 ]
2008-09-04 05:56:43 +00:00
Tatuya JINMEI 神明達哉
13d9b8ce94
2420. [func] Add new command line option '-S' for named to specify
...
the max number of sockets. [RT #18493 ]
Use caution: this option may not work for some
operating systems without rebuilding named.
2008-08-20 23:57:59 +00:00
Mark Andrews
2f420f33bb
2419. [cleanup] Document that isc_socket_create() and isc_socket_open()
...
should not be used for isc_sockettype_fdwatch sockets.
[RT #18521 ]
2008-08-20 06:16:07 +00:00
Automatic Updater
cf5d7a5094
update copyright notice
2008-08-08 06:28:59 +00:00
Mark Andrews
dc842cdcb9
2412. [bug] win32: address a resourse leak. [RT #18374 ]
2008-08-08 05:06:49 +00:00
Francis Dupont
bd7e02a337
Expect to get E[MN]FILE errno internal_accept() [RT #18358 ]
2008-07-24 09:50:21 +00:00
Automatic Updater
7415772270
update copyright notice
2008-07-23 23:47:07 +00:00
Mark Andrews
240e53b132
2396. [bug] Don't set SO_REUSEADDR for randomized ports.
...
[RT #18336 ]
part 2
2008-07-23 23:27:54 +00:00
Mark Andrews
9de0f9b0ae
2396. [bug] Don't set SO_REUSEADDR for randomized ports.
...
[RT #18336 ]
2008-07-22 03:43:04 +00:00
Tatuya JINMEI 神明達哉
158f256a14
2386. [bug] Add warning about too small 'open files' limit
...
[RT #18269 ].
2008-07-11 23:05:46 +00:00
Evan Hunt
34350037a8
re-merged rt18194 after fixing problems
2008-07-03 00:13:25 +00:00
Evan Hunt
f41bd47802
merge rt18194 to enable windows build
2008-07-01 03:55:10 +00:00
Tatuya JINMEI 神明達哉
4462803b0d
minor resource leak in error handling of socket.c [RT #17968 ]
2008-06-25 23:13:51 +00:00
Automatic Updater
2b91038561
update copyright notice
2008-03-27 23:46:57 +00:00
Tatuya JINMEI 神明達哉
d8eb00152d
always enable ISC_xxx_NAMES
2008-03-27 21:08:52 +00:00
Mark Andrews
8e74bfb604
2220. [bug] win32: Address a race condition in final shutdown of
...
the Windows socket code. [RT #17028 ]
2007-08-28 00:39:15 +00:00
Automatic Updater
ec5347e2c7
update copyright notice
2007-06-18 23:47:57 +00:00
Mark Andrews
47ee25b1f5
2199. [bug] win32: don't call WSAStartup() while loading dlls.
...
[RT #16911 ]
2007-06-18 03:36:51 +00:00
Mark Andrews
bdf9b9caac
add name and tag to socket structure
2007-03-06 01:50:48 +00:00
Mark Andrews
96ea716328
2134. [func] Additional statistics support. [RT #16666 ]
2007-02-13 02:49:08 +00:00
Mark Andrews
1f369c2581
update copyright notice
2007-02-01 23:55:21 +00:00
Mark Andrews
fd276c2493
remove SO_BSDCOMPAT reference
2007-02-01 04:40:32 +00:00
Mark Andrews
f07fe5a1ac
2067. [bug] 'rndc' could close the socket too early triggering
...
a INSIST under Windows. [RT #16317 ]
2006-08-04 02:55:37 +00:00
Mark Andrews
9a482d1fce
2039. [func] Check that all buffers passed to the socket code
...
have been retrieve when the socket event is freed.
[RT #16122 ]
2038. [bug] dig/nslookup/host was unlinking from wrong list
when handling errors. [RT #16122 ]
2006-06-06 00:53:36 +00:00
Mark Andrews
141132c272
update copyright notice
2006-01-07 00:23:35 +00:00
Mark Andrews
e88d4e2ebd
1969. [bug] win32: the socket code was freeing the socket
...
structure too early. [RT #15776 ]
2006-01-06 01:32:08 +00:00