mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-22 18:19:42 +00:00
[master] copyrights
This commit is contained in:
parent
168cf0ede1
commit
a27dc50157
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2012-2014 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2012-2014, 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!@PYTHON@
|
||||
############################################################################
|
||||
# Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2012-2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
- Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
- Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
-
|
||||
- Permission to use, copy, modify, and/or distribute this software for any
|
||||
- purpose with or without fee is hereby granted, provided that the above
|
||||
@ -40,6 +40,7 @@
|
||||
<year>2013</year>
|
||||
<year>2014</year>
|
||||
<year>2015</year>
|
||||
<year>2016</year>
|
||||
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
||||
</copyright>
|
||||
</docinfo>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!@PYTHON@
|
||||
############################################################################
|
||||
# Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!@PYTHON@
|
||||
############################################################################
|
||||
# Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -1,17 +1,18 @@
|
||||
# Copyright (C) 2015 Internet Systems Consortium.
|
||||
############################################################################
|
||||
# Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and distribute this software for any
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
# copyright notice and this permission notice appear in all copies.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SYSTEMS CONSORTIUM
|
||||
# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
||||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
||||
# INTERNET SYSTEMS CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
|
||||
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
||||
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
||||
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
############################################################################
|
||||
|
||||
__all__ = ['dnskey', 'eventlist', 'keydict', 'keyevent', 'keyseries',
|
||||
'keyzone', 'policy', 'parsetab', 'utils']
|
||||
|
@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2012-2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# Copyright (C) 2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2015, 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# Copyright (C) 2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# Copyright (C) 2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# Copyright (C) 2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
@ -13,9 +13,6 @@
|
||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
############################################################################
|
||||
# policy.py
|
||||
# This module implements the parser for the dnssec.policy file.
|
||||
############################################################################
|
||||
|
||||
import re
|
||||
import ply.lex as lex
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -1,41 +1,57 @@
|
||||
/*
|
||||
* Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
policy keysize_rsa {
|
||||
algorithm rsasha1;
|
||||
coverage 1y;
|
||||
roll-period zsk 3mo;
|
||||
pre-publish zsk 2w;
|
||||
post-publish zsk 2w;
|
||||
roll-period ksk 1y;
|
||||
pre-publish ksk 1mo;
|
||||
post-publish ksk 2mo;
|
||||
keyttl 1h;
|
||||
key-size ksk 2048;
|
||||
key-size zsk 1024;
|
||||
algorithm rsasha1;
|
||||
coverage 1y;
|
||||
roll-period zsk 3mo;
|
||||
pre-publish zsk 2w;
|
||||
post-publish zsk 2w;
|
||||
roll-period ksk 1y;
|
||||
pre-publish ksk 1mo;
|
||||
post-publish ksk 2mo;
|
||||
keyttl 1h;
|
||||
key-size ksk 2048;
|
||||
key-size zsk 1024;
|
||||
};
|
||||
|
||||
policy keysize_dsa {
|
||||
algorithm dsa;
|
||||
coverage 1y;
|
||||
key-size ksk 2048;
|
||||
key-size zsk 1024;
|
||||
algorithm dsa;
|
||||
coverage 1y;
|
||||
key-size ksk 2048;
|
||||
key-size zsk 1024;
|
||||
};
|
||||
|
||||
zone good_rsa.test {
|
||||
policy keysize_rsa;
|
||||
policy keysize_rsa;
|
||||
};
|
||||
|
||||
zone bad_rsa.test {
|
||||
policy keysize_rsa;
|
||||
key-size ksk 511;
|
||||
policy keysize_rsa;
|
||||
key-size ksk 511;
|
||||
};
|
||||
|
||||
zone good_dsa.test {
|
||||
policy keysize_dsa;
|
||||
key-size ksk 1024;
|
||||
key-size zsk 768;
|
||||
policy keysize_dsa;
|
||||
key-size ksk 1024;
|
||||
key-size zsk 768;
|
||||
};
|
||||
|
||||
zone bad_dsa.test {
|
||||
policy keysize_dsa;
|
||||
key-size ksk 1024;
|
||||
key-size zsk 769;
|
||||
policy keysize_dsa;
|
||||
key-size ksk 1024;
|
||||
key-size zsk 769;
|
||||
};
|
||||
|
@ -1,31 +1,47 @@
|
||||
/*
|
||||
* Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
policy prepublish_rsa {
|
||||
algorithm rsasha1;
|
||||
coverage 1y;
|
||||
roll-period zsk 3mo;
|
||||
pre-publish zsk 2w;
|
||||
post-publish zsk 2w;
|
||||
roll-period ksk 1y;
|
||||
pre-publish ksk 1mo;
|
||||
post-publish ksk 2mo;
|
||||
keyttl 1h;
|
||||
key-size ksk 2048;
|
||||
key-size zsk 1024;
|
||||
algorithm rsasha1;
|
||||
coverage 1y;
|
||||
roll-period zsk 3mo;
|
||||
pre-publish zsk 2w;
|
||||
post-publish zsk 2w;
|
||||
roll-period ksk 1y;
|
||||
pre-publish ksk 1mo;
|
||||
post-publish ksk 2mo;
|
||||
keyttl 1h;
|
||||
key-size ksk 2048;
|
||||
key-size zsk 1024;
|
||||
};
|
||||
|
||||
// Policy that defines a pre-publish period lower than the rollover period
|
||||
zone good_prepublish.test {
|
||||
policy prepublish_rsa;
|
||||
coverage 6mo;
|
||||
roll-period ksk 4mo;
|
||||
pre-publish ksk 1mo;
|
||||
policy prepublish_rsa;
|
||||
coverage 6mo;
|
||||
roll-period ksk 4mo;
|
||||
pre-publish ksk 1mo;
|
||||
};
|
||||
|
||||
// Policy that defines a pre-publish period equal to the rollover period
|
||||
zone bad_prepublish.test {
|
||||
policy prepublish_rsa;
|
||||
coverage 6mo;
|
||||
roll-period ksk 4mo;
|
||||
pre-publish ksk 4mo;
|
||||
policy prepublish_rsa;
|
||||
coverage 6mo;
|
||||
roll-period ksk 4mo;
|
||||
pre-publish ksk 4mo;
|
||||
};
|
||||
|
||||
|
||||
|
@ -1,31 +1,47 @@
|
||||
/*
|
||||
* Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
policy postpublish_rsa {
|
||||
algorithm rsasha1;
|
||||
coverage 1y;
|
||||
roll-period zsk 3mo;
|
||||
pre-publish zsk 2w;
|
||||
post-publish zsk 2w;
|
||||
roll-period ksk 1y;
|
||||
pre-publish ksk 1mo;
|
||||
post-publish ksk 2mo;
|
||||
keyttl 1h;
|
||||
key-size ksk 2048;
|
||||
key-size zsk 1024;
|
||||
algorithm rsasha1;
|
||||
coverage 1y;
|
||||
roll-period zsk 3mo;
|
||||
pre-publish zsk 2w;
|
||||
post-publish zsk 2w;
|
||||
roll-period ksk 1y;
|
||||
pre-publish ksk 1mo;
|
||||
post-publish ksk 2mo;
|
||||
keyttl 1h;
|
||||
key-size ksk 2048;
|
||||
key-size zsk 1024;
|
||||
};
|
||||
|
||||
// Policy that defines a post-publish period lower than the rollover period
|
||||
zone good_postpublish.test {
|
||||
policy postpublish_rsa;
|
||||
coverage 6mo;
|
||||
roll-period ksk 4mo;
|
||||
pre-publish ksk 1mo;
|
||||
policy postpublish_rsa;
|
||||
coverage 6mo;
|
||||
roll-period ksk 4mo;
|
||||
pre-publish ksk 1mo;
|
||||
};
|
||||
|
||||
// Policy that defines a post-publish period equal to the rollover period
|
||||
zone bad_postpublish.test {
|
||||
policy postpublish_rsa;
|
||||
coverage 6mo;
|
||||
roll-period ksk 4mo;
|
||||
pre-publish ksk 4mo;
|
||||
policy postpublish_rsa;
|
||||
coverage 6mo;
|
||||
roll-period ksk 4mo;
|
||||
pre-publish ksk 4mo;
|
||||
};
|
||||
|
||||
|
||||
|
@ -1,55 +1,71 @@
|
||||
/*
|
||||
* Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
policy combined_pre_post_rsa {
|
||||
algorithm rsasha1;
|
||||
coverage 1y;
|
||||
roll-period zsk 3mo;
|
||||
pre-publish zsk 2w;
|
||||
post-publish zsk 2w;
|
||||
roll-period ksk 1y;
|
||||
pre-publish ksk 1mo;
|
||||
post-publish ksk 2mo;
|
||||
keyttl 1h;
|
||||
key-size ksk 2048;
|
||||
key-size zsk 1024;
|
||||
algorithm rsasha1;
|
||||
coverage 1y;
|
||||
roll-period zsk 3mo;
|
||||
pre-publish zsk 2w;
|
||||
post-publish zsk 2w;
|
||||
roll-period ksk 1y;
|
||||
pre-publish ksk 1mo;
|
||||
post-publish ksk 2mo;
|
||||
keyttl 1h;
|
||||
key-size ksk 2048;
|
||||
key-size zsk 1024;
|
||||
};
|
||||
|
||||
// Policy that defines a combined pre-publish and post-publish period lower
|
||||
// than the rollover period
|
||||
zone good_combined_pre_post_ksk.test {
|
||||
policy combined_pre_post_rsa;
|
||||
coverage 6mo;
|
||||
roll-period ksk 4mo;
|
||||
pre-publish ksk 1mo;
|
||||
post-publish ksk 1mo;
|
||||
policy combined_pre_post_rsa;
|
||||
coverage 6mo;
|
||||
roll-period ksk 4mo;
|
||||
pre-publish ksk 1mo;
|
||||
post-publish ksk 1mo;
|
||||
};
|
||||
|
||||
// Policy that defines a combined pre-publish and post-publish period higher
|
||||
// than the rollover period
|
||||
zone bad_combined_pre_post_ksk.test {
|
||||
policy combined_pre_post_rsa;
|
||||
coverage 6mo;
|
||||
roll-period ksk 4mo;
|
||||
pre-publish ksk 2mo;
|
||||
post-publish ksk 2mo;
|
||||
policy combined_pre_post_rsa;
|
||||
coverage 6mo;
|
||||
roll-period ksk 4mo;
|
||||
pre-publish ksk 2mo;
|
||||
post-publish ksk 2mo;
|
||||
};
|
||||
|
||||
// Policy that defines a combined pre-publish and post-publish period lower
|
||||
// than the rollover period
|
||||
zone good_combined_pre_post_zsk.test {
|
||||
policy combined_pre_post_rsa;
|
||||
coverage 1y;
|
||||
roll-period zsk 3mo;
|
||||
pre-publish zsk 1mo;
|
||||
post-publish zsk 1mo;
|
||||
policy combined_pre_post_rsa;
|
||||
coverage 1y;
|
||||
roll-period zsk 3mo;
|
||||
pre-publish zsk 1mo;
|
||||
post-publish zsk 1mo;
|
||||
};
|
||||
|
||||
// Policy that defines a combined pre-publish and post-publish period higher
|
||||
// than the rollover period
|
||||
zone bad_combined_pre_post_zsk.test {
|
||||
policy combined_pre_post_rsa;
|
||||
coverage 1y;
|
||||
roll-period zsk 3mo;
|
||||
pre-publish zsk 2mo;
|
||||
post-publish zsk 2mo;
|
||||
policy combined_pre_post_rsa;
|
||||
coverage 1y;
|
||||
roll-period zsk 3mo;
|
||||
pre-publish zsk 2mo;
|
||||
post-publish zsk 2mo;
|
||||
};
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
# Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
@ -13,9 +13,6 @@
|
||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
############################################################################
|
||||
# utils.py
|
||||
# Grouping shared code in one place
|
||||
############################################################################
|
||||
|
||||
import os
|
||||
|
||||
|
@ -1,2 +1,5 @@
|
||||
Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
This set includes one KSK rollover. The KSK is deactivated prior to
|
||||
its replacement being activated.
|
||||
|
@ -1,2 +1,5 @@
|
||||
Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
This set includes one ZSK rollover. The first ZSK is deactivated
|
||||
prior to its replacement being activated.
|
||||
|
@ -1,2 +1,5 @@
|
||||
Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
This set contains one KSK rollover. The KSK is unpublished before its
|
||||
successor is published.
|
||||
|
@ -1,2 +1,5 @@
|
||||
Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
This set contains one ZSK rollover. The ZSK is unpublished before its
|
||||
successor is published.
|
||||
|
@ -1,3 +1,6 @@
|
||||
Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
This set includes one KSK rollover. The first KSK is deleted
|
||||
and its successor published prior to the first KSK being deactivated
|
||||
and its successor activated.
|
||||
|
@ -1,3 +1,6 @@
|
||||
Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
This set includes one KSK rollover. The first KSK is deleted
|
||||
and its successor published prior to the first KSK being deactivated
|
||||
and its successor activated.
|
||||
|
@ -1,2 +1,5 @@
|
||||
Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
This set includes a KSK rollover, with insufficient delay between
|
||||
prepublication and rollover.
|
||||
|
@ -1,2 +1,5 @@
|
||||
Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
This set includes a KSK rollover, with insufficient delay between
|
||||
prepublication and rollover.
|
||||
|
@ -1 +1,4 @@
|
||||
Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
This directory has no key set, but one will be initialized by dnssec-keymgr.
|
||||
|
@ -1,3 +1,6 @@
|
||||
Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
This directory has a key set which is valid, but has a ZSK rollover period
|
||||
of only three months. It will be updated to have a ZSK rollover period of
|
||||
one year.
|
||||
|
@ -1,2 +1,5 @@
|
||||
Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
This set includes a KSK rollover, with insufficient delay between
|
||||
prepublication and rollover.
|
||||
|
@ -1,2 +1,5 @@
|
||||
Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
This set includes a KSK rollover, with insufficient delay between
|
||||
prepublication and rollover.
|
||||
|
@ -1,2 +1,5 @@
|
||||
Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
This set includes a KSK rollover, with insufficient delay between
|
||||
prepublication and rollover.
|
||||
|
@ -1,2 +1,5 @@
|
||||
Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
This set includes a KSK rollover, with insufficient delay between
|
||||
prepublication and rollover.
|
||||
|
@ -1,2 +1,5 @@
|
||||
Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
This set includes a KSK rollover, with insufficient delay between
|
||||
prepublication and rollover.
|
||||
|
@ -1,2 +1,5 @@
|
||||
Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
This set includes a KSK rollover, with insufficient delay between
|
||||
prepublication and rollover.
|
||||
|
@ -1,2 +1,5 @@
|
||||
Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
This set includes a KSK rollover, with insufficient delay between
|
||||
prepublication and rollover.
|
||||
|
@ -1,10 +1,26 @@
|
||||
/*
|
||||
* Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
policy default {
|
||||
policy global;
|
||||
algorithm nsec3rsasha1;
|
||||
key-size zsk 1024;
|
||||
pre-publish zsk 6w;
|
||||
post-publish zsk 6w;
|
||||
roll-period zsk 6mo;
|
||||
roll-period ksk 0;
|
||||
coverage 364d;
|
||||
policy global;
|
||||
algorithm nsec3rsasha1;
|
||||
key-size zsk 1024;
|
||||
pre-publish zsk 6w;
|
||||
post-publish zsk 6w;
|
||||
roll-period zsk 6mo;
|
||||
roll-period ksk 0;
|
||||
coverage 364d;
|
||||
};
|
||||
|
@ -1,3 +1,19 @@
|
||||
/*
|
||||
* Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
policy default:
|
||||
inherits global
|
||||
directory None
|
||||
|
@ -1,30 +1,46 @@
|
||||
/*
|
||||
* Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
# a comment which should be skipped
|
||||
|
||||
algorithm-policy rsasha1 {
|
||||
key-size ksk 2048;
|
||||
key-size zsk 1024; // this too
|
||||
key-size ksk 2048;
|
||||
key-size zsk 1024; // this too
|
||||
};
|
||||
|
||||
// and this
|
||||
|
||||
policy default {
|
||||
directory "keydir";
|
||||
algorithm rsasha1;
|
||||
coverage 1y; # another comment
|
||||
roll-period zsk 6mo; // and yet another
|
||||
pre-publish zsk 6w;
|
||||
post-publish zsk 6w;
|
||||
keyttl 1h;
|
||||
directory "keydir";
|
||||
algorithm rsasha1;
|
||||
coverage 1y; # another comment
|
||||
roll-period zsk 6mo; // and yet another
|
||||
pre-publish zsk 6w;
|
||||
post-publish zsk 6w;
|
||||
keyttl 1h;
|
||||
};
|
||||
|
||||
policy extra {
|
||||
policy default;
|
||||
coverage 5y;
|
||||
roll-period KSK 1 year;
|
||||
roll-period zsk 3mo;
|
||||
pre-publish ksk 3mo;
|
||||
post-publish zsk 1w;
|
||||
keyttl 2h;
|
||||
policy default;
|
||||
coverage 5y;
|
||||
roll-period KSK 1 year;
|
||||
roll-period zsk 3mo;
|
||||
pre-publish ksk 3mo;
|
||||
post-publish zsk 1w;
|
||||
keyttl 2h;
|
||||
};
|
||||
|
||||
/*
|
||||
@ -34,7 +50,7 @@ policy extra {
|
||||
*/
|
||||
|
||||
zone example.com {
|
||||
policy extra;
|
||||
coverage 5 mon;
|
||||
algorithm nsec3rsasha1;
|
||||
policy extra;
|
||||
coverage 5 mon;
|
||||
algorithm nsec3rsasha1;
|
||||
};
|
||||
|
@ -1,4 +1,19 @@
|
||||
#!/bin/python
|
||||
############################################################################
|
||||
# Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
# copyright notice and this permission notice appear in all copies.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
############################################################################
|
||||
|
||||
import sys
|
||||
sys.path.insert(0, '../../../python')
|
||||
from isc import *
|
||||
|
Loading…
x
Reference in New Issue
Block a user