From 2f77f658a0ea063d7b2cab4f987cc646d7feb472 Mon Sep 17 00:00:00 2001 From: Tinderbox User Date: Tue, 9 Aug 2016 00:25:45 +0000 Subject: [PATCH] update copyright notice / whitespace --- bin/tests/system/checkconf/bad-rate-limit-acl.conf | 8 ++++++++ .../system/checkconf/bad-rate-limit-all-per-second.conf | 8 ++++++++ .../checkconf/bad-rate-limit-errors-per-second.conf | 8 ++++++++ .../checkconf/bad-rate-limit-ipv4-prefix-length.conf | 8 ++++++++ .../checkconf/bad-rate-limit-ipv6-prefix-length.conf | 8 ++++++++ .../system/checkconf/bad-rate-limit-max-table-size.conf | 8 ++++++++ .../checkconf/bad-rate-limit-nodata-per-second.conf | 8 ++++++++ .../checkconf/bad-rate-limit-nxdomains-per-second.conf | 8 ++++++++ bin/tests/system/checkconf/bad-rate-limit-qps-scale.conf | 8 ++++++++ .../checkconf/bad-rate-limit-referrals-per-second.conf | 8 ++++++++ .../checkconf/bad-rate-limit-responses-per-second.conf | 8 ++++++++ bin/tests/system/checkconf/bad-rate-limit-slip.conf | 8 ++++++++ bin/tests/system/checkconf/bad-rate-limit-window.conf | 8 ++++++++ bin/tests/system/lwresd/lwresd1/nosearch.conf | 2 +- 14 files changed, 105 insertions(+), 1 deletion(-) diff --git a/bin/tests/system/checkconf/bad-rate-limit-acl.conf b/bin/tests/system/checkconf/bad-rate-limit-acl.conf index c918020eef..9e92577086 100644 --- a/bin/tests/system/checkconf/bad-rate-limit-acl.conf +++ b/bin/tests/system/checkconf/bad-rate-limit-acl.conf @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC") + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + options { rate-limit { responses-per-second 10; diff --git a/bin/tests/system/checkconf/bad-rate-limit-all-per-second.conf b/bin/tests/system/checkconf/bad-rate-limit-all-per-second.conf index 27bf411ef9..72b760d9b3 100644 --- a/bin/tests/system/checkconf/bad-rate-limit-all-per-second.conf +++ b/bin/tests/system/checkconf/bad-rate-limit-all-per-second.conf @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC") + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + options { rate-limit { all-per-second 1001; // greater than DNS_RRL_MAX_RATE diff --git a/bin/tests/system/checkconf/bad-rate-limit-errors-per-second.conf b/bin/tests/system/checkconf/bad-rate-limit-errors-per-second.conf index 1c76c87bda..485ea888f9 100644 --- a/bin/tests/system/checkconf/bad-rate-limit-errors-per-second.conf +++ b/bin/tests/system/checkconf/bad-rate-limit-errors-per-second.conf @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC") + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + options { rate-limit { errors-per-second 1001; // greater than DNS_RRL_MAX_RATE diff --git a/bin/tests/system/checkconf/bad-rate-limit-ipv4-prefix-length.conf b/bin/tests/system/checkconf/bad-rate-limit-ipv4-prefix-length.conf index 9e431dedf1..8f0f9ea56d 100644 --- a/bin/tests/system/checkconf/bad-rate-limit-ipv4-prefix-length.conf +++ b/bin/tests/system/checkconf/bad-rate-limit-ipv4-prefix-length.conf @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC") + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + options { rate-limit { ipv4-prefix-length 33; // greater than bits in address diff --git a/bin/tests/system/checkconf/bad-rate-limit-ipv6-prefix-length.conf b/bin/tests/system/checkconf/bad-rate-limit-ipv6-prefix-length.conf index 12ff979257..2c1869250a 100644 --- a/bin/tests/system/checkconf/bad-rate-limit-ipv6-prefix-length.conf +++ b/bin/tests/system/checkconf/bad-rate-limit-ipv6-prefix-length.conf @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC") + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + options { rate-limit { ipv6-prefix-length 65; // max 64 diff --git a/bin/tests/system/checkconf/bad-rate-limit-max-table-size.conf b/bin/tests/system/checkconf/bad-rate-limit-max-table-size.conf index c1f6e3686b..3497ab38d9 100644 --- a/bin/tests/system/checkconf/bad-rate-limit-max-table-size.conf +++ b/bin/tests/system/checkconf/bad-rate-limit-max-table-size.conf @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC") + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + options { rate-limit { max-table-size 30; // less than min-table-size default of 500 diff --git a/bin/tests/system/checkconf/bad-rate-limit-nodata-per-second.conf b/bin/tests/system/checkconf/bad-rate-limit-nodata-per-second.conf index 1e72ab129d..40f9858667 100644 --- a/bin/tests/system/checkconf/bad-rate-limit-nodata-per-second.conf +++ b/bin/tests/system/checkconf/bad-rate-limit-nodata-per-second.conf @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC") + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + options { rate-limit { nodata-per-second 1001; // greater than DNS_RRL_MAX_RATE diff --git a/bin/tests/system/checkconf/bad-rate-limit-nxdomains-per-second.conf b/bin/tests/system/checkconf/bad-rate-limit-nxdomains-per-second.conf index 529fb5065e..6ccfc02ec5 100644 --- a/bin/tests/system/checkconf/bad-rate-limit-nxdomains-per-second.conf +++ b/bin/tests/system/checkconf/bad-rate-limit-nxdomains-per-second.conf @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC") + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + options { rate-limit { nxdomains-per-second 1001; // greater than DNS_RRL_MAX_RATE diff --git a/bin/tests/system/checkconf/bad-rate-limit-qps-scale.conf b/bin/tests/system/checkconf/bad-rate-limit-qps-scale.conf index c0331d13a6..1d6fd4f0b0 100644 --- a/bin/tests/system/checkconf/bad-rate-limit-qps-scale.conf +++ b/bin/tests/system/checkconf/bad-rate-limit-qps-scale.conf @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC") + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + options { rate-limit { qps-scale 0; // must be greater than zero diff --git a/bin/tests/system/checkconf/bad-rate-limit-referrals-per-second.conf b/bin/tests/system/checkconf/bad-rate-limit-referrals-per-second.conf index 1da569b9bf..6c59ff96db 100644 --- a/bin/tests/system/checkconf/bad-rate-limit-referrals-per-second.conf +++ b/bin/tests/system/checkconf/bad-rate-limit-referrals-per-second.conf @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC") + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + options { rate-limit { referrals-per-second 1001; // greater than DNS_RRL_MAX_RATE diff --git a/bin/tests/system/checkconf/bad-rate-limit-responses-per-second.conf b/bin/tests/system/checkconf/bad-rate-limit-responses-per-second.conf index 3f0700ab8e..42f34b588c 100644 --- a/bin/tests/system/checkconf/bad-rate-limit-responses-per-second.conf +++ b/bin/tests/system/checkconf/bad-rate-limit-responses-per-second.conf @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC") + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + options { rate-limit { responses-per-second 1001; // greater than DNS_RRL_MAX_RATE diff --git a/bin/tests/system/checkconf/bad-rate-limit-slip.conf b/bin/tests/system/checkconf/bad-rate-limit-slip.conf index 53121a7022..e9fc9d1cf5 100644 --- a/bin/tests/system/checkconf/bad-rate-limit-slip.conf +++ b/bin/tests/system/checkconf/bad-rate-limit-slip.conf @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC") + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + options { rate-limit { slip 11; // greater than default of 10 diff --git a/bin/tests/system/checkconf/bad-rate-limit-window.conf b/bin/tests/system/checkconf/bad-rate-limit-window.conf index 1d2ed1a230..bcfdc70795 100644 --- a/bin/tests/system/checkconf/bad-rate-limit-window.conf +++ b/bin/tests/system/checkconf/bad-rate-limit-window.conf @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC") + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + options { rate-limit { window 3601; // greater than default of 3600 diff --git a/bin/tests/system/lwresd/lwresd1/nosearch.conf b/bin/tests/system/lwresd/lwresd1/nosearch.conf index d44cee2d23..ec8d9eb8fa 100644 --- a/bin/tests/system/lwresd/lwresd1/nosearch.conf +++ b/bin/tests/system/lwresd/lwresd1/nosearch.conf @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000, 2001, 2004, 2007, 2016 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC") * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this