[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

New package (TCPQuota)



-----BEGIN PGP SIGNED MESSAGE-----

(this is the second time i post this, but since I understand that there 
have been some problems with the new developer maintainer, I repost it)

  My name is Turbo Fredriksson, I am (one of two) network administrator at
a computer club here in Gothenburg (Computer Club West, plugg, plugg :) and
me and my admin-partner have under the last year been developing a program
suite, which makes it possible to account each of our hosts and/or users
when they are using our (previous PPP) ISDN account.

  Each user pays a little fee, which they are allowed to use to communicate
on the 'Net with. We wanted to be fair, and was not giving this service with
the intent of making money, so each user pays his/her part of the total cost.
This means that if two users is using the link, they pay 50% of the total
(which, here in sweden, is (about) 42 cents per minute night time and twice
the amount if daytime Mon-Fri). Since we are using a ISDN, which gives two
links, with 2*64kb/sek, we have the double price when the other channel is
online...

  We use the masquerading tools and a special program to find out if a user
is behind our 'firewall'. The user runs the special program, 'tcp_masq_openhost'
which opens the firewall, and writes a entry in a mSQL database, which the
daemon then checks every now and then (for us, every 5:th second).

  Last week we got eight more computers, dedicated to the Internet courses.
Those computers should be allowed free 'surfing', so I (re-)wrote part of
the programs, and gave the possibility to masquerade the whole group of
computers in one go, without demanding the user to run any program. Only
the teacher have to remember to run the program 'tcp_masq_openfw'
(Open FireWall), which lets the whole room to use the link for free.

  We have also made a (quite) simple, menu controllable program, which lets
the admin to add/remove/change the quota points accumulated by a user.

  All the programs is made in Perl, using mSQL as database... A mySQL version
is in the works... We are running this as primary account server, without any
problems, and we thinks the package is quite stable...

=============================================

 new debian package, version 2.0.
 size 42948 bytes: control archive= 1637 bytes.
     103 bytes,     4 lines      conffiles            
     886 bytes,    21 lines      control              
    1337 bytes,    61 lines   *  postinst             #!/bin/sh
    1004 bytes,    40 lines   *  postrm               #!/bin/sh
 Package: tcpquota
 Version: 1.5.38-1
 Architecture: all
 Depends: netstd, netbase (>> 1.23), perl (>= 5.003), msqlperl, libmsql1
 Installed-Size: 173
 Maintainer: Turbo Fredriksson <turbo@tripnet.se>
 Description: A dialout monitoring package.
  TCPQuota monitors and debit users depending
  on there online time (dialout). The program
  is made for those who have a local network
  with a server that also functions as a Internet
  gateway (among other things). The server runs
  diald, for example, which does the actual
  dial-on-demand, and this package which debit
  each user, wheter from the server or from a
  masqueraded host (program includes masquerade
  code). All a user from inside the gateway/firewall
  have to do is run the command 'tcp_masq_openhost'
  or 'ut' (swedish for 'out'), and the hostname and
  username is masqueraded and debited acording to the
  time they spend calling out.

=============================================

drwxr-xr-x root/root         0 Nov 17 18:04 1997 ./
drwxr-xr-x root/root         0 Nov 17 18:04 1997 usr/
drwxr-xr-x root/root         0 Nov 17 18:04 1997 usr/bin/
- -rwxr-xr-x root/root     14056 Nov 17 18:04 1997 usr/bin/tcp_masq_openhost
- -rwxr-xr-x root/root      6655 Nov 17 18:04 1997 usr/bin/tcpquotatop
- -rwxr-xr-x root/root      8659 Nov 17 18:04 1997 usr/bin/topnet
- -rwxr-xr-x root/root      2300 Nov 17 18:04 1997 usr/bin/topmasq
drwxr-xr-x root/root         0 Nov 17 18:04 1997 usr/sbin/
- -rwxr-xr-x root/root      6372 Nov 17 18:04 1997 usr/sbin/addtcpquota
- -rwxr-xr-x root/root     10102 Nov 17 18:04 1997 usr/sbin/chktcpquota
- -rwxr-xr-x root/root     20751 Nov 17 18:04 1997 usr/sbin/tcpquotaadmin
- -rwxr-xr-x root/root     39682 Nov 17 18:04 1997 usr/sbin/tcpquotad
- -rwxr-xr-x root/root      6415 Nov 17 18:04 1997 usr/sbin/tcpperiod
- -rwxr-xr-x root/root       361 Nov 17 18:04 1997 usr/sbin/verifytcpquotad
- -rwxr-xr-x root/root      5179 Nov 17 18:04 1997 usr/sbin/tcp_masq_openfw
drwxr-xr-x root/root         0 Nov 17 18:04 1997 usr/doc/
drwxr-xr-x root/root         0 Nov 17 18:04 1997 usr/doc/tcpquota/
- -rw-r--r-- root/root      1022 Nov 17 18:04 1997 usr/doc/tcpquota/copyright
- -rw-r--r-- root/root       185 Nov 17 18:04 1997 usr/doc/tcpquota/changelog.Debian
- -rw-r--r-- root/root       138 Nov 17 18:04 1997 usr/doc/tcpquota/README.debian
- -rw-r--r-- root/root       175 Nov 17 18:04 1997 usr/doc/tcpquota/buildinfo.Debian
- -rw-r--r-- root/root      2118 Nov 17 18:04 1997 usr/doc/tcpquota/README
drwxr-xr-x root/root         0 Nov 17 18:04 1997 etc/
drwxr-xr-x root/root         0 Nov 17 18:04 1997 etc/tcpquota/
- -rw-r--r-- root/root      6280 Nov 17 18:04 1997 etc/tcpquota/tcpquota.cf
- -rw-r--r-- root/root      5053 Nov 17 18:04 1997 etc/tcpquota/tcpquota.debug.cf
- -rw-r--r-- root/root      8204 Nov 17 18:04 1997 etc/tcpquota/tcpquota.pl
drwxr-xr-x root/root         0 Nov 17 18:04 1997 etc/init.d/
- -rwxr-xr-x root/root      1225 Nov 17 18:04 1997 etc/init.d/tcpquotad
drwxr-xr-x root/root         0 Nov 17 18:04 1997 etc/cron.weekly/
- -rwxr-xr-x root/root       323 Nov 17 18:04 1997 etc/cron.weekly/tcpquotad

- ---------------------------------------------------------------------------
 Turbo    _ ///     If there are no Amigas in heaven, send me to HELL!
 ^^^^^    \\\/
 Unix _IS_ user friendly - it's just selective about who its friends are !
 Turbo Fredriksson                                     Tel: +46-704-697645
 S-415 10 Göteborg                                        turbo@tripnet.se
 SWEDEN                                             www5.tripnet.se/~turbo
       My PGP key can be found at: 'www5.tripnet.se/~turbo/pgp.html'
- ---------------------------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAwUBNHB6XRZ4ByN4jNGpAQGbkgP/SWY1Ja85jhyMc59mSq4xbIXfiMJA2/4O
GWGS3lCP82bA1nuzi6c+YqNmlW2cwG6Tum6tmIXOfgg2wmsOk+sYn02G+9FoxO5i
ZbyKcYbKJGWYWe6dETxl2AZO9Xi/s9bdC5VIIal9eV5YND21iikT+nsDjILuId+G
l7IrtNkGqAE=
=nYS0
-----END PGP SIGNATURE-----


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble?  e-mail to templin@bucknell.edu .


Reply to: