proxyremap
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.
Signature · 8 lines
Saludos, fabian mailto:[email protected] _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
Hi,
Quoted 1 line
linux:/usr/local/wipl # linux:/usr/local/wipl # ./run_proxyremap
You forgot to show us what is in your run_proxyremap file.
Quoted 1 line
Connecing to clients:
There should be a line for wipl here.
Quoted 3 lines
Opens files and reads welcome messages:
/usr/local/squid/logs/foo
Starting WWW-proxy squid:
done
Christian
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
Hello Christian,
CWM> Hi,
Quoted 1 line
Quoted 1 line
linux:/usr/local/wipl # linux:/usr/local/wipl # ./run_proxyremap
CWM> 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!.0.0.1 && )
srcmac[0]+=size;
else if(srcmac=00:80:AD:1B:96:B8 && srcip!.0.0.1)
dstmac[1]+=size;--cut---
Quoted 1 line
Quoted 1 line
Connecing to clients:
CWM> There should be a line for wipl here.
Quoted 3 lines
Quoted 3 lines
Opens files and reads welcome messages:
/usr/local/squid/logs/foo
Starting WWW-proxy squid:
CWM> done
Saludos,
Fabian
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/