Hola lartc, I am trying wiplc to view my network traffic. all work nice, but I don''t see the squid traffic. I already patch it, and see all the proxyremap documentation, see below: ----cut---- linux:/usr/local/wipl # linux:/usr/local/wipl # ./run_proxyremap Shutting down WWW-proxy squid: done runing proxyremap Connecing to clients: Opens files and reads welcome messages: /usr/local/squid/logs/foo Starting WWW-proxy squid: done Enters main loop. +Srv: 10.0.0.1:1795/6 Cli: 10.0.2.10 00:00:f0:64:07:22 Msg:fwd -Srv: 10.0.0.1:1795/6 Cli: 10.0.2.10 00:00:f0:64:07:22 Msg:fwd +Srv: 10.0.0.1:1796/6 Cli: 10.0.2.10 00:00:f0:64:07:22 Msg:fwd -Srv: 10.0.0.1:1796/6 Cli: 10.0.2.10 00:00:f0:64:07:22 Msg:fwd ----cut---- as you can see, proxyremap read the squid log file, but dont inform to wipl monitor. i am using the same daemon file in wipld, and proxyremap. Can anyone help me? sorry for my english. -- Saludos, fabian mailto:fabian@inter-k.com.ar
Hi,> linux:/usr/local/wipl # linux:/usr/local/wipl # ./run_proxyremapYou forgot to show us what is in your run_proxyremap file.> Connecing to clients:There should be a line for wipl here.> Opens files and reads welcome messages: > /usr/local/squid/logs/foo > Starting WWW-proxy squid:done Christian
Hello Christian, CWM> Hi,>> linux:/usr/local/wipl # linux:/usr/local/wipl # ./run_proxyremapCWM> You forgot to show us what is in your run_proxyremap file. sorry. my run_proxyremap file: --cut--- /usr/local/squid/squid.stop /usr/local/squid/squid.start & /usr/local/sbin/proxyremap --pipe /usr/local/squid/logs/foo \ --wipl /usr/local/wipl/daemon --debug --cut--- my /usr/local/squid/squid.start : --cut--- sleep 1 /etc/rc.d/init.d/squid start --cut--- to monitor: --cut--- wiplc --daemon /usr/local/wipl/daemon --zero --periodlen 4 --starttime 2 \ --format html --outfile $web \ "mac" \ "ip4" \ "(Send,5,1,KB/s,(d(0,0)-d(0,6))/(t(0)-t(6)) >> 10)" \ "(Recv,5,1,KB/s,(d(1,0)-d(1,6))/(t(0)-t(6)) >> 10)" & --cut--- my /etc/wipld.conf: --cut--- [counters] Send Recv [options] filter: ip addrmode: mac maxentries: 1024 proxymaxcon: 200 logfile: /usr/local/wipl/log daemonfile: /usr/local/wipl/daemon [program] if(dstmac==00:80:AD:1B:96:B8 && dstip!=10.0.0.1 && ) srcmac[0]+=size; else if(srcmac==00:80:AD:1B:96:B8 && srcip!=10.0.0.1) dstmac[1]+=size; --cut--->> Connecing to clients:CWM> There should be a line for wipl here.>> Opens files and reads welcome messages: >> /usr/local/squid/logs/foo >> Starting WWW-proxy squid:CWM> done Saludos, Fabian
Hi,> /usr/local/sbin/proxyremap --pipe /usr/local/squid/logs/foo \ > --wipl /usr/local/wipl/daemon --debugRemember to compile proxyremap with support for wipl. I agree that there should be a better error message. Christian