diff --git a/lib/roles/http/lextable-strings.h b/lib/roles/http/lextable-strings.h index 1e4fee855..02d05eb9a 100644 --- a/lib/roles/http/lextable-strings.h +++ b/lib/roles/http/lextable-strings.h @@ -90,7 +90,7 @@ static const char * const set[] = { "x-real-ip:", "http/1.0 ", - "x-forwarded-for", + "x-forwarded-for:", "connect ", "head ", "te:", /* http/2 wants it to reject it */ diff --git a/lib/roles/http/lextable.h b/lib/roles/http/lextable.h index 9a8063b15..0bb05c208 100644 --- a/lib/roles/http/lextable.h +++ b/lib/roles/http/lextable.h @@ -45,7 +45,7 @@ /* pos 0064: 17 */ 0x00, 0x02 /* - terminal marker 2 - */, /* pos 0066: 18 */ 0x6F /* 'o' */, 0x0A, 0x00 /* (to 0x0070 state 19) */, 0x74 /* 't' */, 0xBF, 0x00 /* (to 0x0128 state 110) */, - 0x65 /* 'e' */, 0x04, 0x04 /* (to 0x0470 state 676) */, + 0x65 /* 'e' */, 0x05, 0x04 /* (to 0x0471 state 677) */, 0x08, /* fail */ /* pos 0070: 19 */ 0xF3 /* 's' -> */, /* pos 0071: 20 */ 0xF4 /* 't' -> */, @@ -64,7 +64,7 @@ /* pos 008b: 27 */ 0xE3 /* 'c' -> */, /* pos 008c: 28 */ 0xF4 /* 't' -> */, /* pos 008d: 29 */ 0x69 /* 'i' */, 0x07, 0x00 /* (to 0x0094 state 30) */, - 0x20 /* ' ' */, 0xDE, 0x03 /* (to 0x046E state 675) */, + 0x20 /* ' ' */, 0xDF, 0x03 /* (to 0x046F state 676) */, 0x08, /* fail */ /* pos 0094: 30 */ 0xEF /* 'o' -> */, /* pos 0095: 31 */ 0xEE /* 'n' -> */, @@ -371,7 +371,7 @@ /* pos 024e: 275 */ 0x00, 0x1E /* - terminal marker 30 - */, /* pos 0250: 276 */ 0x66 /* 'f' */, 0x0A, 0x00 /* (to 0x025A state 277) */, 0x74 /* 't' */, 0x63, 0x01 /* (to 0x03B6 state 529) */, - 0x70 /* 'p' */, 0x22, 0x02 /* (to 0x0478 state 682) */, + 0x70 /* 'p' */, 0x23, 0x02 /* (to 0x0479 state 683) */, 0x08, /* fail */ /* pos 025a: 277 */ 0x65 /* 'e' */, 0x07, 0x00 /* (to 0x0261 state 278) */, 0x72 /* 'r' */, 0x53, 0x01 /* (to 0x03B0 state 524) */, @@ -418,7 +418,7 @@ /* pos 0295: 313 */ 0xE4 /* 'd' -> */, /* pos 0296: 314 */ 0x00, 0x24 /* - terminal marker 36 - */, /* pos 0298: 315 */ 0x61 /* 'a' */, 0x07, 0x00 /* (to 0x029F state 316) */, - 0x72 /* 'r' */, 0xE9, 0x01 /* (to 0x0484 state 693) */, + 0x72 /* 'r' */, 0xEA, 0x01 /* (to 0x0485 state 694) */, 0x08, /* fail */ /* pos 029f: 316 */ 0xF4 /* 't' -> */, /* pos 02a0: 317 */ 0xE8 /* 'h' -> */, @@ -696,7 +696,7 @@ /* pos 03e8: 576 */ 0xBA /* ':' -> */, /* pos 03e9: 577 */ 0x00, 0x43 /* - terminal marker 67 - */, /* pos 03eb: 578 */ 0x72 /* 'r' */, 0x07, 0x00 /* (to 0x03F2 state 579) */, - 0x65 /* 'e' */, 0x87, 0x00 /* (to 0x0475 state 680) */, + 0x65 /* 'e' */, 0x88, 0x00 /* (to 0x0476 state 681) */, 0x08, /* fail */ /* pos 03f2: 579 */ 0xE1 /* 'a' -> */, /* pos 03f3: 580 */ 0xEE /* 'n' -> */, @@ -774,7 +774,7 @@ /* pos 0449: 650 */ 0xAD /* '-' -> */, /* pos 044a: 651 */ 0x72 /* 'r' */, 0x0A, 0x00 /* (to 0x0454 state 652) */, 0x66 /* 'f' */, 0x13, 0x00 /* (to 0x0460 state 662) */, - 0x61 /* 'a' */, 0x3C, 0x00 /* (to 0x048C state 700) */, + 0x61 /* 'a' */, 0x3D, 0x00 /* (to 0x048D state 701) */, 0x08, /* fail */ /* pos 0454: 652 */ 0xE5 /* 'e' -> */, /* pos 0455: 653 */ 0xE1 /* 'a' -> */, @@ -798,41 +798,42 @@ /* pos 0469: 671 */ 0xE6 /* 'f' -> */, /* pos 046a: 672 */ 0xEF /* 'o' -> */, /* pos 046b: 673 */ 0xF2 /* 'r' -> */, -/* pos 046c: 674 */ 0x00, 0x50 /* - terminal marker 80 - */, -/* pos 046e: 675 */ 0x00, 0x51 /* - terminal marker 81 - */, -/* pos 0470: 676 */ 0xE1 /* 'a' -> */, -/* pos 0471: 677 */ 0xE4 /* 'd' -> */, -/* pos 0472: 678 */ 0xA0 /* ' ' -> */, -/* pos 0473: 679 */ 0x00, 0x52 /* - terminal marker 82 - */, -/* pos 0475: 680 */ 0xBA /* ':' -> */, -/* pos 0476: 681 */ 0x00, 0x53 /* - terminal marker 83 - */, -/* pos 0478: 682 */ 0xEC /* 'l' -> */, -/* pos 0479: 683 */ 0xE1 /* 'a' -> */, -/* pos 047a: 684 */ 0xF9 /* 'y' -> */, -/* pos 047b: 685 */ 0xAD /* '-' -> */, -/* pos 047c: 686 */ 0xEE /* 'n' -> */, -/* pos 047d: 687 */ 0xEF /* 'o' -> */, -/* pos 047e: 688 */ 0xEE /* 'n' -> */, -/* pos 047f: 689 */ 0xE3 /* 'c' -> */, -/* pos 0480: 690 */ 0xE5 /* 'e' -> */, -/* pos 0481: 691 */ 0xBA /* ':' -> */, -/* pos 0482: 692 */ 0x00, 0x54 /* - terminal marker 84 - */, -/* pos 0484: 693 */ 0xEF /* 'o' -> */, -/* pos 0485: 694 */ 0xF4 /* 't' -> */, -/* pos 0486: 695 */ 0xEF /* 'o' -> */, -/* pos 0487: 696 */ 0xE3 /* 'c' -> */, -/* pos 0488: 697 */ 0xEF /* 'o' -> */, -/* pos 0489: 698 */ 0xEC /* 'l' -> */, -/* pos 048a: 699 */ 0x00, 0x55 /* - terminal marker 85 - */, -/* pos 048c: 700 */ 0xF5 /* 'u' -> */, -/* pos 048d: 701 */ 0xF4 /* 't' -> */, -/* pos 048e: 702 */ 0xE8 /* 'h' -> */, -/* pos 048f: 703 */ 0xAD /* '-' -> */, -/* pos 0490: 704 */ 0xF4 /* 't' -> */, -/* pos 0491: 705 */ 0xEF /* 'o' -> */, -/* pos 0492: 706 */ 0xEB /* 'k' -> */, -/* pos 0493: 707 */ 0xE5 /* 'e' -> */, -/* pos 0494: 708 */ 0xEE /* 'n' -> */, -/* pos 0495: 709 */ 0xBA /* ':' -> */, -/* pos 0496: 710 */ 0x00, 0x56 /* - terminal marker 86 - */, -/* total size 1176 bytes */ +/* pos 046c: 674 */ 0xBA /* ':' -> */, +/* pos 046d: 675 */ 0x00, 0x50 /* - terminal marker 80 - */, +/* pos 046f: 676 */ 0x00, 0x51 /* - terminal marker 81 - */, +/* pos 0471: 677 */ 0xE1 /* 'a' -> */, +/* pos 0472: 678 */ 0xE4 /* 'd' -> */, +/* pos 0473: 679 */ 0xA0 /* ' ' -> */, +/* pos 0474: 680 */ 0x00, 0x52 /* - terminal marker 82 - */, +/* pos 0476: 681 */ 0xBA /* ':' -> */, +/* pos 0477: 682 */ 0x00, 0x53 /* - terminal marker 83 - */, +/* pos 0479: 683 */ 0xEC /* 'l' -> */, +/* pos 047a: 684 */ 0xE1 /* 'a' -> */, +/* pos 047b: 685 */ 0xF9 /* 'y' -> */, +/* pos 047c: 686 */ 0xAD /* '-' -> */, +/* pos 047d: 687 */ 0xEE /* 'n' -> */, +/* pos 047e: 688 */ 0xEF /* 'o' -> */, +/* pos 047f: 689 */ 0xEE /* 'n' -> */, +/* pos 0480: 690 */ 0xE3 /* 'c' -> */, +/* pos 0481: 691 */ 0xE5 /* 'e' -> */, +/* pos 0482: 692 */ 0xBA /* ':' -> */, +/* pos 0483: 693 */ 0x00, 0x54 /* - terminal marker 84 - */, +/* pos 0485: 694 */ 0xEF /* 'o' -> */, +/* pos 0486: 695 */ 0xF4 /* 't' -> */, +/* pos 0487: 696 */ 0xEF /* 'o' -> */, +/* pos 0488: 697 */ 0xE3 /* 'c' -> */, +/* pos 0489: 698 */ 0xEF /* 'o' -> */, +/* pos 048a: 699 */ 0xEC /* 'l' -> */, +/* pos 048b: 700 */ 0x00, 0x55 /* - terminal marker 85 - */, +/* pos 048d: 701 */ 0xF5 /* 'u' -> */, +/* pos 048e: 702 */ 0xF4 /* 't' -> */, +/* pos 048f: 703 */ 0xE8 /* 'h' -> */, +/* pos 0490: 704 */ 0xAD /* '-' -> */, +/* pos 0491: 705 */ 0xF4 /* 't' -> */, +/* pos 0492: 706 */ 0xEF /* 'o' -> */, +/* pos 0493: 707 */ 0xEB /* 'k' -> */, +/* pos 0494: 708 */ 0xE5 /* 'e' -> */, +/* pos 0495: 709 */ 0xEE /* 'n' -> */, +/* pos 0496: 710 */ 0xBA /* ':' -> */, +/* pos 0497: 711 */ 0x00, 0x56 /* - terminal marker 86 - */, +/* total size 1177 bytes */