Rolf Leggewie <[EMAIL PROTECTED]> writes:
> I want to share the contents of my WWWOFFLE cache with about 3 or 4
> people. I also want them to be able to make requests for 'outgoing'.
> To keep things just a little more private and to make it easier for them
> to review what they requested the last time, I want to show them their
> individual 'monitor', 'lastout' and 'lasttime' entries.
>
> Has anybody ever tried something similar for a small LAN and is willing
> to share their experience? I guess WWWOFFLE cannot be made to run as a
> different user depending on what IP the request came from? If not, is
> there a better way than running one Master WWWOFFLE and one WWWOFFLE
> each per user? The machine I want to run this on is a Pentium 100 with
> 40 MB RAM, OS is Debian. Are 5 to 6 instances of WWWOFFLE in light use
> too much for that system? Under heavy load, it could be that most users
> are actually accessing their WWWOFFLE, these in turn ponder the master
> WWWOFFLE, the machine has to drive the ISDN card to the shared Internet
> connection and do the NATting for services other than http/ftp. There
> probably will be some light file and print serving as well.
It seems from the replies that nobody else has tried to do what you
want. You are correct in guessing that WWWOFFLE cannot be made to act
differently depending on which IP address the request comes from (an
IP address is not a user anyway).
I think that the best solution is to run one WWWOFFLE per user without
having a master WWWOFFLE that they all talk to. The http, finger and
ftp directories would all be symbolic links to a shared cache. The
html and search directories can also be shared since they do not
change.
All that each user needs of their own is a directory to hold the
outgoing, monitor, lasttime, lastout, prevtime and prevout*
directories. There should also be a unique wwwoffle.conf for each
user that specifies this directory and a unique pair of port numbers
to have the proxy and control port on. This would allow them to
configure their own WWWOFFLE proxies for things like HTML modification
and DontGet section.
When the computer goes online all of the WWWOFFLE proxies would need
to go online and fetch and the files that are fetched are shared but
each user gets their own lasttime list.
You will need to decide if the users can all be trusted to trust each
other though. What has been described will lead to a shared cache so
that an index will show the pages that have been requested by other
people. All of the WWWOFFLE processes will need to run as the same
user (or at least have write permission to the shared cache). This
means that you have to stop people purging each others files etc. If
the users cannot be trusted then the original idea with one master
WWWOFFLE server and the others as clients of it is probably the
safest.
--
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop [EMAIL PROTECTED]
http://www.gedanken.demon.co.uk/
WWWOFFLE users page:
http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html