Hi Dongyu, The FTPPortMapper message is a bug in the configuration file. The third argument should be "0", not "to_world_pat 0 1". This fix has been checked in.
The configuration really is meant to run in the kernel, though. I don't know what type of test you want to run. Userlevel ToHost demands a device name argument, such as eth0. E On 5/6/11 4:14 AM, Dongyu Yang wrote: > Hello ! > When I use GatewayDevice instead of SniffGatewayDevice, and then the > problem of "undeclared element 'ToHostSniffers' " is OK! But the new > problem as bellow: > > ./conf/mazu-nat.click:214: While configuring ‘FTPPortMapper@37 :: > FTPPortMapper’: > type mismatch: DATA_REWRITER_INPUT requires int > ../conf/mazu-nat.click:93: While configuring ‘ToHost@5 :: ToHost’: > missing mandatory DEVNAME argument > ../conf/mazu-nat.click:105: While configuring ‘ToHost@10 :: ToHost’: > missing mandatory DEVNAME argument > ../conf/mazu-nat.click:112: While configuring ‘ToHost@14 :: ToHost’: > missing mandatory DEVNAME argument > Router could not be initialized! > > How could I modify the configure file to fix this problem? > > Thank your for your help! > > > > > > 2011/5/6 Dongyu Yang<[email protected]> > >> Hello! >> I want to test NAT in click, so I use the NAT configure file >> conf/mazu-nat.click, but when I run it in user level: >> click conf/mazu-nat.click >> >> but the click report the error: >> conf/mazu-nat.click:84: undeclared element 'ToHostSniffers', >> assuming element class >> >> I found the ToHostSniffers element belong to linuxmodule, but I compile >> click in userlevel, so it report the eror! >> >> I want to know how counld I configure NAT in userlevel? >> >> Thanks for your help! >> >> > _______________________________________________ > 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
