[Click] ICMPRewriter

Eddie Kohler kohler at cs.ucla.edu
Tue May 1 14:50:56 EDT 2007


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
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list