Refreshed Tor node list

This commit is contained in:
Luca Deri
2019-09-08 21:42:33 +02:00
parent a0a8149833
commit d457b07f9f
9 changed files with 43 additions and 23 deletions
+4 -4
View File
@@ -38,6 +38,8 @@
void ndpi_init_data_analysis(struct ndpi_analyze_struct *ret, u_int16_t _max_series_len) {
u_int32_t len;
memset(ret, 0, sizeof(struct ndpi_analyze_struct));
if(_max_series_len > MAX_SERIES_LEN) _max_series_len = MAX_SERIES_LEN;
ret->num_values_array_len = _max_series_len;
@@ -58,10 +60,8 @@ void ndpi_init_data_analysis(struct ndpi_analyze_struct *ret, u_int16_t _max_ser
struct ndpi_analyze_struct* ndpi_alloc_data_analysis(u_int16_t _max_series_len) {
struct ndpi_analyze_struct *ret = ndpi_malloc(sizeof(struct ndpi_analyze_struct));
if(ret != NULL) {
memset(ret, 0, sizeof(struct ndpi_analyze_struct));
ndpi_init_data_analysis(ret, _max_series_len);
}
if(ret != NULL)
ndpi_init_data_analysis(ret, _max_series_len);
return(ret);
}
+5 -3
View File
@@ -1117,10 +1117,12 @@ static ndpi_network host_protocol_list[] = {
/*
Tor
http://torstatus.blutmagie.de/ip_list_all.php/Tor_ip_list_ALL.csv
From 02/17/2017
From 09.09.2019
Use utils/toripaddr2list.py to convert them
*/
{ 0x0122A339 /* 1.34.163.57/32 */, 32, NDPI_PROTOCOL_TOR },
{ 0x0122a339 /* 1.34.163.57/32 */, 32, NDPI_PROTOCOL_TOR },
{ 0x01EA0B8E /* 1.234.11.142/32 */, 32, NDPI_PROTOCOL_TOR },
{ 0x01F4E33D /* 1.244.227.61/32 */, 32, NDPI_PROTOCOL_TOR },
{ 0x02054D8A /* 2.5.77.138/32 */, 32, NDPI_PROTOCOL_TOR },