Commit graph

153 commits

Author SHA1 Message Date
Tatuya JINMEI 神明達哉
c4c77ca106 cleanup: unused function parameter [RT #18572] 2008-09-04 00:24:41 +00:00
Tatuya JINMEI 神明達哉
9aa2c14afd 2425. [bug] named didn't detect unavailable query source addresses
at load time. [RT #18536]
2008-08-26 02:07:07 +00:00
Tatuya JINMEI 神明達哉
8b065a1523 typo: s/dns_displist_t/dispsocketlist_t/ 2008-08-15 17:46:24 +00:00
Tatuya JINMEI 神明達哉
20cd6fd589 2417. [bug] Connecting UDP sockets for outgoing queries could
unexpectedly fail with an 'address already in use'
			error. [RT #18411]
2008-08-15 17:32:55 +00:00
Tatuya JINMEI 神明達哉
094b373376 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:19:58 +00:00
Tatuya JINMEI 神明達哉
280a0203f2 canceled the previous change that was accidentally committed. 2008-08-01 02:11:20 +00:00
Tatuya JINMEI 神明達哉
19d3add998 2386. [func] Add warning about too small 'open files' limit.
[RT #18269]
2008-08-01 02:00:42 +00:00
Mark Andrews
a370328554 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
part 2
2008-07-23 23:33:03 +00:00
Mark Andrews
462df43837 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
2008-07-22 03:51:44 +00:00
Automatic Updater
bc91517988 update copyright notice 2008-07-18 23:45:58 +00:00
Mark Andrews
0d70096bda change 2390 leaked memory 2008-07-18 06:07:14 +00:00
Tatuya JINMEI 神明達哉
edffbefe20 2390 [bug] dispatch.c could make a false warning on 'odd socket'.
[RT #18301].
2008-07-18 02:38:32 +00:00
Evan Hunt
18aee20ea5 re-merged rt18194 after fixing problems 2008-07-03 00:14:40 +00:00
Tatuya JINMEI 神明達哉
e9bce1c912 prevent null socket dereference in IPv6 interface address adjustment
[RT #18203]
2008-06-26 22:18:18 +00:00
Automatic Updater
bd5ddeb924 update copyright notice 2008-06-24 23:45:56 +00:00
Tatuya JINMEI 神明達哉
0edc9d2bf7 2384. [security] Additional support for query port randomization (change
#2375) including performance improvement and port range
			specification.  [RT #17949, #18098]
2008-06-24 02:02:51 +00:00
Automatic Updater
a764b8dcc9 update copyright notice 2008-05-22 23:46:03 +00:00
Evan Hunt
906685e44d Fully randomize UDP query ports to improve forgery resilience. [rt17949] 2008-05-22 21:16:05 +00:00
Automatic Updater
beb9fabda3 update copyright notice 2007-08-28 07:20:06 +00:00
Mark Andrews
8ef7ad017e silence "Different types treated as unsigned for >." warning 2007-06-27 04:18:42 +00:00
Mark Andrews
68c6977ade replace gettimeofday with isc_time_now 2007-06-26 06:05:49 +00:00
Mark Andrews
c8e9c42008 s/u_int16_t/isc_uint16_t/ 2007-06-26 04:59:35 +00:00
Mark Andrews
833c6d566b 2203. [security] Query id generation was cryptographically weak.
[RT # 16915]
2007-06-26 02:56:59 +00:00
Mark Andrews
797d405689 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:37 +00:00
Mark Andrews
d24c8fb8cc update copyright notice 2007-02-07 23:57:58 +00:00
Mark Andrews
2443a71d1a missing unlock 2007-02-07 05:41:47 +00:00
Mark Andrews
68cbb891bc 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:40 +00:00
Mark Andrews
586f82c999 update copyright notice 2006-01-06 00:01:43 +00:00
Mark Andrews
7820998a39 1961. [bug] Check the port and address of responses forwarded
to dispatch. [RT #15474]
2006-01-05 03:30:56 +00:00
Mark Andrews
82e2318373 1900. [port] freebsd: pthread_mutex_init can fail if it runs out
of memory. [RT #14995]
2005-07-12 01:22:34 +00:00
Rob Austein
372edff338 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 05:02:59 +00:00
Mark Andrews
fecb87d5b9 update copyright notice 2005-02-24 00:32:23 +00:00
Mark Andrews
fa466736a6 1814. [func] UNIX domain controls are now supported. 2005-02-23 01:04:46 +00:00
Mark Andrews
bd0d561c70 2797. [bug] Don't decrement the dispatch manager's maxbuffers.
[RT #20613]
2004-09-01 04:26:21 +00:00
Tatuya JINMEI 神明達哉
e4eb1714ef 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:41:13 +00:00
Mark Andrews
7e4b06161b 1687. [bug] Race condition in dispatch. [RT #10272] 2004-07-21 00:49:15 +00:00
Mark Andrews
3bdf0a6885 hide ((isc_event_t **) (void *)) cast using a macro, ISC_EVENT_PTR. 2004-04-15 02:04:05 +00:00
Mark Andrews
dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews
91c79af475 1576. [bug] Race condition in dns_dispatch_addresponse().
[RT# 10272]
2004-02-10 06:11:17 +00:00
Mark Andrews
daa73eae70 silence punned messages 2004-02-03 00:59:05 +00:00
Mark Andrews
1e107b3d7b 1495. [cleanup] Replace hash functions with universal hash. 2003-07-25 02:22:26 +00:00
Mark Andrews
b312748a11 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).
developer: marka
reviewer: explorer
2003-02-26 05:05:16 +00:00
Mark Andrews
8da0b50e8a 1406. [bug] dispatch initialises one of the LSFR's with a incorrect
polynomial.  [RT #4617]
2002-12-05 03:55:09 +00:00
Tatuya JINMEI 神明達哉
e992af4209 fixed a bug that named crashes with an assertion failure on exit when sharing
the same port for listening and querying, and changing listening addresses
several times. [RT# 3509]

additionally,
  + limited the canceled socket tasks in dispatch.c
  + made dns_dispatch_changeattributes() care about the NOLISTEN mask
  + described side effects of dns_dispatch_changeattributes() in its
    description comment
2002-09-04 02:26:13 +00:00
Mark Andrews
3733c24efa 1342, [func] Log remote address with TCP dispatch failures. 2002-07-29 01:03:24 +00:00
Mark Andrews
ddc592d128 1283. [bug] Reference after free error if dns_dispatchmgr_create()
failed.
2002-05-08 06:34:30 +00:00
Mark Andrews
1fb264ed3a 1222. [bug] Specifying 'port *' did not always result in a system
selected (non-reserved) port being used. [RT #2537]
2002-03-07 00:07:27 +00:00
Mark Andrews
0fa218cc7c reduce the log level of connection reset from error to info. 2001-12-27 05:07:26 +00:00
Mark Andrews
ef29912666 1147. [func] Set IPV6_IPV6ONLY 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.
2001-11-29 13:14:33 +00:00
Andreas Gustafsson
f1b6872550 Do not put a space before ';' when terminating a statement or in a 'for' statement. 2001-11-27 00:56:32 +00:00