|
1058 | 1058 | }, |
1059 | 1059 | ] |
1060 | 1060 | }, |
| 1061 | + "drop_invalid": { |
| 1062 | + "type": "boolean", |
| 1063 | + "title": "Drop invalid packets.", |
| 1064 | + "description": "If True then any invalid packets will be dropped.", |
| 1065 | + "default": False, |
| 1066 | + "format": "checkbox", |
| 1067 | + "propertyOrder": 4, |
| 1068 | + }, |
1061 | 1069 | "synflood_protect": { |
1062 | 1070 | "type": "boolean", |
1063 | 1071 | "title": "Enable SYN flood protection.", |
1064 | 1072 | "description": "Enables SYN flood protection.", |
1065 | 1073 | "default": False, |
1066 | 1074 | "format": "checkbox", |
1067 | | - "propertyOrder": 4, |
| 1075 | + "propertyOrder": 5, |
| 1076 | + }, |
| 1077 | + "synflood_rate": { |
| 1078 | + "type": "integer", |
| 1079 | + "title": "Rate limit (packets/second) for SYN packets above which the traffic is considered a flood.", |
| 1080 | + "description": "Number of packets/second for SYN packets above which the traffic is considered a " |
| 1081 | + "flood.", |
| 1082 | + "default": 25, |
| 1083 | + "propertyOrder": 6, |
| 1084 | + }, |
| 1085 | + "synflood_burst": { |
| 1086 | + "type": "integer", |
| 1087 | + "title": "Burst limit (packets/second) for SYN packets above which the traffic is considered a " |
| 1088 | + "flood.", |
| 1089 | + "description": "Set burst limit for SYN packets above which the traffic is considered a flood if it " |
| 1090 | + "exceeds the allowed rate.", |
| 1091 | + "default": 50, |
| 1092 | + "propertyOrder": 7, |
| 1093 | + }, |
| 1094 | + "tcp_syncookies": { |
| 1095 | + "type": "boolean", |
| 1096 | + "title": "Enable the use of TCP SYN cookies.", |
| 1097 | + "description": "If True, enables the use of SYN cookies.", |
| 1098 | + "default": True, |
| 1099 | + "format": "checkbox", |
| 1100 | + "propertyOrder": 8, |
| 1101 | + }, |
| 1102 | + "tcp_ecn": { |
| 1103 | + "type": "boolean", |
| 1104 | + "title": "Enable Explicit Congestion Notification.", |
| 1105 | + "description": "If True, enables Explicit Congestion Notification.", |
| 1106 | + "default": False, |
| 1107 | + "format": "checkbox", |
| 1108 | + "propertyOrder": 9, |
| 1109 | + }, |
| 1110 | + "tcp_window_scaling": { |
| 1111 | + "type": "boolean", |
| 1112 | + "title": "Enable TCP window scaling.", |
| 1113 | + "description": "If True, enables TCP window scaling.", |
| 1114 | + "default": True, |
| 1115 | + "format": "checkbox", |
| 1116 | + "propertyOrder": 10, |
| 1117 | + }, |
| 1118 | + "accept_redirects": { |
| 1119 | + "type": "boolean", |
| 1120 | + "title": "Accept redirects.", |
| 1121 | + "description": "If True, accept redirects.", |
| 1122 | + "default": False, |
| 1123 | + "format": "checkbox", |
| 1124 | + "propertyOrder": 11, |
| 1125 | + }, |
| 1126 | + "accept_source_route": { |
| 1127 | + "type": "boolean", |
| 1128 | + "title": "Accept source routes.", |
| 1129 | + "description": "If True, accept source routes.", |
| 1130 | + "default": False, |
| 1131 | + "format": "checkbox", |
| 1132 | + "propertyOrder": 12, |
| 1133 | + }, |
| 1134 | + "custom_chains": { |
| 1135 | + "type": "boolean", |
| 1136 | + "title": "Enable generation of custom rule chain hooks for user generated rules.", |
| 1137 | + "description": "If True, enable generation of custom rule chain hooks for user generated rules. " |
| 1138 | + "User rules would be typically stored in firewall.user but some packages e.g. BCP38 also make use " |
| 1139 | + "of these hooks.", |
| 1140 | + "default": True, |
| 1141 | + "format": "checkbox", |
| 1142 | + "propertyOrder": 13, |
| 1143 | + }, |
| 1144 | + "disable_ipv6": { |
| 1145 | + "type": "boolean", |
| 1146 | + "title": "Disable IPv6 firewall rules.", |
| 1147 | + "description": "If True, disable IPv6 firewall rules.", |
| 1148 | + "default": False, |
| 1149 | + "format": "checkbox", |
| 1150 | + "propertyOrder": 14, |
| 1151 | + }, |
| 1152 | + "flow_offlocaing": { |
| 1153 | + "type": "boolean", |
| 1154 | + "title": "Enable software flow offloading for connections.", |
| 1155 | + "description": "If True, enable software flow offloading for connections.", |
| 1156 | + "default": False, |
| 1157 | + "format": "checkbox", |
| 1158 | + "propertyOrder": 15, |
| 1159 | + }, |
| 1160 | + "flow_offlocaing_hw": { |
| 1161 | + "type": "boolean", |
| 1162 | + "title": "Enable hardware flow offloading for connections.", |
| 1163 | + "description": "If True, enable hardware flow offloading for connections.", |
| 1164 | + "default": False, |
| 1165 | + "format": "checkbox", |
| 1166 | + "propertyOrder": 16, |
| 1167 | + }, |
| 1168 | + "auto_helper": { |
| 1169 | + "type": "boolean", |
| 1170 | + "title": "Enable Conntrack helpers ", |
| 1171 | + "description": "If True, enable Conntrack helpers ", |
| 1172 | + "default": True, |
| 1173 | + "format": "checkbox", |
| 1174 | + "propertyOrder": 17, |
1068 | 1175 | }, |
1069 | 1176 | } |
1070 | 1177 |
|
|
1075 | 1182 | "description": "Defaults for the fireall", |
1076 | 1183 | "propertyOrder": 4, |
1077 | 1184 | "properties": firewall_defaults, |
1078 | | - "required": ["input", "output", "forward", "synflood_protect"], |
1079 | 1185 | }, |
1080 | 1186 | "forwardings": { |
1081 | 1187 | "type": "array", |
|
0 commit comments