[Click] Can't understand what's wrong here!

Venu Bolisetty venu at cs.wisc.edu
Wed Aug 20 17:01:53 EDT 2003


Hi All,
 I am trying to send nfs reply packets to the fake network address
102.0.0.1 and rewriting the IPHeader to the original host. The exports
file has a nentry for the host 102.0.0.1, and since the packet doesn't get
changed , it should look like the root on 102.0.0.1 has sent the nfs
requests and since he has permission nfs should reply, but I don't see any
reply packets that are grabbed by fromhost, this could only mean that the
packets are getting dropped somewhere, I don't exactly understand where.
Any ideas, explanation of what I am doing worng.

Thanks.

--Venu

"Mankind, probably the most mysterious species on our planet.
A mystery of open questions. Who are we? Where do we come from?
Where are we going? How do we know what we believe to know?
Why do we believe anything at all? Innumerable questions looking
for an answer, an answer which will raise the next question and
the following answer will raise a following question and so on and so forth.
But in the end, isn't it always the same question and always the same answer?"
						       Run Lola Run
-------------- next part --------------

nfsrw :: IPRewriter(pattern 102.0.0.1 - - - 0 0);
nfs   :: NFSDetect;
FromDevice(eth0)
         ->Strip(14)
	 ->nfs
	 nfs[0]->t::Tee
	 t[0]->IPPrint(before)->CheckIPHeader->nfsrw->CheckUDPHeader->IPPrint(after)->Unstrip(14)->ToHost(eth0)
	 nfs[1]->Unstrip(14)->ToHost(eth0);
	 
fhost :: FromHost(fake0, 102.0.0.1/8, ETHER 1:1:1:1:1:1)->Print(ffff, 400)
         -> fromhost_cl :: Classifier(12/0806, 12/0800);
	 fromhost_cl[0] -> ARPResponder(0.0.0.0/0 1:1:1:1:1:1) -> ToHost;
	 fromhost_cl[1] -> Strip(14)->CheckIPHeader->IPRewriter(pattern - - 128.105.100.116 17664 0 0)->Unstrip(14)
			-> Queue(1024)
			-> ToDevice(eth0);
									 


More information about the click mailing list