Hi Luca, I noticed the following lines in Ntop.cpp
/* Add defaults */ /* http://www.networksorcery.com/enp/protocol/ip/multicast.htm */ local_nets = strdup((char*)"0.0.0.0/32,192.168.0.0/16,172.16.0.0/16,224.0.0.0/8,239.0.0.0/8"); Two issues, 1) what if a users doesn't want these as local? 2) if they are provided shouldn't the private addresses be 192.168.0.0/16,172.16.0.0/12,10.0.0.0/8 ? from rfc 1918 3.Private Address Space The Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of the IP address space for private internets: 10.0.0.0 - 10.255.255.255 (10/8 prefix) 172.16.0.0 - 172.31.255.255 (172.16/12 prefix) 192.168.0.0 - 192.168.255.255 (192.168/16 prefix) Regards, -- Stephen Clark *NetWolves* Director of Technology Phone: 813-579-3200 Fax: 813-882-0209 Email: [email protected] http://www.netwolves.com
_______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
