@@ -766,7 +766,7 @@ static void printResults(u_int64_t tot_usec) {
|
|||||||
char buf[32];
|
char buf[32];
|
||||||
#ifdef HAVE_JSON_C
|
#ifdef HAVE_JSON_C
|
||||||
FILE *json_fp = NULL;
|
FILE *json_fp = NULL;
|
||||||
json_object *jObj_main, *jObj_trafficStats, *jArray_detProto, *jObj;
|
json_object *jObj_main = NULL, *jObj_trafficStats, *jArray_detProto = NULL, *jObj;
|
||||||
#endif
|
#endif
|
||||||
long long unsigned int breed_stats[NUM_BREEDS] = { 0 };
|
long long unsigned int breed_stats[NUM_BREEDS] = { 0 };
|
||||||
|
|
||||||
|
|||||||
@@ -816,7 +816,6 @@ static void ndpi_check_http_tcp(struct ndpi_detection_module_struct *ndpi_struct
|
|||||||
/* check PPStream protocol or iQiyi service
|
/* check PPStream protocol or iQiyi service
|
||||||
(iqiyi is deliverd by ppstream) */
|
(iqiyi is deliverd by ppstream) */
|
||||||
// substring in url
|
// substring in url
|
||||||
int no_pps = 0;
|
|
||||||
if(strstr((const char*) &packet->payload[filename_start], "iqiyi.com") != NULL) {
|
if(strstr((const char*) &packet->payload[filename_start], "iqiyi.com") != NULL) {
|
||||||
if(kxun_counter == 0) {
|
if(kxun_counter == 0) {
|
||||||
flow->l4.tcp.ppstream_stage++;
|
flow->l4.tcp.ppstream_stage++;
|
||||||
|
|||||||
Reference in New Issue
Block a user