[Click] problem with FromHost
pradnyesh sawant
spradnyesh at gmx.net
Tue Jul 15 09:37:00 EDT 2003
i still haven't got the FromHost thing right.
my first doubt is :
FromHost documentation says that the kernel passes all packets with
destination addr as ADDR/MASK to FromHost. I am running a webbrowser client on the
same m/c as the router. hence i want to receive packets destined for any ip
addr and not just the fixed ADDR in click. my m/c addr is 192.168.0.150 while my
gateway addr is 192.168.0.1.
the script i tried out was:
FromHost(fake0,192.168.0.150/8)->cl::Classifier(12/0806,12/0800);
cl[0]->ARPResponder(0.0.0.0/0, 1:1:1:1:1:1)->c1::Counter->ToHost;
cl[1]->c2::Counter->Discard;
i even tried putting 192.168.0.1/8 in FromHost, but to no avail.
i can get a tcpdump output when click is not installed.
when the above config for click is installed, i can still surf sites, which
shouldn't have been possible since i'm discarding all packets. also the count
handlers of both counters remain to zero.
i feel lost and would be very grateful if anyone of you could help me out.
thank you for your help
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!
More information about the click
mailing list