<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi John,<div class=""><br class=""></div><div class="">please see my response inline.</div><div class=""><div class=""><div class=""><br class=""></div></div><div><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><ol class=""><li class="">How can I display the contents of the CS in a router / node at different times?  Does this require subclassing one of the Tracers so it can create a file with some of the information related to content store contents?</li><ul class=""><li class="">Since I am focusing on cache pollution attacks, I need to be able to ascertain what data was implanted by an attacker, and what data was requested by legitimate users - specifically being able to correlate Interests sent by attackers vs normal users resulting in data caching in the CS<br class=""></li></ul></ol></div></div></div></blockquote><div>Use the NS_LOG option when you run your simulation scenario. You can add logging on a per class basis by initializing a logging component this way:</div><div><br class=""></div><div><a href="https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.3.4-ndnSIM/daemon/fw/forwarder.cpp#L38" class="">https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.3.4-ndnSIM/daemon/fw/forwarder.cpp#L38</a></div><div><br class=""></div><div>and add logging statement like that:</div><div><br class=""></div><div><a href="https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.3.4-ndnSIM/daemon/fw/forwarder.cpp#L74-L75" class="">https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.3.4-ndnSIM/daemon/fw/forwarder.cpp#L74-L75</a></div><div><br class=""></div>Then, you have to recompile and run your simulation scenario:</div><div><br class=""></div><div>NS_LOG=<logging-comp-name> ./waf â€”run <simulation-scenario><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><ol class="" start="2"><li class="">Related to question 3, how can I create one or more attackers?  I assume this would involve subclassing one of the Consumer classes?  Is there any more thorough documentation or examples of how one does something like this?<br class=""></li></ol></div></div></div></blockquote><div>Create a separate app for the attacker. The app behavior is fully programmable. Take a look at the various app classes that inherit from the consumer class.</div><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><ol class="" start="2"><li class="">Is it possible for a consumer node (such as an attacker) to focus on a specific interface (Face)?</li><ul class=""><li class="">I may have some misunderstandings regarding the concept of "Face" in ndnSIM / NDN / NFD</li><li class="">Would a particular node naturally always be "attached" to one single Face during the simulation?</li></ul></ol><div class=""><br class=""></div></div></div></div></blockquote><div><br class=""></div>A face is associated with a number of prefixes. To this end, it has to do with what prefixes are reachable through a specific face. A node has a number of faces (one face per application, one face per network device and a number of faces for the simulated NFD instance).</div><div><br class=""></div><div>Hope that this helps.</div><div><br class=""></div><div><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div><div class=""><span class="" style="float: none; display: inline !important;"><br class=""></span></div></div><br class=""></div></body></html>