All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] proxyremap
@ 2001-05-14  5:23 Fabian Gervan
  2001-05-14 19:28 ` Christian Worm Mortensen
  2001-05-14 21:38 ` Re[2]: " Fabian Gervan
  0 siblings, 2 replies; 3+ messages in thread
From: Fabian Gervan @ 2001-05-14  5:23 UTC (permalink / raw)
  To: lartc

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



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] proxyremap
  2001-05-14  5:23 [LARTC] proxyremap Fabian Gervan
@ 2001-05-14 19:28 ` Christian Worm Mortensen
  2001-05-14 21:38 ` Re[2]: " Fabian Gervan
  1 sibling, 0 replies; 3+ messages in thread
From: Christian Worm Mortensen @ 2001-05-14 19:28 UTC (permalink / raw)
  To: lartc

Hi,

> linux:/usr/local/wipl # linux:/usr/local/wipl # ./run_proxyremap

You 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



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re[2]: [LARTC] proxyremap
  2001-05-14  5:23 [LARTC] proxyremap Fabian Gervan
  2001-05-14 19:28 ` Christian Worm Mortensen
@ 2001-05-14 21:38 ` Fabian Gervan
  1 sibling, 0 replies; 3+ messages in thread
From: Fabian Gervan @ 2001-05-14 21:38 UTC (permalink / raw)
  To: lartc

Hello Christian,

CWM> Hi,

>> 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!\x10.0.0.1 && )
    srcmac[0]+=size;
else if(srcmac=00:80:AD:1B:96:B8 && srcip!\x10.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



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-05-14 21:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-14  5:23 [LARTC] proxyremap Fabian Gervan
2001-05-14 19:28 ` Christian Worm Mortensen
2001-05-14 21:38 ` Re[2]: " Fabian Gervan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.