All of lore.kernel.org
 help / color / mirror / Atom feed
* Re[2]: [LARTC] proxyremap
  2001-05-14  5:23 Fabian Gervan
@ 2001-05-14 21:38 ` Fabian Gervan
  0 siblings, 0 replies; 2+ 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] 2+ messages in thread

* Re: Re[2]: [LARTC] proxyremap
@ 2001-05-15 17:29 Christian Worm Mortensen
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Worm Mortensen @ 2001-05-15 17:29 UTC (permalink / raw)
  To: lartc

Hi,

> /usr/local/sbin/proxyremap --pipe /usr/local/squid/logs/foo \
>    --wipl /usr/local/wipl/daemon --debug

Remember to compile proxyremap with support for wipl. I agree that there
should be a better error message.


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] 2+ messages in thread

end of thread, other threads:[~2001-05-15 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-15 17:29 Re[2]: [LARTC] proxyremap Christian Worm Mortensen
  -- strict thread matches above, loose matches on Subject: below --
2001-05-14  5:23 Fabian Gervan
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.