402 Commits
Author SHA1 Message Date
Tinderbox User ec136322e1 update copyright notice 2014-07-31 23:46:41 +00:00
Mark Andrews a2dbb1774e 3904. [func] Add the RPZ SOA to the additional section. [RT36507]
(cherry picked from commit 3a55d43527)
2014-07-31 10:57:10 +10:00
Mark Andrews c653bfd09d More changes for:
3864.   [bug]           RPZ didn't work well when being used as forwarder.
                        [RT #36060]
2014-05-30 08:57:11 +10:00
Mark Andrews 6a38000080 3864. [bug] RPZ didn't work well when being used as forwarder.
[RT #36060]
2014-05-29 17:35:42 +10:00
Evan Hunt 34193398f2 [v9_8] fix misuses of isc__buffer functions, update comment 2014-03-06 17:25:52 -08:00
Tinderbox User 4bd05ab557 update copyright notice 2014-01-09 23:45:31 +00:00
Evan Hunt d19bf3def7 [v9_8] replace memcpy() with memmove().
3698.	[cleanup]	Replaced all uses of memcpy() with memmove().
			[RT #35120]

(cherry picked from commit ebe54c7d2221c6a0a4b3d96bcae3280c823a45e6)
(cherry picked from commit 9b950c70f1a6406c0f3dff604822329d06fc4837)
2014-01-08 16:40:19 -08:00
Mark Andrews 16c46bb785 3693. [security] memcpy was incorrectly called with overlapping
ranges resulting in malformed names being generated
                        on some platforms.  This could cause INSIST failures
                        when serving NSEC3 signed zones.  [RT #35120]

(cherry picked from commit fa467e60c5)
2013-12-20 11:00:30 +11:00
Mark Andrews 35185f40dc 3636. [bug] Automatic empty zones now behave better with
forward only "zones" beneath them. [RT #34583]

(cherry picked from commit 997c2c5116)
2013-08-19 09:19:24 +10:00
Mark Andrews 74e8be1ec8 3631. [bug] Remove spurious warning about missing signatures when
qtype is SIG. [RT #34600]

(cherry picked from commit 06ace051e7)
2013-08-15 08:06:21 +10:00
Evan Hunt 3584937648 [v9_8] RPZ speed up (phase 1, single RPZ)
3496.	[func]		Improvements to RPZ performance. The "response-policy"
			syntax now includes a "min-ns-dots" clause, with
			default 1, to exclude top-level domains from
			NSIP and NSDNAME checking. [RT #32251]

    Response policy (rpz) changes to
      - add zone statistics
      - speed up by adding min-ns-dots to the response-policy syntax
         with a default of 1
      - detect and reject policy zones with a database other than rbt
         only rbtdb has rpz hooks
      - allow empty response-policy{} statement
      - make --enable-rpz-nsip and --enable-rpz-nsdname the default
(cherry picked from commit 8159e80279408be50d31db5d853ae2736bd1934d)
2013-02-25 14:32:00 -08:00
Evan Hunt 285bbf3685 [v9_8] fix DNS64 with RPZ-remapped A records
3468.	[security]	RPZ rules to generate A records (but not AAAA records)
			could trigger an assertion failure when used in
			conjunction with DNS64. [RT #32141]
(cherry picked from commit 71f8edccba)
2013-01-17 11:24:39 -08:00
Mark Andrews 9ad7445961 3461. [bug] Negative responses could incorrectly have AD=1
set. [RT #32237]
2013-01-10 22:17:59 +11:00
Tinderbox User 7d58f3ac85 update copyright notice 2013-01-04 23:45:25 +00:00
Evan Hunt ba2599657b [v9_8] allow-query-on works now
3448.	[bug]		The allow-query-on ACL was not processed correctly.
			[RT #29486]
(cherry picked from commit 222d38735f)
(cherry picked from commit 8d9207a17b)
2013-01-03 15:15:51 -08:00
Mark Andrews 669a00bfde silence clang --analyze warning 2012-12-01 09:21:30 +11:00
Evan Hunt 89ef143e3f fix coverity issues
3388.	[bug]		Fixed several Coverity warnings. [RT #30996]
2012-10-02 23:50:20 -07:00
Evan Hunt 2d47f8187f fixed an exploitable hang bug
3383.	[security]	A certain combinations of records in the RBT could
                        cause named to hang while populating the additional
                        section of a response. [RT #31090]
2012-09-26 17:12:00 -07:00
Mark Andrews 40e7749444 3371. [bug] AD=1 should behave like DO=1 when deciding whether to
add NS RRsets to the additional section or not.
                        [RT #30479]
2012-08-31 11:26:36 +10:00
Evan Hunt 73ed414ae7 removed spurious variables added by merge, added config options to dnssec test 2012-07-25 22:13:42 -07:00
Tinderbox User 8b79e1aed5 update copyright notice 2012-07-25 23:45:36 +00:00
ckb 540b745122 3356. [bug] Cap the TTL of signed RRsets when RRSIGs are
approaching their expiry, so they don't remain
			in caches after expiry. [RT #26429]
2012-07-25 17:25:13 -05:00
Tinderbox User f3c44ec867 update copyright notice 2012-05-31 23:45:36 +00:00
Vernon Schryver 07d51fa5ba Squashed commit of the following:
commit 4d29cea2ea05491a7afebc343e41d9b6ad58f068
commit 3211da9716e5ecc0bb758666db70a667ca5a944e
commit 884b6f5d5e9b1f50757c606adafabe382b90c80b
commit 53f82565f72f091a46caed754db160e4a7a2d161
Merge: 8f73664 9698f42
commit 8f73664e7bdc04f766ddcccfb5fc5f857a22326a

for rt26172

Add
  - optional "recursive-only yes|no" to the response-policy statement
  - optional max-policy-ttl to limit the lies that "recursive-only no"
      can introduce into resolvers' caches
  - test that queries with RD=0 are not rewritten by default
  - performance smoke test

Change encoding of PASSTHRU action to "rpz-passthru".
      (The old encoding is still accepted.)
Fix rt26180  assert botch in zone_findrdataset() in this branch
     as well.

Fix missing signatures on NOERROR results despite RPZ hits
    when there are signatures and the client asks for DNSSEC,
2012-05-31 01:47:47 +00:00
Mark Andrews 183a1f9e79 3299. [bug] Make SDB handle errors from database drivers better.
[RT #28534]
2012-03-28 10:33:20 +11:00
Mark Andrews 930151fcab 3280. [bug] Potential double free of a rdataset on out of memory
with DNS64. [RT #27762]
2012-02-07 01:14:39 +00:00
Automatic Updater 33a62e8d0f update copyright notice 2012-01-31 23:46:41 +00:00
Evan Hunt 6522a6b265 3273. [bug] AAAA responses could be returned in the additional
section even when filter-aaaa-on-v4 was in use.
                        [RT #27292]
2012-01-31 17:54:12 +00:00
Evan Hunt fb55b8f34d 3262. [bug] Signed responses were handled incorrectly by RPZ.
[RT #27316]
2012-01-07 00:19:29 +00:00
Automatic Updater 8ead053cb0 update copyright notice 2012-01-04 23:46:19 +00:00
Evan Hunt c0990ffd88 3260. [bug] "rrset-order cyclic" could appear not to rotate
for some query patterns.  [RT #27170/27185]
2012-01-04 03:07:29 +00:00
Mark Andrews b2adef3fb0 3218. [security] Cache lookup could return RRSIG data associated with
nonexistent records, leading to an assertion
                        failure. [RT #26590]
2011-11-16 09:56:56 +00:00
Mark Andrews 2136c92599 3186. [bug] Version/db mis-match in rpz code. [RT #26180] 2011-10-31 02:55:07 +00:00
Mark Andrews f4105ef7b8 3175. [bug] Fix how DNSSEC positive wildcard responses from a
NSEC3 signed zone are validated.  Stop sending a
                        unnecessary NSEC3 record when generating such
                        responses. [RT #26200]
2011-10-20 21:44:36 +00:00
Automatic Updater 498015c13a update copyright notice 2011-10-14 23:46:08 +00:00
Mark Andrews 89769cb5a5 3170. [func] RPZ update:
- fix precedence among competing rules
                        - improve ARM text including documenting rule precedence
                        - try to rewrite CNAME chains until first hit
                        - new "rpz" logging channel
2011-10-14 03:51:07 +00:00
Automatic Updater a856c33738 update copyright notice 2011-09-02 23:45:51 +00:00
Evan Hunt 404329080f 3151. [bug] Queries for type RRSIG or SIG could be handled
incorrectly.  [RT #21050]
2011-09-02 21:54:52 +00:00
Mark Andrews 31dcd78366 3126. [security] Using DNAME record to generate replacements caused
RPZ to exit with a assertion failure. [RT #23766]
2011-06-09 03:14:04 +00:00
Mark Andrews eff7004cdd 3125. [security] Using wildcard CNAME records as a replacement with
RPZ caused named to exit with a assertion failure.
                        [RT #24715]
2011-06-09 00:53:55 +00:00
Mark Andrews 7e773a23d9 3115. [bug] Named could fail to return requested data when
following a CNAME that points into the same zone.
                        [RT #2445]
2011-05-20 05:12:18 +00:00
Automatic Updater 1076a78dd9 update copyright notice 2011-04-27 23:47:01 +00:00
Evan Hunt e3579205fe 3100. [security] Certain response policy zone configurations could
trigger an INSIST when receiving a query of type
			RRSIG. [RT #24280]
2011-04-27 17:43:07 +00:00
Evan Hunt 6ecc5850ef 3099. [test] "dlz" system test now runs but gives R:SKIPPED if
not compiled with --with-dlz-filesystem.  [RT #24146]

3098.	[bug]		DLZ zones were answering without setting the AA bit.
			[RT #24146]
2011-04-19 22:31:43 +00:00
Francis Dupont 8e8a1d612b fix too long with dname error 2011-03-18 21:25:18 +00:00
Mark Andrews ac6edf67d5 3069. [cleanup] Silence warnings messages from clang static analysis.
[RT #20256]
2011-03-11 06:47:09 +00:00
Evan Hunt b2b2a5f7e5 3066. [func] The DLZ "dlopen" driver is now built by default,
no longer requiring a configure option.  To
			disable it, use "configure --without-dlopen".
			(Note: driver not supported on win32.) [RT #23467]
2011-03-10 04:29:18 +00:00
Scott Mann ff6618557c Fix prz SERVFAILs after failed zone transfer (RT23246) 2011-02-18 15:27:58 +00:00
Mark Andrews f82e44954d 3013. [bug] The DNS64 ttl was not always being set as expected.
[RT #23034]
2011-02-03 07:39:03 +00:00
Mark Andrews cc5e0baaef arguements out of order 2011-01-13 23:16:06 +00:00