{ "trim_mss", Parameter::PT_BOOL, nullptr, "false",
"trim data to MSS" },
- { "trim", Parameter::PT_BOOL, nullptr, "false",
- "enable all of the TCP trim options" },
-
{ "opts", Parameter::PT_BOOL, nullptr, "false",
"clear all options except mss, wscale, timestamp, and any explicitly allowed" },
else if ( v.is("trim_mss") )
Norm_Set(&config, NORM_TCP_TRIM_MSS, v.get_bool());
- else if ( v.is("trim") )
- {
- Norm_Set(&config, NORM_TCP_TRIM_SYN, v.get_bool());
- Norm_Set(&config, NORM_TCP_TRIM_RST, v.get_bool());
- Norm_Set(&config, NORM_TCP_TRIM_WIN, v.get_bool());
- Norm_Set(&config, NORM_TCP_TRIM_MSS, v.get_bool());
- }
else if ( v.is("ecn") )
{
if ( !strcmp(v.get_string(), "packet") )
table_api.add_option("ips", true);
else if (keyword == "trim")
- table_api.add_option("trim", true);
+ table_api.add_deleted_comment(keyword);
else if (keyword == "opts")
table_api.add_option("opts", true);