4152. [func] Implement DNS COOKIE option. This replaces the

experimental SIT option of BIND 9.10.  The following
                        named.conf directives are avaliable: send-cookie,
                        cookie-secret, cookie-algorithm and nocookie-udp-size.
                        The following dig options are available:
                        +[no]cookie[=value] and +[no]badcookie.  [RT #39928]
This commit is contained in:
Mark Andrews
2015-07-06 09:44:24 +10:00
parent aa3bffca69
commit ce67023ae3
58 changed files with 1000 additions and 1080 deletions

View File

@@ -35,11 +35,11 @@ then
echo "I:failed"; status=`expr $status + 1`;
fi
# this one arguable could be NOERORR.
# this one is now NOERROR
echo "I:no questions"
$PERL formerr.pl -a 10.53.0.1 -p 5300 noquestions > noquestions.out
ans=`grep got: noquestions.out`
if [ "${ans}" != "got: 000080010000000000000000" ];
if [ "${ans}" != "got: 000080000000000000000000" ];
then
echo "I:failed"; status=`expr $status + 1`;
fi