sizeof(DNSHeader) + 2, RustDNSTCPProbe, RustDNSTCPProbe);
/* if we have no config, we enable the default port 53 */
if (!have_cfg) {
- SCLogWarning(SC_ERR_DNS_CONFIG, "no DNS TCP config found, "
- "enabling DNS detection on "
- "port 53.");
+ SCLogConfig("no DNS TCP config found, enabling DNS detection "
+ "on port 53.");
AppLayerProtoDetectPPRegister(IPPROTO_TCP, "53", ALPROTO_DNS, 0,
sizeof(DNSHeader) + 2, STREAM_TOSERVER, RustDNSTCPProbe,
RustDNSTCPProbe);
}
}
} else {
- SCLogInfo("Protocol detection and parser disabled for %s protocol.",
+ SCLogConfig("Protocol detection and parser disabled for %s protocol.",
proto_name);
return;
}
APP_LAYER_PARSER_OPT_ACCEPT_GAPS);
} else {
- SCLogInfo("Parsed disabled for %s protocol. Protocol detection"
+ SCLogConfig("Parsed disabled for %s protocol. Protocol detection"
"still on.", proto_name);
}
/* If no config, enable on port 53. */
if (!have_cfg) {
#ifndef AFLFUZZ_APPLAYER
- SCLogWarning(SC_ERR_DNS_CONFIG, "no DNS UDP config found, "
+ SCLogConfig("no DNS UDP config found, "
"enabling DNS detection on port 53.");
#endif
AppLayerProtoDetectPPRegister(IPPROTO_UDP, "53", ALPROTO_DNS,
}
}
} else {
- SCLogInfo("Protocol detection and parser disabled for %s protocol.",
+ SCLogConfig("Protocol detection and parser disabled for %s protocol.",
proto_name);
return;
}
DNSUDPConfigure();
#endif
} else {
- SCLogInfo("Parsed disabled for %s protocol. Protocol detection"
+ SCLogConfig("Parsed disabled for %s protocol. Protocol detection"
"still on.", proto_name);
}
#ifdef UNITTESTS
MIN_REC_SIZE, SMBTCPProbe, SMBTCPProbe);
/* if we have no config, we enable the default port 445 */
if (!have_cfg) {
- SCLogWarning(SC_ERR_SMB_CONFIG, "no SMB TCP config found, "
- "enabling SMB detection on "
- "port 445.");
+ SCLogConfig("no SMB TCP config found, enabling SMB detection "
+ "on port 445.");
AppLayerProtoDetectPPRegister(IPPROTO_TCP, "445", ALPROTO_SMB, 0,
MIN_REC_SIZE, STREAM_TOSERVER, SMBTCPProbe,
SMBTCPProbe);
}
}
} else {
- SCLogInfo("Protocol detection and parser disabled for %s protocol.",
+ SCLogConfig("Protocol detection and parser disabled for %s protocol.",
proto_name);
return;
}
AppLayerParserSetStreamDepth(IPPROTO_TCP, ALPROTO_SMB, stream_depth);
} else {
- SCLogInfo("Parsed disabled for %s protocol. Protocol detection"
+ SCLogConfig("Parsed disabled for %s protocol. Protocol detection"
"still on.", proto_name);
}
#ifdef UNITTESTS
proto_name, ALPROTO_TLS,
0, 3,
SSLProbingParser, NULL) == 0) {
- SCLogWarning(SC_ERR_MISSING_CONFIG_PARAM,
- "no TLS config found, "
- "enabling TLS detection on port 443.");
+ SCLogConfig("no TLS config found, "
+ "enabling TLS detection on port 443.");
AppLayerProtoDetectPPRegister(IPPROTO_TCP,
"443",
ALPROTO_TLS,
}
}
} else {
- SCLogInfo("Protocol detection and parser disabled for %s protocol",
+ SCLogConfig("Protocol detection and parser disabled for %s protocol",
proto_name);
return;
}
#endif
} else {
- SCLogInfo("Parsed disabled for %s protocol. Protocol detection"
+ SCLogConfig("Parsed disabled for %s protocol. Protocol detection"
"still on.", proto_name);
}