Commit Graph
143 Commits
Author SHA1 Message Date
Tatuya JINMEI 神明達哉 c6a3baed3c cleanup: unused function parameter [RT #18572] 2008-09-04 00:25:40 +00:00
Tatuya JINMEI 神明達哉 fe641641ab 2425. [bug] named didn't detect unavailable query source addresses
at load time. [RT #18536]
2008-08-26 02:08:04 +00:00
Tatuya JINMEI 神明達哉 3c4252eca5 2417. [bug] Connecting UDP sockets for outgoing queries could
unexpectedly fail with an 'address already in use'
			error. [RT #18411]
2008-08-15 17:44:37 +00:00
Tatuya JINMEI 神明達哉 6faa03ad30 2408. [bug] A duplicate TCP dispatch event could be sent, which
could then trigger an assertion failure in
			resquery_response().  [RT #18275]
2008-08-05 19:20:39 +00:00
Mark Andrews 65301d5f12 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
part 2
2008-07-23 23:36:22 +00:00
Mark Andrews 6d8e126e2e 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
2008-07-22 04:00:37 +00:00
Automatic Updater 86e33b7ebe update copyright notice 2008-07-18 23:45:28 +00:00
Mark Andrews 5c5d857b8e change 2390 leaked memory 2008-07-18 06:04:34 +00:00
Tatuya JINMEI 神明達哉 189ed5dd56 2390 [bug] dispatch.c could make a false warning on 'odd socket'.
[RT #18301].
2008-07-18 02:41:12 +00:00
Evan Hunt c6159a2ae8 re-merged rt18194 after fixing problems 2008-07-03 00:15:09 +00:00
Tatuya JINMEI 神明達哉 c21d93033e prevent null socket dereference in IPv6 interface address adjustment
[RT #18203]
2008-06-26 22:19:00 +00:00
Automatic Updater b970902a7f update copyright notice 2008-06-25 23:45:37 +00:00
Tatuya JINMEI 神明達哉 e56e0eecbb 2384. [security] Additional support for query port randomization (change
#2375) including performance improvement and port range
			specification.  [RT #17949, #18098]
2008-06-25 00:03:29 +00:00
Automatic Updater 5e12264e75 update copyright notice 2008-05-22 23:45:34 +00:00
Evan Hunt 6421f9a9aa Fully randomize UDP query ports to improve forgery resilience. [rt17949] 2008-05-22 20:46:35 +00:00
Automatic Updater 10eef33fc6 update copyright notice 2007-08-28 07:19:18 +00:00
Mark Andrews 5ba2fbd94a silence "Different types treated as unsigned for >." warning 2007-06-27 04:20:12 +00:00
Mark Andrews 6019bdb044 replace gettimeofday with isc_time_now 2007-06-26 06:08:15 +00:00
Mark Andrews e6ecafcb9d s/u_int16_t/isc_uint16_t/ 2007-06-26 04:57:06 +00:00
Mark Andrews f08cd68a1d 2203. [security] Query id generation was cryptographically weak.
[RT # 16915]
2007-06-26 04:09:42 +00:00
Mark Andrews 404bc0354a 2182. [bug] dns_dispatch_createtcp() and dispatch_createudp()
could return ISC_R_SUCCESS when they ran out of
                        memory. [RT #16365]
2007-05-18 05:34:02 +00:00
Mark Andrews 8ae34909c8 update copyright notice 2007-02-07 23:57:57 +00:00
Mark Andrews 86c81508b1 missing unlock 2007-02-07 05:42:17 +00:00
Mark Andrews 558fcd49c0 2048. [bug] It was possible to loop forever when using
avoid-v4-udp-ports / avoid-v6-udp-ports when
                        the OS always returned the same local port.
                        [RT #16182]
2006-07-19 00:44:04 +00:00
Mark Andrews 18900ef649 update copyright notice 2006-01-06 00:01:42 +00:00
Mark Andrews d5a86dad2e 1961. [bug] Check the port and address of responses forwarded
to dispatch. [RT #15474]
2006-01-05 03:31:06 +00:00
Mark Andrews 97468904f8 match startrecv() prototype to function. 2004-09-01 04:27:41 +00:00
Tatuya JINMEI 神明達哉 ab1a637980 1697. [bug] xxx-source{,-v6} was not effective when it
specified one of listening addresses and a
			different port than the listening port. [RT #12257]
2004-08-15 04:40:08 +00:00
Mark Andrews 179e89211d 1687. [bug] Race condition in dispatch. [RT #10272] 2004-07-21 00:49:28 +00:00
Mark Andrews 46278b601d hide ((isc_event_t **) (void *)) cast using a macro, ISC_EVENT_PTR. 2004-04-15 02:10:41 +00:00
Mark Andrews 511621255e 1528. [cleanup] Simplify some dns_name_ functions based on the
deprecation of bitstring labels.

1527.  [cleanup]       Reduce the number of gettimeofday() calls without
                       losing necessary timer granularity.
2004-03-08 21:06:29 +00:00
Mark Andrews cbdd3a318b update lib copyrights 2004-03-06 08:15:48 +00:00
Mark Andrews f1cb39f19f 1576. [bug] Race condition in dns_dispatch_addresponse().
[RT# 10272]
2004-02-10 06:17:16 +00:00
Mark Andrews 2d7ca109c5 1442. [func] New fuctions for manipulating port lists:
dns_portlist_create(), dns_portlist_add(),
                        dns_portlist_remove(), dns_portlist_match(),
                        dns_portlist_attach() and dns_portlist_detach().

1441.   [func]          It is now possible to tell dig to bind to a specific
                        source port.

1440.   [func]          It is now possible to tell named to avoid using
                        certian source ports (avoid-v4-udp-ports,
                        avoid-v6-udp-ports).
2003-08-27 01:39:27 +00:00
Mark Andrews 326428fcf8 1342. [func] Log remote address with TCP dispatch failures. 2003-08-19 02:53:57 +00:00
Mark Andrews 27e6e3708d 1147. [func] Set IPV6_V6ONLY on IPv6 sockets if supported by
the OS.  listen-on-v6 { any; }; should no longer
                        result in IPv4 queries be accepted.  Similarly
                        control { inet :: ... }; should no longer result
                        in IPv4 connections being accepted.  This can be
                        overridden at compile time by defining
                        ISC_ALLOW_MAPPED=1.
2003-08-08 07:12:27 +00:00
Mark Andrews f4d86cfcea update_copyrights 2003-07-22 04:03:54 +00:00
Mark Andrews 0027901a89 1406. [bug] dispatch initialises one of the LSFR's with a incorrect
polynomial.  [RT #4617]
2003-05-12 06:11:52 +00:00
Tatuya JINMEI 神明達哉 dac197a39f pull up the fix on RT 3509 for 9.2. 2002-09-04 02:47:08 +00:00
Mark Andrews 0b9f0f114a 1283. [bug] Reference after free error if dns_dispatchmgr_create()
failed.
2002-05-08 06:38:14 +00:00
Mark Andrews b2f3e5c308 update_copyrights 2002-03-26 00:55:15 +00:00
Mark Andrews 356880d58e pullup:
1222.   [bug]           Specifying 'port *' did not always result in a system
                        selected (non-reserved) port being used. [RT #2537]
2002-03-20 20:39:51 +00:00
Andreas Gustafsson 76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Andreas Gustafsson 135b1206c9 don't retry UDP receives after they return an error -
an error return from the socket library means the library has already
decided that the error is not retryable and likely to throw
us into an infinite loop if retried
2001-05-14 23:10:19 +00:00
Andreas Gustafsson 054777a694 eliminated redundant assignments to disp->shutting_down;
if shutting down due to error, set disp->shutdown_why to the appropriate result
code, not to ISC_R_EOF
2001-05-14 22:07:40 +00:00
David Lawrence 4ab0eb3be8 mgr was set but not used in dns_dispatch_detach(); removed it 2001-04-12 21:03:37 +00:00
Mark Andrews a674e7ecec add dns_dispatch_getlocaladdress(). 2001-03-13 05:48:41 +00:00
Andreas Gustafsson 4e72c83c94 removed unused variable 2001-02-17 00:23:49 +00:00
Brian Wellington 683301a954 fix a potential (but highly unlikely) memory leak. 2001-02-16 21:29:45 +00:00
Brian Wellington b2c46df291 A receive could be erroneously cancelled because of missing braces around a
block.
2001-02-13 20:21:52 +00:00