Skip to content
This repository was archived by the owner on Aug 24, 2024. It is now read-only.
/ cachechu Public archive

Cachechu is an efficient GWebCache written in PHP for the Gnutella2 (G2) network. Cachechu is designed using GWebCache version 2 specifications.

Notifications You must be signed in to change notification settings

kjotoole/cachechu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Patrick Othmerkjotoole
Patrick Othmer
and
Nov 19, 2018
c0934a8 · Nov 19, 2018

History

65 Commits
May 22, 2011
Jan 9, 2016
May 29, 2009
Jan 9, 2016
Nov 19, 2018
Nov 19, 2018
Nov 19, 2018
Jan 9, 2016
Jan 9, 2016
Jan 9, 2016
Aug 4, 2009
Jan 9, 2016
Jan 9, 2016

Repository files navigation

Cachechu

Description

Cachechu is a GWebCache written in PHP.

Requirements

  • PHP 5.3.0+ or newer
  • HTTP server with PHP support (eg: Apache, Nginx, Caddy)
  • Composer

Setup

  • Run Composer
composer install --no-dev
  • First time users should remove .sample from config.ini.sample. Remove .sample from urls.dat.sample files, if you want to start off with default caches.

  • The following paths require write (and read) access:

data/<network>/bans.dat
data/<network>/hosts.dat
data/<network>/urls.dat
data/update.dat (if update notification enabled)
Replace <network> by the networks you support.
  • The following paths MAY require write (and read) access, depending on configuration:
data/bans.dat
data/hosts.dat
data/urls.dat
  • The following file should be set as the directory index: index.php

  • If your host cannot test clients on a port other than 80, the following configuration should be present:

[Host]
Testing = 0

Web interface

  • To disable the Web interface, the following configuration should be present:
[Interface]
Show = 0
  • To disable info pages on the Web interface, the following configuration should be present:
[Interface]
Info = 0
  • Hosts shows the country (if GeoIP present), IP, port, client, timestamp, and age of hosts for each network.

  • Services shows the country (if GeoIP present), URL, IP, client, timestamp of caches for each network.

Compatibility

Cachechu has been tested under PHP 5.3.0 & 7.0.0.

Notes

Stats support was removed from Cachechu 1.2.

About

Cachechu is an efficient GWebCache written in PHP for the Gnutella2 (G2) network. Cachechu is designed using GWebCache version 2 specifications.

Resources

Stars

Watchers

Forks