Imported Upstream version 1.3.4
Robert S. Edmonds
12 years ago
3 | 3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
4 | 4 | # Free Software Foundation, Inc. |
5 | 5 | |
6 | timestamp='2008-11-15' | |
6 | timestamp='2009-04-27' | |
7 | 7 | |
8 | 8 | # This file is free software; you can redistribute it and/or modify it |
9 | 9 | # under the terms of the GNU General Public License as published by |
323 | 323 | case `/usr/bin/uname -p` in |
324 | 324 | sparc) echo sparc-icl-nx7; exit ;; |
325 | 325 | esac ;; |
326 | s390x:SunOS:*:*) | |
327 | echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
328 | exit ;; | |
326 | 329 | sun4H:SunOS:5.*:*) |
327 | 330 | echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
328 | 331 | exit ;; |
336 | 339 | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. |
337 | 340 | # This test works for both compilers. |
338 | 341 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then |
339 | if echo '\n#ifdef __amd64\nIS_64BIT_ARCH\n#endif' | \ | |
342 | if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
340 | 343 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ |
341 | 344 | grep IS_64BIT_ARCH >/dev/null |
342 | 345 | then |
1114 | 1117 | pc:*:*:*) |
1115 | 1118 | # Left here for compatibility: |
1116 | 1119 | # uname -m prints for DJGPP always 'pc', but it prints nothing about |
1117 | # the processor, so we play safe by assuming i386. | |
1118 | echo i386-pc-msdosdjgpp | |
1120 | # the processor, so we play safe by assuming i586. | |
1121 | # Note: whatever this is, it MUST be the same as what config.sub | |
1122 | # prints for the "djgpp" host, or else GDB configury will decide that | |
1123 | # this is a cross-build. | |
1124 | echo i586-pc-msdosdjgpp | |
1119 | 1125 | exit ;; |
1120 | 1126 | Intel:Mach:3*:*) |
1121 | 1127 | echo i386-pc-mach3 |
1153 | 1159 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
1154 | 1160 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
1155 | 1161 | && { echo i486-ncr-sysv4; exit; } ;; |
1162 | NCR*:*:4.2:* | MPRAS*:*:4.2:*) | |
1163 | OS_REL='.3' | |
1164 | test -r /etc/.relid \ | |
1165 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` | |
1166 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | |
1167 | && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | |
1168 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ | |
1169 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } | |
1170 | /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ | |
1171 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | |
1156 | 1172 | m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) |
1157 | 1173 | echo m68k-unknown-lynxos${UNAME_RELEASE} |
1158 | 1174 | exit ;; |
1338 | 1354 | exit ;; |
1339 | 1355 | i*86:rdos:*:*) |
1340 | 1356 | echo ${UNAME_MACHINE}-pc-rdos |
1357 | exit ;; | |
1358 | i*86:AROS:*:*) | |
1359 | echo ${UNAME_MACHINE}-pc-aros | |
1341 | 1360 | exit ;; |
1342 | 1361 | esac |
1343 | 1362 |
3 | 3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
4 | 4 | # Free Software Foundation, Inc. |
5 | 5 | |
6 | timestamp='2008-09-08' | |
6 | timestamp='2009-04-17' | |
7 | 7 | |
8 | 8 | # This file is (in principle) common to ALL GNU software. |
9 | 9 | # The presence of a machine in this file suggests that SOME GNU software |
121 | 121 | case $maybe_os in |
122 | 122 | nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ |
123 | 123 | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ |
124 | kopensolaris*-gnu* | \ | |
124 | 125 | storm-chaos* | os2-emx* | rtmk-nova*) |
125 | 126 | os=-$maybe_os |
126 | 127 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
248 | 249 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
249 | 250 | | i370 | i860 | i960 | ia64 \ |
250 | 251 | | ip2k | iq2000 \ |
252 | | lm32 \ | |
251 | 253 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
252 | 254 | | maxq | mb | microblaze | mcore | mep | metag \ |
253 | 255 | | mips | mipsbe | mipseb | mipsel | mipsle \ |
269 | 271 | | mipsisa64sr71k | mipsisa64sr71kel \ |
270 | 272 | | mipstx39 | mipstx39el \ |
271 | 273 | | mn10200 | mn10300 \ |
274 | | moxie \ | |
272 | 275 | | mt \ |
273 | 276 | | msp430 \ |
274 | 277 | | nios | nios2 \ |
278 | 281 | | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
279 | 282 | | pyramid \ |
280 | 283 | | score \ |
281 | | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | |
284 | | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | |
282 | 285 | | sh64 | sh64le \ |
283 | 286 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
284 | 287 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
330 | 333 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
331 | 334 | | i*86-* | i860-* | i960-* | ia64-* \ |
332 | 335 | | ip2k-* | iq2000-* \ |
336 | | lm32-* \ | |
333 | 337 | | m32c-* | m32r-* | m32rle-* \ |
334 | 338 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
335 | 339 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ |
361 | 365 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
362 | 366 | | pyramid-* \ |
363 | 367 | | romp-* | rs6000-* \ |
364 | | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | |
368 | | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | |
365 | 369 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
366 | 370 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
367 | 371 | | sparclite-* \ |
442 | 446 | basic_machine=m68k-apollo |
443 | 447 | os=-bsd |
444 | 448 | ;; |
449 | aros) | |
450 | basic_machine=i386-pc | |
451 | os=-aros | |
452 | ;; | |
445 | 453 | aux) |
446 | 454 | basic_machine=m68k-apple |
447 | 455 | os=-aux |
1181 | 1189 | we32k) |
1182 | 1190 | basic_machine=we32k-att |
1183 | 1191 | ;; |
1184 | sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) | |
1192 | sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) | |
1185 | 1193 | basic_machine=sh-unknown |
1186 | 1194 | ;; |
1187 | 1195 | sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) |
1253 | 1261 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1254 | 1262 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ |
1255 | 1263 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ |
1264 | | -kopensolaris* \ | |
1256 | 1265 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1257 | | -aos* \ | |
1266 | | -aos* | -aros* \ | |
1258 | 1267 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1259 | 1268 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1260 | 1269 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.63 for unbound 1.3.3. | |
2 | # Generated by GNU Autoconf 2.63 for unbound 1.3.4. | |
3 | 3 | # |
4 | 4 | # Report bugs to <unbound-bugs@nlnetlabs.nl>. |
5 | 5 | # |
744 | 744 | # Identity of this package. |
745 | 745 | PACKAGE_NAME='unbound' |
746 | 746 | PACKAGE_TARNAME='unbound' |
747 | PACKAGE_VERSION='1.3.3' | |
748 | PACKAGE_STRING='unbound 1.3.3' | |
747 | PACKAGE_VERSION='1.3.4' | |
748 | PACKAGE_STRING='unbound 1.3.4' | |
749 | 749 | PACKAGE_BUGREPORT='unbound-bugs@nlnetlabs.nl' |
750 | 750 | |
751 | 751 | # Factoring default headers for most tests. |
1497 | 1497 | # Omit some internal or obsolete options to make the list less imposing. |
1498 | 1498 | # This message is too long to be a string in the A/UX 3.1 sh. |
1499 | 1499 | cat <<_ACEOF |
1500 | \`configure' configures unbound 1.3.3 to adapt to many kinds of systems. | |
1500 | \`configure' configures unbound 1.3.4 to adapt to many kinds of systems. | |
1501 | 1501 | |
1502 | 1502 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1503 | 1503 | |
1562 | 1562 | |
1563 | 1563 | if test -n "$ac_init_help"; then |
1564 | 1564 | case $ac_init_help in |
1565 | short | recursive ) echo "Configuration of unbound 1.3.3:";; | |
1565 | short | recursive ) echo "Configuration of unbound 1.3.4:";; | |
1566 | 1566 | esac |
1567 | 1567 | cat <<\_ACEOF |
1568 | 1568 | |
1707 | 1707 | test -n "$ac_init_help" && exit $ac_status |
1708 | 1708 | if $ac_init_version; then |
1709 | 1709 | cat <<\_ACEOF |
1710 | unbound configure 1.3.3 | |
1710 | unbound configure 1.3.4 | |
1711 | 1711 | generated by GNU Autoconf 2.63 |
1712 | 1712 | |
1713 | 1713 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1721 | 1721 | This file contains any messages produced by compilers while |
1722 | 1722 | running configure, to aid debugging if configure makes a mistake. |
1723 | 1723 | |
1724 | It was created by unbound $as_me 1.3.3, which was | |
1724 | It was created by unbound $as_me 1.3.4, which was | |
1725 | 1725 | generated by GNU Autoconf 2.63. Invocation command line was |
1726 | 1726 | |
1727 | 1727 | $ $0 $@ |
2091 | 2091 | |
2092 | 2092 | |
2093 | 2093 | LIBUNBOUND_CURRENT=1 |
2094 | LIBUNBOUND_REVISION=3 | |
2094 | LIBUNBOUND_REVISION=4 | |
2095 | 2095 | LIBUNBOUND_AGE=0 |
2096 | 2096 | # 1.0.0 had 0:12:0 |
2097 | 2097 | # 1.0.1 had 0:13:0 |
2104 | 2104 | # 1.3.1 had 1:1:0 |
2105 | 2105 | # 1.3.2 had 1:2:0 |
2106 | 2106 | # 1.3.3 had 1:3:0 |
2107 | # 1.3.4 had 1:4:0 | |
2107 | 2108 | |
2108 | 2109 | # Current -- the number of the binary API that we're implementing |
2109 | 2110 | # Revision -- which iteration of the implementation of the binary |
7258 | 7259 | else |
7259 | 7260 | lt_cv_nm_interface="BSD nm" |
7260 | 7261 | echo "int some_variable = 0;" > conftest.$ac_ext |
7261 | (eval echo "\"\$as_me:7262: $ac_compile\"" >&5) | |
7262 | (eval echo "\"\$as_me:7263: $ac_compile\"" >&5) | |
7262 | 7263 | (eval "$ac_compile" 2>conftest.err) |
7263 | 7264 | cat conftest.err >&5 |
7264 | (eval echo "\"\$as_me:7265: $NM \\\"conftest.$ac_objext\\\"\"" >&5) | |
7265 | (eval echo "\"\$as_me:7266: $NM \\\"conftest.$ac_objext\\\"\"" >&5) | |
7265 | 7266 | (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
7266 | 7267 | cat conftest.err >&5 |
7267 | (eval echo "\"\$as_me:7268: output\"" >&5) | |
7268 | (eval echo "\"\$as_me:7269: output\"" >&5) | |
7268 | 7269 | cat conftest.out >&5 |
7269 | 7270 | if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
7270 | 7271 | lt_cv_nm_interface="MS dumpbin" |
8469 | 8470 | ;; |
8470 | 8471 | *-*-irix6*) |
8471 | 8472 | # Find out which ABI we are using. |
8472 | echo '#line 8473 "configure"' > conftest.$ac_ext | |
8473 | echo '#line 8474 "configure"' > conftest.$ac_ext | |
8473 | 8474 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8474 | 8475 | (eval $ac_compile) 2>&5 |
8475 | 8476 | ac_status=$? |
9836 | 9837 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
9837 | 9838 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
9838 | 9839 | -e 's:$: $lt_compiler_flag:'` |
9839 | (eval echo "\"\$as_me:9840: $lt_compile\"" >&5) | |
9840 | (eval echo "\"\$as_me:9841: $lt_compile\"" >&5) | |
9840 | 9841 | (eval "$lt_compile" 2>conftest.err) |
9841 | 9842 | ac_status=$? |
9842 | 9843 | cat conftest.err >&5 |
9843 | echo "$as_me:9844: \$? = $ac_status" >&5 | |
9844 | echo "$as_me:9845: \$? = $ac_status" >&5 | |
9844 | 9845 | if (exit $ac_status) && test -s "$ac_outfile"; then |
9845 | 9846 | # The compiler can only warn and ignore the option if not recognized |
9846 | 9847 | # So say no if there are warnings other than the usual output. |
10175 | 10176 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
10176 | 10177 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
10177 | 10178 | -e 's:$: $lt_compiler_flag:'` |
10178 | (eval echo "\"\$as_me:10179: $lt_compile\"" >&5) | |
10179 | (eval echo "\"\$as_me:10180: $lt_compile\"" >&5) | |
10179 | 10180 | (eval "$lt_compile" 2>conftest.err) |
10180 | 10181 | ac_status=$? |
10181 | 10182 | cat conftest.err >&5 |
10182 | echo "$as_me:10183: \$? = $ac_status" >&5 | |
10183 | echo "$as_me:10184: \$? = $ac_status" >&5 | |
10183 | 10184 | if (exit $ac_status) && test -s "$ac_outfile"; then |
10184 | 10185 | # The compiler can only warn and ignore the option if not recognized |
10185 | 10186 | # So say no if there are warnings other than the usual output. |
10280 | 10281 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
10281 | 10282 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
10282 | 10283 | -e 's:$: $lt_compiler_flag:'` |
10283 | (eval echo "\"\$as_me:10284: $lt_compile\"" >&5) | |
10284 | (eval echo "\"\$as_me:10285: $lt_compile\"" >&5) | |
10284 | 10285 | (eval "$lt_compile" 2>out/conftest.err) |
10285 | 10286 | ac_status=$? |
10286 | 10287 | cat out/conftest.err >&5 |
10287 | echo "$as_me:10288: \$? = $ac_status" >&5 | |
10288 | echo "$as_me:10289: \$? = $ac_status" >&5 | |
10288 | 10289 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
10289 | 10290 | then |
10290 | 10291 | # The compiler can only warn and ignore the option if not recognized |
10335 | 10336 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
10336 | 10337 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
10337 | 10338 | -e 's:$: $lt_compiler_flag:'` |
10338 | (eval echo "\"\$as_me:10339: $lt_compile\"" >&5) | |
10339 | (eval echo "\"\$as_me:10340: $lt_compile\"" >&5) | |
10339 | 10340 | (eval "$lt_compile" 2>out/conftest.err) |
10340 | 10341 | ac_status=$? |
10341 | 10342 | cat out/conftest.err >&5 |
10342 | echo "$as_me:10343: \$? = $ac_status" >&5 | |
10343 | echo "$as_me:10344: \$? = $ac_status" >&5 | |
10343 | 10344 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
10344 | 10345 | then |
10345 | 10346 | # The compiler can only warn and ignore the option if not recognized |
13138 | 13139 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
13139 | 13140 | lt_status=$lt_dlunknown |
13140 | 13141 | cat > conftest.$ac_ext <<_LT_EOF |
13141 | #line 13142 "configure" | |
13142 | #line 13143 "configure" | |
13142 | 13143 | #include "confdefs.h" |
13143 | 13144 | |
13144 | 13145 | #if HAVE_DLFCN_H |
13234 | 13235 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
13235 | 13236 | lt_status=$lt_dlunknown |
13236 | 13237 | cat > conftest.$ac_ext <<_LT_EOF |
13237 | #line 13238 "configure" | |
13238 | #line 13239 "configure" | |
13238 | 13239 | #include "confdefs.h" |
13239 | 13240 | |
13240 | 13241 | #if HAVE_DLFCN_H |
22804 | 22805 | # report actual input values of CONFIG_FILES etc. instead of their |
22805 | 22806 | # values after options handling. |
22806 | 22807 | ac_log=" |
22807 | This file was extended by unbound $as_me 1.3.3, which was | |
22808 | This file was extended by unbound $as_me 1.3.4, which was | |
22808 | 22809 | generated by GNU Autoconf 2.63. Invocation command line was |
22809 | 22810 | |
22810 | 22811 | CONFIG_FILES = $CONFIG_FILES |
22867 | 22868 | _ACEOF |
22868 | 22869 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
22869 | 22870 | ac_cs_version="\\ |
22870 | unbound config.status 1.3.3 | |
22871 | unbound config.status 1.3.4 | |
22871 | 22872 | configured by $0, generated by GNU Autoconf 2.63, |
22872 | 22873 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
22873 | 22874 |
5 | 5 | sinclude(acx_python.m4) |
6 | 6 | sinclude(ac_pkg_swig.m4) |
7 | 7 | |
8 | AC_INIT(unbound, 1.3.3, unbound-bugs@nlnetlabs.nl, unbound) | |
8 | AC_INIT(unbound, 1.3.4, unbound-bugs@nlnetlabs.nl, unbound) | |
9 | 9 | |
10 | 10 | LIBUNBOUND_CURRENT=1 |
11 | LIBUNBOUND_REVISION=3 | |
11 | LIBUNBOUND_REVISION=4 | |
12 | 12 | LIBUNBOUND_AGE=0 |
13 | 13 | # 1.0.0 had 0:12:0 |
14 | 14 | # 1.0.1 had 0:13:0 |
21 | 21 | # 1.3.1 had 1:1:0 |
22 | 22 | # 1.3.2 had 1:2:0 |
23 | 23 | # 1.3.3 had 1:3:0 |
24 | # 1.3.4 had 1:4:0 | |
24 | 25 | |
25 | 26 | # Current -- the number of the binary API that we're implementing |
26 | 27 | # Revision -- which iteration of the implementation of the binary |
0 | 7 October 2009: Wouter | |
1 | - release 1.3.4 tag. | |
2 | - Fixed bug where NSEC3 signature was not checked. This meant that | |
3 | a DS could be spoofed away by a carefully crafted packet. | |
4 | A downgrade attack on existing secure delegations. | |
5 | - updated iana port list. | |
6 | ||
0 | 7 | 4 August 2009: Wouter |
1 | 8 | - Added test that the examples from draft rsasha256-14 verify. |
2 | 9 | - iana portlist updated. |
0 | README for Unbound 1.3.3 | |
0 | README for Unbound 1.3.4 | |
1 | 1 | Copyright 2007 NLnet Labs |
2 | 2 | http://unbound.net |
3 | 3 |
0 | .TH "libunbound" "3" "Aug 4, 2009" "NLnet Labs" "unbound 1.3.3" | |
0 | .TH "libunbound" "3" "Oct 7, 2009" "NLnet Labs" "unbound 1.3.4" | |
1 | 1 | .\" |
2 | 2 | .\" libunbound.3 -- unbound library functions manual |
3 | 3 | .\" |
40 | 40 | .B ub_ctx_zone_remove, |
41 | 41 | .B ub_ctx_data_add, |
42 | 42 | .B ub_ctx_data_remove |
43 | \- Unbound DNS validating resolver 1.3.3 functions. | |
43 | \- Unbound DNS validating resolver 1.3.4 functions. | |
44 | 44 | .SH "SYNOPSIS" |
45 | 45 | .LP |
46 | 46 | .B #include <unbound.h> |
0 | .TH "unbound-checkconf" "8" "Aug 4, 2009" "NLnet Labs" "unbound 1.3.3" | |
0 | .TH "unbound-checkconf" "8" "Oct 7, 2009" "NLnet Labs" "unbound 1.3.4" | |
1 | 1 | .\" |
2 | 2 | .\" unbound-checkconf.8 -- unbound configuration checker manual |
3 | 3 | .\" |
0 | .TH "unbound-control" "8" "Aug 4, 2009" "NLnet Labs" "unbound 1.3.3" | |
0 | .TH "unbound-control" "8" "Oct 7, 2009" "NLnet Labs" "unbound 1.3.4" | |
1 | 1 | .\" |
2 | 2 | .\" unbound-control.8 -- unbound remote control manual |
3 | 3 | .\" |
0 | .TH "unbound\-host" "1" "Aug 4, 2009" "NLnet Labs" "unbound 1.3.3" | |
0 | .TH "unbound\-host" "1" "Oct 7, 2009" "NLnet Labs" "unbound 1.3.4" | |
1 | 1 | .\" |
2 | 2 | .\" unbound-host.1 -- unbound DNS lookup utility |
3 | 3 | .\" |
0 | .TH "unbound" "8" "Aug 4, 2009" "NLnet Labs" "unbound 1.3.3" | |
0 | .TH "unbound" "8" "Oct 7, 2009" "NLnet Labs" "unbound 1.3.4" | |
1 | 1 | .\" |
2 | 2 | .\" unbound.8 -- unbound manual |
3 | 3 | .\" |
9 | 9 | .SH "NAME" |
10 | 10 | .LP |
11 | 11 | .B unbound |
12 | \- Unbound DNS validating resolver 1.3.3. | |
12 | \- Unbound DNS validating resolver 1.3.4. | |
13 | 13 | .SH "SYNOPSIS" |
14 | 14 | .LP |
15 | 15 | .B unbound |
0 | .TH "unbound.conf" "5" "Aug 4, 2009" "NLnet Labs" "unbound 1.3.3" | |
0 | .TH "unbound.conf" "5" "Oct 7, 2009" "NLnet Labs" "unbound 1.3.4" | |
1 | 1 | .\" |
2 | 2 | .\" unbound.conf.5 -- unbound.conf manual |
3 | 3 | .\" |
1152 | 1152 | 1488, |
1153 | 1153 | 1489, |
1154 | 1154 | 1490, |
1155 | 1491, | |
1156 | 1155 | 1492, |
1157 | 1156 | 1493, |
1158 | 1157 | 1494, |
4013 | 4012 | 5011, |
4014 | 4013 | 5012, |
4015 | 4014 | 5013, |
4015 | 5014, | |
4016 | 4016 | 5020, |
4017 | 4017 | 5021, |
4018 | 4018 | 5022, |
4023 | 4023 | 5027, |
4024 | 4024 | 5029, |
4025 | 4025 | 5030, |
4026 | 5031, | |
4026 | 4027 | 5042, |
4027 | 4028 | 5043, |
4028 | 4029 | 5044, |
4033 | 4034 | 5055, |
4034 | 4035 | 5056, |
4035 | 4036 | 5057, |
4037 | 5058, | |
4036 | 4038 | 5059, |
4037 | 4039 | 5060, |
4038 | 4040 | 5061, |
4071 | 4073 | 5152, |
4072 | 4074 | 5154, |
4073 | 4075 | 5155, |
4076 | 5164, | |
4074 | 4077 | 5165, |
4075 | 4078 | 5166, |
4076 | 4079 | 5167, |
4606 | 4609 | 7967, |
4607 | 4610 | 7979, |
4608 | 4611 | 7980, |
4612 | 7998, | |
4609 | 4613 | 7999, |
4610 | 4614 | 8000, |
4611 | 4615 | 8001, |
4841 | 4845 | 9618, |
4842 | 4846 | 9628, |
4843 | 4847 | 9629, |
4848 | 9632, | |
4844 | 4849 | 9667, |
4845 | 4850 | 9668, |
4851 | 9694, | |
4852 | 9695, | |
4846 | 4853 | 9700, |
4847 | 4854 | 9747, |
4848 | 4855 | 9750, |
5093 | 5100 | 23003, |
5094 | 5101 | 23004, |
5095 | 5102 | 23005, |
5103 | 23272, | |
5096 | 5104 | 23333, |
5097 | 5105 | 23400, |
5098 | 5106 | 23401, |
5150 | 5158 | 29167, |
5151 | 5159 | 30001, |
5152 | 5160 | 30002, |
5161 | 30260, | |
5153 | 5162 | 30999, |
5154 | 5163 | 31416, |
5155 | 5164 | 31457, |
1236 | 1236 | return sec_status_secure; |
1237 | 1237 | } |
1238 | 1238 | |
1239 | /** test if list is all secure */ | |
1240 | static int | |
1241 | list_is_secure(struct module_env* env, struct val_env* ve, | |
1242 | struct ub_packed_rrset_key** list, size_t num, | |
1243 | struct key_entry_key* kkey) | |
1244 | { | |
1245 | size_t i; | |
1246 | enum sec_status sec; | |
1247 | for(i=0; i<num; i++) { | |
1248 | if(list[i]->rk.type != htons(LDNS_RR_TYPE_NSEC3)) | |
1249 | continue; | |
1250 | sec = val_verify_rrset_entry(env, ve, list[i], kkey); | |
1251 | if(sec != sec_status_secure) { | |
1252 | verbose(VERB_ALGO, "NSEC3 did not verify"); | |
1253 | return 0; | |
1254 | } | |
1255 | } | |
1256 | return 1; | |
1257 | } | |
1258 | ||
1239 | 1259 | enum sec_status |
1240 | 1260 | nsec3_prove_nods(struct module_env* env, struct val_env* ve, |
1241 | 1261 | struct ub_packed_rrset_key** list, size_t num, |
1250 | 1270 | |
1251 | 1271 | if(!list || num == 0 || !kkey || !key_entry_isgood(kkey)) |
1252 | 1272 | return sec_status_bogus; /* no valid NSEC3s, bogus */ |
1273 | if(!list_is_secure(env, ve, list, num, kkey)) | |
1274 | return sec_status_bogus; /* not all NSEC3 records secure */ | |
1253 | 1275 | rbtree_init(&ct, &nsec3_hash_cmp); /* init names-to-hash cache */ |
1254 | 1276 | filter_init(&flt, list, num, qinfo); /* init RR iterator */ |
1255 | 1277 | if(!flt.zone) |