stop
Stoppt die Vorratsdatenspeicherung! Jetzt klicken &handeln! Willst du auch bei der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:
Milkys Homepage - projects - pppd
 

pppd patch for creating statistics


DOWNLOAD

SAMPLES

 

CHANGES

stats.php-03 / 2004-06-04
- released on 2004-11-20
- shows now the download and upload rates

stats.php-02 / 2004-05-21
- never released, was buggy in showing the download rates!

stats.php-01 / 2002-11-18
 - initial release
last change: 2004-11-20 @ 11:40:39
 

README

 WHAT IS IT
============

- a patch for pppd, which enables nice logging of your ppp-dialins
- an example script (php3/php4) for parsing this file
- show daily/weekly/monthly/yearly statistics ...


 REQUIREMENTS
==============

- pppd 2.4.1
- webserver with php3 or php4


 COPYING
=========

Copyright (C) 2001 Tino Reichardt <der at mcmilk.de>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

!AND!

Author strongly advices against using this code, or a part of it,
in an application designed to run on any Microsoft(tm) platform.



 TODO
======

- the same with a sh, bash, zsh and/or perl script
- a program in c (the best language ever)
- remove all that php fuck, cause it doesn't run with fnord, fhttpd, etc... :-P


 WISHLIST
==========

- nothing (or contribute some interesting aspects)


 HOMEPAGE
==========

 http://www.mcmilk.de/projects/pppd/


 BUGS
======

Please report bugs to:

  Tino Reichardt <milky-pppd at mcmilk.de>
  René Spiegel <smurfi at d41.x-mailer.de>
last change: 2002-11-18 @ 17:01:47
 

INSTALL

 Installing pppd stats diff
============================

1. Patch your ppp-2.4.1.tar.gz with ppp-2.4.1-stats.diff.gz
	$ tar xzvf ./ppp-2.4.1.tar.gz
	$ zcat ppp-2.4.1-stats.diff.gz | patch -p0

2. Compile pppd
	$ cd pppd-2.4.1 && ./configure && make
	# make install

4. Install logfile:
	# touch /var/log/pppd_stats.log

5. Edit the stats.php for your needs and move it to some public_html directory.
	$ vi stats.php
	$ mv stats.php /~/public_html/stats.php   #or so
last change: 2002-11-18 @ 17:09:06
 

See Also

 
Valid HTML 4.01 with CSS
Copyright Tino Reichardt (pgp, gpg)
make a donation! free search engine! no-softwarepatents! powered by archlinux!      Stoppt den Überwachungswahn! !!!!!!!! Aktion UBERWACH!
Last modified on 2004-11-20 at 11:42:49.