Hi Eleanor, Yes, your understanding is correct, and I believe that thomer-nat uses ICMPRewriter correctly.
Basically, ICMPRewriter needs to understand how OTHER elements rewrite NORMAL IP packets. It thus looks for IPRewriter and/or ICMPPingRewriter. In something like mazu-nat.click, which has a separate TCPRewriter element for FTP connections (and an FTPPortMapper to handle the embedded address rewriting), you would add the TCPRewriter to the list. Eddie Coy Eleanor-B10245 wrote: > I'm trying to figure out how to code the ICMPRewriter for a simple NPAT > router. According to the documentation, it checks "MAPS, a space > separated list of IPRewriter-like elements to see how to rewrite." The > only example I could find, thomer-nat.click, uses an instance of > IPRewriter and an instance of ICMPPingRewriter as inputs to > ICMPRewriter. I assume the example is correct? > > - Eleanor Coy > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
