Pending - build 143
+-- fixed use of bound ip and tcp policy if not set in hosts
-- eliminate dedicated nhttp chunk buffer
-- minor nhttp cleanup in StreamSplitter
{ "ip", Parameter::PT_ADDR, nullptr, "0.0.0.0/32",
"hosts address / cidr" },
- { "frag_policy", Parameter::PT_ENUM, IP_POLICIES, IP_POLICY_DEFAULT,
+ { "frag_policy", Parameter::PT_ENUM, IP_POLICIES, nullptr,
"defragmentation policy" },
- { "tcp_policy", Parameter::PT_ENUM, TCP_POLICIES, TCP_POLICY_DEFAULT,
+ { "tcp_policy", Parameter::PT_ENUM, TCP_POLICIES, nullptr,
"tcp reassembly policy" },
{ "services", Parameter::PT_LIST, service_params, nullptr,
{ "min_ttl", Parameter::PT_INT, "1:255", "1",
"discard fragments with ttl below the minimum" },
- { "policy", Parameter::PT_ENUM, IP_POLICIES, IP_POLICY_DEFAULT,
+ { "policy", Parameter::PT_ENUM, IP_POLICIES, "linux",
"fragment reassembly policy" },
{ "session_timeout", Parameter::PT_INT, "1:86400", "30",
"first | last | linux | old_linux | bsd | macos | solaris | irix | " \
"hpux11 | hpux10 | windows | win_2003 | vista | proxy"
-#define IP_POLICY_DEFAULT "linux"
-#define TCP_POLICY_DEFAULT "bsd"
-
class Flow;
typedef int (* LogFunction)(Flow*, uint8_t** buf, uint32_t* len, uint32_t* type);
{ "max_pdu", Parameter::PT_INT, "1460:63780", "16384",
"maximum reassembled PDU size" },
- { "policy", Parameter::PT_ENUM, TCP_POLICIES, TCP_POLICY_DEFAULT,
+ { "policy", Parameter::PT_ENUM, TCP_POLICIES, "bsd",
"determines operating system characteristics like reassembly" },
{ "reassemble_async", Parameter::PT_BOOL, nullptr, "true",