Abstract
Named Data Networking (NDN), a promising future Internet architecture, enhances network efficiency through in-network caching, where intermediate routers store content to reduce latency and optimize bandwidth utilization. However, existing simulators such as Icarus support only limited network topologies, restricting the evaluation of caching strategies under diverse conditions. To address this limitation, we develop a Topology Integration Module for Icarus (TIM4I) that enables the incorporation of real-world Internet topologies from multiple datasets, allowing comprehensive and scalable performance assessments of NDN caching schemes. Further, we propose a Trust-based Popularity-Aware Caching Strategy (TPACS) that inherently mitigates Cache Pollution Attacks (CPA) during the caching process. Unlike conventional methods that require separate detection mechanisms, TPACS integrates CPA prevention into the content placement phase by assigning a trust score based on content popularity, prefix reputation, and freshness. Only content with sufficient trust is cached, thereby preventing the storage of valid but unpopular data that causes pollution. This integrated approach eliminates additional detection overhead on routers while maintaining high cache efficiency and improved network security. Experimental evaluations using TIM4I demonstrate that TPACS achieves higher cache hit ratios, lower latency, and effective CPA mitigation across diverse real-world topologies.