4154. [bug] A OPT record should be included with the FORMERR

response when there is a malformed EDNS option.
                        [RT #39647]

4153.   [bug]           Check that non significant ECS bits are zero on
                        receipt. [RT #39647]
This commit is contained in:
Mark Andrews
2015-07-06 12:52:37 +10:00
parent 2043cb5835
commit f5386a21a8
8 changed files with 41 additions and 9 deletions

View File

@@ -44,6 +44,14 @@ then
echo "I:failed"; status=`expr $status + 1`;
fi
echo "I:bad OPT option"
$PERL formerr.pl -a 10.53.0.1 -p 5300 badoptoption > badoptoption.out
ans=`grep got: badoptoption.out`
if [ "${ans}" != "got: 00008001000100000000000100000100020000291000000000000000" ];
then
echo "I:failed"; status=`expr $status + 1`;
fi
echo "I:exit status: $status"
exit $status