diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-05-31 16:36:48 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-05-31 16:36:48 +0200 |
commit | 6a1190792b0409e7a996400614e5e2c6ba02e5f6 (patch) | |
tree | fa324d2f9f02668a6d56d2e4d195a59ab1d3710e /external/unbound/util/configparser.c | |
parent | fixed static assert test (diff) | |
download | monero-6a1190792b0409e7a996400614e5e2c6ba02e5f6.tar.xz |
update libunbound
Diffstat (limited to 'external/unbound/util/configparser.c')
-rw-r--r-- | external/unbound/util/configparser.c | 1334 |
1 files changed, 742 insertions, 592 deletions
diff --git a/external/unbound/util/configparser.c b/external/unbound/util/configparser.c index 745a9ba79..f7ebd5d51 100644 --- a/external/unbound/util/configparser.c +++ b/external/unbound/util/configparser.c @@ -276,7 +276,15 @@ extern int yydebug; VAR_DNSTAP_LOG_FORWARDER_QUERY_MESSAGES = 404, VAR_DNSTAP_LOG_FORWARDER_RESPONSE_MESSAGES = 405, VAR_HARDEN_ALGO_DOWNGRADE = 406, - VAR_IP_TRANSPARENT = 407 + VAR_IP_TRANSPARENT = 407, + VAR_RATELIMIT = 408, + VAR_RATELIMIT_SLABS = 409, + VAR_RATELIMIT_SIZE = 410, + VAR_RATELIMIT_FOR_DOMAIN = 411, + VAR_RATELIMIT_BELOW_DOMAIN = 412, + VAR_RATELIMIT_FACTOR = 413, + VAR_CAPS_WHITELIST = 414, + VAR_CACHE_MAX_NEGATIVE_TTL = 415 }; #endif /* Tokens. */ @@ -430,6 +438,14 @@ extern int yydebug; #define VAR_DNSTAP_LOG_FORWARDER_RESPONSE_MESSAGES 405 #define VAR_HARDEN_ALGO_DOWNGRADE 406 #define VAR_IP_TRANSPARENT 407 +#define VAR_RATELIMIT 408 +#define VAR_RATELIMIT_SLABS 409 +#define VAR_RATELIMIT_SIZE 410 +#define VAR_RATELIMIT_FOR_DOMAIN 411 +#define VAR_RATELIMIT_BELOW_DOMAIN 412 +#define VAR_RATELIMIT_FACTOR 413 +#define VAR_CAPS_WHITELIST 414 +#define VAR_CACHE_MAX_NEGATIVE_TTL 415 @@ -443,7 +459,7 @@ typedef union YYSTYPE /* Line 387 of yacc.c */ -#line 447 "util/configparser.c" +#line 463 "util/configparser.c" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ @@ -471,7 +487,7 @@ int yyparse (); /* Copy the second part of user declarations. */ /* Line 390 of yacc.c */ -#line 475 "util/configparser.c" +#line 491 "util/configparser.c" #ifdef short # undef short @@ -691,20 +707,20 @@ union yyalloc /* YYFINAL -- State number of the termination state. */ #define YYFINAL 2 /* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 283 +#define YYLAST 301 /* YYNTOKENS -- Number of terminals. */ -#define YYNTOKENS 153 +#define YYNTOKENS 161 /* YYNNTS -- Number of nonterminals. */ -#define YYNNTS 158 +#define YYNNTS 166 /* YYNRULES -- Number of rules. */ -#define YYNRULES 301 +#define YYNRULES 317 /* YYNRULES -- Number of states. */ -#define YYNSTATES 441 +#define YYNSTATES 467 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 -#define YYMAXUTOK 407 +#define YYMAXUTOK 415 #define YYTRANSLATE(YYX) \ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) @@ -752,7 +768,8 @@ static const yytype_uint8 yytranslate[] = 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, - 145, 146, 147, 148, 149, 150, 151, 152 + 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, + 155, 156, 157, 158, 159, 160 }; #if YYDEBUG @@ -772,141 +789,147 @@ static const yytype_uint16 yyprhs[] = 185, 187, 189, 191, 193, 195, 197, 199, 201, 203, 205, 207, 209, 211, 213, 215, 217, 219, 221, 223, 225, 227, 229, 231, 233, 235, 237, 239, 241, 243, - 245, 247, 250, 251, 253, 255, 257, 259, 261, 263, - 266, 267, 269, 271, 273, 275, 278, 281, 284, 287, - 290, 293, 296, 299, 302, 305, 308, 311, 314, 317, - 320, 323, 326, 329, 332, 335, 338, 341, 344, 347, - 350, 353, 356, 359, 362, 365, 368, 371, 374, 377, - 380, 383, 386, 389, 392, 395, 398, 401, 404, 407, - 410, 413, 416, 419, 422, 425, 428, 431, 434, 437, - 440, 443, 446, 449, 452, 455, 458, 461, 464, 467, - 470, 473, 476, 479, 482, 485, 488, 491, 494, 497, - 500, 503, 506, 509, 512, 515, 519, 522, 525, 528, - 531, 534, 537, 540, 543, 546, 549, 552, 555, 558, - 561, 564, 567, 570, 573, 577, 580, 583, 586, 589, - 592, 595, 598, 601, 604, 607, 610, 613, 616, 619, - 622, 625, 627, 630, 631, 633, 635, 637, 639, 641, - 643, 645, 647, 650, 653, 656, 659, 662, 665, 668, - 671, 673, 676, 677, 679, 681, 683, 685, 687, 689, - 691, 693, 695, 697, 699, 701, 704, 707, 710, 713, - 716, 719, 722, 725, 728, 731, 734, 737, 739, 742, - 743, 745 + 245, 247, 249, 251, 253, 255, 257, 259, 261, 263, + 266, 267, 269, 271, 273, 275, 277, 279, 282, 283, + 285, 287, 289, 291, 294, 297, 300, 303, 306, 309, + 312, 315, 318, 321, 324, 327, 330, 333, 336, 339, + 342, 345, 348, 351, 354, 357, 360, 363, 366, 369, + 372, 375, 378, 381, 384, 387, 390, 393, 396, 399, + 402, 405, 408, 411, 414, 417, 420, 423, 426, 429, + 432, 435, 438, 441, 444, 447, 450, 453, 456, 459, + 462, 465, 468, 471, 474, 477, 480, 483, 486, 489, + 492, 495, 498, 501, 504, 507, 510, 513, 516, 519, + 522, 525, 528, 531, 534, 538, 541, 544, 547, 550, + 553, 556, 559, 562, 565, 568, 571, 574, 577, 580, + 583, 586, 589, 592, 595, 599, 602, 605, 608, 611, + 614, 617, 620, 623, 626, 629, 633, 637, 640, 643, + 646, 649, 652, 655, 658, 661, 664, 667, 669, 672, + 673, 675, 677, 679, 681, 683, 685, 687, 689, 692, + 695, 698, 701, 704, 707, 710, 713, 715, 718, 719, + 721, 723, 725, 727, 729, 731, 733, 735, 737, 739, + 741, 743, 746, 749, 752, 755, 758, 761, 764, 767, + 770, 773, 776, 779, 781, 784, 785, 787 }; /* YYRHS -- A `-1'-separated list of the rules' RHS. */ static const yytype_int16 yyrhs[] = { - 154, 0, -1, -1, 154, 155, -1, 156, 157, -1, - 159, 160, -1, 162, 163, -1, 307, 308, -1, 281, - 282, -1, 292, 293, -1, 11, -1, 157, 158, -1, - -1, 165, -1, 166, -1, 170, -1, 173, -1, 179, - -1, 180, -1, 181, -1, 182, -1, 171, -1, 192, - -1, 193, -1, 194, -1, 195, -1, 196, -1, 215, - -1, 216, -1, 217, -1, 221, -1, 222, -1, 176, - -1, 223, -1, 224, -1, 227, -1, 225, -1, 226, - -1, 229, -1, 230, -1, 231, -1, 243, -1, 205, - -1, 206, -1, 207, -1, 208, -1, 232, -1, 246, - -1, 201, -1, 203, -1, 247, -1, 252, -1, 253, - -1, 254, -1, 177, -1, 214, -1, 261, -1, 262, - -1, 202, -1, 257, -1, 189, -1, 172, -1, 197, - -1, 244, -1, 250, -1, 233, -1, 245, -1, 264, - -1, 265, -1, 178, -1, 167, -1, 188, -1, 237, - -1, 168, -1, 174, -1, 175, -1, 198, -1, 199, - -1, 263, -1, 235, -1, 238, -1, 239, -1, 169, - -1, 266, -1, 218, -1, 242, -1, 190, -1, 204, - -1, 248, -1, 249, -1, 251, -1, 256, -1, 200, - -1, 258, -1, 259, -1, 260, -1, 209, -1, 213, - -1, 240, -1, 241, -1, 210, -1, 234, -1, 255, - -1, 191, -1, 183, -1, 184, -1, 185, -1, 186, - -1, 187, -1, 267, -1, 268, -1, 269, -1, 211, - -1, 219, -1, 220, -1, 270, -1, 271, -1, 228, - -1, 236, -1, 212, -1, 38, -1, 160, 161, -1, - -1, 272, -1, 273, -1, 274, -1, 276, -1, 275, - -1, 44, -1, 163, 164, -1, -1, 277, -1, 278, - -1, 279, -1, 280, -1, 13, 10, -1, 12, 10, - -1, 76, 10, -1, 79, 10, -1, 97, 10, -1, - 14, 10, -1, 16, 10, -1, 67, 10, -1, 15, - 10, -1, 80, 10, -1, 81, 10, -1, 31, 10, - -1, 60, 10, -1, 75, 10, -1, 17, 10, -1, - 18, 10, -1, 19, 10, -1, 20, 10, -1, 123, - 10, -1, 124, 10, -1, 125, 10, -1, 126, 10, - -1, 127, 10, -1, 77, 10, -1, 66, 10, -1, - 102, 10, -1, 122, 10, -1, 21, 10, -1, 22, - 10, -1, 23, 10, -1, 24, 10, -1, 25, 10, - -1, 68, 10, -1, 82, 10, -1, 83, 10, -1, - 110, 10, -1, 54, 10, -1, 64, 10, -1, 55, - 10, -1, 103, 10, -1, 48, 10, -1, 49, 10, - -1, 50, 10, -1, 51, 10, -1, 114, 10, -1, - 118, 10, -1, 119, 10, -1, 152, 10, -1, 115, - 10, -1, 61, 10, -1, 26, 10, -1, 27, 10, - -1, 28, 10, -1, 99, 10, -1, 133, 10, -1, - 134, 10, -1, 29, 10, -1, 30, 10, -1, 32, - 10, -1, 33, 10, -1, 35, 10, -1, 36, 10, - -1, 34, 10, -1, 135, 10, -1, 41, 10, -1, - 42, 10, -1, 43, 10, -1, 52, 10, -1, 71, - 10, -1, 120, 10, -1, 85, 10, -1, 151, 10, - -1, 78, 10, -1, 86, 10, -1, 87, 10, -1, - 116, 10, -1, 117, 10, -1, 101, 10, -1, 47, - 10, -1, 69, 10, -1, 72, 10, 10, -1, 53, - 10, -1, 56, 10, -1, 106, 10, -1, 107, 10, - -1, 70, 10, -1, 108, 10, -1, 57, 10, -1, - 58, 10, -1, 59, 10, -1, 121, 10, -1, 109, - 10, -1, 65, 10, -1, 112, 10, -1, 113, 10, - -1, 111, 10, -1, 62, 10, -1, 63, 10, -1, - 84, 10, -1, 73, 10, 10, -1, 74, 10, -1, - 98, 10, -1, 130, 10, -1, 131, 10, -1, 132, - 10, -1, 136, 10, -1, 137, 10, -1, 37, 10, - -1, 39, 10, -1, 40, 10, -1, 129, 10, -1, - 100, 10, -1, 37, 10, -1, 45, 10, -1, 46, - 10, -1, 128, 10, -1, 88, -1, 282, 283, -1, - -1, 284, -1, 286, -1, 285, -1, 288, -1, 289, - -1, 290, -1, 291, -1, 287, -1, 89, 10, -1, - 91, 10, -1, 90, 10, -1, 96, 10, -1, 92, - 10, -1, 93, 10, -1, 94, 10, -1, 95, 10, - -1, 138, -1, 293, 294, -1, -1, 295, -1, 296, - -1, 297, -1, 298, -1, 299, -1, 300, -1, 301, - -1, 302, -1, 303, -1, 304, -1, 305, -1, 306, - -1, 139, 10, -1, 140, 10, -1, 141, 10, -1, - 142, 10, -1, 143, 10, -1, 144, 10, -1, 145, - 10, -1, 146, 10, -1, 147, 10, -1, 148, 10, - -1, 149, 10, -1, 150, 10, -1, 104, -1, 308, - 309, -1, -1, 310, -1, 105, 10, -1 + 162, 0, -1, -1, 162, 163, -1, 164, 165, -1, + 167, 168, -1, 170, 171, -1, 323, 324, -1, 297, + 298, -1, 308, 309, -1, 11, -1, 165, 166, -1, + -1, 173, -1, 174, -1, 178, -1, 181, -1, 187, + -1, 188, -1, 189, -1, 190, -1, 179, -1, 200, + -1, 201, -1, 202, -1, 203, -1, 204, -1, 223, + -1, 224, -1, 225, -1, 229, -1, 230, -1, 184, + -1, 231, -1, 232, -1, 235, -1, 233, -1, 234, + -1, 237, -1, 238, -1, 239, -1, 252, -1, 213, + -1, 214, -1, 215, -1, 216, -1, 240, -1, 255, + -1, 209, -1, 211, -1, 256, -1, 262, -1, 263, + -1, 264, -1, 185, -1, 222, -1, 271, -1, 272, + -1, 210, -1, 267, -1, 197, -1, 180, -1, 205, + -1, 253, -1, 259, -1, 241, -1, 254, -1, 274, + -1, 275, -1, 186, -1, 175, -1, 196, -1, 245, + -1, 176, -1, 182, -1, 183, -1, 206, -1, 207, + -1, 273, -1, 243, -1, 247, -1, 248, -1, 177, + -1, 276, -1, 226, -1, 251, -1, 198, -1, 212, + -1, 257, -1, 258, -1, 261, -1, 266, -1, 208, + -1, 268, -1, 269, -1, 270, -1, 217, -1, 221, + -1, 249, -1, 250, -1, 218, -1, 242, -1, 265, + -1, 199, -1, 191, -1, 192, -1, 193, -1, 194, + -1, 195, -1, 277, -1, 278, -1, 279, -1, 219, + -1, 227, -1, 228, -1, 280, -1, 281, -1, 236, + -1, 244, -1, 220, -1, 282, -1, 284, -1, 283, + -1, 285, -1, 286, -1, 287, -1, 246, -1, 260, + -1, 38, -1, 168, 169, -1, -1, 288, -1, 289, + -1, 290, -1, 292, -1, 291, -1, 44, -1, 171, + 172, -1, -1, 293, -1, 294, -1, 295, -1, 296, + -1, 13, 10, -1, 12, 10, -1, 76, 10, -1, + 79, 10, -1, 97, 10, -1, 14, 10, -1, 16, + 10, -1, 67, 10, -1, 15, 10, -1, 80, 10, + -1, 81, 10, -1, 31, 10, -1, 60, 10, -1, + 75, 10, -1, 17, 10, -1, 18, 10, -1, 19, + 10, -1, 20, 10, -1, 123, 10, -1, 124, 10, + -1, 125, 10, -1, 126, 10, -1, 127, 10, -1, + 77, 10, -1, 66, 10, -1, 102, 10, -1, 122, + 10, -1, 21, 10, -1, 22, 10, -1, 23, 10, + -1, 24, 10, -1, 25, 10, -1, 68, 10, -1, + 82, 10, -1, 83, 10, -1, 110, 10, -1, 54, + 10, -1, 64, 10, -1, 55, 10, -1, 103, 10, + -1, 48, 10, -1, 49, 10, -1, 50, 10, -1, + 51, 10, -1, 114, 10, -1, 118, 10, -1, 119, + 10, -1, 152, 10, -1, 115, 10, -1, 61, 10, + -1, 26, 10, -1, 27, 10, -1, 28, 10, -1, + 99, 10, -1, 133, 10, -1, 134, 10, -1, 29, + 10, -1, 30, 10, -1, 32, 10, -1, 33, 10, + -1, 35, 10, -1, 36, 10, -1, 34, 10, -1, + 135, 10, -1, 41, 10, -1, 42, 10, -1, 43, + 10, -1, 52, 10, -1, 71, 10, -1, 120, 10, + -1, 85, 10, -1, 151, 10, -1, 78, 10, -1, + 159, 10, -1, 86, 10, -1, 87, 10, -1, 116, + 10, -1, 117, 10, -1, 101, 10, -1, 47, 10, + -1, 69, 10, -1, 72, 10, 10, -1, 53, 10, + -1, 56, 10, -1, 106, 10, -1, 107, 10, -1, + 70, 10, -1, 160, 10, -1, 108, 10, -1, 57, + 10, -1, 58, 10, -1, 59, 10, -1, 121, 10, + -1, 109, 10, -1, 65, 10, -1, 112, 10, -1, + 113, 10, -1, 111, 10, -1, 62, 10, -1, 63, + 10, -1, 84, 10, -1, 73, 10, 10, -1, 74, + 10, -1, 98, 10, -1, 130, 10, -1, 131, 10, + -1, 132, 10, -1, 136, 10, -1, 137, 10, -1, + 153, 10, -1, 155, 10, -1, 154, 10, -1, 156, + 10, 10, -1, 157, 10, 10, -1, 158, 10, -1, + 37, 10, -1, 39, 10, -1, 40, 10, -1, 129, + 10, -1, 100, 10, -1, 37, 10, -1, 45, 10, + -1, 46, 10, -1, 128, 10, -1, 88, -1, 298, + 299, -1, -1, 300, -1, 302, -1, 301, -1, 304, + -1, 305, -1, 306, -1, 307, -1, 303, -1, 89, + 10, -1, 91, 10, -1, 90, 10, -1, 96, 10, + -1, 92, 10, -1, 93, 10, -1, 94, 10, -1, + 95, 10, -1, 138, -1, 309, 310, -1, -1, 311, + -1, 312, -1, 313, -1, 314, -1, 315, -1, 316, + -1, 317, -1, 318, -1, 319, -1, 320, -1, 321, + -1, 322, -1, 139, 10, -1, 140, 10, -1, 141, + 10, -1, 142, 10, -1, 143, 10, -1, 144, 10, + -1, 145, 10, -1, 146, 10, -1, 147, 10, -1, + 148, 10, -1, 149, 10, -1, 150, 10, -1, 104, + -1, 324, 325, -1, -1, 326, -1, 105, 10, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const yytype_uint16 yyrline[] = { - 0, 124, 124, 124, 125, 125, 126, 126, 127, 127, - 131, 136, 137, 138, 138, 138, 139, 139, 140, 140, - 140, 141, 141, 141, 142, 142, 142, 143, 143, 144, - 144, 145, 145, 146, 146, 147, 147, 148, 148, 149, - 149, 150, 150, 151, 151, 151, 152, 152, 152, 153, - 153, 153, 154, 154, 155, 155, 156, 156, 157, 157, - 158, 158, 158, 159, 159, 160, 160, 161, 161, 161, - 162, 162, 163, 163, 164, 164, 165, 165, 165, 166, - 166, 167, 167, 168, 168, 169, 169, 170, 170, 171, - 171, 171, 172, 172, 173, 173, 173, 174, 174, 174, - 175, 175, 175, 176, 176, 176, 177, 177, 177, 178, - 178, 178, 179, 179, 179, 180, 180, 181, 181, 182, - 184, 196, 197, 198, 198, 198, 198, 198, 200, 212, - 213, 214, 214, 214, 214, 216, 225, 234, 245, 254, - 263, 272, 285, 300, 309, 318, 327, 336, 345, 354, - 363, 372, 381, 390, 399, 408, 415, 422, 431, 440, - 454, 463, 472, 479, 486, 493, 501, 508, 515, 522, - 529, 537, 545, 553, 560, 567, 576, 585, 592, 599, - 607, 615, 625, 635, 648, 659, 667, 680, 689, 698, - 707, 717, 725, 738, 747, 755, 764, 772, 785, 794, - 801, 811, 821, 831, 841, 851, 861, 871, 881, 888, - 895, 904, 913, 922, 929, 939, 956, 963, 981, 994, - 1007, 1016, 1025, 1034, 1044, 1054, 1063, 1072, 1079, 1088, - 1097, 1106, 1114, 1127, 1135, 1158, 1165, 1180, 1190, 1200, - 1207, 1214, 1223, 1233, 1240, 1247, 1256, 1266, 1276, 1283, - 1290, 1299, 1304, 1305, 1306, 1306, 1306, 1307, 1307, 1307, - 1308, 1308, 1310, 1320, 1329, 1336, 1346, 1353, 1360, 1367, - 1374, 1379, 1380, 1381, 1381, 1382, 1382, 1383, 1383, 1384, - 1385, 1386, 1387, 1388, 1389, 1391, 1399, 1406, 1414, 1422, - 1429, 1436, 1445, 1454, 1463, 1472, 1481, 1490, 1495, 1496, - 1497, 1499 + 0, 127, 127, 127, 128, 128, 129, 129, 130, 130, + 134, 139, 140, 141, 141, 141, 142, 142, 143, 143, + 143, 144, 144, 144, 145, 145, 145, 146, 146, 147, + 147, 148, 148, 149, 149, 150, 150, 151, 151, 152, + 152, 153, 153, 154, 154, 154, 155, 155, 155, 156, + 156, 156, 157, 157, 158, 158, 159, 159, 160, 160, + 161, 161, 161, 162, 162, 163, 163, 164, 164, 164, + 165, 165, 166, 166, 167, 167, 168, 168, 168, 169, + 169, 170, 170, 171, 171, 172, 172, 173, 173, 174, + 174, 174, 175, 175, 176, 176, 176, 177, 177, 177, + 178, 178, 178, 179, 179, 179, 180, 180, 180, 181, + 181, 181, 182, 182, 182, 183, 183, 184, 184, 185, + 185, 185, 186, 186, 187, 187, 188, 188, 190, 202, + 203, 204, 204, 204, 204, 204, 206, 218, 219, 220, + 220, 220, 220, 222, 231, 240, 251, 260, 269, 278, + 291, 306, 315, 324, 333, 342, 351, 360, 369, 378, + 387, 396, 405, 414, 421, 428, 437, 446, 460, 469, + 478, 485, 492, 499, 507, 514, 521, 528, 535, 543, + 551, 559, 566, 573, 582, 591, 598, 605, 613, 621, + 631, 641, 654, 665, 673, 686, 695, 704, 713, 723, + 731, 744, 753, 761, 770, 778, 791, 800, 807, 817, + 827, 837, 847, 857, 867, 877, 887, 894, 901, 908, + 917, 926, 935, 942, 952, 969, 976, 994, 1007, 1020, + 1029, 1038, 1047, 1056, 1066, 1076, 1085, 1094, 1101, 1110, + 1119, 1128, 1136, 1149, 1157, 1181, 1188, 1203, 1213, 1223, + 1230, 1237, 1246, 1255, 1263, 1276, 1289, 1302, 1311, 1321, + 1328, 1335, 1344, 1354, 1364, 1371, 1378, 1387, 1392, 1393, + 1394, 1394, 1394, 1395, 1395, 1395, 1396, 1396, 1398, 1408, + 1417, 1424, 1434, 1441, 1448, 1455, 1462, 1467, 1468, 1469, + 1469, 1470, 1470, 1471, 1471, 1472, 1473, 1474, 1475, 1476, + 1477, 1479, 1487, 1494, 1502, 1510, 1517, 1524, 1533, 1542, + 1551, 1560, 1569, 1578, 1583, 1584, 1585, 1587 }; #endif @@ -968,7 +991,10 @@ static const char *const yytname[] = "VAR_DNSTAP_LOG_CLIENT_RESPONSE_MESSAGES", "VAR_DNSTAP_LOG_FORWARDER_QUERY_MESSAGES", "VAR_DNSTAP_LOG_FORWARDER_RESPONSE_MESSAGES", - "VAR_HARDEN_ALGO_DOWNGRADE", "VAR_IP_TRANSPARENT", "$accept", + "VAR_HARDEN_ALGO_DOWNGRADE", "VAR_IP_TRANSPARENT", "VAR_RATELIMIT", + "VAR_RATELIMIT_SLABS", "VAR_RATELIMIT_SIZE", "VAR_RATELIMIT_FOR_DOMAIN", + "VAR_RATELIMIT_BELOW_DOMAIN", "VAR_RATELIMIT_FACTOR", + "VAR_CAPS_WHITELIST", "VAR_CACHE_MAX_NEGATIVE_TTL", "$accept", "toplevelvars", "toplevelvar", "serverstart", "contents_server", "content_server", "stubstart", "contents_stub", "content_stub", "forwardstart", "contents_forward", "content_forward", @@ -1002,12 +1028,13 @@ static const char *const yytname[] = "server_harden_glue", "server_harden_dnssec_stripped", "server_harden_below_nxdomain", "server_harden_referral_path", "server_harden_algo_downgrade", "server_use_caps_for_id", - "server_private_address", "server_private_domain", "server_prefetch", - "server_prefetch_key", "server_unwanted_reply_threshold", - "server_do_not_query_address", "server_do_not_query_localhost", - "server_access_control", "server_module_conf", - "server_val_override_date", "server_val_sig_skew_min", - "server_val_sig_skew_max", "server_cache_max_ttl", + "server_caps_whitelist", "server_private_address", + "server_private_domain", "server_prefetch", "server_prefetch_key", + "server_unwanted_reply_threshold", "server_do_not_query_address", + "server_do_not_query_localhost", "server_access_control", + "server_module_conf", "server_val_override_date", + "server_val_sig_skew_min", "server_val_sig_skew_max", + "server_cache_max_ttl", "server_cache_max_negative_ttl", "server_cache_min_ttl", "server_bogus_ttl", "server_val_clean_additional", "server_val_permissive_mode", "server_ignore_cd_flag", "server_val_log_level", @@ -1016,15 +1043,17 @@ static const char *const yytname[] = "server_key_cache_slabs", "server_neg_cache_size", "server_local_zone", "server_local_data", "server_local_data_ptr", "server_minimal_responses", "server_rrset_roundrobin", "server_max_udp_size", "server_dns64_prefix", - "server_dns64_synthall", "stub_name", "stub_host", "stub_addr", - "stub_first", "stub_prime", "forward_name", "forward_host", - "forward_addr", "forward_first", "rcstart", "contents_rc", "content_rc", - "rc_control_enable", "rc_control_port", "rc_control_interface", - "rc_control_use_cert", "rc_server_key_file", "rc_server_cert_file", - "rc_control_key_file", "rc_control_cert_file", "dtstart", "contents_dt", - "content_dt", "dt_dnstap_enable", "dt_dnstap_socket_path", - "dt_dnstap_send_identity", "dt_dnstap_send_version", - "dt_dnstap_identity", "dt_dnstap_version", + "server_dns64_synthall", "server_ratelimit", "server_ratelimit_size", + "server_ratelimit_slabs", "server_ratelimit_for_domain", + "server_ratelimit_below_domain", "server_ratelimit_factor", "stub_name", + "stub_host", "stub_addr", "stub_first", "stub_prime", "forward_name", + "forward_host", "forward_addr", "forward_first", "rcstart", + "contents_rc", "content_rc", "rc_control_enable", "rc_control_port", + "rc_control_interface", "rc_control_use_cert", "rc_server_key_file", + "rc_server_cert_file", "rc_control_key_file", "rc_control_cert_file", + "dtstart", "contents_dt", "content_dt", "dt_dnstap_enable", + "dt_dnstap_socket_path", "dt_dnstap_send_identity", + "dt_dnstap_send_version", "dt_dnstap_identity", "dt_dnstap_version", "dt_dnstap_log_resolver_query_messages", "dt_dnstap_log_resolver_response_messages", "dt_dnstap_log_client_query_messages", @@ -1055,28 +1084,29 @@ static const yytype_uint16 yytoknum[] = 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, - 405, 406, 407 + 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, + 415 }; # endif /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ static const yytype_uint16 yyr1[] = { - 0, 153, 154, 154, 155, 155, 155, 155, 155, 155, - 156, 157, 157, 158, 158, 158, 158, 158, 158, 158, - 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, - 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, - 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, - 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, - 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, - 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, - 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, - 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, - 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, - 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, - 159, 160, 160, 161, 161, 161, 161, 161, 162, 163, - 163, 164, 164, 164, 164, 165, 166, 167, 168, 169, - 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, + 0, 161, 162, 162, 163, 163, 163, 163, 163, 163, + 164, 165, 165, 166, 166, 166, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 166, 167, 168, + 168, 169, 169, 169, 169, 169, 170, 171, 171, 172, + 172, 172, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, @@ -1087,12 +1117,13 @@ static const yytype_uint16 yyr1[] = 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, - 280, 281, 282, 282, 283, 283, 283, 283, 283, 283, - 283, 283, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 293, 294, 294, 294, 294, 294, 294, 294, - 294, 294, 294, 294, 294, 295, 296, 297, 298, 299, - 300, 301, 302, 303, 304, 305, 306, 307, 308, 308, - 309, 310 + 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 298, + 299, 299, 299, 299, 299, 299, 299, 299, 300, 301, + 302, 303, 304, 305, 306, 307, 308, 309, 309, 310, + 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, + 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, + 320, 321, 322, 323, 324, 324, 325, 326 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ @@ -1110,8 +1141,9 @@ static const yytype_uint8 yyr2[] = 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 2, 0, 1, 1, 1, 1, 1, 1, 2, - 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, + 0, 1, 1, 1, 1, 1, 1, 2, 0, 1, + 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, @@ -1119,16 +1151,16 @@ static const yytype_uint8 yyr2[] = 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 1, 2, 0, 1, 1, 1, 1, 1, 1, - 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, - 1, 2, 0, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 0, - 1, 2 + 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, + 2, 2, 2, 2, 2, 2, 1, 2, 0, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 1, 2, 0, 1, 2 }; /* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM. @@ -1136,8 +1168,8 @@ static const yytype_uint8 yyr2[] = means the default is an error. */ static const yytype_uint16 yydefact[] = { - 2, 0, 1, 10, 120, 128, 251, 297, 270, 3, - 12, 122, 130, 253, 272, 299, 4, 5, 6, 8, + 2, 0, 1, 10, 128, 136, 267, 313, 286, 3, + 12, 130, 138, 269, 288, 315, 4, 5, 6, 8, 9, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -1148,60 +1180,63 @@ static const yytype_uint16 yydefact[] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, - 13, 14, 70, 73, 82, 15, 21, 61, 16, 74, - 75, 32, 54, 69, 17, 18, 19, 20, 104, 105, - 106, 107, 108, 71, 60, 86, 103, 22, 23, 24, - 25, 26, 62, 76, 77, 92, 48, 58, 49, 87, - 42, 43, 44, 45, 96, 100, 112, 119, 97, 55, - 27, 28, 29, 84, 113, 114, 30, 31, 33, 34, - 36, 37, 35, 117, 38, 39, 40, 46, 65, 101, - 79, 118, 72, 80, 81, 98, 99, 85, 41, 63, - 66, 47, 50, 88, 89, 64, 90, 51, 52, 53, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 11, 13, 14, + 70, 73, 82, 15, 21, 61, 16, 74, 75, 32, + 54, 69, 17, 18, 19, 20, 104, 105, 106, 107, + 108, 71, 60, 86, 103, 22, 23, 24, 25, 26, + 62, 76, 77, 92, 48, 58, 49, 87, 42, 43, + 44, 45, 96, 100, 112, 119, 97, 55, 27, 28, + 29, 84, 113, 114, 30, 31, 33, 34, 36, 37, + 35, 117, 38, 39, 40, 46, 65, 101, 79, 118, + 72, 126, 80, 81, 98, 99, 85, 41, 63, 66, + 47, 50, 88, 89, 64, 127, 90, 51, 52, 53, 102, 91, 59, 93, 94, 95, 56, 57, 78, 67, - 68, 83, 109, 110, 111, 115, 116, 0, 0, 0, - 0, 0, 121, 123, 124, 125, 127, 126, 0, 0, - 0, 0, 129, 131, 132, 133, 134, 0, 0, 0, - 0, 0, 0, 0, 0, 252, 254, 256, 255, 261, - 257, 258, 259, 260, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 271, 273, 274, 275, - 276, 277, 278, 279, 280, 281, 282, 283, 284, 0, - 298, 300, 136, 135, 140, 143, 141, 149, 150, 151, - 152, 162, 163, 164, 165, 166, 185, 186, 187, 191, - 192, 146, 193, 194, 197, 195, 196, 199, 200, 201, - 213, 175, 176, 177, 178, 202, 216, 171, 173, 217, - 222, 223, 224, 147, 184, 231, 232, 172, 227, 159, - 142, 167, 214, 220, 203, 0, 0, 235, 148, 137, - 158, 207, 138, 144, 145, 168, 169, 233, 205, 208, - 209, 139, 236, 188, 212, 160, 174, 218, 219, 221, - 226, 170, 230, 228, 229, 179, 183, 210, 211, 180, - 181, 204, 225, 161, 153, 154, 155, 156, 157, 237, - 238, 239, 189, 190, 198, 240, 241, 206, 182, 242, - 243, 244, 246, 245, 247, 248, 249, 250, 262, 264, - 263, 266, 267, 268, 269, 265, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 301, 215, - 234 + 68, 83, 109, 110, 111, 115, 116, 120, 122, 121, + 123, 124, 125, 0, 0, 0, 0, 0, 129, 131, + 132, 133, 135, 134, 0, 0, 0, 0, 137, 139, + 140, 141, 142, 0, 0, 0, 0, 0, 0, 0, + 0, 268, 270, 272, 271, 277, 273, 274, 275, 276, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 287, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 314, 316, 144, 143, + 148, 151, 149, 157, 158, 159, 160, 170, 171, 172, + 173, 174, 193, 194, 195, 199, 200, 154, 201, 202, + 205, 203, 204, 207, 208, 209, 222, 183, 184, 185, + 186, 210, 225, 179, 181, 226, 232, 233, 234, 155, + 192, 241, 242, 180, 237, 167, 150, 175, 223, 229, + 211, 0, 0, 245, 156, 145, 166, 215, 146, 152, + 153, 176, 177, 243, 213, 217, 218, 147, 246, 196, + 221, 168, 182, 227, 228, 231, 236, 178, 240, 238, + 239, 187, 191, 219, 220, 188, 189, 212, 235, 169, + 161, 162, 163, 164, 165, 247, 248, 249, 197, 198, + 206, 250, 251, 214, 190, 252, 254, 253, 0, 0, + 257, 216, 230, 258, 259, 260, 262, 261, 263, 264, + 265, 266, 278, 280, 279, 282, 283, 284, 285, 281, + 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, + 311, 312, 317, 224, 244, 255, 256 }; /* YYDEFGOTO[NTERM-NUM]. */ static const yytype_int16 yydefgoto[] = { - -1, 1, 9, 10, 16, 129, 11, 17, 242, 12, - 18, 252, 130, 131, 132, 133, 134, 135, 136, 137, - 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, - 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, - 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, - 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, - 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, - 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, - 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, - 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, - 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, - 228, 229, 230, 231, 232, 233, 234, 235, 236, 243, - 244, 245, 246, 247, 253, 254, 255, 256, 13, 19, - 265, 266, 267, 268, 269, 270, 271, 272, 273, 14, - 20, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 15, 21, 300, 301 + -1, 1, 9, 10, 16, 137, 11, 17, 258, 12, + 18, 268, 138, 139, 140, 141, 142, 143, 144, 145, + 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, + 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, + 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, + 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, + 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, + 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, + 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, + 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, + 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, + 246, 247, 248, 249, 250, 251, 252, 259, 260, 261, + 262, 263, 269, 270, 271, 272, 13, 19, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 14, 20, 302, + 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, + 313, 314, 15, 21, 316, 317 }; /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing @@ -1210,18 +1245,19 @@ static const yytype_int16 yydefgoto[] = static const yytype_int16 yypact[] = { -81, 116, -81, -81, -81, -81, -81, -81, -81, -81, - -81, -81, -81, -81, -81, -81, -12, 41, 47, 39, - 3, -80, 16, 17, 18, 22, 23, 24, 66, 67, - 69, 72, 73, 78, 107, 126, 127, 128, 145, 146, - 147, 148, 149, 151, 152, 153, 154, 155, 156, 157, - 158, 159, 161, 162, 163, 164, 166, 167, 168, 169, - 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, - 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, - 190, 191, 192, 193, 195, 196, 197, 198, 199, 200, - 201, 202, 203, 204, 205, 206, 207, 208, 209, 211, - 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, - 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, - 232, 233, 234, 235, 236, 237, 238, 239, 240, -81, + -81, -81, -81, -81, -81, -81, -12, 89, 47, -13, + 22, -80, 16, 17, 18, 23, 24, 78, 107, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 139, 140, + 141, 142, 143, 145, 146, 147, 148, 149, 163, 164, + 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, + 176, 177, 178, 180, 181, 182, 183, 184, 185, 186, + 187, 188, 189, 190, 191, 192, 193, 195, 196, 197, + 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, + 209, 211, 212, 213, 214, 215, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, + 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, + 240, 241, 242, 243, 245, 246, 247, 248, 249, 250, + 251, 252, 253, 254, 255, 256, 257, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, @@ -1232,28 +1268,29 @@ static const yytype_int16 yypact[] = -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, - -81, -81, -81, -81, -81, -81, -81, 241, 242, 243, - 245, 246, -81, -81, -81, -81, -81, -81, 247, 248, - 249, 250, -81, -81, -81, -81, -81, 251, 252, 253, - 254, 255, 256, 257, 258, -81, -81, -81, -81, -81, - -81, -81, -81, -81, 259, 260, 261, 262, 263, 264, - 265, 266, 267, 268, 269, 270, -81, -81, -81, -81, - -81, -81, -81, -81, -81, -81, -81, -81, -81, 271, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, + -81, -81, -81, 258, 259, 260, 261, 262, -81, -81, + -81, -81, -81, -81, 263, 264, 265, 266, -81, -81, + -81, -81, -81, 267, 268, 269, 270, 271, 272, 273, + 274, -81, -81, -81, -81, -81, -81, -81, -81, -81, + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, + 285, 286, -81, -81, -81, -81, -81, -81, -81, -81, + -81, -81, -81, -81, -81, 287, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, - -81, -81, -81, -81, -81, 272, 273, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, + -81, 288, 289, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, + -81, -81, -81, -81, -81, -81, -81, -81, 290, 291, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, - -81 + -81, -81, -81, -81, -81, -81, -81 }; /* YYPGOTO[NTERM-NUM]. */ @@ -1274,7 +1311,8 @@ static const yytype_int8 yypgoto[] = -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, - -81, -81, -81, -81, -81, -81, -81, -81 + -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, + -81, -81, -81, -81, -81, -81 }; /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If @@ -1285,33 +1323,35 @@ static const yytype_uint16 yytable[] = { 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, - 42, 43, 44, 45, 46, 299, 302, 303, 304, 47, - 48, 49, 305, 306, 307, 50, 51, 52, 53, 54, + 42, 43, 44, 45, 46, 315, 318, 319, 320, 47, + 48, 49, 0, 321, 322, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, - 85, 86, 87, 88, 89, 90, 308, 309, 237, 310, - 238, 239, 311, 312, 248, 91, 92, 93, 313, 94, - 95, 96, 249, 250, 97, 98, 99, 100, 101, 102, + 85, 86, 87, 88, 89, 90, 273, 274, 275, 276, + 277, 278, 279, 280, 264, 91, 92, 93, 323, 94, + 95, 96, 265, 266, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, - 113, 114, 115, 116, 117, 118, 2, 314, 119, 120, - 121, 122, 123, 124, 125, 126, 0, 3, 257, 258, - 259, 260, 261, 262, 263, 264, 315, 316, 317, 127, - 128, 240, 274, 275, 276, 277, 278, 279, 280, 281, - 282, 283, 284, 285, 4, 318, 319, 320, 321, 322, - 5, 323, 324, 325, 326, 327, 328, 329, 330, 331, - 241, 332, 333, 334, 335, 251, 336, 337, 338, 339, - 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, - 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, - 360, 361, 362, 363, 6, 364, 365, 366, 367, 368, - 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, - 7, 379, 380, 381, 382, 383, 384, 385, 386, 387, - 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, - 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, - 408, 409, 410, 411, 8, 412, 413, 414, 415, 416, - 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, - 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, - 437, 438, 439, 440 + 113, 114, 115, 116, 117, 118, 2, 324, 119, 120, + 121, 122, 123, 124, 125, 126, 253, 3, 254, 255, + 325, 326, 327, 328, 329, 330, 331, 332, 333, 127, + 128, 129, 130, 131, 132, 133, 134, 135, 136, 334, + 335, 336, 337, 338, 4, 339, 340, 341, 342, 343, + 5, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 300, 301, 344, 345, 267, 346, 347, 348, 349, + 350, 351, 352, 353, 354, 355, 356, 357, 358, 256, + 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, + 369, 370, 371, 372, 6, 373, 374, 375, 376, 377, + 378, 379, 380, 381, 382, 383, 384, 385, 257, 386, + 7, 387, 388, 389, 390, 391, 392, 393, 394, 395, + 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, + 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, + 416, 417, 418, 419, 8, 420, 421, 422, 423, 424, + 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, + 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, + 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, + 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, + 465, 466 }; #define yypact_value_is_default(Yystate) \ @@ -1325,41 +1365,43 @@ static const yytype_int16 yycheck[] = 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 105, 10, 10, 10, 41, - 42, 43, 10, 10, 10, 47, 48, 49, 50, 51, + 42, 43, -1, 10, 10, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, - 82, 83, 84, 85, 86, 87, 10, 10, 37, 10, - 39, 40, 10, 10, 37, 97, 98, 99, 10, 101, + 82, 83, 84, 85, 86, 87, 89, 90, 91, 92, + 93, 94, 95, 96, 37, 97, 98, 99, 10, 101, 102, 103, 45, 46, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 0, 10, 130, 131, - 132, 133, 134, 135, 136, 137, -1, 11, 89, 90, - 91, 92, 93, 94, 95, 96, 10, 10, 10, 151, - 152, 100, 139, 140, 141, 142, 143, 144, 145, 146, - 147, 148, 149, 150, 38, 10, 10, 10, 10, 10, - 44, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 129, 10, 10, 10, 10, 128, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 132, 133, 134, 135, 136, 137, 37, 11, 39, 40, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 151, + 152, 153, 154, 155, 156, 157, 158, 159, 160, 10, + 10, 10, 10, 10, 38, 10, 10, 10, 10, 10, + 44, 139, 140, 141, 142, 143, 144, 145, 146, 147, + 148, 149, 150, 10, 10, 128, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 100, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 88, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 129, 10, 104, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 138, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10 + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10 }; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing symbol of state STATE-NUM. */ static const yytype_uint16 yystos[] = { - 0, 154, 0, 11, 38, 44, 88, 104, 138, 155, - 156, 159, 162, 281, 292, 307, 157, 160, 163, 282, - 293, 308, 12, 13, 14, 15, 16, 17, 18, 19, + 0, 162, 0, 11, 38, 44, 88, 104, 138, 163, + 164, 167, 170, 297, 308, 323, 165, 168, 171, 298, + 309, 324, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 41, 42, 43, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, @@ -1369,8 +1411,8 @@ static const yytype_uint16 yystos[] = 87, 97, 98, 99, 101, 102, 103, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 130, - 131, 132, 133, 134, 135, 136, 137, 151, 152, 158, - 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, + 131, 132, 133, 134, 135, 136, 137, 151, 152, 153, + 154, 155, 156, 157, 158, 159, 160, 166, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, @@ -1380,14 +1422,15 @@ static const yytype_uint16 yystos[] = 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, - 265, 266, 267, 268, 269, 270, 271, 37, 39, 40, - 100, 129, 161, 272, 273, 274, 275, 276, 37, 45, - 46, 128, 164, 277, 278, 279, 280, 89, 90, 91, - 92, 93, 94, 95, 96, 283, 284, 285, 286, 287, - 288, 289, 290, 291, 139, 140, 141, 142, 143, 144, - 145, 146, 147, 148, 149, 150, 294, 295, 296, 297, - 298, 299, 300, 301, 302, 303, 304, 305, 306, 105, - 309, 310, 10, 10, 10, 10, 10, 10, 10, 10, + 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, + 285, 286, 287, 37, 39, 40, 100, 129, 169, 288, + 289, 290, 291, 292, 37, 45, 46, 128, 172, 293, + 294, 295, 296, 89, 90, 91, 92, 93, 94, 95, + 96, 299, 300, 301, 302, 303, 304, 305, 306, 307, + 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, + 149, 150, 310, 311, 312, 313, 314, 315, 316, 317, + 318, 319, 320, 321, 322, 105, 325, 326, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, @@ -1401,7 +1444,8 @@ static const yytype_uint16 yystos[] = 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10 + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10 }; #define yyerrok (yyerrstatus = 0) @@ -2203,15 +2247,15 @@ yyreduce: { case 10: /* Line 1792 of yacc.c */ -#line 132 "./util/configparser.y" +#line 135 "./util/configparser.y" { OUTYY(("\nP(server:)\n")); } break; - case 120: + case 128: /* Line 1792 of yacc.c */ -#line 185 "./util/configparser.y" +#line 191 "./util/configparser.y" { struct config_stub* s; OUTYY(("\nP(stub_zone:)\n")); @@ -2224,9 +2268,9 @@ yyreduce: } break; - case 128: + case 136: /* Line 1792 of yacc.c */ -#line 201 "./util/configparser.y" +#line 207 "./util/configparser.y" { struct config_stub* s; OUTYY(("\nP(forward_zone:)\n")); @@ -2239,9 +2283,9 @@ yyreduce: } break; - case 135: + case 143: /* Line 1792 of yacc.c */ -#line 217 "./util/configparser.y" +#line 223 "./util/configparser.y" { OUTYY(("P(server_num_threads:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) @@ -2251,9 +2295,9 @@ yyreduce: } break; - case 136: + case 144: /* Line 1792 of yacc.c */ -#line 226 "./util/configparser.y" +#line 232 "./util/configparser.y" { OUTYY(("P(server_verbosity:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) @@ -2263,9 +2307,9 @@ yyreduce: } break; - case 137: + case 145: /* Line 1792 of yacc.c */ -#line 235 "./util/configparser.y" +#line 241 "./util/configparser.y" { OUTYY(("P(server_statistics_interval:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "") == 0 || strcmp((yyvsp[(2) - (2)].str), "0") == 0) @@ -2277,9 +2321,9 @@ yyreduce: } break; - case 138: + case 146: /* Line 1792 of yacc.c */ -#line 246 "./util/configparser.y" +#line 252 "./util/configparser.y" { OUTYY(("P(server_statistics_cumulative:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2289,9 +2333,9 @@ yyreduce: } break; - case 139: + case 147: /* Line 1792 of yacc.c */ -#line 255 "./util/configparser.y" +#line 261 "./util/configparser.y" { OUTYY(("P(server_extended_statistics:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2301,9 +2345,9 @@ yyreduce: } break; - case 140: + case 148: /* Line 1792 of yacc.c */ -#line 264 "./util/configparser.y" +#line 270 "./util/configparser.y" { OUTYY(("P(server_port:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0) @@ -2313,9 +2357,9 @@ yyreduce: } break; - case 141: + case 149: /* Line 1792 of yacc.c */ -#line 273 "./util/configparser.y" +#line 279 "./util/configparser.y" { OUTYY(("P(server_interface:%s)\n", (yyvsp[(2) - (2)].str))); if(cfg_parser->cfg->num_ifs == 0) @@ -2329,9 +2373,9 @@ yyreduce: } break; - case 142: + case 150: /* Line 1792 of yacc.c */ -#line 286 "./util/configparser.y" +#line 292 "./util/configparser.y" { OUTYY(("P(server_outgoing_interface:%s)\n", (yyvsp[(2) - (2)].str))); if(cfg_parser->cfg->num_out_ifs == 0) @@ -2347,9 +2391,9 @@ yyreduce: } break; - case 143: + case 151: /* Line 1792 of yacc.c */ -#line 301 "./util/configparser.y" +#line 307 "./util/configparser.y" { OUTYY(("P(server_outgoing_range:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0) @@ -2359,9 +2403,9 @@ yyreduce: } break; - case 144: + case 152: /* Line 1792 of yacc.c */ -#line 310 "./util/configparser.y" +#line 316 "./util/configparser.y" { OUTYY(("P(server_outgoing_port_permit:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_mark_ports((yyvsp[(2) - (2)].str), 1, @@ -2371,9 +2415,9 @@ yyreduce: } break; - case 145: + case 153: /* Line 1792 of yacc.c */ -#line 319 "./util/configparser.y" +#line 325 "./util/configparser.y" { OUTYY(("P(server_outgoing_port_avoid:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_mark_ports((yyvsp[(2) - (2)].str), 0, @@ -2383,9 +2427,9 @@ yyreduce: } break; - case 146: + case 154: /* Line 1792 of yacc.c */ -#line 328 "./util/configparser.y" +#line 334 "./util/configparser.y" { OUTYY(("P(server_outgoing_num_tcp:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) @@ -2395,9 +2439,9 @@ yyreduce: } break; - case 147: + case 155: /* Line 1792 of yacc.c */ -#line 337 "./util/configparser.y" +#line 343 "./util/configparser.y" { OUTYY(("P(server_incoming_num_tcp:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) @@ -2407,9 +2451,9 @@ yyreduce: } break; - case 148: + case 156: /* Line 1792 of yacc.c */ -#line 346 "./util/configparser.y" +#line 352 "./util/configparser.y" { OUTYY(("P(server_interface_automatic:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2419,9 +2463,9 @@ yyreduce: } break; - case 149: + case 157: /* Line 1792 of yacc.c */ -#line 355 "./util/configparser.y" +#line 361 "./util/configparser.y" { OUTYY(("P(server_do_ip4:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2431,9 +2475,9 @@ yyreduce: } break; - case 150: + case 158: /* Line 1792 of yacc.c */ -#line 364 "./util/configparser.y" +#line 370 "./util/configparser.y" { OUTYY(("P(server_do_ip6:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2443,9 +2487,9 @@ yyreduce: } break; - case 151: + case 159: /* Line 1792 of yacc.c */ -#line 373 "./util/configparser.y" +#line 379 "./util/configparser.y" { OUTYY(("P(server_do_udp:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2455,9 +2499,9 @@ yyreduce: } break; - case 152: + case 160: /* Line 1792 of yacc.c */ -#line 382 "./util/configparser.y" +#line 388 "./util/configparser.y" { OUTYY(("P(server_do_tcp:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2467,9 +2511,9 @@ yyreduce: } break; - case 153: + case 161: /* Line 1792 of yacc.c */ -#line 391 "./util/configparser.y" +#line 397 "./util/configparser.y" { OUTYY(("P(server_tcp_upstream:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2479,9 +2523,9 @@ yyreduce: } break; - case 154: + case 162: /* Line 1792 of yacc.c */ -#line 400 "./util/configparser.y" +#line 406 "./util/configparser.y" { OUTYY(("P(server_ssl_upstream:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2491,9 +2535,9 @@ yyreduce: } break; - case 155: + case 163: /* Line 1792 of yacc.c */ -#line 409 "./util/configparser.y" +#line 415 "./util/configparser.y" { OUTYY(("P(server_ssl_service_key:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->ssl_service_key); @@ -2501,9 +2545,9 @@ yyreduce: } break; - case 156: + case 164: /* Line 1792 of yacc.c */ -#line 416 "./util/configparser.y" +#line 422 "./util/configparser.y" { OUTYY(("P(server_ssl_service_pem:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->ssl_service_pem); @@ -2511,9 +2555,9 @@ yyreduce: } break; - case 157: + case 165: /* Line 1792 of yacc.c */ -#line 423 "./util/configparser.y" +#line 429 "./util/configparser.y" { OUTYY(("P(server_ssl_port:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0) @@ -2523,9 +2567,9 @@ yyreduce: } break; - case 158: + case 166: /* Line 1792 of yacc.c */ -#line 432 "./util/configparser.y" +#line 438 "./util/configparser.y" { OUTYY(("P(server_do_daemonize:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2535,9 +2579,9 @@ yyreduce: } break; - case 159: + case 167: /* Line 1792 of yacc.c */ -#line 441 "./util/configparser.y" +#line 447 "./util/configparser.y" { OUTYY(("P(server_use_syslog:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2552,9 +2596,9 @@ yyreduce: } break; - case 160: + case 168: /* Line 1792 of yacc.c */ -#line 455 "./util/configparser.y" +#line 461 "./util/configparser.y" { OUTYY(("P(server_log_time_ascii:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2564,9 +2608,9 @@ yyreduce: } break; - case 161: + case 169: /* Line 1792 of yacc.c */ -#line 464 "./util/configparser.y" +#line 470 "./util/configparser.y" { OUTYY(("P(server_log_queries:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2576,9 +2620,9 @@ yyreduce: } break; - case 162: + case 170: /* Line 1792 of yacc.c */ -#line 473 "./util/configparser.y" +#line 479 "./util/configparser.y" { OUTYY(("P(server_chroot:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->chrootdir); @@ -2586,9 +2630,9 @@ yyreduce: } break; - case 163: + case 171: /* Line 1792 of yacc.c */ -#line 480 "./util/configparser.y" +#line 486 "./util/configparser.y" { OUTYY(("P(server_username:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->username); @@ -2596,9 +2640,9 @@ yyreduce: } break; - case 164: + case 172: /* Line 1792 of yacc.c */ -#line 487 "./util/configparser.y" +#line 493 "./util/configparser.y" { OUTYY(("P(server_directory:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->directory); @@ -2606,9 +2650,9 @@ yyreduce: } break; - case 165: + case 173: /* Line 1792 of yacc.c */ -#line 494 "./util/configparser.y" +#line 500 "./util/configparser.y" { OUTYY(("P(server_logfile:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->logfile); @@ -2617,9 +2661,9 @@ yyreduce: } break; - case 166: + case 174: /* Line 1792 of yacc.c */ -#line 502 "./util/configparser.y" +#line 508 "./util/configparser.y" { OUTYY(("P(server_pidfile:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->pidfile); @@ -2627,9 +2671,9 @@ yyreduce: } break; - case 167: + case 175: /* Line 1792 of yacc.c */ -#line 509 "./util/configparser.y" +#line 515 "./util/configparser.y" { OUTYY(("P(server_root_hints:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_strlist_insert(&cfg_parser->cfg->root_hints, (yyvsp[(2) - (2)].str))) @@ -2637,9 +2681,9 @@ yyreduce: } break; - case 168: + case 176: /* Line 1792 of yacc.c */ -#line 516 "./util/configparser.y" +#line 522 "./util/configparser.y" { OUTYY(("P(server_dlv_anchor_file:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->dlv_anchor_file); @@ -2647,9 +2691,9 @@ yyreduce: } break; - case 169: + case 177: /* Line 1792 of yacc.c */ -#line 523 "./util/configparser.y" +#line 529 "./util/configparser.y" { OUTYY(("P(server_dlv_anchor:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_strlist_insert(&cfg_parser->cfg->dlv_anchor_list, (yyvsp[(2) - (2)].str))) @@ -2657,9 +2701,9 @@ yyreduce: } break; - case 170: + case 178: /* Line 1792 of yacc.c */ -#line 530 "./util/configparser.y" +#line 536 "./util/configparser.y" { OUTYY(("P(server_auto_trust_anchor_file:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_strlist_insert(&cfg_parser->cfg-> @@ -2668,9 +2712,9 @@ yyreduce: } break; - case 171: + case 179: /* Line 1792 of yacc.c */ -#line 538 "./util/configparser.y" +#line 544 "./util/configparser.y" { OUTYY(("P(server_trust_anchor_file:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_strlist_insert(&cfg_parser->cfg-> @@ -2679,9 +2723,9 @@ yyreduce: } break; - case 172: + case 180: /* Line 1792 of yacc.c */ -#line 546 "./util/configparser.y" +#line 552 "./util/configparser.y" { OUTYY(("P(server_trusted_keys_file:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_strlist_insert(&cfg_parser->cfg-> @@ -2690,9 +2734,9 @@ yyreduce: } break; - case 173: + case 181: /* Line 1792 of yacc.c */ -#line 554 "./util/configparser.y" +#line 560 "./util/configparser.y" { OUTYY(("P(server_trust_anchor:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_strlist_insert(&cfg_parser->cfg->trust_anchor_list, (yyvsp[(2) - (2)].str))) @@ -2700,9 +2744,9 @@ yyreduce: } break; - case 174: + case 182: /* Line 1792 of yacc.c */ -#line 561 "./util/configparser.y" +#line 567 "./util/configparser.y" { OUTYY(("P(server_domain_insecure:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_strlist_insert(&cfg_parser->cfg->domain_insecure, (yyvsp[(2) - (2)].str))) @@ -2710,9 +2754,9 @@ yyreduce: } break; - case 175: + case 183: /* Line 1792 of yacc.c */ -#line 568 "./util/configparser.y" +#line 574 "./util/configparser.y" { OUTYY(("P(server_hide_identity:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2722,9 +2766,9 @@ yyreduce: } break; - case 176: + case 184: /* Line 1792 of yacc.c */ -#line 577 "./util/configparser.y" +#line 583 "./util/configparser.y" { OUTYY(("P(server_hide_version:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2734,9 +2778,9 @@ yyreduce: } break; - case 177: + case 185: /* Line 1792 of yacc.c */ -#line 586 "./util/configparser.y" +#line 592 "./util/configparser.y" { OUTYY(("P(server_identity:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->identity); @@ -2744,9 +2788,9 @@ yyreduce: } break; - case 178: + case 186: /* Line 1792 of yacc.c */ -#line 593 "./util/configparser.y" +#line 599 "./util/configparser.y" { OUTYY(("P(server_version:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->version); @@ -2754,9 +2798,9 @@ yyreduce: } break; - case 179: + case 187: /* Line 1792 of yacc.c */ -#line 600 "./util/configparser.y" +#line 606 "./util/configparser.y" { OUTYY(("P(server_so_rcvbuf:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_parse_memsize((yyvsp[(2) - (2)].str), &cfg_parser->cfg->so_rcvbuf)) @@ -2765,9 +2809,9 @@ yyreduce: } break; - case 180: + case 188: /* Line 1792 of yacc.c */ -#line 608 "./util/configparser.y" +#line 614 "./util/configparser.y" { OUTYY(("P(server_so_sndbuf:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_parse_memsize((yyvsp[(2) - (2)].str), &cfg_parser->cfg->so_sndbuf)) @@ -2776,9 +2820,9 @@ yyreduce: } break; - case 181: + case 189: /* Line 1792 of yacc.c */ -#line 616 "./util/configparser.y" +#line 622 "./util/configparser.y" { OUTYY(("P(server_so_reuseport:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2789,9 +2833,9 @@ yyreduce: } break; - case 182: + case 190: /* Line 1792 of yacc.c */ -#line 626 "./util/configparser.y" +#line 632 "./util/configparser.y" { OUTYY(("P(server_ip_transparent:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2802,9 +2846,9 @@ yyreduce: } break; - case 183: + case 191: /* Line 1792 of yacc.c */ -#line 636 "./util/configparser.y" +#line 642 "./util/configparser.y" { OUTYY(("P(server_edns_buffer_size:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0) @@ -2818,9 +2862,9 @@ yyreduce: } break; - case 184: + case 192: /* Line 1792 of yacc.c */ -#line 649 "./util/configparser.y" +#line 655 "./util/configparser.y" { OUTYY(("P(server_msg_buffer_size:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0) @@ -2832,9 +2876,9 @@ yyreduce: } break; - case 185: + case 193: /* Line 1792 of yacc.c */ -#line 660 "./util/configparser.y" +#line 666 "./util/configparser.y" { OUTYY(("P(server_msg_cache_size:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_parse_memsize((yyvsp[(2) - (2)].str), &cfg_parser->cfg->msg_cache_size)) @@ -2843,9 +2887,9 @@ yyreduce: } break; - case 186: + case 194: /* Line 1792 of yacc.c */ -#line 668 "./util/configparser.y" +#line 674 "./util/configparser.y" { OUTYY(("P(server_msg_cache_slabs:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0) @@ -2859,9 +2903,9 @@ yyreduce: } break; - case 187: + case 195: /* Line 1792 of yacc.c */ -#line 681 "./util/configparser.y" +#line 687 "./util/configparser.y" { OUTYY(("P(server_num_queries_per_thread:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0) @@ -2871,9 +2915,9 @@ yyreduce: } break; - case 188: + case 196: /* Line 1792 of yacc.c */ -#line 690 "./util/configparser.y" +#line 696 "./util/configparser.y" { OUTYY(("P(server_jostle_timeout:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) @@ -2883,9 +2927,9 @@ yyreduce: } break; - case 189: + case 197: /* Line 1792 of yacc.c */ -#line 699 "./util/configparser.y" +#line 705 "./util/configparser.y" { OUTYY(("P(server_delay_close:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) @@ -2895,9 +2939,9 @@ yyreduce: } break; - case 190: + case 198: /* Line 1792 of yacc.c */ -#line 708 "./util/configparser.y" +#line 714 "./util/configparser.y" { OUTYY(("P(server_unblock_lan_zones:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -2908,9 +2952,9 @@ yyreduce: } break; - case 191: + case 199: /* Line 1792 of yacc.c */ -#line 718 "./util/configparser.y" +#line 724 "./util/configparser.y" { OUTYY(("P(server_rrset_cache_size:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_parse_memsize((yyvsp[(2) - (2)].str), &cfg_parser->cfg->rrset_cache_size)) @@ -2919,9 +2963,9 @@ yyreduce: } break; - case 192: + case 200: /* Line 1792 of yacc.c */ -#line 726 "./util/configparser.y" +#line 732 "./util/configparser.y" { OUTYY(("P(server_rrset_cache_slabs:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0) @@ -2935,9 +2979,9 @@ yyreduce: } break; - case 193: + case 201: /* Line 1792 of yacc.c */ -#line 739 "./util/configparser.y" +#line 745 "./util/configparser.y" { OUTYY(("P(server_infra_host_ttl:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) @@ -2947,9 +2991,9 @@ yyreduce: } break; - case 194: + case 202: /* Line 1792 of yacc.c */ -#line 748 "./util/configparser.y" +#line 754 "./util/configparser.y" { OUTYY(("P(server_infra_lame_ttl:%s)\n", (yyvsp[(2) - (2)].str))); verbose(VERB_DETAIL, "ignored infra-lame-ttl: %s (option " @@ -2958,9 +3002,9 @@ yyreduce: } break; - case 195: + case 203: /* Line 1792 of yacc.c */ -#line 756 "./util/configparser.y" +#line 762 "./util/configparser.y" { OUTYY(("P(server_infra_cache_numhosts:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0) @@ -2970,9 +3014,9 @@ yyreduce: } break; - case 196: + case 204: /* Line 1792 of yacc.c */ -#line 765 "./util/configparser.y" +#line 771 "./util/configparser.y" { OUTYY(("P(server_infra_cache_lame_size:%s)\n", (yyvsp[(2) - (2)].str))); verbose(VERB_DETAIL, "ignored infra-cache-lame-size: %s " @@ -2981,9 +3025,9 @@ yyreduce: } break; - case 197: + case 205: /* Line 1792 of yacc.c */ -#line 773 "./util/configparser.y" +#line 779 "./util/configparser.y" { OUTYY(("P(server_infra_cache_slabs:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0) @@ -2997,9 +3041,9 @@ yyreduce: } break; - case 198: + case 206: /* Line 1792 of yacc.c */ -#line 786 "./util/configparser.y" +#line 792 "./util/configparser.y" { OUTYY(("P(server_infra_cache_min_rtt:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) @@ -3009,9 +3053,9 @@ yyreduce: } break; - case 199: + case 207: /* Line 1792 of yacc.c */ -#line 795 "./util/configparser.y" +#line 801 "./util/configparser.y" { OUTYY(("P(server_target_fetch_policy:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->target_fetch_policy); @@ -3019,9 +3063,9 @@ yyreduce: } break; - case 200: + case 208: /* Line 1792 of yacc.c */ -#line 802 "./util/configparser.y" +#line 808 "./util/configparser.y" { OUTYY(("P(server_harden_short_bufsize:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3032,9 +3076,9 @@ yyreduce: } break; - case 201: + case 209: /* Line 1792 of yacc.c */ -#line 812 "./util/configparser.y" +#line 818 "./util/configparser.y" { OUTYY(("P(server_harden_large_queries:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3045,9 +3089,9 @@ yyreduce: } break; - case 202: + case 210: /* Line 1792 of yacc.c */ -#line 822 "./util/configparser.y" +#line 828 "./util/configparser.y" { OUTYY(("P(server_harden_glue:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3058,9 +3102,9 @@ yyreduce: } break; - case 203: + case 211: /* Line 1792 of yacc.c */ -#line 832 "./util/configparser.y" +#line 838 "./util/configparser.y" { OUTYY(("P(server_harden_dnssec_stripped:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3071,9 +3115,9 @@ yyreduce: } break; - case 204: + case 212: /* Line 1792 of yacc.c */ -#line 842 "./util/configparser.y" +#line 848 "./util/configparser.y" { OUTYY(("P(server_harden_below_nxdomain:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3084,9 +3128,9 @@ yyreduce: } break; - case 205: + case 213: /* Line 1792 of yacc.c */ -#line 852 "./util/configparser.y" +#line 858 "./util/configparser.y" { OUTYY(("P(server_harden_referral_path:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3097,9 +3141,9 @@ yyreduce: } break; - case 206: + case 214: /* Line 1792 of yacc.c */ -#line 862 "./util/configparser.y" +#line 868 "./util/configparser.y" { OUTYY(("P(server_harden_algo_downgrade:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3110,9 +3154,9 @@ yyreduce: } break; - case 207: + case 215: /* Line 1792 of yacc.c */ -#line 872 "./util/configparser.y" +#line 878 "./util/configparser.y" { OUTYY(("P(server_use_caps_for_id:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3123,9 +3167,19 @@ yyreduce: } break; - case 208: + case 216: +/* Line 1792 of yacc.c */ +#line 888 "./util/configparser.y" + { + OUTYY(("P(server_caps_whitelist:%s)\n", (yyvsp[(2) - (2)].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->caps_whitelist, (yyvsp[(2) - (2)].str))) + yyerror("out of memory"); + } + break; + + case 217: /* Line 1792 of yacc.c */ -#line 882 "./util/configparser.y" +#line 895 "./util/configparser.y" { OUTYY(("P(server_private_address:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_strlist_insert(&cfg_parser->cfg->private_address, (yyvsp[(2) - (2)].str))) @@ -3133,9 +3187,9 @@ yyreduce: } break; - case 209: + case 218: /* Line 1792 of yacc.c */ -#line 889 "./util/configparser.y" +#line 902 "./util/configparser.y" { OUTYY(("P(server_private_domain:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_strlist_insert(&cfg_parser->cfg->private_domain, (yyvsp[(2) - (2)].str))) @@ -3143,9 +3197,9 @@ yyreduce: } break; - case 210: + case 219: /* Line 1792 of yacc.c */ -#line 896 "./util/configparser.y" +#line 909 "./util/configparser.y" { OUTYY(("P(server_prefetch:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3155,9 +3209,9 @@ yyreduce: } break; - case 211: + case 220: /* Line 1792 of yacc.c */ -#line 905 "./util/configparser.y" +#line 918 "./util/configparser.y" { OUTYY(("P(server_prefetch_key:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3167,9 +3221,9 @@ yyreduce: } break; - case 212: + case 221: /* Line 1792 of yacc.c */ -#line 914 "./util/configparser.y" +#line 927 "./util/configparser.y" { OUTYY(("P(server_unwanted_reply_threshold:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) @@ -3179,9 +3233,9 @@ yyreduce: } break; - case 213: + case 222: /* Line 1792 of yacc.c */ -#line 923 "./util/configparser.y" +#line 936 "./util/configparser.y" { OUTYY(("P(server_do_not_query_address:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_strlist_insert(&cfg_parser->cfg->donotqueryaddrs, (yyvsp[(2) - (2)].str))) @@ -3189,9 +3243,9 @@ yyreduce: } break; - case 214: + case 223: /* Line 1792 of yacc.c */ -#line 930 "./util/configparser.y" +#line 943 "./util/configparser.y" { OUTYY(("P(server_do_not_query_localhost:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3202,9 +3256,9 @@ yyreduce: } break; - case 215: + case 224: /* Line 1792 of yacc.c */ -#line 940 "./util/configparser.y" +#line 953 "./util/configparser.y" { OUTYY(("P(server_access_control:%s %s)\n", (yyvsp[(2) - (3)].str), (yyvsp[(3) - (3)].str))); if(strcmp((yyvsp[(3) - (3)].str), "deny")!=0 && strcmp((yyvsp[(3) - (3)].str), "refuse")!=0 && @@ -3222,9 +3276,9 @@ yyreduce: } break; - case 216: + case 225: /* Line 1792 of yacc.c */ -#line 957 "./util/configparser.y" +#line 970 "./util/configparser.y" { OUTYY(("P(server_module_conf:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->module_conf); @@ -3232,9 +3286,9 @@ yyreduce: } break; - case 217: + case 226: /* Line 1792 of yacc.c */ -#line 964 "./util/configparser.y" +#line 977 "./util/configparser.y" { OUTYY(("P(server_val_override_date:%s)\n", (yyvsp[(2) - (2)].str))); if(strlen((yyvsp[(2) - (2)].str)) == 0 || strcmp((yyvsp[(2) - (2)].str), "0") == 0) { @@ -3253,9 +3307,9 @@ yyreduce: } break; - case 218: + case 227: /* Line 1792 of yacc.c */ -#line 982 "./util/configparser.y" +#line 995 "./util/configparser.y" { OUTYY(("P(server_val_sig_skew_min:%s)\n", (yyvsp[(2) - (2)].str))); if(strlen((yyvsp[(2) - (2)].str)) == 0 || strcmp((yyvsp[(2) - (2)].str), "0") == 0) { @@ -3269,9 +3323,9 @@ yyreduce: } break; - case 219: + case 228: /* Line 1792 of yacc.c */ -#line 995 "./util/configparser.y" +#line 1008 "./util/configparser.y" { OUTYY(("P(server_val_sig_skew_max:%s)\n", (yyvsp[(2) - (2)].str))); if(strlen((yyvsp[(2) - (2)].str)) == 0 || strcmp((yyvsp[(2) - (2)].str), "0") == 0) { @@ -3285,9 +3339,9 @@ yyreduce: } break; - case 220: + case 229: /* Line 1792 of yacc.c */ -#line 1008 "./util/configparser.y" +#line 1021 "./util/configparser.y" { OUTYY(("P(server_cache_max_ttl:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) @@ -3297,9 +3351,21 @@ yyreduce: } break; - case 221: + case 230: /* Line 1792 of yacc.c */ -#line 1017 "./util/configparser.y" +#line 1030 "./util/configparser.y" + { + OUTYY(("P(server_cache_max_negative_ttl:%s)\n", (yyvsp[(2) - (2)].str))); + if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->max_negative_ttl = atoi((yyvsp[(2) - (2)].str)); + free((yyvsp[(2) - (2)].str)); + } + break; + + case 231: +/* Line 1792 of yacc.c */ +#line 1039 "./util/configparser.y" { OUTYY(("P(server_cache_min_ttl:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) @@ -3309,9 +3375,9 @@ yyreduce: } break; - case 222: + case 232: /* Line 1792 of yacc.c */ -#line 1026 "./util/configparser.y" +#line 1048 "./util/configparser.y" { OUTYY(("P(server_bogus_ttl:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) @@ -3321,9 +3387,9 @@ yyreduce: } break; - case 223: + case 233: /* Line 1792 of yacc.c */ -#line 1035 "./util/configparser.y" +#line 1057 "./util/configparser.y" { OUTYY(("P(server_val_clean_additional:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3334,9 +3400,9 @@ yyreduce: } break; - case 224: + case 234: /* Line 1792 of yacc.c */ -#line 1045 "./util/configparser.y" +#line 1067 "./util/configparser.y" { OUTYY(("P(server_val_permissive_mode:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3347,9 +3413,9 @@ yyreduce: } break; - case 225: + case 235: /* Line 1792 of yacc.c */ -#line 1055 "./util/configparser.y" +#line 1077 "./util/configparser.y" { OUTYY(("P(server_ignore_cd_flag:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3359,9 +3425,9 @@ yyreduce: } break; - case 226: + case 236: /* Line 1792 of yacc.c */ -#line 1064 "./util/configparser.y" +#line 1086 "./util/configparser.y" { OUTYY(("P(server_val_log_level:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) @@ -3371,9 +3437,9 @@ yyreduce: } break; - case 227: + case 237: /* Line 1792 of yacc.c */ -#line 1073 "./util/configparser.y" +#line 1095 "./util/configparser.y" { OUTYY(("P(server_val_nsec3_keysize_iterations:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->val_nsec3_key_iterations); @@ -3381,9 +3447,9 @@ yyreduce: } break; - case 228: + case 238: /* Line 1792 of yacc.c */ -#line 1080 "./util/configparser.y" +#line 1102 "./util/configparser.y" { OUTYY(("P(server_add_holddown:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) @@ -3393,9 +3459,9 @@ yyreduce: } break; - case 229: + case 239: /* Line 1792 of yacc.c */ -#line 1089 "./util/configparser.y" +#line 1111 "./util/configparser.y" { OUTYY(("P(server_del_holddown:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) @@ -3405,9 +3471,9 @@ yyreduce: } break; - case 230: + case 240: /* Line 1792 of yacc.c */ -#line 1098 "./util/configparser.y" +#line 1120 "./util/configparser.y" { OUTYY(("P(server_keep_missing:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) @@ -3417,9 +3483,9 @@ yyreduce: } break; - case 231: + case 241: /* Line 1792 of yacc.c */ -#line 1107 "./util/configparser.y" +#line 1129 "./util/configparser.y" { OUTYY(("P(server_key_cache_size:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_parse_memsize((yyvsp[(2) - (2)].str), &cfg_parser->cfg->key_cache_size)) @@ -3428,9 +3494,9 @@ yyreduce: } break; - case 232: + case 242: /* Line 1792 of yacc.c */ -#line 1115 "./util/configparser.y" +#line 1137 "./util/configparser.y" { OUTYY(("P(server_key_cache_slabs:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0) @@ -3444,9 +3510,9 @@ yyreduce: } break; - case 233: + case 243: /* Line 1792 of yacc.c */ -#line 1128 "./util/configparser.y" +#line 1150 "./util/configparser.y" { OUTYY(("P(server_neg_cache_size:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_parse_memsize((yyvsp[(2) - (2)].str), &cfg_parser->cfg->neg_cache_size)) @@ -3455,19 +3521,20 @@ yyreduce: } break; - case 234: + case 244: /* Line 1792 of yacc.c */ -#line 1136 "./util/configparser.y" +#line 1158 "./util/configparser.y" { OUTYY(("P(server_local_zone:%s %s)\n", (yyvsp[(2) - (3)].str), (yyvsp[(3) - (3)].str))); if(strcmp((yyvsp[(3) - (3)].str), "static")!=0 && strcmp((yyvsp[(3) - (3)].str), "deny")!=0 && strcmp((yyvsp[(3) - (3)].str), "refuse")!=0 && strcmp((yyvsp[(3) - (3)].str), "redirect")!=0 && strcmp((yyvsp[(3) - (3)].str), "transparent")!=0 && strcmp((yyvsp[(3) - (3)].str), "nodefault")!=0 && strcmp((yyvsp[(3) - (3)].str), "typetransparent")!=0 && - strcmp((yyvsp[(3) - (3)].str), "inform")!=0) + strcmp((yyvsp[(3) - (3)].str), "inform")!=0 && strcmp((yyvsp[(3) - (3)].str), "inform_deny")!=0) yyerror("local-zone type: expected static, deny, " "refuse, redirect, transparent, " - "typetransparent, inform or nodefault"); + "typetransparent, inform, inform_deny " + "or nodefault"); else if(strcmp((yyvsp[(3) - (3)].str), "nodefault")==0) { if(!cfg_strlist_insert(&cfg_parser->cfg-> local_zones_nodefault, (yyvsp[(2) - (3)].str))) @@ -3481,9 +3548,9 @@ yyreduce: } break; - case 235: + case 245: /* Line 1792 of yacc.c */ -#line 1159 "./util/configparser.y" +#line 1182 "./util/configparser.y" { OUTYY(("P(server_local_data:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_strlist_insert(&cfg_parser->cfg->local_data, (yyvsp[(2) - (2)].str))) @@ -3491,9 +3558,9 @@ yyreduce: } break; - case 236: + case 246: /* Line 1792 of yacc.c */ -#line 1166 "./util/configparser.y" +#line 1189 "./util/configparser.y" { char* ptr; OUTYY(("P(server_local_data_ptr:%s)\n", (yyvsp[(2) - (2)].str))); @@ -3509,9 +3576,9 @@ yyreduce: } break; - case 237: + case 247: /* Line 1792 of yacc.c */ -#line 1181 "./util/configparser.y" +#line 1204 "./util/configparser.y" { OUTYY(("P(server_minimal_responses:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3522,9 +3589,9 @@ yyreduce: } break; - case 238: + case 248: /* Line 1792 of yacc.c */ -#line 1191 "./util/configparser.y" +#line 1214 "./util/configparser.y" { OUTYY(("P(server_rrset_roundrobin:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3535,9 +3602,9 @@ yyreduce: } break; - case 239: + case 249: /* Line 1792 of yacc.c */ -#line 1201 "./util/configparser.y" +#line 1224 "./util/configparser.y" { OUTYY(("P(server_max_udp_size:%s)\n", (yyvsp[(2) - (2)].str))); cfg_parser->cfg->max_udp_size = atoi((yyvsp[(2) - (2)].str)); @@ -3545,9 +3612,9 @@ yyreduce: } break; - case 240: + case 250: /* Line 1792 of yacc.c */ -#line 1208 "./util/configparser.y" +#line 1231 "./util/configparser.y" { OUTYY(("P(dns64_prefix:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->dns64_prefix); @@ -3555,9 +3622,9 @@ yyreduce: } break; - case 241: + case 251: /* Line 1792 of yacc.c */ -#line 1215 "./util/configparser.y" +#line 1238 "./util/configparser.y" { OUTYY(("P(server_dns64_synthall:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3567,9 +3634,92 @@ yyreduce: } break; - case 242: + case 252: /* Line 1792 of yacc.c */ -#line 1224 "./util/configparser.y" +#line 1247 "./util/configparser.y" + { + OUTYY(("P(server_ratelimit:%s)\n", (yyvsp[(2) - (2)].str))); + if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->ratelimit = atoi((yyvsp[(2) - (2)].str)); + free((yyvsp[(2) - (2)].str)); + } + break; + + case 253: +/* Line 1792 of yacc.c */ +#line 1256 "./util/configparser.y" + { + OUTYY(("P(server_ratelimit_size:%s)\n", (yyvsp[(2) - (2)].str))); + if(!cfg_parse_memsize((yyvsp[(2) - (2)].str), &cfg_parser->cfg->ratelimit_size)) + yyerror("memory size expected"); + free((yyvsp[(2) - (2)].str)); + } + break; + + case 254: +/* Line 1792 of yacc.c */ +#line 1264 "./util/configparser.y" + { + OUTYY(("P(server_ratelimit_slabs:%s)\n", (yyvsp[(2) - (2)].str))); + if(atoi((yyvsp[(2) - (2)].str)) == 0) + yyerror("number expected"); + else { + cfg_parser->cfg->ratelimit_slabs = atoi((yyvsp[(2) - (2)].str)); + if(!is_pow2(cfg_parser->cfg->ratelimit_slabs)) + yyerror("must be a power of 2"); + } + free((yyvsp[(2) - (2)].str)); + } + break; + + case 255: +/* Line 1792 of yacc.c */ +#line 1277 "./util/configparser.y" + { + OUTYY(("P(server_ratelimit_for_domain:%s %s)\n", (yyvsp[(2) - (3)].str), (yyvsp[(3) - (3)].str))); + if(atoi((yyvsp[(3) - (3)].str)) == 0 && strcmp((yyvsp[(3) - (3)].str), "0") != 0) { + yyerror("number expected"); + } else { + if(!cfg_str2list_insert(&cfg_parser->cfg-> + ratelimit_for_domain, (yyvsp[(2) - (3)].str), (yyvsp[(3) - (3)].str))) + fatal_exit("out of memory adding " + "ratelimit-for-domain"); + } + } + break; + + case 256: +/* Line 1792 of yacc.c */ +#line 1290 "./util/configparser.y" + { + OUTYY(("P(server_ratelimit_below_domain:%s %s)\n", (yyvsp[(2) - (3)].str), (yyvsp[(3) - (3)].str))); + if(atoi((yyvsp[(3) - (3)].str)) == 0 && strcmp((yyvsp[(3) - (3)].str), "0") != 0) { + yyerror("number expected"); + } else { + if(!cfg_str2list_insert(&cfg_parser->cfg-> + ratelimit_below_domain, (yyvsp[(2) - (3)].str), (yyvsp[(3) - (3)].str))) + fatal_exit("out of memory adding " + "ratelimit-below-domain"); + } + } + break; + + case 257: +/* Line 1792 of yacc.c */ +#line 1303 "./util/configparser.y" + { + OUTYY(("P(server_ratelimit_factor:%s)\n", (yyvsp[(2) - (2)].str))); + if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->ratelimit_factor = atoi((yyvsp[(2) - (2)].str)); + free((yyvsp[(2) - (2)].str)); + } + break; + + case 258: +/* Line 1792 of yacc.c */ +#line 1312 "./util/configparser.y" { OUTYY(("P(name:%s)\n", (yyvsp[(2) - (2)].str))); if(cfg_parser->cfg->stubs->name) @@ -3580,9 +3730,9 @@ yyreduce: } break; - case 243: + case 259: /* Line 1792 of yacc.c */ -#line 1234 "./util/configparser.y" +#line 1322 "./util/configparser.y" { OUTYY(("P(stub-host:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_strlist_insert(&cfg_parser->cfg->stubs->hosts, (yyvsp[(2) - (2)].str))) @@ -3590,9 +3740,9 @@ yyreduce: } break; - case 244: + case 260: /* Line 1792 of yacc.c */ -#line 1241 "./util/configparser.y" +#line 1329 "./util/configparser.y" { OUTYY(("P(stub-addr:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_strlist_insert(&cfg_parser->cfg->stubs->addrs, (yyvsp[(2) - (2)].str))) @@ -3600,9 +3750,9 @@ yyreduce: } break; - case 245: + case 261: /* Line 1792 of yacc.c */ -#line 1248 "./util/configparser.y" +#line 1336 "./util/configparser.y" { OUTYY(("P(stub-first:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3612,9 +3762,9 @@ yyreduce: } break; - case 246: + case 262: /* Line 1792 of yacc.c */ -#line 1257 "./util/configparser.y" +#line 1345 "./util/configparser.y" { OUTYY(("P(stub-prime:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3625,9 +3775,9 @@ yyreduce: } break; - case 247: + case 263: /* Line 1792 of yacc.c */ -#line 1267 "./util/configparser.y" +#line 1355 "./util/configparser.y" { OUTYY(("P(name:%s)\n", (yyvsp[(2) - (2)].str))); if(cfg_parser->cfg->forwards->name) @@ -3638,9 +3788,9 @@ yyreduce: } break; - case 248: + case 264: /* Line 1792 of yacc.c */ -#line 1277 "./util/configparser.y" +#line 1365 "./util/configparser.y" { OUTYY(("P(forward-host:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_strlist_insert(&cfg_parser->cfg->forwards->hosts, (yyvsp[(2) - (2)].str))) @@ -3648,9 +3798,9 @@ yyreduce: } break; - case 249: + case 265: /* Line 1792 of yacc.c */ -#line 1284 "./util/configparser.y" +#line 1372 "./util/configparser.y" { OUTYY(("P(forward-addr:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_strlist_insert(&cfg_parser->cfg->forwards->addrs, (yyvsp[(2) - (2)].str))) @@ -3658,9 +3808,9 @@ yyreduce: } break; - case 250: + case 266: /* Line 1792 of yacc.c */ -#line 1291 "./util/configparser.y" +#line 1379 "./util/configparser.y" { OUTYY(("P(forward-first:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3670,17 +3820,17 @@ yyreduce: } break; - case 251: + case 267: /* Line 1792 of yacc.c */ -#line 1300 "./util/configparser.y" +#line 1388 "./util/configparser.y" { OUTYY(("\nP(remote-control:)\n")); } break; - case 262: + case 278: /* Line 1792 of yacc.c */ -#line 1311 "./util/configparser.y" +#line 1399 "./util/configparser.y" { OUTYY(("P(control_enable:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3691,9 +3841,9 @@ yyreduce: } break; - case 263: + case 279: /* Line 1792 of yacc.c */ -#line 1321 "./util/configparser.y" +#line 1409 "./util/configparser.y" { OUTYY(("P(control_port:%s)\n", (yyvsp[(2) - (2)].str))); if(atoi((yyvsp[(2) - (2)].str)) == 0) @@ -3703,9 +3853,9 @@ yyreduce: } break; - case 264: + case 280: /* Line 1792 of yacc.c */ -#line 1330 "./util/configparser.y" +#line 1418 "./util/configparser.y" { OUTYY(("P(control_interface:%s)\n", (yyvsp[(2) - (2)].str))); if(!cfg_strlist_insert(&cfg_parser->cfg->control_ifs, (yyvsp[(2) - (2)].str))) @@ -3713,9 +3863,9 @@ yyreduce: } break; - case 265: + case 281: /* Line 1792 of yacc.c */ -#line 1337 "./util/configparser.y" +#line 1425 "./util/configparser.y" { OUTYY(("P(control_use_cert:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3726,9 +3876,9 @@ yyreduce: } break; - case 266: + case 282: /* Line 1792 of yacc.c */ -#line 1347 "./util/configparser.y" +#line 1435 "./util/configparser.y" { OUTYY(("P(rc_server_key_file:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->server_key_file); @@ -3736,9 +3886,9 @@ yyreduce: } break; - case 267: + case 283: /* Line 1792 of yacc.c */ -#line 1354 "./util/configparser.y" +#line 1442 "./util/configparser.y" { OUTYY(("P(rc_server_cert_file:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->server_cert_file); @@ -3746,9 +3896,9 @@ yyreduce: } break; - case 268: + case 284: /* Line 1792 of yacc.c */ -#line 1361 "./util/configparser.y" +#line 1449 "./util/configparser.y" { OUTYY(("P(rc_control_key_file:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->control_key_file); @@ -3756,9 +3906,9 @@ yyreduce: } break; - case 269: + case 285: /* Line 1792 of yacc.c */ -#line 1368 "./util/configparser.y" +#line 1456 "./util/configparser.y" { OUTYY(("P(rc_control_cert_file:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->control_cert_file); @@ -3766,17 +3916,17 @@ yyreduce: } break; - case 270: + case 286: /* Line 1792 of yacc.c */ -#line 1375 "./util/configparser.y" +#line 1463 "./util/configparser.y" { OUTYY(("\nP(dnstap:)\n")); } break; - case 285: + case 301: /* Line 1792 of yacc.c */ -#line 1392 "./util/configparser.y" +#line 1480 "./util/configparser.y" { OUTYY(("P(dt_dnstap_enable:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3785,9 +3935,9 @@ yyreduce: } break; - case 286: + case 302: /* Line 1792 of yacc.c */ -#line 1400 "./util/configparser.y" +#line 1488 "./util/configparser.y" { OUTYY(("P(dt_dnstap_socket_path:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->dnstap_socket_path); @@ -3795,9 +3945,9 @@ yyreduce: } break; - case 287: + case 303: /* Line 1792 of yacc.c */ -#line 1407 "./util/configparser.y" +#line 1495 "./util/configparser.y" { OUTYY(("P(dt_dnstap_send_identity:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3806,9 +3956,9 @@ yyreduce: } break; - case 288: + case 304: /* Line 1792 of yacc.c */ -#line 1415 "./util/configparser.y" +#line 1503 "./util/configparser.y" { OUTYY(("P(dt_dnstap_send_version:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3817,9 +3967,9 @@ yyreduce: } break; - case 289: + case 305: /* Line 1792 of yacc.c */ -#line 1423 "./util/configparser.y" +#line 1511 "./util/configparser.y" { OUTYY(("P(dt_dnstap_identity:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->dnstap_identity); @@ -3827,9 +3977,9 @@ yyreduce: } break; - case 290: + case 306: /* Line 1792 of yacc.c */ -#line 1430 "./util/configparser.y" +#line 1518 "./util/configparser.y" { OUTYY(("P(dt_dnstap_version:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->dnstap_version); @@ -3837,9 +3987,9 @@ yyreduce: } break; - case 291: + case 307: /* Line 1792 of yacc.c */ -#line 1437 "./util/configparser.y" +#line 1525 "./util/configparser.y" { OUTYY(("P(dt_dnstap_log_resolver_query_messages:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3849,9 +3999,9 @@ yyreduce: } break; - case 292: + case 308: /* Line 1792 of yacc.c */ -#line 1446 "./util/configparser.y" +#line 1534 "./util/configparser.y" { OUTYY(("P(dt_dnstap_log_resolver_response_messages:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3861,9 +4011,9 @@ yyreduce: } break; - case 293: + case 309: /* Line 1792 of yacc.c */ -#line 1455 "./util/configparser.y" +#line 1543 "./util/configparser.y" { OUTYY(("P(dt_dnstap_log_client_query_messages:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3873,9 +4023,9 @@ yyreduce: } break; - case 294: + case 310: /* Line 1792 of yacc.c */ -#line 1464 "./util/configparser.y" +#line 1552 "./util/configparser.y" { OUTYY(("P(dt_dnstap_log_client_response_messages:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3885,9 +4035,9 @@ yyreduce: } break; - case 295: + case 311: /* Line 1792 of yacc.c */ -#line 1473 "./util/configparser.y" +#line 1561 "./util/configparser.y" { OUTYY(("P(dt_dnstap_log_forwarder_query_messages:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3897,9 +4047,9 @@ yyreduce: } break; - case 296: + case 312: /* Line 1792 of yacc.c */ -#line 1482 "./util/configparser.y" +#line 1570 "./util/configparser.y" { OUTYY(("P(dt_dnstap_log_forwarder_response_messages:%s)\n", (yyvsp[(2) - (2)].str))); if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) @@ -3909,17 +4059,17 @@ yyreduce: } break; - case 297: + case 313: /* Line 1792 of yacc.c */ -#line 1491 "./util/configparser.y" +#line 1579 "./util/configparser.y" { OUTYY(("\nP(python:)\n")); } break; - case 301: + case 317: /* Line 1792 of yacc.c */ -#line 1500 "./util/configparser.y" +#line 1588 "./util/configparser.y" { OUTYY(("P(python-script:%s)\n", (yyvsp[(2) - (2)].str))); free(cfg_parser->cfg->python_script); @@ -3929,7 +4079,7 @@ yyreduce: /* Line 1792 of yacc.c */ -#line 3933 "util/configparser.c" +#line 4083 "util/configparser.c" default: break; } /* User semantic actions sometimes alter yychar, and that requires @@ -4161,7 +4311,7 @@ yyreturn: /* Line 2055 of yacc.c */ -#line 1505 "./util/configparser.y" +#line 1593 "./util/configparser.y" /* parse helper routines could be here */ |