[Click] IPRewriter(input spec out of range)

Lesedi Kgosietsile sediking82 at yahoo.com
Mon Feb 13 16:21:45 EST 2006


hie,
 
 I am trying to run the code below to divert port 80 packets FromDevice (eth0)to local machine then rewrite them again and send them to another machine.
 
 Unfortunately the IPRewriter gives me an error;mi code is as below.
 
 FromDevice(eth0) 
         -> ip :: Strip (14);
     
 ip    -> CheckIPHeader2(INTERFACES 18.26.4.0/24 18.26.5.0/24 18.26.7.0/24 18.26.8.0/24 155.245.111.255)
          
         -> bufin :: IPClassifier (src tcp port 80);
          
         ipwr::IPRewriter(pattern 10.245.245.1 1024-65535 155.245.111.255 8000 0 1);                                
          bufin -> ipwr -> Print(ofcourse) -> tohost :: ToHost(fake0)
          
         fromhost:: FromHost(fake0, 155.245.111.245/24) -> Print(rite) -> Discard;
 
 //the code is not complete but suppose to run ,the error it is giving me is "input spec 0: output port out of range"
 
 
 

Lesedi

		
---------------------------------
 Yahoo! Mail
 Use Photomail to share photos without annoying attachments.


More information about the click mailing list