You are not logged in.
Could someone produce a PKGBUILD for wwwoffle. Its a proxy cache designed to be simple to setup & configure. Particularly useful across a LAN or for dialup.
Offline
Just uploaded it to the AUR. Get it here.
It's indeed a nice package!
www.geekslot.com - a place where peculiar people fit
Offline
Many thanks for that prompt response anakin.
It works fine with Firefox & Seamonkey but not with konqueror which reports "Connection with XXX is broken" for every page, then displays some of the content. I think it is a wwwoffle/konqueror issue, many reports of konqueror symptoms out there, but haven't found a solution yet.
Offline
Please let me know of any issues or further requests.
I'm still playing arround with wwwoffle so I'll probably tweak the package a bit more and upload the changes. It is good practice to run any daemon with a standard user rather than root which wwwoffle allows by setting it in wwwwoffle.conf although it's not set by default, would you find it reasonable for the PKGBUILD to change the conf file so that the "daemon" user is used rather than root or the current user? Or should this be left up to you to change?
www.geekslot.com - a place where peculiar people fit
Offline
It would be good for the default to be non-root, with the option to change it if required, on the conf file.
It might also be worth including a post install message about setting 'bind-ipv4 = none' due to the package being compiled with ipv6 enabled (see Q3.10 in http://www.gedanken.demon.co.uk/wwwoffl … /FAQ.html)
Offline
It would be good for the default to be non-root, with the option to change it if required, on the conf file.
It might also be worth including a post install message about setting 'bind-ipv4 = none' due to the package being compiled with ipv6 enabled (see Q3.10 in http://www.gedanken.demon.co.uk/wwwoffl … /FAQ.html)
The PKGBUILD now changes the wwwoffle.conf file so that wwwoffle daemon uses the wwwoffle user and group which are created post install by wwwoffle.install.
There's also a post install warning describing how to get rid of the ipv4 bind issues.
Removed the gnutls dependency.
Thanks for your feedback, let me know your opinion on the latest release.
www.geekslot.com - a place where peculiar people fit
Offline
Looks good.
The only thing that puzzled me was that the /etc/wwwoffle/wwwoffle.conf file only appeared to be read once when the daemon starts. For instance, changing the purge period from 4w to 1w only came into affect after killing then restarting. I'm sure that when I used it as a standalone application, running wwwoffle -purge used the current conf file. Do you get this behaviour?
Offline
I suspect it's something about the user running the daemon, did you get this behavior when running as root?
www.geekslot.com - a place where peculiar people fit
Offline
Hummm, does "wwwoffle -purge" tells wwwoffled to change the conf file? If that's so, wwwoffle.conf must be owned by the wwwoffle user or at least belong to the wwwoffle group.
www.geekslot.com - a place where peculiar people fit
Offline
Configuration file editing
The configuration file editing functions through the http interface that are
included in WWWOFFLE add some security concerns. When the files are edited
the WWWOFFLE process will need to be able to write out the new files. The
new files will be written with the same permissions as the old files into the
same location. Included configuration files must be in the same directory as
the main configuration file. To simplify management of this the default
location for the configuration files is the directory '/etc/wwwoffle' which
must be writable by the WWWOFFLE server but not all users.
Thus, /etc/wwwoffle must be owned by the wwwoffle user so that it can create further conf files there. I'll change that and upload a new release.
www.geekslot.com - a place where peculiar people fit
Offline
Done.
Get the latest version from the AUR, let me know if it worked for you.
www.geekslot.com - a place where peculiar people fit
Offline
No change, but thinking about it, the contents of the conf file probably should only be read by the daemon when its started - if a change is made, the onus is on the person making the change to restart the daemon (in common with other daemons, eg nfsd).
Thanks for your efforts anakin.
Offline
Anyway, since /etc/wwwoffle is protected against upgrades make sure to run pacman -R wwwoffle followed by rm -rf /etc/wwwoffle and then install again or change the permissions manually.
www.geekslot.com - a place where peculiar people fit
Offline