diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp index c04bfb5..35dc369 100644 --- a/src/tsg_entry.cpp +++ b/src/tsg_entry.cpp @@ -703,9 +703,10 @@ extern "C" char TSG_MASTER_TCP_ENTRY(struct streaminfo *a_tcp, void **pme, int t MESA_handle_runtime_log(g_tsg_para.logger, RLOG_LV_DEBUG, "SCAN_FQDN", - "Not hit %s: %s stream_dir: %d addr: %s", + "Not hit %s: %s ret: %d stream_dir: %d addr: %s", (ret==-1) ? "NULL" : ((identify_info.proto==PROTO_HTTP) ? "host" : "sni"), (ret==-1) ? "NULL" : identify_info.domain, + ret, a_tcp->dir, printaddr(&a_tcp->addr, thread_seq) ); diff --git a/src/tsg_rule.cpp b/src/tsg_rule.cpp index a8a9345..16d85f6 100644 --- a/src/tsg_rule.cpp +++ b/src/tsg_rule.cpp @@ -104,8 +104,8 @@ static int proto_str2id(tsg_protocol_t proto) case PROTO_UDP: return 101; case PROTO_HTTP: return 106; case PROTO_IMAP: return 110; - case PROTO_POP3: return 116; - case PROTO_SMTP: return 122; + case PROTO_POP3: return 110;//116 + case PROTO_SMTP: return 110;//122 case PROTO_DNS: return 103; case PROTO_FTP: return 104; case PROTO_SSL: return 126;